User: ara_e_w
Date: 02/05/31 13:44:00
Modified: modules/mvcsoft/src/xdoclet/modules/mvcsoft/ejb
MVCSoftTagsHandler.java
Log:
@msg:bundle refactoring
Revision Changes Path
1.3 +4 -8
xdoclet/modules/mvcsoft/src/xdoclet/modules/mvcsoft/ejb/MVCSoftTagsHandler.java
Index: MVCSoftTagsHandler.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/mvcsoft/src/xdoclet/modules/mvcsoft/ejb/MVCSoftTagsHandler.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -r1.2 -r1.3
--- MVCSoftTagsHandler.java 28 May 2002 21:59:01 -0000 1.2
+++ MVCSoftTagsHandler.java 31 May 2002 20:44:00 -0000 1.3
@@ -7,14 +7,11 @@
import java.util.Properties;
import java.util.StringTokenizer;
-import org.apache.commons.logging.Log;
-
import xjavadoc.XParameter;
import xdoclet.XDocletException;
import xdoclet.tagshandler.ClassTagsHandler;
-import xdoclet.util.LogUtil;
import xdoclet.util.Translator;
/**
@@ -181,7 +178,7 @@
int idx = token.indexOf('=');
if (idx == -1) {
- throw new
XDocletException(Translator.getString("xdoclet.modules.mvcsoft.ejb.resources.Messages",
"alias_form"));
+ throw new
XDocletException(Translator.getString(XDocletModulesMvcsoftEjbMessages.class,
XDocletModulesMvcsoftEjbMessages.ALIAS_FORM));
}
currentFieldName = token.substring(0, idx).trim();
currentColName = token.substring(idx + 1).trim();
@@ -226,9 +223,8 @@
* Gets the KeyAliases attribute of the MVCSoftTagsHandler object
*
* @return The KeyAliases value
- * @exception XDocletException Describe the exception
*/
- private String getKeyAliases() throws XDocletException
+ private String getKeyAliases()
{
return getCurrentMethod().getDoc().getTagAttributeValue("mvcsoft:relation",
"key-aliases", false);
}
@@ -245,7 +241,7 @@
int idx = token.indexOf(':');
if (idx == -1) {
- throw new
XDocletException(Translator.getString("xdoclet.modules.mvcsoft.ejb.resources.Messages",
"key_alias_form"));
+ throw new
XDocletException(Translator.getString(XDocletModulesMvcsoftEjbMessages.class,
XDocletModulesMvcsoftEjbMessages.KEY_ALIAS_FORM));
}
currentRoleName = token.substring(0, idx);
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel