Skip to content

Commit

Permalink
Doing some maven formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dkayiwa committed Oct 25, 2013
1 parent d3bd8b7 commit 2de7ba9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
Expand Up @@ -86,6 +86,7 @@ public static Document parseXml(String xml) throws ParserConfigurationException
try {
// Disable resolution of external entities. See TRUNK-3942
builder.setEntityResolver(new EntityResolver() {

public InputSource resolveEntity(String publicId, String systemId) {
return new InputSource(new StringReader(""));
}
Expand Down
12 changes: 6 additions & 6 deletions api/src/main/java/org/openmrs/module/ModuleFactory.java
Expand Up @@ -961,12 +961,12 @@ public static List<Module> stopModule(Module mod, boolean skipOverStartedPropert
}

getStartedModulesMap().remove(moduleId);
if (actualStartupOrder != null) {
actualStartupOrder.remove(moduleId);
for (Module depModule : dependentModulesStopped) {
actualStartupOrder.remove(depModule.getModuleId());
}
}
if (actualStartupOrder != null) {
actualStartupOrder.remove(moduleId);
for (Module depModule : dependentModulesStopped) {
actualStartupOrder.remove(depModule.getModuleId());
}
}

if (skipOverStartedProperty == false && !Context.isRefreshingContext()) {
saveGlobalProperty(moduleId + ".started", "false", getGlobalPropertyStartedDescription(moduleId));
Expand Down
3 changes: 2 additions & 1 deletion api/src/main/java/org/openmrs/module/UpdateFileParser.java
Expand Up @@ -72,9 +72,10 @@ public void parse() throws ModuleException {

DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();

// Disable resolution of external entities. See TRUNK-3942
db.setEntityResolver(new EntityResolver() {

public InputSource resolveEntity(String publicId, String systemId) {
return new InputSource(new StringReader(""));
}
Expand Down
Expand Up @@ -1034,13 +1034,13 @@ public void setConceptDrugList(List<Drug> conceptDrugList) {
this.conceptDrugList = conceptDrugList;
}

public Integer getDisplayPrecision() {
return displayPrecision;
}
public void setDisplayPrecision(Integer displayPrecision) {
this.displayPrecision = displayPrecision;
}
public Integer getDisplayPrecision() {
return displayPrecision;
}
public void setDisplayPrecision(Integer displayPrecision) {
this.displayPrecision = displayPrecision;
}
}

}

0 comments on commit 2de7ba9

Please sign in to comment.