* Fix terrible guaranteed nullpointer exception bug.
This commit is contained in:
parent
47b101827a
commit
736769cc80
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ public class FileRepository extends AbstractRepository {
|
|||
public synchronized void update() {
|
||||
if (!directory.exists()) {
|
||||
repositories = emptyRepositories;
|
||||
if (resources != null) {
|
||||
if (resources == null) {
|
||||
resources = new HashMap();
|
||||
} else {
|
||||
resources.clear();
|
||||
|
|
Loading…
Add table
Reference in a new issue