Author: rob.stryker(a)jboss.com
Date: 2011-03-20 13:32:34 -0400 (Sun, 20 Mar 2011)
New Revision: 29912
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockPublishMethod.java
Log:
JBIDE-7514 jboss 7 support, test has bad overrides
Modified:
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockPublishMethod.java
===================================================================
---
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockPublishMethod.java 2011-03-18
23:55:10 UTC (rev 29911)
+++
trunk/as/tests/org.jboss.ide.eclipse.as.test/src/org/jboss/ide/eclipse/as/test/publishing/v2/MockPublishMethod.java 2011-03-20
17:32:34 UTC (rev 29912)
@@ -19,18 +19,15 @@
public static final String PUBLISH_METHOD_ID = "mock";
public static final MockCopyCallbackHandler HANDLER = new MockCopyCallbackHandler();
- @Override
public IPublishCopyCallbackHandler getCallbackHandler(IPath path,
IServer server) {
return HANDLER;
}
- @Override
public String getPublishDefaultRootFolder(IServer server) {
return "/";
}
- @Override
public String getPublishMethodId() {
return PUBLISH_METHOD_ID;
}
@@ -52,7 +49,6 @@
return (IPath[]) changed.toArray(new IPath[changed.size()]);
}
- @Override
public IStatus[] deleteResource(IPath path, IProgressMonitor monitor)
throws CoreException {
if( !removed.contains(path.makeRelative()))
@@ -60,7 +56,6 @@
return new IStatus[]{};
}
- @Override
public IStatus[] makeDirectoryIfRequired(IPath dir,
IProgressMonitor monitor) throws CoreException {
if( !changed.contains(dir.makeRelative()))
@@ -81,7 +76,6 @@
return new IStatus[]{};
}
- @Override
public IStatus[] touchResource(IPath path) {
if( !changed.contains(path.makeRelative()))
changed.add(path.makeRelative());