Revision: 9254
http://languagetool.svn.sourceforge.net/languagetool/?rev=9254&view=rev
Author: dnaber
Date: 2013-01-28 21:33:16 +0000 (Mon, 28 Jan 2013)
Log Message:
-----------
add missing license header; whitespace cleanup (tab -> spaces)
Modified Paths:
--------------
trunk/languagetool/languagetool-standalone/src/main/java/org/languagetool/gui/Messages.java
Modified:
trunk/languagetool/languagetool-standalone/src/main/java/org/languagetool/gui/Messages.java
===================================================================
---
trunk/languagetool/languagetool-standalone/src/main/java/org/languagetool/gui/Messages.java
2013-01-28 21:26:29 UTC (rev 9253)
+++
trunk/languagetool/languagetool-standalone/src/main/java/org/languagetool/gui/Messages.java
2013-01-28 21:33:16 UTC (rev 9254)
@@ -1,3 +1,21 @@
+/* LanguageTool, a natural language style checker
+ * Copyright (C) 2011 Marcin MiĆkowski
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
+ * USA
+ */
package org.languagetool.gui;
import org.languagetool.JLanguageTool;
@@ -7,17 +25,17 @@
public class Messages {
- private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
- .getBundle(JLanguageTool.MESSAGE_BUNDLE);
-
- private Messages() {
- }
+ private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
+ .getBundle(JLanguageTool.MESSAGE_BUNDLE);
- public static String getString(String key) {
- try {
- return RESOURCE_BUNDLE.getString(key);
- } catch (MissingResourceException e) {
- return '!' + key + '!';
- }
- }
+ private Messages() {
+ }
+
+ public static String getString(String key) {
+ try {
+ return RESOURCE_BUNDLE.getString(key);
+ } catch (MissingResourceException e) {
+ return '!' + key + '!';
+ }
+ }
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits