[jboss-cvs] JBossAS SVN: r82915 - branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/repository.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jan 15 11:26:05 EST 2009
Author: emuckenhuber
Date: 2009-01-15 11:26:05 -0500 (Thu, 15 Jan 2009)
New Revision: 82915
Modified:
branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/repository/SerializableDeploymentRepository.java
Log:
JBAS-6360
Modified: branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/repository/SerializableDeploymentRepository.java
===================================================================
--- branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/repository/SerializableDeploymentRepository.java 2009-01-15 16:24:46 UTC (rev 82914)
+++ branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/repository/SerializableDeploymentRepository.java 2009-01-15 16:26:05 UTC (rev 82915)
@@ -636,6 +636,8 @@
*/
protected boolean hasBeenModified(VFSDeploymentContext deploymentContext) throws IOException
{
+ // hasBeenModified
+ boolean hasBeenModfied = false;
List<VirtualFile> metadataLocations = deploymentContext.getMetaDataLocations();
if (metadataLocations != null && metadataLocations.isEmpty() == false)
{
@@ -654,7 +656,7 @@
{
if (log.isTraceEnabled())
log.trace("Metadata location modified: " + child);
- return true;
+ hasBeenModfied = true;
}
}
}
@@ -668,11 +670,11 @@
if (childContext instanceof VFSDeploymentContext)
{
if (hasBeenModified((VFSDeploymentContext)childContext))
- return true;
+ hasBeenModfied = true;
}
}
}
- return false;
+ return hasBeenModfied;
}
More information about the jboss-cvs-commits
mailing list