-
For RemovalElementDescriptionUse
AbstractBuildable.getBuildables()
instead.UseAbstractBuildable.getComponentsOf(Class)
instead.UseGameModule.getFileChooser()
instead.no replacementNo ReplacementNo Replacement, handled by Message formatNo ReplacementNo Replacementuse launch from the superclassuse launch from the superclassnot replacedUseorg.apache.commons.io.FileUtils.deleteDirectory
instead.UseURLUtils.toURL(File)
instead.UseEventLog.decodedEvents(String)
instead.UseEventLog.encodedEvents(Iterable)
instead.UseInstanceConfigurer.getValueList()
instead.UseGameState.getGameComponents()
instead.UseGameState.getAllPieces()
instead.No replacementuse launch from the superclassBoard images are removed automatically now, when under memory pressure.Only used to cleanupBoard
images, which is now handled automatically by the cache.Bounds are now fixed automagically byImageOp
s.Images are now fixed automagically usingImageOp
s.Images are now fixed automagically usingImageOp
s.UseBoardPicker.getSelectedBoards()
instead.No replacementUseBoardPicker.setBoards(Collection)
instead.UseMap.getBoards()
instead.UseMap.getMapList()
instead.use launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassUseMapShader.buildTexture(double)
instead.UseMapShader.getPatternRect(double)
instead.UseMapShader.getShadePattern(double)
instead.UseMapShader.getTexture(double)
instead.use launch from the superclassuse launch from the superclassUsePieceMover.applyKeyAfterMove(List, KeyStroke)
to return CommandsPieceMover.setOldLocations(GamePiece)
to return generated Commandsuse launch from the superclassUseMap.setBoards(Collection)
instead.use launch from the superclassuse launch from the superclassUseSetAllowed(List)
instead.No replacementuse launch from the superclassUsePrivateMap.setBoards(Collection)
instead.use launch from the superclassHandled by Message Formatuse launch from the superclassUseTurnTracker.replace(StringBuilder,String,String)
instead.UseDataArchiveHTMLEditorKit
instead.Use {@link GlobalOptions#getInstance()#getPlayerId}UseSimpleRoom.getPlayerList()
instead.UseConditionalCommand.Eq.getValueList()
instead.UseConfigureTree.buildAddActionsFor(Configurable)
instead.no replacementUseDeck.setContents(Collection)
instead.No ReplacementUseDragBuffer.sort(Comparator)
instead.UseImageOp.getImage()
instead.No ReplacementUseImageOp.getImage()
instead.No ReplacementUseFootprint.pointList
directly.UseFreeRotator.boundingBox()
instead.Use aGamePieceOp
if you need this Image.useStack.asList()
UseResources.getString(String, Object...)
InsteadUseResources.getString(String, Object...)
InsteadUseResources.getString(String, Object...)
InsteadUseInfo.getBaseDir()
instead.UseInfo.getDocDir()
instead.UseInfo.getConfDir()
instead.If you need the minor version number, get it from aVersionTokenizer
.since Java 1.4 is now requiredCheck is no longer necessary since Java 1.4+ is required.UseSystemUtils.IS_OS_MAC
instead.UseSystemUtils.IS_OS_MAC
insteadUseSystemUtils.IS_OS_WINDOWS
insteadUseInfo.getJavaBinPath()
instead.UseSplitPane
instead.UseDataArchive.getImage(java.lang.String)
instead.UseDataArchive.getImage(java.lang.String)
instead.UseDataArchive.getURL()
instead.UseInputStream.readAllBytes()
instead.UseImageOp
s instead.UseDataArchive.getFileStream(String)
instead.UseDataArchive.getFileStream(String)
instead.UseDataArchive.getInputStream(String)
instead.UseImageUtils.getBounds(BufferedImage)
instead.UseDataArchive.getInputStream(String)
instead.UseDataArchive.getURL(String)
instead.UseScaleOp
instead.UseScaleOp
instead. The image will be retrieved from cache if available, cached otherwiseUseRotateScaleOp
instead.UseRotateScaleOp
instead.Don't use this. We've switched to Lanczos scaling.UseDataArchive.getImageNameSet()
)} instead.UseDataArchive.getImageNameSet()
instead.Use Apache HttpComponents instead. SeeBugUtils
for an example.UseImageUtils.getImage(String,InputStream)
instead.UseImageUtils.getImageSize(String,InputStream)
instead.All scaling is done with the high-quality scaler now.UseIOUtils
instead.use try with resources or close and catch manuallyUseJarArchive.getInputStream(String)
instead.will be removed without replacement.Use !VersionUtils.isCurrent(java.lang.String)
insteadremoved without replacement
-
Interfaces
-
ClassesClassDescriptionnot replacedOnly used to cleanup
Board
images, which is now handled automatically by the cache.UseDataArchiveHTMLEditorKit
instead.UseGamePieceOp
instead.UseArrayUtils
.Use {link SwingWorker} now that we ship the JAR for it.UseSplitPane
instead.Moved toVASSAL.tools.concurrent
package.UseHashCodeBuilder
instead.Use Apache HttpComponents instead. SeeBugUtils
for an example.class is not used anywhere and will be removedclass is not used anywhere and will be removedclass is not used anywhere and will be removedclass is not used anywhere and will be removedclass is not used anywhere and will be removedUseIOUtils
instead.UseLogger
instead.use FormattedString constructor with defaultPropertiesUse {link java.util.Collections.sort} instead.Use the natural ordering on Strings instead. see java.lang.String.compareTo(String)removed without replacement
-
Exceptions
-
FieldsFieldDescriptionuse launch from the superclassuse launch from the superclassuse launch from the superclassfield is not used anywhere and will be removed, modules should introduce their own fielduse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassuse launch from the superclassReplaced by #srcOp.Use
Info.getJavaBinPath()
instead.
-
MethodsMethodDescriptionUse
AbstractBuildable.getBuildables()
instead.UseAbstractBuildable.getComponentsOf(Class)
instead.UseGameModule.getFileChooser()
instead.no replacementNo ReplacementNo Replacement, handled by Message formatNo ReplacementNo ReplacementUseorg.apache.commons.io.FileUtils.deleteDirectory
instead.UseURLUtils.toURL(File)
instead.UseEventLog.decodedEvents(String)
instead.UseEventLog.encodedEvents(Iterable)
instead.UseInstanceConfigurer.getValueList()
instead.UseGameState.getGameComponents()
instead.UseGameState.getAllPieces()
instead.No replacementBoard images are removed automatically now, when under memory pressure.Bounds are now fixed automagically byImageOp
s.Images are now fixed automagically usingImageOp
s.Images are now fixed automagically usingImageOp
s.UseBoardPicker.getSelectedBoards()
instead.No replacementUseBoardPicker.setBoards(Collection)
instead.UseMap.getBoards()
instead.UseMap.getMapList()
instead.UseMapShader.buildTexture(double)
instead.UseMapShader.getPatternRect(double)
instead.UseMapShader.getShadePattern(double)
instead.UseMapShader.getTexture(double)
instead.UsePieceMover.applyKeyAfterMove(List, KeyStroke)
to return CommandsPieceMover.setOldLocations(GamePiece)
to return generated CommandsUseMap.setBoards(Collection)
instead.No replacementUsePrivateMap.setBoards(Collection)
instead.Handled by Message FormatUseTurnTracker.replace(StringBuilder,String,String)
instead.Use {@link GlobalOptions#getInstance()#getPlayerId}UseSimpleRoom.getPlayerList()
instead.UseConditionalCommand.Eq.getValueList()
instead.UseConfigureTree.buildAddActionsFor(Configurable)
instead.no replacementUseDeck.setContents(Collection)
instead.No ReplacementUseDragBuffer.sort(Comparator)
instead.UseImageOp.getImage()
instead.No ReplacementUseImageOp.getImage()
instead.No ReplacementUseFootprint.pointList
directly.UseFreeRotator.boundingBox()
instead.Use aGamePieceOp
if you need this Image.UseKeyBuffer.getPiecesIterator()
instead.useStack.asList()
UseResources.getString(String, Object...)
InsteadUseResources.getString(String, Object...)
InsteadUseResources.getString(String, Object...)
InsteadUseInfo.getBaseDir()
instead.UseInfo.getDocDir()
instead.UseInfo.getConfDir()
instead.If you need the minor version number, get it from aVersionTokenizer
.since Java 1.4 is now requiredCheck is no longer necessary since Java 1.4+ is required.UseSystemUtils.IS_OS_MAC
instead.UseSystemUtils.IS_OS_MAC
insteadUseSystemUtils.IS_OS_WINDOWS
insteadUseDataArchive.getImage(java.lang.String)
instead.UseDataArchive.getImage(java.lang.String)
instead.UseDataArchive.getURL()
instead.UseInputStream.readAllBytes()
instead.UseImageOp
s instead.UseDataArchive.getFileStream(String)
instead.UseDataArchive.getFileStream(String)
instead.UseDataArchive.getInputStream(String)
instead.UseImageUtils.getBounds(BufferedImage)
instead.UseDataArchive.getInputStream(String)
instead.UseDataArchive.getURL(String)
instead.UseScaleOp
instead.UseScaleOp
instead. The image will be retrieved from cache if available, cached otherwiseUseRotateScaleOp
instead.UseRotateScaleOp
instead.Don't use this. We've switched to Lanczos scaling.UseDataArchive.getImageNameSet()
)} instead.UseDataArchive.getImageNameSet()
instead.UseImageUtils.getImage(String,InputStream)
instead.UseImageUtils.getImageSize(String,InputStream)
instead.All scaling is done with the high-quality scaler now.use try with resources or close and catch manuallyUseJarArchive.getInputStream(String)
instead.will be removed without replacement.The situation where this was needed with mouse events is now handled bySwingUtils.isSelectionToggle(MouseEvent)
.in favor ofSwingUtils.isMainMouseButtonDown(MouseEvent)
in favor ofSwingUtils.isContextMouseButtonDown(MouseEvent)
Use !VersionUtils.isCurrent(java.lang.String)
instead
-
ConstructorsConstructorDescriptionUse
SetAllowed(List)
instead.useDeck(GameModule)
UseImmobilized(String, GamePiece)
instead.Retained for VASL compatibility. Remove sometime after VASL 6.6.2.
AbstractBuildable.getAllDescendantComponentsOf(Class)
instead.