From: Benjamin B. <bg...@us...> - 2005-08-11 10:56:04
|
Update of /cvsroot/sblim/ecute/Plugin/com/ibm/ecute/plugins/output/funcionality In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27482/Plugin/com/ibm/ecute/plugins/output/funcionality Modified Files: mofCreator.java Log Message: 2.1 beta 2: full flavors support - flavors import - flavors modification - flavors check and repair - flavors export Index: mofCreator.java =================================================================== RCS file: /cvsroot/sblim/ecute/Plugin/com/ibm/ecute/plugins/output/funcionality/mofCreator.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- mofCreator.java 8 Apr 2005 09:11:16 -0000 1.4 +++ mofCreator.java 11 Aug 2005 10:55:48 -0000 1.5 @@ -477,9 +477,10 @@ int pos = defaultValue.indexOf('\n'); while (pos >= 0 && (pos <= defaultValue.length() + 1)) { defaultValue = - defaultValue.substring(0, pos + 1) - + "//" + defaultValue.substring(0, pos) + + "\n\r//" + defaultValue.substring(pos + 1); + pos = defaultValue.indexOf('\n', pos); pos = defaultValue.indexOf('\n', pos + 1); } defaultValue += "\r\n\r\n"; |