pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1838115 - /pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/colorpane/CSSeparation.java
Date Wed, 15 Aug 2018 16:45:12 GMT
Author: tilman
Date: Wed Aug 15 16:45:12 2018
New Revision: 1838115

URL: http://svn.apache.org/viewvc?rev=1838115&view=rev
Log:
PDFBOX-4071: use generics

Modified:
    pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/colorpane/CSSeparation.java

Modified: pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/colorpane/CSSeparation.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/colorpane/CSSeparation.java?rev=1838115&r1=1838114&r2=1838115&view=diff
==============================================================================
--- pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/colorpane/CSSeparation.java
(original)
+++ pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/colorpane/CSSeparation.java
Wed Aug 15 16:45:12 2018
@@ -90,7 +90,7 @@ public class CSSeparation implements Cha
         slider.setMajorTickSpacing(50);
         slider.setPaintTicks(true);
 
-        Dictionary labelTable = new Hashtable();
+        Dictionary<Integer, JLabel> labelTable = new Hashtable<>();
         JLabel lightest = new JLabel("lightest");
         lightest.setFont(new Font(Font.MONOSPACED, Font.BOLD, 10));
         JLabel darkest = new JLabel("darkest");



Mime
View raw message