String value = "";
String value = null;
	private static NLSSubstitution[] createNLSSubstitutions(NLSLine[] lines, ICompilationUnit cu) {	    NLSInfo nlsInfo = new NLSInfo(cu);		List result= new ArrayList();				for (int i = 0; i < lines.length; i++) {			NLSElement[] elements= lines[i].getElements();			for(int j = 0; j < elements.length; j++){				NLSElement nlsElement= elements[j];				if (nlsElement.hasTag()) {				    AccessorClassInfo accessorClassInfo = nlsInfo.getAccessorClassInfo(nlsElement);				    if (accessorClassInfo == null) {				        // no accessorclass => not translated				        				        result.add(new NLSSubstitution(				                NLSSubstitution.IGNORED, 				                stripQuotes(nlsElement.getValue()), 				                nlsElement));				    } else {				        				        String key = stripQuotes(nlsElement.getValue());						Properties props = (Properties) propertyMap.get(accessorClassInfo);						if (props == null) {						    IFile propertyFile = nlsInfo.getResourceBundleFile(nlsElement);						    if (propertyFile != null) {						        try {						            props = getProperties(propertyFile);						            propertyMap.put(accessorClassInfo, props);						        } catch (Exception e) {						            // do nothing						        }						    }						}						String value = "";						if (props != null) {						    value = props.getProperty(key);						}				        result.add(new NLSSubstitution(				        		NLSSubstitution.EXTERNALIZED, 								key, 								value, 								nlsElement, 								accessorClassInfo));				    }				    				} else {					result.add(new NLSSubstitution(					        NLSSubstitution.INTERNALIZED, 					        stripQuotes(nlsElement.getValue()), 							nlsElement));				}							}		} 				return (NLSSubstitution[]) result.toArray(new NLSSubstitution[result.size()]);	}	