Author: rob.stryker(a)jboss.com
Date: 2012-01-26 23:48:23 -0500 (Thu, 26 Jan 2012)
New Revision: 38236
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/modules/LocalZippedPublisherUtil.java
Log:
UNIT TEST FAILURES!!!
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/modules/LocalZippedPublisherUtil.java
===================================================================
---
trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/modules/LocalZippedPublisherUtil.java 2012-01-27
04:04:14 UTC (rev 38235)
+++
trunk/as/plugins/org.jboss.ide.eclipse.archives.webtools/src/org/jboss/ide/eclipse/archives/webtools/modules/LocalZippedPublisherUtil.java 2012-01-27
04:48:23 UTC (rev 38236)
@@ -301,11 +301,11 @@
dKind = deltas[i].getKind();
resource = deltas[i].getModuleResource();
if( dKind == IModuleResourceDelta.ADDED ) {
- if( filter != null && filter.shouldInclude(resource)) {
+ if( filter == null || filter.shouldInclude(resource)) {
results.addAll(Arrays.asList(copy(root, new IModuleResource[]{resource})));
}
} else if( dKind == IModuleResourceDelta.CHANGED ) {
- if( filter != null && filter.shouldInclude(resource)) {
+ if( filter == null || filter.shouldInclude(resource)) {
if( resource instanceof IModuleFile )
results.addAll(Arrays.asList(copy(root, new IModuleResource[]{resource})));
results.addAll(Arrays.asList(publishChanges(server, deltas[i].getAffectedChildren(),
root, filter)));
Show replies by date