Skip to content

Commit 9f7e5af

Browse files
committed
removing all @j2sRequire, @j2sIgnore references
1 parent 7d54b2a commit 9f7e5af

39 files changed

+85
-144
lines changed

sources/net.sf.j2s.java.core/src/java/awt/GraphicsConfiguration.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,13 @@
2828

2929
package java.awt;
3030

31-
import java.util.Hashtable;
32-
3331
import java.awt.geom.AffineTransform;
3432
import java.awt.image.BufferedImage;
3533
import java.awt.image.ColorModel;
3634
import java.awt.image.VolatileImage;
3735
import java.awt.image.WritableRaster;
38-
import javajs.J2SIgnoreImport;
36+
import java.util.Hashtable;
37+
3938
import swingjs.api.Interface;
4039

4140

@@ -112,7 +111,6 @@
112111
*
113112
*/
114113

115-
@J2SIgnoreImport({ WritableRaster.class, ColorModel.class })
116114
public abstract class GraphicsConfiguration {
117115

118116
// private static BufferCapabilities defaultBufferCaps;

sources/net.sf.j2s.java.core/src/java/awt/image/ColorModel.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@
149149
* @see Raster
150150
* @see DataBuffer
151151
*/
152-
//no! don't do this! @J2SRequireImport(DirectColorModel.class)
153152
@SuppressWarnings({"rawtypes"})
154153
public abstract class ColorModel implements Transparency{
155154
// private long pData; // Placeholder for data for native functions

sources/net.sf.j2s.java.core/src/java/awt/image/MemoryImageSource.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@
109109
* @author Animation capabilities inspired by the
110110
* MemoryAnimationSource class written by Garth Dickie
111111
*/
112-
//@J2SRequireImport (java.awt.image.ColorModel.class)
113112
@SuppressWarnings({"rawtypes", "unchecked"})
114113
public class MemoryImageSource implements ImageProducer {
115114
int width;

sources/net.sf.j2s.java.core/src/java/awt/image/Raster.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838

3939

4040
package java.awt.image;
41-
////import javajs.J2SRequireImport;
4241
import swingjs.api.Interface;
4342
import java.awt.Rectangle;
4443
import java.awt.Point;
@@ -124,7 +123,6 @@
124123
* @see java.awt.image.MultiPixelPackedSampleModel
125124
*/
126125

127-
//@J2SRequireImport({ java.awt.image.MultiPixelPackedSampleModel.class, java.awt.image.SinglePixelPackedSampleModel.class })
128126
public class Raster {
129127

130128
/**

sources/net.sf.j2s.java.core/src/java/beans/PropertyChangeSupport.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
*/
2828
package java.beans;
2929

30-
//import javajs.J2SRequireImport;
3130

3231
/**
3332
* This is a utility class that can be used by beans that support bound
@@ -38,7 +37,6 @@
3837
* (and restore) any listeners that are themselves serializable. Any
3938
* non-serializable listeners will be skipped during serialization.
4039
*/
41-
//@J2SRequireImport(PropertyChangeListener.class)
4240
public class PropertyChangeSupport {
4341
private PropertyChangeListenerMap map = new PropertyChangeListenerMap();
4442

sources/net.sf.j2s.java.core/src/java/lang/reflect/Constructor.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
* constructor. Information about the constructor can be accessed, and the
2323
* constructor can be invoked dynamically.
2424
*
25-
* @//j2sRequireImport java.lang.Void
2625
*/
2726
public final class Constructor<T> extends AccessibleObject implements GenericDeclaration, Member {
2827

sources/net.sf.j2s.java.core/src/java/lang/reflect/Method.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
* Information about the method can be accessed, and the method can be invoked
2525
* dynamically.
2626
*
27-
*@//j2sRequireImport java.lang.Void
2827
*/
2928
public final class Method extends AccessibleObject implements GenericDeclaration, Member {
3029

sources/net.sf.j2s.java.core/src/java/text/DateFormatSymbols.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
import java.util.Locale;
4747
import java.util.ResourceBundle;
4848

49-
//import javajs.J2SRequireImport;
5049
import sun.util.resources.LocaleData;
5150

5251
/**
@@ -94,7 +93,6 @@
9493
* @see java.util.SimpleTimeZone
9594
* @author Chen-Lieh Huang
9695
*/
97-
//@J2SRequireImport(LocaleData.class)
9896
public class DateFormatSymbols implements Cloneable {
9997

10098
/**

sources/net.sf.j2s.java.core/src/java/text/DecimalFormat.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,9 @@
4848
import java.util.ArrayList;
4949
//import java.util.Currency;
5050
import java.util.Hashtable;
51-
52-
//import javajs.J2SRequireImport;
5351
import java.util.Locale;
5452
import java.util.ResourceBundle;
53+
5554
//import java.util.concurrent.atomic.AtomicInteger;
5655
//import java.util.concurrent.atomic.AtomicLong;
5756
import sun.util.resources.LocaleData;
@@ -377,7 +376,6 @@
377376
* @author Mark Davis
378377
* @author Alan Liu
379378
*/
380-
//@J2SRequireImport(DecimalFormatSymbols.class)
381379
public class DecimalFormat extends NumberFormat {
382380

383381
/**

sources/net.sf.j2s.java.core/src/java/text/DecimalFormatSymbols.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
//import java.text.spi.DecimalFormatSymbolsProvider;
4545
import java.util.Hashtable;
4646

47-
//import javajs.J2SRequireImport;
4847

4948
import java.util.Locale;
5049
import java.util.ResourceBundle;
@@ -65,7 +64,6 @@
6564
* @author Mark Davis
6665
* @author Alan Liu
6766
*/
68-
//@J2SRequireImport(LocaleData.class)
6967
public class DecimalFormatSymbols implements Cloneable {
7068

7169
/**

0 commit comments

Comments
 (0)