-
Terminally Deprecated ElementsElementDescriptionuse launch from the superclassuse launch from the superclassnot replacedUse
org.apache.commons.io.FileUtils.deleteDirectoryinstead.To be replacedUseGameState.getAllPieces()instead.use 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 superclassNo replacementuse launch from the superclassuse launch from the superclassuse launch from the superclassUseDataArchiveHTMLEditorKitinstead.Replaced by #srcOp.useDeck(GameModule)UseImmobilized(String, GamePiece)instead.UseKeyBuffer.getPiecesIterator()instead.UseGamePieceOpinstead.useStack.asList()UseInfo.getBaseDir()instead.UseInfo.getConfDir()instead.UseVASSAL.tools.swing.SwingUtils.getScreenBoundsinstead.UseSystemUtils.IS_OS_MACinsteadUseInfo.getJavaBinPath()instead.Retained for VASL compatibility. Remove sometime after VASL 6.6.2.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.UseIOUtilsinstead.use try with resources or close and catch manuallyUseLoggerinstead.Use {link java.util.Collections.sort} instead.Use the natural ordering on Strings instead. see java.lang.String.compareTo(String)UseComparatorinstead.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
-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionnot replacedUse
DataArchiveHTMLEditorKitinstead.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.UseIOUtilsinstead.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)
-
Deprecated 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.
-
Deprecated MethodsMethodDescriptionUse
AbstractBuildable.getBuildables()instead.Useorg.apache.commons.io.FileUtils.deleteDirectoryinstead.UseGameState.getAllPieces()instead.No replacementUseKeyBuffer.getPiecesIterator()instead.useStack.asList()UseInfo.getBaseDir()instead.UseInfo.getConfDir()instead.UseVASSAL.tools.swing.SwingUtils.getScreenBoundsinstead.UseSystemUtils.IS_OS_MACinsteadUse#evaluate(boolean, Auditable, AuditTrail)use try with resources or close and catch manuallyThe 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
-
Deprecated ConstructorsConstructorDescriptionuse
Deck(GameModule)UseImmobilized(String, GamePiece)instead.Retained for VASL compatibility. Remove sometime after VASL 6.6.2.
AbstractBuildable.getBuildables()instead.