id stringlengths 7 14 | text stringlengths 1 106k |
|---|---|
327472_81 | @Override
public void execute(final ConsoleReader reader, final PrintWriter out,
final ConsoleState state) {
Assertions.checkNotNull("reader", reader);
Assertions.checkNotNull("out", out);
Assertions.checkNotNull("state", state);
if (!accept(state)) { return; }
if (state.getInput... |
327472_82 | @Override
public void execute(final ConsoleReader reader, final PrintWriter out,
final ConsoleState state) {
Assertions.checkNotNull("reader", reader);
Assertions.checkNotNull("out", out);
Assertions.checkNotNull("state", state);
if (!accept(state)) { return; }
if (state.getInput... |
327472_83 | @Override
public void execute(final ConsoleReader reader, final PrintWriter out,
final ConsoleState state) {
Assertions.checkNotNull("reader", reader);
Assertions.checkNotNull("out", out);
Assertions.checkNotNull("state", state);
if (!accept(state)) { return; }
if (state.getInput... |
327472_84 | @Override
public void execute(final ConsoleReader reader, final PrintWriter out,
final ConsoleState state) {
Assertions.checkNotNull("reader", reader);
Assertions.checkNotNull("out", out);
Assertions.checkNotNull("state", state);
if (!accept(state)) { return; }
if (state.getInput... |
327472_85 | @Override
public void execute(final ConsoleReader reader, final PrintWriter out,
final ConsoleState state) {
Assertions.checkNotNull("reader", reader);
Assertions.checkNotNull("out", out);
Assertions.checkNotNull("state", state);
if (!accept(state)) { return; }
if (state.getInput... |
327472_86 | @Override
public boolean accept(final ConsoleState state) {
Assertions.checkNotNull("state", state);
if (state.getActiveCommand() == null && state.getInput().trim().equals("/") || state.getActiveCommand() == null
&& state.getInput().trim().startsWith("/ > ")) { return true; }
return false;
} |
327472_87 | @Override
public boolean accept(final ConsoleState state) {
Assertions.checkNotNull("state", state);
if (state.getActiveCommand() == null && state.getInput().trim().equals("/") || state.getActiveCommand() == null
&& state.getInput().trim().startsWith("/ > ")) { return true; }
return false;
} |
327472_88 | @Override
public boolean accept(final ConsoleState state) {
Assertions.checkNotNull("state", state);
if (state.getActiveCommand() == null && state.getInput().trim().equals("/") || state.getActiveCommand() == null
&& state.getInput().trim().startsWith("/ > ")) { return true; }
return false;
} |
327472_89 | @Override
public boolean accept(final ConsoleState state) {
Assertions.checkNotNull("state", state);
if (state.getActiveCommand() == null && state.getInput().trim().equals("/") || state.getActiveCommand() == null
&& state.getInput().trim().startsWith("/ > ")) { return true; }
return false;
} |
327472_90 | @Override
public boolean accept(final ConsoleState state) {
Assertions.checkNotNull("state", state);
if (state.getActiveCommand() == null && state.getInput().trim().equals("/") || state.getActiveCommand() == null
&& state.getInput().trim().startsWith("/ > ")) { return true; }
return false;
} |
327472_91 | @Override
public boolean accept(final ConsoleState state) {
Assertions.checkNotNull("state", state);
if (state.getActiveCommand() == null && state.getInput().trim().equals("/") || state.getActiveCommand() == null
&& state.getInput().trim().startsWith("/ > ")) { return true; }
return false;
} |
327472_92 | @Override
public boolean accept(final ConsoleState state) {
Assertions.checkNotNull("state", state);
if (state.getActiveCommand() == null && state.getInput().trim().equals("/") || state.getActiveCommand() == null
&& state.getInput().trim().startsWith("/ > ")) { return true; }
return false;
} |
327472_93 | @Override
public boolean accept(final ConsoleState state) {
Assertions.checkNotNull("state", state);
if (state.getActiveCommand() == null && state.getInput().trim().equals("/") || state.getActiveCommand() == null
&& state.getInput().trim().startsWith("/ > ")) { return true; }
return false;
} |
327472_94 | @Override
public void execute(final ConsoleReader reader,
final PrintWriter out,
final ConsoleState state) {
Assertions.checkNotNull("reader", reader);
Assertions.checkNotNull("out", out);
Assertions.checkNotNull("state", state);
if (!accept(state)) { return; }
... |
327472_95 | @Override
public void execute(final ConsoleReader reader,
final PrintWriter out,
final ConsoleState state) {
Assertions.checkNotNull("reader", reader);
Assertions.checkNotNull("out", out);
Assertions.checkNotNull("state", state);
if (!accept(state)) { return; }
... |
327472_96 | @Override
public void execute(final ConsoleReader reader,
final PrintWriter out,
final ConsoleState state) {
Assertions.checkNotNull("reader", reader);
Assertions.checkNotNull("out", out);
Assertions.checkNotNull("state", state);
if (!accept(state)) { return; }
... |
327472_97 | @Override
public void execute(final ConsoleReader reader,
final PrintWriter out,
final ConsoleState state) {
Assertions.checkNotNull("reader", reader);
Assertions.checkNotNull("out", out);
Assertions.checkNotNull("state", state);
if (!accept(state)) { return; }
... |
327472_98 | @Override
public void execute(final ConsoleReader reader,
final PrintWriter out,
final ConsoleState state) {
Assertions.checkNotNull("reader", reader);
Assertions.checkNotNull("out", out);
Assertions.checkNotNull("state", state);
if (!accept(state)) { return; }
... |
327472_99 | @Override
public void execute(final ConsoleReader reader,
final PrintWriter out,
final ConsoleState state) {
Assertions.checkNotNull("reader", reader);
Assertions.checkNotNull("out", out);
Assertions.checkNotNull("state", state);
if (!accept(state)) { return; }
... |
3283313_0 | public int createInstance(String gcmadress) {
String vmTemplate = "NAME=vm-4-RoQ\n" + "CONTEXT=[\n"
+ "FILES=\"/nebuladata/scripts/init-RoQ.sh\",\n"
+ "GATEWAY=\"192.168.0.1\",\n" + "HOSTNAME=\"RoQ-VM-$VMID\",\n"
//+ "IP_PUBLIC=$NIC[IP, NETWORK=\"RoQ\"],\n"
+ "TARGET=\"vdb\",\n" + "GCM=\"" + gcmadress + "\... |
3291848_0 | @Override
protected OAuth2AccessToken createToken(String accessToken, String tokenType, Integer expiresIn, String refreshToken, String scope,
JsonNode response, String rawResponse) {
OAuth2AccessToken token = super.createToken(accessToken, tokenType, expiresIn, refreshToken,
... |
3291848_1 | @Override
protected OAuth2AccessToken createToken(String accessToken, String tokenType, Integer expiresIn, String refreshToken, String scope,
JsonNode response, String rawResponse) {
OAuth2AccessToken token = super.createToken(accessToken, tokenType, expiresIn, refreshToken,
... |
3291848_2 | public void setProfileAttrs(final Map<String, String> profileAttrsMap) {
this.profileAttrs = profileAttrsMap;
} |
3291848_3 | @Override
public Optional<RedirectionAction> getRedirectionAction(final WebContext context) {
String computeLoginUrl = configuration.computeFinalLoginUrl(context);
final String computedCallbackUrl = client.computeFinalCallbackUrl(context);
final String redirectionUrl = CommonUtils.constructRedirectUrl(compu... |
3291848_4 | @Override
public Optional<RedirectionAction> getRedirectionAction(final WebContext context) {
String computeLoginUrl = configuration.computeFinalLoginUrl(context);
final String computedCallbackUrl = client.computeFinalCallbackUrl(context);
final String redirectionUrl = CommonUtils.constructRedirectUrl(compu... |
3291848_5 | @Override
public Optional<RedirectionAction> getRedirectionAction(final WebContext context) {
String computeLoginUrl = configuration.computeFinalLoginUrl(context);
final String computedCallbackUrl = client.computeFinalCallbackUrl(context);
final String redirectionUrl = CommonUtils.constructRedirectUrl(compu... |
3291848_6 | public static VelocityEngine getEngine() {
try {
final Properties props =
new Properties();
props.putAll(net.shibboleth.utilities.java.support.velocity.VelocityEngine.getDefaultProperties());
props.setProperty(RuntimeConstants.INPUT_ENCODING, "UTF-8");
props.setProper... |
3291848_7 | @Override
public final MetadataResolver resolve() {
return this.metadataResolver;
} |
3291848_8 | @Override
public final MetadataResolver resolve() {
return this.metadataResolver;
} |
3291848_9 | @Override
public String getMetadata() {
if (getEntityDescriptorElement() != null) {
return Configuration.serializeSamlObject(getEntityDescriptorElement()).toString();
}
throw new TechnicalException("Metadata cannot be retrieved because entity descriptor is null");
} |
3293934_0 | @Override
public void accept(MetricsDump metricsDump) {
accept(metricsDump, defaultExceptionHandler);
} |
3293934_1 | private Single<BulkRequest> requestFor (Observable<Map<String, Object>> metricsAsMaps) {
return metricsAsMaps
.map(map -> new IndexRequest()
.index(indexNameSupplier.get())
.source(map)
)
.reduce(Requests.bulkRequest(),
... |
3293934_2 | private Single<BulkRequest> requestFor (Observable<Map<String, Object>> metricsAsMaps) {
return metricsAsMaps
.map(map -> new IndexRequest()
.index(indexNameSupplier.get())
.source(map)
)
.reduce(Requests.bulkRequest(),
... |
3293934_3 | private Single<BulkRequest> requestFor (Observable<Map<String, Object>> metricsAsMaps) {
return metricsAsMaps
.map(map -> new IndexRequest()
.index(indexNameSupplier.get())
.source(map)
)
.reduce(Requests.bulkRequest(),
... |
3293934_4 | public static Map<String, Map<String, Object>> convert(MetricsDump dump) {
HashMap<String, Map<String, Object>> returnValue = new HashMap<>();
dump.metrics.entrySet().stream()
// for each metric, create a tuple containing the type, the name and the metric itself
.map(entry -> new Tuple3<... |
3293934_5 | public static Map<String, Map<String, Object>> convert(MetricsDump dump) {
HashMap<String, Map<String, Object>> returnValue = new HashMap<>();
dump.metrics.entrySet().stream()
// for each metric, create a tuple containing the type, the name and the metric itself
.map(entry -> new Tuple3<... |
3293934_6 | public static Map<String, Map<String, Object>> convert(MetricsDump dump) {
HashMap<String, Map<String, Object>> returnValue = new HashMap<>();
dump.metrics.entrySet().stream()
// for each metric, create a tuple containing the type, the name and the metric itself
.map(entry -> new Tuple3<... |
3293934_7 | public static Map<String, Map<String, Object>> convert(MetricsDump dump) {
HashMap<String, Map<String, Object>> returnValue = new HashMap<>();
dump.metrics.entrySet().stream()
// for each metric, create a tuple containing the type, the name and the metric itself
.map(entry -> new Tuple3<... |
3293934_8 | @Override
public void accept(MetricsDump metricsDump) {
try {
kafkaAdapter.sendMessage(topicName, SerializableMetricsDump.createFor(metricsDump)).subscribe(
metaData -> logger.trace("Successfully sent message {}", metaData),
error -> logger.error("Unable to send MetricsDump t... |
3293934_9 | public Flowable<MetricsDump> dumpMetricsContinuously (Duration interval) {
return nova.metrics.dumpContinuously(interval);
} |
3296177_0 | static String fromBracketNotation(String path) {
return path
.replace("['", ".")
.replace("']", "");
} |
3296177_1 | public static Node convertToJson(Object source, String label) {
return convertToJson(source, label, false);
} |
3296177_2 | public static Node valueToNode(Object source) {
if (source instanceof Node) {
return (Node) source;
} else {
return converter.valueToNode(source);
}
} |
3296177_3 | static String quoteIfNeeded(String source) {
String trimmed = source.trim();
if (isObject(trimmed) || isArray(trimmed) || isString(trimmed)
|| isBoolean(trimmed) || isNull(trimmed)
|| isNumber(trimmed)) {
return source;
} else {
return "\"" + source + "\"";
}
} |
3296177_4 | public static Node getNode(Object root, String path) {
return getNode(root, Path.create(path));
} |
3296177_5 | public static Node getNode(Object root, String path) {
return getNode(root, Path.create(path));
} |
3296177_6 | public static Node getNode(Object root, String path) {
return getNode(root, Path.create(path));
} |
3296177_7 | public static Node getNode(Object root, String path) {
return getNode(root, Path.create(path));
} |
3296177_8 | public static Node getNode(Object root, String path) {
return getNode(root, Path.create(path));
} |
3296177_9 | public static Node getNode(Object root, String path) {
return getNode(root, Path.create(path));
} |
3308294_0 | public String getTagContent(String tagName, Element element) {
String comment = elements.getDocComment(element);
if (StringUtils.isBlank(comment)) {
return "";
}
StringTokenizer st = new StringTokenizer(comment.trim(), "\n\r");
boolean insideTag = false;
StringBuilder tagContent = new St... |
3308294_1 | public String getTagContent(String tagName, Element element) {
String comment = elements.getDocComment(element);
if (StringUtils.isBlank(comment)) {
return "";
}
StringTokenizer st = new StringTokenizer(comment.trim(), "\n\r");
boolean insideTag = false;
StringBuilder tagContent = new St... |
3308294_2 | public String getParameterSummary(String paramName, Element element) {
String comment = elements.getDocComment(element);
if (StringUtils.isBlank(comment)) {
return null;
}
comment = comment.trim();
StringBuilder parameterCommentBuilder = new StringBuilder();
boolean insideParameter = fal... |
3308294_3 | public String getParameterSummary(String paramName, Element element) {
String comment = elements.getDocComment(element);
if (StringUtils.isBlank(comment)) {
return null;
}
comment = comment.trim();
StringBuilder parameterCommentBuilder = new StringBuilder();
boolean insideParameter = fal... |
3308294_4 | public String getParameterSummary(String paramName, Element element) {
String comment = elements.getDocComment(element);
if (StringUtils.isBlank(comment)) {
return null;
}
comment = comment.trim();
StringBuilder parameterCommentBuilder = new StringBuilder();
boolean insideParameter = fal... |
3308294_5 | public String getParameterSummary(String paramName, Element element) {
String comment = elements.getDocComment(element);
if (StringUtils.isBlank(comment)) {
return null;
}
comment = comment.trim();
StringBuilder parameterCommentBuilder = new StringBuilder();
boolean insideParameter = fal... |
3308294_6 | public String getParameterSummary(String paramName, Element element) {
String comment = elements.getDocComment(element);
if (StringUtils.isBlank(comment)) {
return null;
}
comment = comment.trim();
StringBuilder parameterCommentBuilder = new StringBuilder();
boolean insideParameter = fal... |
3308294_7 | public String getParameterSummary(String paramName, Element element) {
String comment = elements.getDocComment(element);
if (StringUtils.isBlank(comment)) {
return null;
}
comment = comment.trim();
StringBuilder parameterCommentBuilder = new StringBuilder();
boolean insideParameter = fal... |
3308294_8 | public boolean isArrayOrList(TypeMirror type) {
if (type.toString().equals("byte[]")) {
return false;
}
if (type.getKind() == TypeKind.ARRAY) {
return true;
}
if (type.toString().startsWith(List.class.getName())) {
return true;
}
List<? extends TypeMirror> inherits = ... |
3308294_9 | public boolean isArrayOrList(TypeMirror type) {
if (type.toString().equals("byte[]")) {
return false;
}
if (type.getKind() == TypeKind.ARRAY) {
return true;
}
if (type.toString().startsWith(List.class.getName())) {
return true;
}
List<? extends TypeMirror> inherits = ... |
3314133_1 | public boolean isPrefixOf(NetworkLayerReachabilityInformation other) {
boolean isPrefix = false;
if(prefixLength > 0) {
if (other.prefixLength > 0
&& other.prefixLength > this.prefixLength) {
int byteLength = calculateOctetsForPrefixLength(this.prefixLength);
boolean match = true;
// test the full pr... |
3314133_2 | public boolean isPrefixOf(NetworkLayerReachabilityInformation other) {
boolean isPrefix = false;
if(prefixLength > 0) {
if (other.prefixLength > 0
&& other.prefixLength > this.prefixLength) {
int byteLength = calculateOctetsForPrefixLength(this.prefixLength);
boolean match = true;
// test the full pr... |
3314133_3 | public boolean isPrefixOf(NetworkLayerReachabilityInformation other) {
boolean isPrefix = false;
if(prefixLength > 0) {
if (other.prefixLength > 0
&& other.prefixLength > this.prefixLength) {
int byteLength = calculateOctetsForPrefixLength(this.prefixLength);
boolean match = true;
// test the full pr... |
3314133_4 | public boolean isPrefixOf(NetworkLayerReachabilityInformation other) {
boolean isPrefix = false;
if(prefixLength > 0) {
if (other.prefixLength > 0
&& other.prefixLength > this.prefixLength) {
int byteLength = calculateOctetsForPrefixLength(this.prefixLength);
boolean match = true;
// test the full pr... |
3314133_5 | public boolean isPrefixOf(NetworkLayerReachabilityInformation other) {
boolean isPrefix = false;
if(prefixLength > 0) {
if (other.prefixLength > 0
&& other.prefixLength > this.prefixLength) {
int byteLength = calculateOctetsForPrefixLength(this.prefixLength);
boolean match = true;
// test the full pr... |
3314133_6 | public boolean isPrefixOf(NetworkLayerReachabilityInformation other) {
boolean isPrefix = false;
if(prefixLength > 0) {
if (other.prefixLength > 0
&& other.prefixLength > this.prefixLength) {
int byteLength = calculateOctetsForPrefixLength(this.prefixLength);
boolean match = true;
// test the full pr... |
3314133_7 | public boolean isPrefixOf(NetworkLayerReachabilityInformation other) {
boolean isPrefix = false;
if(prefixLength > 0) {
if (other.prefixLength > 0
&& other.prefixLength > this.prefixLength) {
int byteLength = calculateOctetsForPrefixLength(this.prefixLength);
boolean match = true;
// test the full pr... |
3314133_8 | public boolean isPrefixOf(NetworkLayerReachabilityInformation other) {
boolean isPrefix = false;
if(prefixLength > 0) {
if (other.prefixLength > 0
&& other.prefixLength > this.prefixLength) {
int byteLength = calculateOctetsForPrefixLength(this.prefixLength);
boolean match = true;
// test the full pr... |
3314133_9 | public boolean isPrefixOf(NetworkLayerReachabilityInformation other) {
boolean isPrefix = false;
if(prefixLength > 0) {
if (other.prefixLength > 0
&& other.prefixLength > this.prefixLength) {
int byteLength = calculateOctetsForPrefixLength(this.prefixLength);
boolean match = true;
// test the full pr... |
3315140_0 | public static ExecutorServiceMode timeConstraint(long timeout) {
return new GenericExecutorServiceMode(Optional.fromNullable(timeout), Optional.<Integer>absent());
} |
3315140_1 | protected Model getEffectiveModel(File pom) {
ModelBuildingRequest req = new DefaultModelBuildingRequest();
req.setProcessPlugins(false);
req.setPomFile(pom);
req.setModelResolver(new SimpleModelResolver(repositorySystem,
createSession(), getRepositories(Collections.EMPTY_LIST)));
req.s... |
3315140_2 | public List<File> resolveDependenciesFromPom(File pom)
throws DependencyResolutionException {
Model model = getEffectiveModel(pom);
HashSet<File> files = new HashSet<File>();
for(org.apache.maven.model.Dependency dependency : model.getDependencies()) {
Artifact artifact = new DefaultArtifac... |
3315140_3 | public static Collection<File> getConfiguredDependencies(Configuration configuration) {
if(repositorySystem == null) {
repositorySystem = new MavenRepositorySystem();
}
List<File> artifactsToPreload = new LinkedList<File>();
addDefaultGlobalExclusions();
List<Object> excludePa... |
3315140_4 | public static Collection<File> getConfiguredDependencies(Configuration configuration) {
if(repositorySystem == null) {
repositorySystem = new MavenRepositorySystem();
}
List<File> artifactsToPreload = new LinkedList<File>();
addDefaultGlobalExclusions();
List<Object> excludePa... |
3315140_5 | public static Collection<File> getConfiguredDependencies(Configuration configuration) {
if(repositorySystem == null) {
repositorySystem = new MavenRepositorySystem();
}
List<File> artifactsToPreload = new LinkedList<File>();
addDefaultGlobalExclusions();
List<Object> excludePa... |
3315140_6 | public static Collection<File> getConfiguredDependencies(Configuration configuration) {
if(repositorySystem == null) {
repositorySystem = new MavenRepositorySystem();
}
List<File> artifactsToPreload = new LinkedList<File>();
addDefaultGlobalExclusions();
List<Object> excludePa... |
3315140_7 | public static Collection<File> getConfiguredDependencies(Configuration configuration) {
if(repositorySystem == null) {
repositorySystem = new MavenRepositorySystem();
}
List<File> artifactsToPreload = new LinkedList<File>();
addDefaultGlobalExclusions();
List<Object> excludePa... |
3315140_8 | public String getAccessKeyId() {
return checkNotNull(configuration.getString(ACCESS_KEY_ID, null),
"No AWS access key ID configured.").trim();
} |
3315140_9 | public String getAccessKeyId() {
return checkNotNull(configuration.getString(ACCESS_KEY_ID, null),
"No AWS access key ID configured.").trim();
} |
331792_10 | @Override
@Nullable
public Object get(final String name) {
checkNotNull(name);
return map.get(name);
} |
331792_11 | @Override
public Iterable<String> names() {
return map.keySet();
} |
331792_12 | @Override
public void register(final Object listener) {
checkNotNull(listener);
log.trace("Adding listener: {}", listener);
eventBus.register(listener);
} |
331792_13 | @Override
public void unregister(final Object listener) {
checkNotNull(listener);
log.trace("Removing listener: {}", listener);
eventBus.unregister(listener);
} |
331792_14 | @Override
public void publish(final Object event) {
checkNotNull(event);
log.trace("Publishing event: {}", event);
eventBus.post(event);
} |
331792_15 | @Override
public void registerAlias(final String name, final String alias) {
checkNotNull(name);
checkNotNull(alias);
log.debug("Registering alias: {} -> {}", name, alias);
if (log.isDebugEnabled()) {
if (containsAlias(name)) {
log.debug("Replacing alias: {}", name);
}
}
aliases.put(name, alia... |
331792_16 | @Override
public void removeAlias(final String name) throws NoSuchAliasException {
checkNotNull(name);
log.debug("Removing alias: {}", name);
if (!containsAlias(name)) {
throw new NoSuchAliasException(name);
}
aliases.remove(name);
events.publish(new AliasRemovedEvent(name));
} |
331792_17 | @Override
public String getAlias(final String name) throws NoSuchAliasException {
checkNotNull(name);
if (!containsAlias(name)) {
throw new NoSuchAliasException(name);
}
return aliases.get(name);
} |
331792_18 | @Override
public boolean containsAlias(final String name) {
checkNotNull(name);
return aliases.containsKey(name);
} |
331792_19 | @Override
public void registerAlias(final String name, final String alias) {
checkNotNull(name);
checkNotNull(alias);
log.debug("Registering alias: {} -> {}", name, alias);
if (log.isDebugEnabled()) {
if (containsAlias(name)) {
log.debug("Replacing alias: {}", name);
}
}
aliases.put(name, alia... |
331792_20 | @Override
public void removeAlias(final String name) throws NoSuchAliasException {
checkNotNull(name);
log.debug("Removing alias: {}", name);
if (!containsAlias(name)) {
throw new NoSuchAliasException(name);
}
aliases.remove(name);
events.publish(new AliasRemovedEvent(name));
} |
3319591_0 | public Geometry parse(String wkt) {
if (wkt != null) {
tempWkt = wkt;
if (skip(org.geomajas.geometry.Geometry.MULTI_POLYGON.toUpperCase())) {
return parseMultiPolygon();
} else if (skip(org.geomajas.geometry.Geometry.POLYGON.toUpperCase())) {
return parsePolygon();
} else if (skip(org.geomajas.geometry.G... |
3319591_1 | public Geometry parse(String wkt) {
if (wkt != null) {
tempWkt = wkt;
if (skip(org.geomajas.geometry.Geometry.MULTI_POLYGON.toUpperCase())) {
return parseMultiPolygon();
} else if (skip(org.geomajas.geometry.Geometry.POLYGON.toUpperCase())) {
return parsePolygon();
} else if (skip(org.geomajas.geometry.G... |
3319591_2 | public Geometry parse(String wkt) {
if (wkt != null) {
tempWkt = wkt;
if (skip(org.geomajas.geometry.Geometry.MULTI_POLYGON.toUpperCase())) {
return parseMultiPolygon();
} else if (skip(org.geomajas.geometry.Geometry.POLYGON.toUpperCase())) {
return parsePolygon();
} else if (skip(org.geomajas.geometry.G... |
3319591_3 | public Geometry parse(String wkt) {
if (wkt != null) {
tempWkt = wkt;
if (skip(org.geomajas.geometry.Geometry.MULTI_POLYGON.toUpperCase())) {
return parseMultiPolygon();
} else if (skip(org.geomajas.geometry.Geometry.POLYGON.toUpperCase())) {
return parsePolygon();
} else if (skip(org.geomajas.geometry.G... |
3319591_4 | public Geometry parse(String wkt) {
if (wkt != null) {
tempWkt = wkt;
if (skip(org.geomajas.geometry.Geometry.MULTI_POLYGON.toUpperCase())) {
return parseMultiPolygon();
} else if (skip(org.geomajas.geometry.Geometry.POLYGON.toUpperCase())) {
return parsePolygon();
} else if (skip(org.geomajas.geometry.G... |
3319591_5 | public Geometry parse(String wkt) {
if (wkt != null) {
tempWkt = wkt;
if (skip(org.geomajas.geometry.Geometry.MULTI_POLYGON.toUpperCase())) {
return parseMultiPolygon();
} else if (skip(org.geomajas.geometry.Geometry.POLYGON.toUpperCase())) {
return parsePolygon();
} else if (skip(org.geomajas.geometry.G... |
3319591_6 | public Geometry parse(String wkt) {
if (wkt != null) {
tempWkt = wkt;
if (skip(org.geomajas.geometry.Geometry.MULTI_POLYGON.toUpperCase())) {
return parseMultiPolygon();
} else if (skip(org.geomajas.geometry.Geometry.POLYGON.toUpperCase())) {
return parsePolygon();
} else if (skip(org.geomajas.geometry.G... |
3319591_7 | public Geometry parse(String wkt) {
if (wkt != null) {
tempWkt = wkt;
if (skip(org.geomajas.geometry.Geometry.MULTI_POLYGON.toUpperCase())) {
return parseMultiPolygon();
} else if (skip(org.geomajas.geometry.Geometry.POLYGON.toUpperCase())) {
return parsePolygon();
} else if (skip(org.geomajas.geometry.G... |
3328338_0 | public static DuoShibboleth instance(String ikey, String skey, String akey, String host, String username) {
if (ikey == null) {
throw new IllegalArgumentException("Null value not allowed for ikey");
}
if (skey == null) {
throw new IllegalArgumentException("Null value not allowed for skey");
... |
3328338_1 | public String performPreauth(String failmode) throws Exception {
if (failmode.equals("secure")) {
return "auth";
} else if (!failmode.equals("safe")) {
throw new IllegalArgumentException("Failmode must be one of either safe or secure.");
}
// Check if Duo authentication is even necessary... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.