You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The object maps should be final, they're not reinitialized:
/**
* the static map used to store local object, so that getObject can found the real local object
*/
private static Map<string rtlocalobject> objectMap
= new ConcurrentHashMap();
/**
* the remote object map, thread safe
*/
private static Map<string uri> objectMap = new ConcurrentHashMap();
Issue 3:
Why do you use "this" to qualify objName but not value which is also an instance variable:
this.objName = "obj://" + UUID.randomUUID().toString();
value = buildValue();
Additional code quality items from the recent review:
Issue 1:
Logger should be final:
Issue 2:
The object maps should be final, they're not reinitialized:
Issue 3:
Why do you use "this" to qualify objName but not value which is also an instance variable:
Issue 4:
Should be private, not used outside class:
Issue 5:
Should define a constant for property name "object.id":
Should define a constant for property name "function.name":
Issue 6:
The text was updated successfully, but these errors were encountered: