We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cfd48d commit e379f8dCopy full SHA for e379f8d
1 file changed
src/main/java/org/scijava/desktop/DefaultDesktopService.java
@@ -155,13 +155,13 @@ public void addFileTypes(LazyObjects<FileType> fileTypes) {
155
156
@Override
157
public Map<String, String> getFileTypes() {
158
- if (fileTypes == null) initFileTypes();
+ if (!initialized) initFileTypes();
159
return Collections.unmodifiableMap(fileTypes);
160
}
161
162
163
public String getDescription(final String extension) {
164
165
return descriptions.get(extension);
166
167
0 commit comments