Subversion Repository Public Repository

litesoft

Diff Revisions 953 vs 954 for /trunk/Java/GWT/Server/src/org/litesoft/security/AbstractCurrentSecurityRestrictedResourceAccessor.java

Diff revisions: vs.
  @@ -42,8 +42,7 @@
42 42 return zView;
43 43 }
44 44
45 - protected synchronized Pair<PO, VO> getPair() {
46 - VO zRestrictedResourceView = ServerContext.get().getServerSession().getAttribute( mClassVO );
47 - return new Pair<PO, VO>( mViewStale, zRestrictedResourceView, mPO );
45 + protected Pair<PO, VO> getPair() {
46 + return createPair( getCachedInstance() );
48 47 }
49 48 }