Skip to content

Commit 479f1a9

Browse files
committed
Update copyright
1 parent 66803d0 commit 479f1a9

24 files changed

+124
-110
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ adjust above for your OS/distro setup.
88

99
## Requirements
1010

11-
Tested with OpenJDK11 and OpenJDK17.
11+
Tested with OpenJDK17.
1212

13-
- `jdk-11.0.11+`
14-
- `jruby-9.3.1.0`
13+
- `jdk-17.01+`
14+
- `jruby-9.3.2.0`
1515

1616
## Building and testing
1717

library/slider/slider.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Here's a little library for quickly hooking up in sketch sliders.
4-
# Copyright (c) 2015-20 Martin Prout.
4+
# Copyright (c) 2015-22 Martin Prout.
55

66
java_import 'monkstone.slider.CustomHorizontalSlider'
77
java_import 'monkstone.slider.CustomVerticalSlider'

pom.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858

5959
overrides do
6060

61-
plugin('org.codehaus.mojo:versions-maven-plugin:2.7',
61+
plugin('org.codehaus.mojo:versions-maven-plugin:2.8.1',
6262
'generateBackupPoms' => 'false')
6363
plugin(:compiler, '3.8.1',
64-
'release' => '11')
65-
plugin :dependency, '3.1.2' do
64+
'release' => '17')
65+
plugin :dependency, '3.2.0' do
6666
execute_goals( id: 'default-cli',
6767
artifactItems:[
6868
{ groupId: 'com.itextpdf',
@@ -80,7 +80,7 @@
8080
]
8181
)
8282
end
83-
plugin(:javadoc, '3.2.0',
83+
plugin(:javadoc, '3.3.1',
8484
'detectOfflineLinks' => 'false',
8585
'links' => ['${jruby.api}',
8686
'${processing.api}'])
@@ -90,7 +90,7 @@
9090
'Automatic-Module-Name' => 'processing.core'
9191
}
9292
})
93-
plugin('org.apache.maven.plugins:maven-pmd-plugin:3.14.0')
93+
plugin('org.apache.maven.plugins:maven-pmd-plugin:3.15.0')
9494
end
9595
build do
9696
resource do
@@ -105,5 +105,5 @@
105105
end
106106
end
107107
reporting do
108-
plugin('org.apache.maven.plugins:maven-jxr-plugin:2.3')
108+
plugin('org.apache.maven.plugins:maven-jxr-plugin:3.1.1')
109109
end

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ DO NOT MODIFY - GENERATED CODE
130130
<plugin>
131131
<groupId>org.codehaus.mojo</groupId>
132132
<artifactId>versions-maven-plugin</artifactId>
133-
<version>2.7</version>
133+
<version>2.8.1</version>
134134
<configuration>
135135
<generateBackupPoms>false</generateBackupPoms>
136136
</configuration>
@@ -139,12 +139,12 @@ DO NOT MODIFY - GENERATED CODE
139139
<artifactId>maven-compiler-plugin</artifactId>
140140
<version>3.8.1</version>
141141
<configuration>
142-
<release>11</release>
142+
<release>17</release>
143143
</configuration>
144144
</plugin>
145145
<plugin>
146146
<artifactId>maven-dependency-plugin</artifactId>
147-
<version>3.1.2</version>
147+
<version>3.2.0</version>
148148
<executions>
149149
<execution>
150150
<id>default-cli</id>
@@ -171,7 +171,7 @@ DO NOT MODIFY - GENERATED CODE
171171
</plugin>
172172
<plugin>
173173
<artifactId>maven-javadoc-plugin</artifactId>
174-
<version>3.2.0</version>
174+
<version>3.3.1</version>
175175
<configuration>
176176
<detectOfflineLinks>false</detectOfflineLinks>
177177
<links>
@@ -193,7 +193,7 @@ DO NOT MODIFY - GENERATED CODE
193193
</plugin>
194194
<plugin>
195195
<artifactId>maven-pmd-plugin</artifactId>
196-
<version>3.14.0</version>
196+
<version>3.15.0</version>
197197
</plugin>
198198
</plugins>
199199
</pluginManagement>
@@ -202,7 +202,7 @@ DO NOT MODIFY - GENERATED CODE
202202
<plugins>
203203
<plugin>
204204
<artifactId>maven-jxr-plugin</artifactId>
205-
<version>2.3</version>
205+
<version>3.1.1</version>
206206
</plugin>
207207
</plugins>
208208
</reporting>

src/main/java/monkstone/ColorUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* in their sketches. Includes a method to efficiently convert an array of web
44
* strings to an array of color int, and another to convert an array of color
55
* int to a string that can be used in ruby code (to generate web color array).
6-
* Copyright (c) 2015-20 Martin Prout.
6+
* Copyright (c) 2015-22 Martin Prout.
77
* This utility is free software; you can redistribute it and/or modify
88
* it under the terms of the GNU Lesser General Public License as published by
99
* the Free Software Foundation; either version 2.1 of the License, or (at

src/main/java/monkstone/MathToolModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The purpose of this tool is to allow JRubyArt users to use an alternative
33
* to processing.org map, lerp and norm methods in their sketches and to implement
44
* JRubyArt convenenience method grid(width, height, stepW, stepH) { |x, y| do stuff }
5-
* Copyright (c) 2015-20 Martin Prout. This tool is free software; you can
5+
* Copyright (c) 2015-22 Martin Prout. This tool is free software; you can
66
* redistribute it and/or modify it under the terms of the GNU Lesser General
77
* Public License as published by the Free Software Foundation; either version
88
* 2.1 of the License, or (at your option) any later version.

src/main/java/monkstone/PropaneLibrary.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* The purpose of this class is to load the MathTool into ruby-processing runtime
3-
* Copyright (C) 2015-20 Martin Prout. This code is free software; you can
3+
* Copyright (C) 2015-22 Martin Prout. This code is free software; you can
44
* redistribute it and/or modify it under the terms of the GNU Lesser General
55
* Public License as published by the Free Software Foundation; either version
66
* 2.1 of the License, or (at your option) any later version.

src/main/java/monkstone/fastmath/DegLutTables.java

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
/*
2-
* Copyright (c) 2021 Martin Prout
3-
*
1+
/*
2+
* Copyright (c) 2021-22 Martin Prout
3+
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public
66
* License as published by the Free Software Foundation; either
77
* version 2.1 of the License, or (at your option) any later version.
8-
*
8+
*
99
* http://creativecommons.org/licenses/LGPL/2.1/
10-
*
10+
*
1111
* This library is distributed in the hope that it will be useful,
1212
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1414
* Lesser General Public License for more details.
15-
*
15+
*
1616
* You should have received a copy of the GNU Lesser General Public
1717
* License along with this library; if not, write to the Free Software
1818
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -75,7 +75,7 @@ static private class Sin {
7575
/**
7676
* Returns the sine in radians from a lookup table.
7777
* @param radians
78-
* @return
78+
* @return
7979
*/
8080
static public float sin(float radians) {
8181
return Sin.table[(int) (radians * RAD_TO_INDEX) & SIN_MASK];
@@ -84,7 +84,7 @@ static public float sin(float radians) {
8484
/**
8585
* Returns the cosine in radians from a lookup table.
8686
* @param radians
87-
* @return
87+
* @return
8888
*/
8989
static public float cos(float radians) {
9090
return Sin.table[(int) ((radians + PI / 2) * RAD_TO_INDEX) & SIN_MASK];
@@ -93,7 +93,7 @@ static public float cos(float radians) {
9393
/**
9494
* Returns the sine in radians from a lookup table.
9595
* @param degrees
96-
* @return
96+
* @return
9797
*/
9898
static public float sinDeg(float degrees) {
9999
return Sin.table[(int) (degrees * DEG_TO_INDEX) & SIN_MASK];
@@ -102,10 +102,9 @@ static public float sinDeg(float degrees) {
102102
/**
103103
* Returns the cosine in radians from a lookup table.
104104
* @param degrees
105-
* @return
105+
* @return
106106
*/
107107
static public float cosDeg(float degrees) {
108108
return Sin.table[(int) ((degrees + 90) * DEG_TO_INDEX) & SIN_MASK];
109109
}
110110
}
111-

src/main/java/monkstone/fastmath/Deglut.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015-21 Martin Prout
2+
* Copyright (c) 2015-22 Martin Prout
33
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public

src/main/java/monkstone/filechooser/Chooser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015-20 Martin Prout
2+
* Copyright (c) 2015-22 Martin Prout
33
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public

src/main/java/monkstone/slider/CustomHorizontalSlider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015-20 Martin Prout
2+
* Copyright (c) 2015-22 Martin Prout
33
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public

src/main/java/monkstone/slider/CustomVerticalSlider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015-20 Martin Prout
2+
* Copyright (c) 2015-22 Martin Prout
33
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public

src/main/java/monkstone/slider/SimpleHorizontalSlider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015-20 Martin Prout
2+
* Copyright (c) 2015-22 Martin Prout
33
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public

src/main/java/monkstone/slider/SimpleVerticalSlider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015-20 Martin Prout
2+
* Copyright (c) 2015-22 Martin Prout
33
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public

src/main/java/monkstone/slider/SliderBar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015-20 Martin Prout
2+
* Copyright (c) 2015-22 Martin Prout
33
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public

src/main/java/monkstone/slider/SliderGroup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015-20 Martin Prout
2+
* Copyright (c) 2015-22 Martin Prout
33
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public

src/main/java/monkstone/slider/WheelHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015-20 Martin Prout
2+
* Copyright (c) 2015-22 Martin Prout
33
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public

src/main/java/monkstone/vecmath/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015-20 Martin Prout
2+
* Copyright (c) 2015-22 Martin Prout
33
*
44
* This library is free software; you can redistribute it and/or
55
* modify it under the terms of the GNU Lesser General Public

0 commit comments

Comments
 (0)