litesoft
Diff Revisions
949
vs
950
for /trunk/GWT_Sandbox/Prioritizer/src/org/litesoft/prioritizer/server/boviews/podataproviders/StoryViewPoServerVoDataProvider.java
|
@@ -5,7 +5,6 @@ |
5 |
5 |
|
import org.litesoft.commonfoundation.base.*; |
6 |
6 |
|
import org.litesoft.commonfoundation.exceptions.*; |
7 |
7 |
|
import org.litesoft.commonfoundation.iterators.*; |
8 |
|
- |
import org.litesoft.commonfoundation.typeutils.Objects; |
9 |
8 |
|
import org.litesoft.orsup.base.*; |
10 |
9 |
|
import org.litesoft.orsup.selection.*; |
11 |
10 |
|
import org.litesoft.orsup.transact.*; |
|
@@ -117,7 +116,7 @@ |
117 |
116 |
|
if ( pStory.getIsDone() ) { |
118 |
117 |
|
throw new ConcurrentModificationException( "Story 'Done': " + pStoryView ); |
119 |
118 |
|
} |
120 |
|
- |
if ( Objects.areEqual( pStory.getPriority(), pStoryView.getPriority() ) ) { |
|
119 |
+ |
if ( Currently.areEqual( pStory.getPriority(), pStoryView.getPriority() ) ) { |
121 |
120 |
|
return pStory; |
122 |
121 |
|
} |
123 |
122 |
|
throw new ConcurrentModificationException( "Priority Changed, Story: " + pStoryView ); |
|
@@ -129,7 +128,7 @@ |
129 |
128 |
|
|
130 |
129 |
|
private SCresult reprioritizeBetween( UnfilteringFinder pFinder, PriorityGroup.Range pRange, StoryView[] pToReprioritize ) |
131 |
130 |
|
throws PersistenceException { |
132 |
|
- |
if ( Objects.isNullOrEmpty( pToReprioritize ) ) { |
|
131 |
+ |
if ( Currently.isNullOrEmpty( pToReprioritize ) ) { |
133 |
132 |
|
return VOSC.result( "Nothing to Reprioritize" ); |
134 |
133 |
|
} |
135 |
134 |
|
Transaction zTransaction = pFinder.createUnaugmentedTransaction(); |
|
@@ -163,7 +162,7 @@ |
163 |
162 |
|
|
164 |
163 |
|
private Story getStory( List<Story> pStories, Long pID ) { |
165 |
164 |
|
for ( Story zStory : pStories ) { |
166 |
|
- |
if ( Objects.areEqual( pID, zStory.getID() ) ) { |
|
165 |
+ |
if ( Currently.areEqual( pID, zStory.getID() ) ) { |
167 |
166 |
|
return zStory; |
168 |
167 |
|
} |
169 |
168 |
|
} |