public static String typeString(int typeCode) {switch (typeCode) {case OBJ_COMMIT:return TYPE_COMMIT;case OBJ_TREE:return TYPE_TREE;case OBJ_BLOB:return TYPE_BLOB;case OBJ_TAG:return TYPE_TAG;default:throw new IllegalArgumentException(MessageFormat.format(JGitText.get().badObjectType, Integer.valueOf(typeCode)));}}

public static String typeString ( int typeCode ) { switch ( typeCode ) { case OBJ_COMMIT : return TYPE_COMMIT ; case OBJ_TREE : return TYPE_TREE ; case OBJ_BLOB : return TYPE_BLOB ; case OBJ_TAG : return TYPE_TAG ; default : throw new IllegalArgumentException ( MessageFormat . format ( JGitText . get ( ) . badObjectType , Integer . valueOf ( typeCode ) ) ) ; } }
public static string TypeString(int typeCode){switch (typeCode){case OBJ_COMMIT:{return TYPE_COMMIT;}case OBJ_TREE:{return TYPE_TREE;}case OBJ_BLOB:{return TYPE_BLOB;}case OBJ_TAG:{return TYPE_TAG;}default:{throw new ArgumentException(MessageFormat.Format(JGitText.Get().badObjectType, Sharpen.Extensions.ValueOf(typeCode)));}}}
