continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r220119 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
Date Thu, 21 Jul 2005 15:52:25 GMT
Author: jvanzyl
Date: Thu Jul 21 08:52:22 2005
New Revision: 220119

URL: http://svn.apache.org/viewcvs?rev=220119&view=rev
Log:
o use the common method and clean out cruft

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java?rev=220119&r1=220118&r2=220119&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
Thu Jul 21 08:52:22 2005
@@ -989,35 +989,6 @@
         return (ContinuumBuildSettings) getDetailedObject( ContinuumBuildSettings.class,
                                                            buildSettingsId,
                                                            "build-settings-detail" );
-
-        /*
-        PersistenceManager pm = pmf.getPersistenceManager();
-
-        Transaction tx = pm.currentTransaction();
-
-        try
-        {
-            tx.begin();
-
-            Object id = pm.newObjectIdInstance( ContinuumBuildSettings.class, buildSettingsId
);
-
-            ContinuumBuildSettings buildSettings = (ContinuumBuildSettings) pm.getObjectById(
id );
-
-            buildSettings = (ContinuumBuildSettings) pm.detachCopy( buildSettings );
-
-            commit( tx );
-
-            return buildSettings;
-        }
-        catch ( JDOObjectNotFoundException e )
-        {
-            throw new ContinuumObjectNotFoundException( ContinuumBuildSettings.class.getName(),
buildSettingsId );
-        }
-        finally
-        {
-            rollback( tx );
-        }
-        */
     }
 
     public Collection getBuildSettings()



Mime
View raw message