Skip to content

Commit c1dfc9b

Browse files
committed
update Java version
1 parent a3c0b87 commit c1dfc9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/upokecenter/cbor/PropertyMap.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ private static List<MethodData> GetPropertyList(final Class<?> t, boolean setter
199199
if (IsProblematicForSerialization(t)) {
200200
ret.add(null);
201201
(setters ? setterPropertyList : propertyLists).put(t, ret);
202-
return null;
202+
return ret;
203203
}
204204
List<Method> getMethods=new ArrayList<Method>();
205205
List<Method> setMethods=new ArrayList<Method>();
@@ -887,7 +887,7 @@ public static void BreakDownDateTime(java.util.Date bi,
887887
int nanoseconds=((int)(time%1000L));
888888
if(nanoseconds<0)nanoseconds=1000+nanoseconds;
889889
nanoseconds*=TicksDivFracSeconds;
890-
long seconds=time/1000;
890+
long seconds=time/1000L;
891891
CBORUtilities.BreakDownSecondsSinceEpoch(seconds,year,lf);
892892
lf[5]=nanoseconds;
893893
}

0 commit comments

Comments
 (0)