/** * Returns a modifiable copy. */ public Object clone() { return new StrictHints(null); } }
/** * Returns a modifiable copy. */ @Override public StrictHints clone() { return new StrictHints(null); } }
/** * Returns a copy of the system hints. This is for * {@link GeoTools#getDefaultHints} implementation only. */ static Hints getDefaults(final boolean strict) { final boolean changed; final Hints hints; synchronized (GLOBAL) { changed = ensureSystemDefaultLoaded(); if (strict) { hints = new StrictHints(GLOBAL); } else { hints = new Hints(GLOBAL); } } if (changed) { GeoTools.fireConfigurationChanged(); } return hints; }
/** * Returns a copy of the system hints. This is for * {@link GeoTools#getDefaultHints} implementation only. */ static Hints getDefaults(final boolean strict) { final boolean changed; final Hints hints; synchronized (GLOBAL) { changed = ensureSystemDefaultLoaded(); if (strict) { hints = new StrictHints(GLOBAL); } else { hints = new Hints(GLOBAL); } } if (changed) { GeoTools.fireConfigurationChanged(); } return hints; }