This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public abstract class CustomizedTypeAdapterFactory<C> | |
| implements TypeAdapterFactory { | |
| private final Class<C> customizedClass; | |
| public CustomizedTypeAdapterFactory(Class<C> customizedClass) { | |
| this.customizedClass = customizedClass; | |
| } | |
| @SuppressWarnings("unchecked") // we use a runtime check to guarantee that 'C' and 'T' are equal | |
| public final <T> TypeAdapter<T> create(Gson gson, TypeToken<T> type) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defaults write com.apple.LaunchServices LSHandlers -array-add '{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.sublimetext.4;}' |
OlderNewer