summaryrefslogtreecommitdiffstats
path: root/gerrit-prettify
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2010-03-01 13:49:03 -0800
committerShawn O. Pearce <sop@google.com>2010-03-01 13:49:28 -0800
commit3959305294f97fc570fa82b1f21525a593049254 (patch)
tree3e34bfc1f04ec4c96845b8d9b9a1944ee6febb97 /gerrit-prettify
parent61a372c4ee1c9f1d34f42a31ae6300368663afe7 (diff)
Fix build breakage due to missing constants
The parent commit should have included these new files, it references them to pick up the translated strings for the tooltips. Change-Id: I907436eeb9f717d6aed17757304e461fe888187c Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'gerrit-prettify')
-rw-r--r--gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/PrettifyConstants.java25
-rw-r--r--gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/PrettifyConstants.properties2
2 files changed, 27 insertions, 0 deletions
diff --git a/gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/PrettifyConstants.java b/gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/PrettifyConstants.java
new file mode 100644
index 0000000000..346688e767
--- /dev/null
+++ b/gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/PrettifyConstants.java
@@ -0,0 +1,25 @@
+// Copyright (C) 2010 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package com.google.gerrit.prettify.common;
+
+import com.google.gwt.core.client.GWT;
+import com.google.gwt.i18n.client.Constants;
+
+public interface PrettifyConstants extends Constants {
+ static final PrettifyConstants C = GWT.create(PrettifyConstants.class);
+
+ String wseTabAfterSpace();
+ String wseTrailingSpace();
+}
diff --git a/gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/PrettifyConstants.properties b/gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/PrettifyConstants.properties
new file mode 100644
index 0000000000..5cb864b234
--- /dev/null
+++ b/gerrit-prettify/src/main/java/com/google/gerrit/prettify/common/PrettifyConstants.properties
@@ -0,0 +1,2 @@
+wseTabAfterSpace=Whitespace error: Tab after space
+wseTrailingSpace=Whitespace error: Trailing space at end of line