Mercurial > hg > openmind
comparison src/main/java/org/mpi/openmind/repository/utils/OMUtils.java @ 38:cb25e343e317
more comments and refactorings.
author | casties |
---|---|
date | Wed, 12 Oct 2016 20:51:35 +0200 |
parents | 615d27dce9b3 |
children |
comparison
equal
deleted
inserted
replaced
37:3485498af8c3 | 38:cb25e343e317 |
---|---|
102 } | 102 } |
103 | 103 |
104 return rs; | 104 return rs; |
105 } | 105 } |
106 | 106 |
107 /** | |
108 * Returns if the two Longs are equal or both null. | |
109 * | |
110 * @param one | |
111 * @param two | |
112 * @return | |
113 */ | |
107 public static boolean equals(Long one, Long two){ | 114 public static boolean equals(Long one, Long two){ |
108 if(one == null && two == null){ | 115 if(one == null && two == null){ |
109 return true; | 116 return true; |
110 } | 117 } |
111 | 118 |