File tree Expand file tree Collapse file tree 6 files changed +11
-46
lines changed
src/java.desktop/share/classes Expand file tree Collapse file tree 6 files changed +11
-46
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 1999, 2019 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 1999, 2020 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -478,12 +478,6 @@ public final MidiDevice getMidiDevice() {
478
478
final boolean isOpen () {
479
479
return open ;
480
480
}
481
-
482
- //$$fb is that a good idea?
483
- //protected void finalize() {
484
- // close();
485
- //}
486
-
487
481
} // class AbstractReceiver
488
482
489
483
Original file line number Diff line number Diff line change @@ -759,7 +759,8 @@ public void activate() throws ProfileDataException {
759
759
* Object#finalize()} for further information about migration
760
760
* options.
761
761
*/
762
- @ Deprecated (since ="9" )
762
+ @ Deprecated (since = "9" , forRemoval = true )
763
+ @ SuppressWarnings ("removal" )
763
764
protected void finalize () {
764
765
}
765
766
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 1995, 2018 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 1995, 2020 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -1630,7 +1630,8 @@ public boolean isCompatibleSampleModel(SampleModel sm) {
1630
1630
* See the specification for {@link Object#finalize()} for further
1631
1631
* information about migration options.
1632
1632
*/
1633
- @ Deprecated (since ="9" )
1633
+ @ Deprecated (since = "9" , forRemoval = true )
1634
+ @ SuppressWarnings ("removal" )
1634
1635
public void finalize () {
1635
1636
}
1636
1637
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 1995, 2018 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 1995, 2020 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -1524,7 +1524,8 @@ public BigInteger getValidPixels() {
1524
1524
* See the specification for {@link Object#finalize()} for further
1525
1525
* information about migration options.
1526
1526
*/
1527
- @ Deprecated (since ="9" )
1527
+ @ Deprecated (since = "9" , forRemoval = true )
1528
+ @ SuppressWarnings ("removal" )
1528
1529
public void finalize () {
1529
1530
}
1530
1531
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 1999, 2018 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 1999, 2020 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -377,15 +377,4 @@ public void skipDownTo(int y) {
377
377
public long getNativeIterator () {
378
378
return 0 ;
379
379
}
380
-
381
- /*
382
- * Cleans out all internal data structures.
383
- */
384
- //public native void dispose();
385
-
386
- @ SuppressWarnings ("deprecation" )
387
- protected void finalize () {
388
- //dispose();
389
- }
390
-
391
380
}
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 1999, 2018 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 1999, 2020 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -47,17 +47,6 @@ public class RegionSpanIterator implements SpanIterator {
47
47
// Is the associated Region rectangular?
48
48
boolean isrect ;
49
49
50
- /*
51
- REMIND: For native implementation
52
- long pData; // Private storage of rect info
53
-
54
- static {
55
- initIDs();
56
- }
57
-
58
- public static native void initIDs();
59
- */
60
-
61
50
/**
62
51
* Constructs an instance based on the given Region
63
52
*/
@@ -197,14 +186,4 @@ public void skipDownTo(int y) {
197
186
public long getNativeIterator () {
198
187
return 0 ;
199
188
}
200
-
201
- /*
202
- * Cleans out all internal data structures.
203
- * REMIND: Native implementation
204
- public native void dispose();
205
-
206
- protected void finalize() {
207
- dispose();
208
- }
209
- */
210
189
}
You can’t perform that action at this time.
0 commit comments