File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
common/src/main/java/com/genexus Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 11package com .genexus ;
2- import com . genexus . ModelContext ;
2+
33import com .genexus .common .interfaces .IPendingEventHelper ;
44import com .genexus .common .interfaces .SpecificImplementation ;
55import com .genexus .util .GXProperties ;
6-
7- import java .io .InputStream ;
8- import java .io .StringWriter ;
96import com .genexus .xml .GXXMLSerializer ;
107
8+ import java .lang .reflect .Method ;
9+ import java .util .HashMap ;
10+ import java .util .HashSet ;
11+ import java .util .Set ;
12+
1113public class GxSilentTrnSdt extends com .genexus .xml .GXXMLSerializable
1214{
1315
1416 IPendingEventHelper pendingHelper ;
15- GXProperties dirties = new GXProperties ();
17+ Set < String > dirties = new HashSet <> ();
1618
1719 IGxSilentTrn trn ;
1820 public GxSilentTrnSdt ( ModelContext context , String type )
@@ -237,14 +239,12 @@ public boolean InsertOrUpdate()
237239
238240 public void SetDirty (String fieldName )
239241 {
240- dirties .put (fieldName .toLowerCase (), "true" );
242+ dirties .add (fieldName .toLowerCase ());
241243 }
242244 @ Override
243245 public boolean IsDirty (String fieldName )
244246 {
245- if (dirties .containsKey (fieldName .toLowerCase ()))
246- return true ;
247- return false ;
247+ return dirties .contains (fieldName .toLowerCase ());
248248 }
249249
250250 public GXProperties getMetadata ()
You can’t perform that action at this time.
0 commit comments