Re: Improved patch to jde-wiz.el (for deep inner-class names)

"Jeff Peck" <[email protected]>
Newsgroups gmane.emacs.jdee.devel
Message-ID <0EEB44E89EE74901B8E1233A841F9994@blue>
A simple patch to avoid paramters named "class":


Index: java/src/jde/wizards/DefaultNameFactory.java
===================================================================
--- java/src/jde/wizards/DefaultNameFactory.java (revision 164)
+++ java/src/jde/wizards/DefaultNameFactory.java (working copy)
@@ -149,6 +149,7 @@
       if (className.endsWith(";")) {
         className = className.substring(0, className.length()-1) + "Array";
       }
+      if (className.equals("class")) className = "clazz";
       
       return className;
     }

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
jdee-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.