File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ public boolean test(SketchController controller) {
235
235
private UploadHandler uploadUsingProgrammerHandler ;
236
236
private Runnable timeoutUploadHandler ;
237
237
238
- private Map <String , Tool > internalToolCache = new HashMap <String , Tool >();
238
+ private Map <String , Tool > internalToolCache = new HashMap <>();
239
239
240
240
final ClangFormat formatter ;
241
241
@@ -1835,7 +1835,7 @@ public void updateTitle() {
1835
1835
SketchFile current = getCurrentTab ().getSketchFile ();
1836
1836
String customFormat = PreferencesData .get ("editor.custom_title_format" );
1837
1837
if (customFormat != null && !customFormat .trim ().isEmpty ()) {
1838
- Map <String , String > titleMap = new HashMap <String , String >();
1838
+ Map <String , String > titleMap = new HashMap <>();
1839
1839
titleMap .put ("file" , current .getFileName ());
1840
1840
String path = sketch .getFolder ().getAbsolutePath ();
1841
1841
titleMap .put ("folder" , path );
You can’t perform that action at this time.
0 commit comments