Permalink
Browse files

FIxed the build,

not valid to @Override an interface method in JDK 1.5
  • Loading branch information...
1 parent f47d998 commit 7710d1345002cee89496798976067589ee4e8e5f @ieb ieb committed Sep 17, 2009
@@ -136,30 +136,25 @@ protected void doPost(SlingHttpServletRequest request, SlingHttpServletResponse
// Wrapper which needs to remove the .activity selector from RequestPathInfo to avoid
// an infinite loop.
final RequestPathInfo wrappedPathInfo = new RequestPathInfo() {
- @Override
public String getSuffix() {
return requestPathInfo.getSuffix();
}
- @Override
public String[] getSelectors() {
// TODO Probably should just *remove* the ".activity" selector from array
return new String[0];
}
- @Override
public String getSelectorString() {
// TODO Probably should just *remove* the ".activity" selector from string
return null;
}
- @Override
public String getResourcePath() {
// LOG.debug("requestPathInfo.getResourcePath()=" + resourcePath);
return activityItemPath;
}
- @Override
public String getExtension() {
return requestPathInfo.getExtension();
}
@@ -59,7 +59,6 @@
protected SlingRepository slingRepository;
- @Override
public void handleEvent(Event event) {
LOG.debug("handleEvent(Event {})", event);
final String activityItemPath = (String) event.getProperty("activityItemPath");

0 comments on commit 7710d13

Please sign in to comment.