| Author | DaveJarvis <email> |
|---|---|
| Date | 2020-09-16 19:43:41 GMT-0700 |
| Commit | f603d1e905b2e8fb57e99fd4af84a15637eebe88 |
| Parent | f361c3f |
| Delta | 2 lines added, 6 lines removed, 4-line decrease |
| package com.scrivenvar.sigils; | ||
| -import com.scrivenvar.Services; | ||
| import com.scrivenvar.preferences.UserPreferences; | ||
| -import com.scrivenvar.service.Options; | ||
| import java.util.function.UnaryOperator; | ||
| */ | ||
| public abstract class SigilOperator implements UnaryOperator<String> { | ||
| - private static final Options sOptions = Services.load( Options.class ); | ||
| - | ||
| protected static UserPreferences getUserPreferences() { | ||
| - return sOptions.getUserPreferences(); | ||
| + return UserPreferences.getInstance(); | ||
| } | ||
| } | ||
| private UserPreferences getUserPreferences() { | ||
| - return sOptions.getUserPreferences(); | ||
| + return UserPreferences.getInstance(); | ||
| } | ||