mirror of
https://github.com/openstreetmap/osmosis.git
synced 2026-01-14 00:36:36 +00:00
Add @Deprecated annotation to deprecated methods
This eliminates compiler warnings on methods that previously only had the @deprecated javadoc tag.
This commit is contained in:
@ -451,6 +451,7 @@ public class DatabaseContext implements AutoCloseable {
|
||||
*
|
||||
* @deprecated Use {@link #close()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public void release() {
|
||||
close();
|
||||
}
|
||||
|
||||
@ -279,6 +279,7 @@ public class DatabaseContext2 implements AutoCloseable {
|
||||
*
|
||||
* @deprecated Use {@link #close()} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public void release() {
|
||||
close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user