From 378e87f1e3bf8b2451ca511668954b707680b843 Mon Sep 17 00:00:00 2001 From: Oliver Burn Date: Sun, 11 Aug 2002 10:07:59 +0000 Subject: [PATCH] Since this class is meant to be seen outside the package - fixed the access rights --- .../com/puppycrawl/tools/checkstyle/LocalizedMessage.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/LocalizedMessage.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/LocalizedMessage.java index 723b06941..560188468 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/LocalizedMessage.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/LocalizedMessage.java @@ -30,7 +30,7 @@ import java.text.MessageFormat; * @author Oliver Burn * @version 1.0 */ -class LocalizedMessage +public class LocalizedMessage implements Comparable { /** name of the resource bundle to get messages from **/ @@ -84,7 +84,7 @@ class LocalizedMessage } /** @return the translated message **/ - String getMessage() + public String getMessage() { // Very simple approach - wait for performance problems final ResourceBundle bundle = @@ -94,13 +94,13 @@ class LocalizedMessage } /** @return the line number **/ - int getLineNo() + public int getLineNo() { return mLineNo; } /** @return the column number **/ - int getColumnNo() + public int getColumnNo() { return mColNo; }