/**
 * Copyright 2012 Ronen Hamias, Anton Kharenko
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.socketio.netty.packets;

public enum ErrorReason {

    TRANSPORT_NOT_SUPPORTED(0),
	SESSION_NOT_HANDSHAKEN(1),
	UNAUTHORIZED(2);

    private final int value;

    ErrorReason(final int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    public static ErrorReason valueOf(final int value) {
        return values()[value];
    }

}

@@ -669,20 +669,17 @@
 ason %7B%0A%0A
-    
+%09
 TRANSPOR
@@ -745,20 +745,17 @@
 ED(2);%0A%0A
-    
+%09
 private 
@@ -772,20 +772,17 @@
 value;%0A%0A
-    
+%09
 ErrorRea
@@ -804,24 +804,18 @@
 alue) %7B%0A
-        
+%09%09
 this.val
@@ -822,35 +822,29 @@
 ue = value;%0A
-    %7D%0A%0A    
+%09%7D%0A%0A%09
 public int g
@@ -851,32 +851,26 @@
 etValue() %7B%0A
-        
+%09%09
 return value
@@ -875,19 +875,13 @@
 ue;%0A
-    %7D%0A%0A    
+%09%7D%0A%0A%09
 publ
@@ -933,16 +933,10 @@
 ) %7B%0A
-        
+%09%09
 retu
@@ -955,17 +955,14 @@
 value%5D;%0A
-    
+%09
 %7D%0A%0A%7D%0A

Fix formatting