Skip to content

Commit 3ff6528

Browse files
committed
update copyright years in processing.app.ui package
1 parent d4f61e4 commit 3ff6528

26 files changed

+59
-30
lines changed

app/src/processing/app/Preferences.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
Part of the Processing project - http://processing.org
55
6-
Copyright (c) 2014 The Processing Foundation
6+
Copyright (c) 2014-19 The Processing Foundation
77
88
This program is free software; you can redistribute it and/or modify
99
it under the terms of the GNU General Public License version 2
@@ -53,7 +53,7 @@ public class Preferences {
5353
static final String PREFS_FILE = "preferences.txt"; //$NON-NLS-1$
5454

5555
static Map<String, String> defaults;
56-
static Map<String, String> table = new HashMap<String, String>();
56+
static Map<String, String> table = new HashMap<>();
5757
static File preferencesFile;
5858

5959

@@ -73,7 +73,7 @@ static public void init() {
7373

7474
// Clone the defaults, then override any them with the user's preferences.
7575
// This ensures that any new/added preference will be present.
76-
defaults = new HashMap<String, String>(table);
76+
defaults = new HashMap<>(table);
7777

7878
// other things that have to be set explicitly for the defaults
7979
setColor("run.window.bgcolor", SystemColor.control); //$NON-NLS-1$

app/src/processing/app/ui/About.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
Part of the Processing project - http://processing.org
55
6-
Copyright (c) 2012-15 The Processing Foundation
6+
Copyright (c) 2012-19 The Processing Foundation
77
Copyright (c) 2004-12 Ben Fry and Casey Reas
88
99
This program is free software; you can redistribute it and/or

app/src/processing/app/ui/ChangeDetector.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
2+
3+
/*
4+
Part of the Processing project - http://processing.org
5+
6+
Copyright (c) 2012-19 The Processing Foundation
7+
8+
This program is free software; you can redistribute it and/or modify
9+
it under the terms of the GNU General Public License version 2
10+
as published by the Free Software Foundation.
11+
12+
This program is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
GNU General Public License for more details.
16+
17+
You should have received a copy of the GNU General Public License
18+
along with this program; if not, write to the Free Software Foundation, Inc.
19+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20+
*/
21+
122
package processing.app.ui;
223

324
import java.awt.event.WindowEvent;

app/src/processing/app/ui/ColorChooser.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
/*
44
Part of the Processing project - http://processing.org
55
6-
Copyright (c) 2006-14 Ben Fry and Casey Reas
6+
Copyright (c) 2012-19 The Processing Foundation
7+
Copyright (c) 2006-12 Ben Fry and Casey Reas
78
89
This program is free software; you can redistribute it and/or modify
910
it under the terms of the GNU General Public License version 2

app/src/processing/app/ui/Editor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
Part of the Processing project - http://processing.org
55
6-
Copyright (c) 2012-15 The Processing Foundation
6+
Copyright (c) 2012-19 The Processing Foundation
77
Copyright (c) 2004-12 Ben Fry and Casey Reas
88
Copyright (c) 2001-04 Massachusetts Institute of Technology
99

app/src/processing/app/ui/EditorButton.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
/*
44
Part of the Processing project - http://processing.org
5-
Copyright (c) 2015 The Processing Foundation
5+
6+
Copyright (c) 2015-19 The Processing Foundation
67
78
This program is free software; you can redistribute it and/or modify
89
it under the terms of the GNU General Public License version 2

app/src/processing/app/ui/EditorConsole.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
Part of the Processing project - http://processing.org
55
6-
Copyright (c) 2012-17 The Processing Foundation
6+
Copyright (c) 2012-19 The Processing Foundation
77
Copyright (c) 2004-12 Ben Fry and Casey Reas
88
Copyright (c) 2001-04 Massachusetts Institute of Technology
99
@@ -233,8 +233,8 @@ public void message(String what, boolean err) {
233233
// https://github.com/processing/processing/issues/5462
234234
// Some discussion on the Apple's developer forums seems to suggest that is not serious:
235235
// https://forums.developer.apple.com/thread/105244
236-
} else if (err && what.contains("NSWindow drag regions should only be invalidated on the Main Thread")) {
237-
// Keep hiding warnings triggered by JOGL on recent macOS versions (this is from 10.14 onwards I think).
236+
} else if (err && what.contains("NSWindow drag regions should only be invalidated on the Main Thread")) {
237+
// Keep hiding warnings triggered by JOGL on recent macOS versions (this is from 10.14 onwards I think).
238238
} else if (err && what.contains("Make pbuffer:")) {
239239
// Remove initalization warning from LWJGL.
240240
} else if (err && what.contains("XInitThreads() called for concurrent")) {

app/src/processing/app/ui/EditorException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
Part of the Processing project - http://processing.org
55
6-
Copyright (c) 2015 The Processing Foundation
6+
Copyright (c) 2015-19 The Processing Foundation
77
88
This program is free software; you can redistribute it and/or modify
99
it under the terms of the GNU General Public License version 2

app/src/processing/app/ui/EditorFooter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
Part of the Processing project - http://processing.org
55
6-
Copyright (c) 2015 The Processing Foundation
6+
Copyright (c) 2015-19 The Processing Foundation
77
88
This program is free software; you can redistribute it and/or modify
99
it under the terms of the GNU General Public License as published by

app/src/processing/app/ui/EditorHeader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/*
44
Part of the Processing project - http://processing.org
55
6-
Copyright (c) 2013-15 The Processing Foundation
7-
Copyright (c) 2004-13 Ben Fry and Casey Reas
6+
Copyright (c) 2012-19 The Processing Foundation
7+
Copyright (c) 2004-12 Ben Fry and Casey Reas
88
Copyright (c) 2001-04 Massachusetts Institute of Technology
99
1010
This program is free software; you can redistribute it and/or modify

0 commit comments

Comments
 (0)