aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wfar...@apache.org
Subject git commit: Fix line exceeding 100 cols.
Date Fri, 21 Mar 2014 16:27:49 GMT
Repository: incubator-aurora
Updated Branches:
  refs/heads/master 482d7a407 -> 08bb7b303


Fix line exceeding 100 cols.


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/08bb7b30
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/08bb7b30
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/08bb7b30

Branch: refs/heads/master
Commit: 08bb7b3032218fe1ecfdc830bbea8f10269e1967
Parents: 482d7a4
Author: Bill Farner <wfarner@apache.org>
Authored: Fri Mar 21 09:19:33 2014 -0700
Committer: Bill Farner <wfarner@apache.org>
Committed: Fri Mar 21 09:19:33 2014 -0700

----------------------------------------------------------------------
 src/main/java/org/apache/aurora/scheduler/http/StructDump.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/08bb7b30/src/main/java/org/apache/aurora/scheduler/http/StructDump.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/aurora/scheduler/http/StructDump.java b/src/main/java/org/apache/aurora/scheduler/http/StructDump.java
index 3d515c9..efea75f 100644
--- a/src/main/java/org/apache/aurora/scheduler/http/StructDump.java
+++ b/src/main/java/org/apache/aurora/scheduler/http/StructDump.java
@@ -57,12 +57,15 @@ public class StructDump extends JerseyTemplateServlet {
     this.storage = Preconditions.checkNotNull(storage);
   }
 
+  private static final String USAGE =
+    "<html>Usage: /structdump/task/{task_id} or /structdump/cron/{role}/{env}/{job}</html>";
+
   @GET
   @Produces(MediaType.TEXT_HTML)
   public Response getUsage() {
     return Response
         .status(Status.BAD_REQUEST)
-        .entity("<html>Usage: /structdump/task/{task_id} or /structdump/cron/{role}/{env}/{job}</html>")
+        .entity(USAGE)
         .build();
   }
 


Mime
View raw message