Kaydet (Commit) 8f2935a6 authored tarafından Noel Grandin's avatar Noel Grandin

java: avoid octal literals

found by CodePro

Change-Id: Idf67521a46d73afe2f7656bb1a9f81e755eabbdb
üst e28151d5
...@@ -335,7 +335,7 @@ public class _XParameters extends MultiMethodTest { ...@@ -335,7 +335,7 @@ public class _XParameters extends MultiMethodTest {
else { else {
try { try {
oObj.setDate( oObj.setDate(
idx, new Date ((short)19, (short)01, (short)1979)) ; idx, new Date ((short)19, (short)1, (short)1979)) ;
} catch (SQLException e) { } catch (SQLException e) {
log.println("Unexpected SQL exception:") ; log.println("Unexpected SQL exception:") ;
log.println(e) ; log.println(e) ;
...@@ -379,7 +379,7 @@ public class _XParameters extends MultiMethodTest { ...@@ -379,7 +379,7 @@ public class _XParameters extends MultiMethodTest {
else { else {
try { try {
oObj.setTimestamp(idx, new DateTime((short)1,(short)2,(short)3, 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) { } catch (SQLException e) {
log.println("Unexpected SQL exception:") ; log.println("Unexpected SQL exception:") ;
log.println(e) ; log.println(e) ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment