package ie.omk.smpp.util;

import java.io.UnsupportedEncodingException;

/**
 * Encoding class representing the ASCII (IA5) alphabet encoding.
 */
public class ASCIIEncoding extends ie.omk.smpp.util.AlphabetEncoding {
    private static final int DCS = 1;
    private static final ASCIIEncoding INSTANCE = new ASCIIEncoding();

    /**
     * Construct a new ASCIIEncoding.
     */
    public ASCIIEncoding() {
        super(DCS);
        try {
            setCharset("US-ASCII");
        } catch (UnsupportedEncodingException x) {
            // All JVMs are required to support ASCII..
        }
    }

    /**
     * Get the singleton instance of ASCIIEncoding.
     * @deprecated
     */
    public static ASCIIEncoding getInstance() {
        return INSTANCE;
    }
}


@@ -179,25 +179,8 @@
 nds 
-ie.omk.smpp.util.
 Alph
@@ -194,16 +194,16 @@
 oding %7B%0A
+
     priv
@@ -235,79 +235,8 @@
 = 1;
-%0A    private static final ASCIIEncoding INSTANCE = new ASCIIEncoding();
 %0A%0A  
@@ -505,176 +505,51 @@
     
-%7D%0A
     
-%7D%0A%0A    /**%0A     * Get the singleton instance of ASCIIEncoding.%0A     * @deprecated%0A     */%0A    public static ASCIIEncoding getInstance() %7B%0A        return INSTANCE;
+throw new RuntimeException();%0A        %7D
 %0A   

Throw a RuntimeException...just in case!