You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by dp...@apache.org on 2011/12/01 11:08:28 UTC
svn commit: r1209020 -
/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java
Author: dpfister
Date: Thu Dec 1 10:08:27 2011
New Revision: 1209020
URL: http://svn.apache.org/viewvc?rev=1209020&view=rev
Log:
add diff() method
- remove private to avoid synthetic accessor method
Modified:
jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java
Modified: jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java?rev=1209020&r1=1209019&r2=1209020&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java (original)
+++ jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java Thu Dec 1 10:08:27 2011
@@ -77,6 +77,7 @@ class MicroKernelServlet {
COMMANDS.put("getRevisions", new GetRevisions());
COMMANDS.put("waitForCommit", new WaitForCommit());
COMMANDS.put("getJournal", new GetJournal());
+ COMMANDS.put("diff", new Diff());
COMMANDS.put("nodeExists", new NodeExists());
COMMANDS.put("getNodes", new GetNodes());
COMMANDS.put("commit", new Commit());
@@ -85,7 +86,7 @@ class MicroKernelServlet {
COMMANDS.put("write", new Write());
}
- private static class GetHeadRevision implements Command {
+ static class GetHeadRevision implements Command {
public void execute(MicroKernel mk, Request request, Response response)
throws IOException, MicroKernelException {
@@ -95,7 +96,7 @@ class MicroKernelServlet {
}
}
- private static class GetRevisions implements Command {
+ static class GetRevisions implements Command {
public void execute(MicroKernel mk, Request request, Response response)
throws IOException, MicroKernelException {
@@ -112,7 +113,7 @@ class MicroKernelServlet {
}
}
- private static class WaitForCommit implements Command {
+ static class WaitForCommit implements Command {
public void execute(MicroKernel mk, Request request, Response response)
throws IOException, MicroKernelException {
@@ -135,7 +136,7 @@ class MicroKernelServlet {
}
}
- private static class GetJournal implements Command {
+ static class GetJournal implements Command {
public void execute(MicroKernel mk, Request request, Response response)
throws IOException, MicroKernelException {
@@ -154,7 +155,7 @@ class MicroKernelServlet {
}
}
- private static class Diff implements Command {
+ static class Diff implements Command {
public void execute(MicroKernel mk, Request request, Response response)
throws IOException, MicroKernelException {
@@ -174,7 +175,7 @@ class MicroKernelServlet {
}
}
- private static class NodeExists implements Command {
+ static class NodeExists implements Command {
public void execute(MicroKernel mk, Request request, Response response)
throws IOException, MicroKernelException {
@@ -189,7 +190,7 @@ class MicroKernelServlet {
}
}
- private static class GetNodes implements Command {
+ static class GetNodes implements Command {
public void execute(MicroKernel mk, Request request, Response response)
throws IOException, MicroKernelException {
@@ -211,7 +212,7 @@ class MicroKernelServlet {
}
}
- private static class Commit implements Command {
+ static class Commit implements Command {
public void execute(MicroKernel mk, Request request, Response response)
throws IOException, MicroKernelException {
@@ -230,7 +231,7 @@ class MicroKernelServlet {
}
}
- private static class GetLength implements Command {
+ static class GetLength implements Command {
public void execute(MicroKernel mk, Request request, Response response)
throws IOException, MicroKernelException {
@@ -243,7 +244,7 @@ class MicroKernelServlet {
}
}
- private static class Read implements Command {
+ static class Read implements Command {
public void execute(MicroKernel mk, Request request, Response response)
throws IOException, MicroKernelException {
@@ -268,7 +269,7 @@ class MicroKernelServlet {
}
}
- private static class Write implements Command {
+ static class Write implements Command {
public void execute(MicroKernel mk, Request request, Response response)
throws IOException, MicroKernelException {