Skip to content

Commit d22e349

Browse files
committed
Deprecating classes I plan to remove
1 parent 3ea541e commit d22e349

10 files changed

Lines changed: 21 additions & 8 deletions

File tree

src/main/java/com/builtbroken/jlib/data/science/ChemElement.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
* @Source http://www.periodictable.com/Properties/A/SpecificHeat.an.html
1111
* @source http://www.chemicalelements.com/
1212
* @source http://www.lenntech.com/periodic/periodic-chart.htm
13+
* @deprecated Removing as this should be JSON data loaded per application
1314
*/
15+
@Deprecated
1416
public enum ChemElement
1517
{
1618
/**

src/main/java/com/builtbroken/jlib/data/science/ChemicalCompound.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.builtbroken.jlib.data.science;
22

3-
//TODO replace with localized data base, or data file to avoid loading up a ton of combinations when not needed
3+
/**@deprecated Removing as this should be JSON data loaded per application */
4+
@Deprecated
45
public enum ChemicalCompound
56
{
67
/**

src/main/java/com/builtbroken/jlib/data/science/ElementOrCompound.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
/**
44
* Class to Represent an Element or a compound
55
* Useful for things that can have either an element OR a compound
6+
* @deprecated looks like this is unused
67
*/
8+
@Deprecated
79
public class ElementOrCompound {
810

911
private ChemElement element;

src/main/java/com/builtbroken/jlib/data/science/ElementProperty.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.builtbroken.jlib.data.science;
2-
2+
/**@deprecated Removing as this should be JSON data loaded per application */
3+
@Deprecated
34
public enum ElementProperty
45
{
56
nonmetal("Non-metal"),

src/main/java/com/builtbroken/jlib/data/science/HeatingData.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
* and heat in joules
66
*
77
* @author DarkGuardsman
8+
* @deprecated Removing as this should be a library on it's own
89
*/
10+
@Deprecated
911
public class HeatingData
1012
{
1113
/**

src/main/java/com/builtbroken/jlib/data/science/MatterPhase.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
package com.builtbroken.jlib.data.science;
22

3-
/** Enum of matter phases */
3+
/** Enum of matter phases
4+
* @deprecated Removing as this is not needed
5+
*/
6+
@Deprecated
47
public enum MatterPhase
58
{
69
SOLID, LIQUID, GAS, PLASMA

src/main/java/com/builtbroken/jlib/data/science/units/PressureUnit.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Enum that stores common units used to measure pressure.
55
*
6-
* @author Robert Seifer
6+
* @author Robert Seifert
77
* @source http://en.wikipedia.org/wiki/Atmosphere_(unit)
88
* @source http://en.wikipedia.org/wiki/Dyne
99
* @Source http://en.wikipedia.org/wiki/Kilogram-force

src/main/java/com/builtbroken/jlib/helpers/HTTPHelper.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
import java.util.Iterator;
88
import java.util.Map;
99

10-
/**
11-
* @see <a href="https://github.com/BuiltBrokenModding/VoltzEngine/blob/development/license.md">License</a> for what you can and can't do with the code.
12-
* Created by Dark(DarkGuardsman, Robert) on 8/28/2016.
13-
*/
10+
/**@deprecated Removing as I see no point in including this in a common library when other libraries exist for the same purpose */
11+
@Deprecated
1412
public class HTTPHelper
1513
{
1614
public static String executePost(String targetURL, HashMap<String, String> data)

src/main/java/com/builtbroken/jlib/lang/Symbols.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
/** Enum of useful symbols to place into strings
44
* Created by robert on 1/13/2015.
5+
* @deprecated Removing as this looks unused and I suspect an enum already exists for it
56
*/
7+
@Deprecated
68
public enum Symbols
79
{
810
EXCLAMATION('!'),

src/main/java/com/builtbroken/jlib/lang/TextColor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
import java.awt.*;
44

5+
/**@deprecated Removing as this should be data loaded per application */
6+
@Deprecated
57
public enum TextColor
68
{
79
BLACK("\u00a70", 0x000000, 0, 0, 0),

0 commit comments

Comments
 (0)