File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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) {
235235 private UploadHandler uploadUsingProgrammerHandler ;
236236 private Runnable timeoutUploadHandler ;
237237
238- private Map <String , Tool > internalToolCache = new HashMap <String , Tool >();
238+ private Map <String , Tool > internalToolCache = new HashMap <>();
239239
240240 final ClangFormat formatter ;
241241
@@ -1835,7 +1835,7 @@ public void updateTitle() {
18351835 SketchFile current = getCurrentTab ().getSketchFile ();
18361836 String customFormat = PreferencesData .get ("editor.custom_title_format" );
18371837 if (customFormat != null && !customFormat .trim ().isEmpty ()) {
1838- Map <String , String > titleMap = new HashMap <String , String >();
1838+ Map <String , String > titleMap = new HashMap <>();
18391839 titleMap .put ("file" , current .getFileName ());
18401840 String path = sketch .getFolder ().getAbsolutePath ();
18411841 titleMap .put ("folder" , path );
You can’t perform that action at this time.
0 commit comments