# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: C:\dev\projects\glassfish\transaction\jts\src\main\java\com\sun\jts\jtsxa # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: OTSResourceImpl.java --- OTSResourceImpl.java Base (BASE) +++ OTSResourceImpl.java Locally Modified (Based On LOCAL) @@ -485,43 +485,42 @@ * interface method implementation below shall be discarded. */ - private static org.omg.CORBA.NO_IMPLEMENT no_implement = - new org.omg.CORBA.NO_IMPLEMENT("This is a locally constrained object."); + private static final String THIS_IS_A_LOCALLY_CONSTRAINED_OBJECT = "This is a locally constrained object."; public org.omg.CORBA.Object _duplicate() { - throw no_implement; + throw new org.omg.CORBA.NO_IMPLEMENT(THIS_IS_A_LOCALLY_CONSTRAINED_OBJECT); } public void _release() { - throw no_implement; + throw new org.omg.CORBA.NO_IMPLEMENT(THIS_IS_A_LOCALLY_CONSTRAINED_OBJECT); } public boolean _is_a(String repository_id) { - throw no_implement; + throw new org.omg.CORBA.NO_IMPLEMENT(THIS_IS_A_LOCALLY_CONSTRAINED_OBJECT); } public boolean _is_equivalent(org.omg.CORBA.Object that) { - throw no_implement; + throw new org.omg.CORBA.NO_IMPLEMENT(THIS_IS_A_LOCALLY_CONSTRAINED_OBJECT); } public boolean _non_existent() { - throw no_implement; + throw new org.omg.CORBA.NO_IMPLEMENT(THIS_IS_A_LOCALLY_CONSTRAINED_OBJECT); } public int _hash(int maximum) { - throw no_implement; + throw new org.omg.CORBA.NO_IMPLEMENT(THIS_IS_A_LOCALLY_CONSTRAINED_OBJECT); } public Request _request(String operation) { - throw no_implement; + throw new org.omg.CORBA.NO_IMPLEMENT(THIS_IS_A_LOCALLY_CONSTRAINED_OBJECT); } public Request _create_request(Context ctx, String operation, NVList arg_list, NamedValue result) { - throw no_implement; + throw new org.omg.CORBA.NO_IMPLEMENT(THIS_IS_A_LOCALLY_CONSTRAINED_OBJECT); } public Request _create_request(Context ctx, @@ -530,24 +529,24 @@ NamedValue result, ExceptionList exceptions, ContextList contexts) { - throw no_implement; + throw new org.omg.CORBA.NO_IMPLEMENT(THIS_IS_A_LOCALLY_CONSTRAINED_OBJECT); } public org.omg.CORBA.Object _get_interface_def() { - throw no_implement; + throw new org.omg.CORBA.NO_IMPLEMENT(THIS_IS_A_LOCALLY_CONSTRAINED_OBJECT); } public org.omg.CORBA.Policy _get_policy(int policy_type) { - throw no_implement; + throw new org.omg.CORBA.NO_IMPLEMENT(THIS_IS_A_LOCALLY_CONSTRAINED_OBJECT); } public org.omg.CORBA.DomainManager[] _get_domain_managers() { - throw no_implement; + throw new org.omg.CORBA.NO_IMPLEMENT(THIS_IS_A_LOCALLY_CONSTRAINED_OBJECT); } public org.omg.CORBA.Object _set_policy_override( org.omg.CORBA.Policy[] policies, org.omg.CORBA.SetOverrideType set_add) { - throw no_implement; + throw new org.omg.CORBA.NO_IMPLEMENT(THIS_IS_A_LOCALLY_CONSTRAINED_OBJECT); } }