-
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.deleteDirectoryinstead.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 cleanupBoardimages, which is now handled automatically by the cache.Bounds are now fixed automagically byImageOps.Images are now fixed automagically usingImageOps.Images are now fixed automagically usingImageOps.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.UseDataArchiveHTMLEditorKitinstead.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.pointListdirectly.UseFreeRotator.boundingBox()instead.Use aGamePieceOpif 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_MACinstead.UseSystemUtils.IS_OS_MACinsteadUseSystemUtils.IS_OS_WINDOWSinsteadUseInfo.getJavaBinPath()instead.UseSplitPaneinstead.UseDataArchive.getImage(java.lang.String)instead.UseDataArchive.getImage(java.lang.String)instead.UseDataArchive.getURL()instead.UseInputStream.readAllBytes()instead.UseImageOps 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.UseScaleOpinstead.UseScaleOpinstead. The image will be retrieved from cache if available, cached otherwiseUseRotateScaleOpinstead.UseRotateScaleOpinstead.Don't use this. We've switched to Lanczos scaling.UseDataArchive.getImageNameSet())} instead.UseDataArchive.getImageNameSet()instead.Use Apache HttpComponents instead. SeeBugUtilsfor an example.UseImageUtils.getImage(String,InputStream)instead.UseImageUtils.getImageSize(String,InputStream)instead.All scaling is done with the high-quality scaler now.UseIOUtilsinstead.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
Boardimages, which is now handled automatically by the cache.UseDataArchiveHTMLEditorKitinstead.UseGamePieceOpinstead.UseArrayUtils.Use {link SwingWorker} now that we ship the JAR for it.UseSplitPaneinstead.Moved toVASSAL.tools.concurrentpackage.UseHashCodeBuilderinstead.Use Apache HttpComponents instead. SeeBugUtilsfor 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 removedUseIOUtilsinstead.UseLoggerinstead.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.deleteDirectoryinstead.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 byImageOps.Images are now fixed automagically usingImageOps.Images are now fixed automagically usingImageOps.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.pointListdirectly.UseFreeRotator.boundingBox()instead.Use aGamePieceOpif 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_MACinstead.UseSystemUtils.IS_OS_MACinsteadUseSystemUtils.IS_OS_WINDOWSinsteadUseDataArchive.getImage(java.lang.String)instead.UseDataArchive.getImage(java.lang.String)instead.UseDataArchive.getURL()instead.UseInputStream.readAllBytes()instead.UseImageOps 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.UseScaleOpinstead.UseScaleOpinstead. The image will be retrieved from cache if available, cached otherwiseUseRotateScaleOpinstead.UseRotateScaleOpinstead.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.