FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

remove unhelpful deprecation, other notes and todo items · classicist/processing@8a62026 · GitHub

Repository navigation

Commit 8a62026

Browse files
committed
remove unhelpful deprecation, other notes and todo items
1 parent 79fba58 commit 8a62026

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎core/src/processing/awt/PGraphicsJava2D.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1916,7 +1916,7 @@ protected void handleTextSize(float size) {
19161916
if (font != null) {
19171917
if (font.getSize2D() != size) {
19181918
Map<TextAttribute, Object> map =
1919-
new HashMap<TextAttribute, Object>();
1919+
new HashMap<>();
19201920
map.put(TextAttribute.SIZE, size);
19211921
map.put(TextAttribute.KERNING,
19221922
TextAttribute.KERNING_ON);
@@ -2932,7 +2932,6 @@ protected void setImpl(PImage sourceImage,
29322932

29332933

29342934
@Override
2935-
@SuppressWarnings("deprecation")
29362935
public void mask(int[] alpha) {
29372936
if (primaryGraphics) {
29382937
showWarning(MASK_WARNING);

‎core/src/processing/core/PImage.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,6 @@ protected void setImpl(PImage sourceImage,
936936
// ALPHA CHANNEL
937937

938938

939-
@Deprecated
940939
/**
941940
* @param maskArray array of integers used as the alpha channel, needs to be
942941
* the same length as the image's pixel array.

‎core/todo.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
0264 (3.3.7 or 3.4)
22
X fix exception due to version parsing in Java 9
33
X https://github.com/processing/processing/issues/5275
4+
X remove useless deprecation on PImage.mask(int[])
5+
_ add circle() and square()
6+
_ add push() and pop()
47

58
data
69
X added setIndex() method to IntDict, FloatDict, StringDict

‎todo.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
X downloading the jre broken again
33
X https://github.com/processing/processing/issues/5284
44
X the old 144 link must have been removed
5+
_ update to launch4j 3.11?
6+
_ http://launch4j.sourceforge.net/changelog.html
57

68
jakub
79
X Fix scrub comments for empty block comment /**/

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL