Subversion Repository Public Repository

litesoft

Diff Revisions 408 vs 409 for /trunk/Java/ScarPlus/src/com/esotericsoftware/utils/Util.java

Diff revisions: vs.
  @@ -100,4 +100,9 @@
100 100 {
101 101 return (o != null) ? o.toString() : null;
102 102 }
103 +
104 + public int intForNotNull( int pNotNullIntValue, Object pObjectToCheck )
105 + {
106 + return (pObjectToCheck != null) ? pNotNullIntValue : 0;
107 + }
103 108 }