summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-18 13:45:57 +0200
committerNoel Grandin <noel@peralex.com>2015-01-05 10:15:01 +0200
commit8f2935a6d44baa23204bfef22a9f42ec8a86bf51 (patch)
treef7a520f7ea516f96ba978c6d611d50da8733f2ab
parentjava: use brackets to make difference between concat and plus (diff)
downloadcore-8f2935a6d44baa23204bfef22a9f42ec8a86bf51.tar.gz
core-8f2935a6d44baa23204bfef22a9f42ec8a86bf51.zip
java: avoid octal literals
found by CodePro Change-Id: Idf67521a46d73afe2f7656bb1a9f81e755eabbdb
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XParameters.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XParameters.java b/qadevOOo/tests/java/ifc/sdbc/_XParameters.java
index 36d0bddc2ead..4284931fefee 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XParameters.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XParameters.java
@@ -335,7 +335,7 @@ public class _XParameters extends MultiMethodTest {
else {
try {
oObj.setDate(
- idx, new Date ((short)19, (short)01, (short)1979)) ;
+ idx, new Date ((short)19, (short)1, (short)1979)) ;
} catch (SQLException e) {
log.println("Unexpected SQL exception:") ;
log.println(e) ;
@@ -379,7 +379,7 @@ public class _XParameters extends MultiMethodTest {
else {
try {
oObj.setTimestamp(idx, new DateTime((short)1,(short)2,(short)3,
- (short)4, (short)19, (short)01, (short)1979, false)) ;
+ (short)4, (short)19, (short)1, (short)1979, false)) ;
} catch (SQLException e) {
log.println("Unexpected SQL exception:") ;
log.println(e) ;