Przeglądaj źródła

localOverride must have a value, or it is not set

tags/2.0.1
Jonathan Cobb 4 lat temu
rodzic
commit
e20ad749d7
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      wizard-server/src/main/java/org/cobbzilla/wizard/server/config/StaticHttpConfiguration.java

+ 1
- 1
wizard-server/src/main/java/org/cobbzilla/wizard/server/config/StaticHttpConfiguration.java Wyświetl plik

@@ -19,7 +19,7 @@ public class StaticHttpConfiguration {
@Getter @Setter private String resourceRoot;

public boolean hasAssetRoot() { return !empty(assetRoot); }
public boolean hasLocalOverride() { return localOverride != null; }
public boolean hasLocalOverride() { return !empty(localOverride); }

@Getter @Setter private Map<String, Map<String, String>> substitutions = new HashMap<>();
public Map<String, String> getSubstitutions(String resourcePath) { return substitutions.get(resourcePath); }


Ładowanie…
Anuluj
Zapisz