private static LogType getLogType(final int type) {
            switch (type) {
                case 0: // Dropped
                    return LogType.PLACED_IT;
                case 1: // Grabbed from
                    return LogType.GRABBED_IT;
                case 2: // A comment
                    return LogType.NOTE;
                case 3: // Seen in
                    return LogType.DISCOVERED_IT;
                case 4: // Archived
                    return LogType.ARCHIVE;
                case 5: // Visiting
                    return LogType.VISIT;
            }
            return LogType.UNKNOWN;
        }
Convert states from GK to c:geo spotted types.

@param type the GK Log type
@return The LogType
main/src/main/java/cgeo/geocaching/connector/trackable/GeokretyParser.java