litesoft
Diff Revisions
220
vs
233
for /trunk/Java/core/Server/src/org/litesoft/orsup/nonpublic/PersistentObjectImpl.java
|
@@ -23,6 +23,7 @@ |
23 |
23 |
|
|
24 |
24 |
|
public abstract class PersistentObjectImpl<T extends PersistentObjectImpl> implements LLPersistentObject<T> |
25 |
25 |
|
{ |
|
26 |
+ |
@SuppressWarnings({"UnusedDeclaration"}) |
26 |
27 |
|
protected static final WhereClauseFactory WCF = WhereClauseFactory.INSTANCE; |
27 |
28 |
|
|
28 |
29 |
|
public static final int INITIAL_CHANGE_NUMBER = 0; |
|
@@ -1131,7 +1132,7 @@ |
1131 |
1132 |
|
|
1132 |
1133 |
|
OriginalValueChangeTracker<T> recordChange( T pThePo, String pAttributeName, Object pOldValue, Object pNewValue ); |
1133 |
1134 |
|
|
1134 |
|
- |
PersistentObjectImpl getTheChangedPo(); |
|
1135 |
+ |
@SuppressWarnings({"UnusedDeclaration"}) PersistentObjectImpl getTheChangedPo(); |
1135 |
1136 |
|
} |
1136 |
1137 |
|
|
1137 |
1138 |
|
private static class OriginalValueChangeTrackerNull<T extends PersistentObjectImpl> implements OriginalValueChangeTracker<T> |
|
@@ -1186,6 +1187,7 @@ |
1186 |
1187 |
|
return Utils.EMPTY_STRING_ARRAY; |
1187 |
1188 |
|
} |
1188 |
1189 |
|
|
|
1190 |
+ |
@SuppressWarnings({"UnusedDeclaration"}) |
1189 |
1191 |
|
public String getOriginalDisplayValue() |
1190 |
1192 |
|
{ |
1191 |
1193 |
|
return null; |
|
@@ -1264,12 +1266,7 @@ |
1264 |
1266 |
|
} |
1265 |
1267 |
|
|
1266 |
1268 |
|
/** |
1267 |
|
- |
* @param pThePo needed to support the static instance of NullChangeTracker |
1268 |
|
- |
* @param pAttributeName |
1269 |
|
- |
* @param pOldValue |
1270 |
|
- |
* @param pNewValue |
1271 |
|
- |
* |
1272 |
|
- |
* @return |
|
1269 |
+ |
* @param pThePo needed to support the static instance of NullChangeTracker |
1273 |
1270 |
|
*/ |
1274 |
1271 |
|
@Override |
1275 |
1272 |
|
public OriginalValueChangeTracker<T> recordChange( T pThePo, String pAttributeName, Object pOldValue, Object pNewValue ) |
|
@@ -1355,11 +1352,13 @@ |
1355 |
1352 |
|
return (pPlainText == null) ? null : SymmetricEncryptorManager.Helper.toEncrypted( getEncryptorManager(), pPlainText ); |
1356 |
1353 |
|
} |
1357 |
1354 |
|
|
|
1355 |
+ |
@SuppressWarnings({"UnusedDeclaration"}) |
1358 |
1356 |
|
protected String toLowerCase( String pText ) |
1359 |
1357 |
|
{ |
1360 |
1358 |
|
return (pText == null) ? null : pText.toLowerCase(); |
1361 |
1359 |
|
} |
1362 |
1360 |
|
|
|
1361 |
+ |
@SuppressWarnings({"UnusedDeclaration"}) |
1363 |
1362 |
|
protected String toUpperCase( String pText ) |
1364 |
1363 |
|
{ |
1365 |
1364 |
|
return (pText == null) ? null : pText.toUpperCase(); |
|
@@ -1367,6 +1366,7 @@ |
1367 |
1366 |
|
|
1368 |
1367 |
|
public static class BackDoor |
1369 |
1368 |
|
{ |
|
1369 |
+ |
@SuppressWarnings({"UnusedDeclaration"}) |
1370 |
1370 |
|
public static boolean isRehydrating( PersistentObjectImpl pPersistentObject ) |
1371 |
1371 |
|
{ |
1372 |
1372 |
|
return pPersistentObject.mRehydrating; |
|
@@ -1445,6 +1445,7 @@ |
1445 |
1445 |
|
return Action.UPDATED; |
1446 |
1446 |
|
} |
1447 |
1447 |
|
|
|
1448 |
+ |
@SuppressWarnings({"UnusedDeclaration"}) |
1448 |
1449 |
|
protected static String extractFirstNonBlankLineForDisplayValue( String pText ) |
1449 |
1450 |
|
{ |
1450 |
1451 |
|
if ( pText != null ) |