code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { static Matcher removeMatchAnyFollowedByStart(Matcher matcher) { if (matcher instanceof ZeroOrMoreMatcher) { ZeroOrMoreMatcher zm = matcher.as(); if (zm.repeated() instanceof AnyMatcher && zm.next() instanceof SeqMatcher && zm.next().<SeqMatcher>as().matcher...
public class class_name { static Matcher removeMatchAnyFollowedByStart(Matcher matcher) { if (matcher instanceof ZeroOrMoreMatcher) { ZeroOrMoreMatcher zm = matcher.as(); if (zm.repeated() instanceof AnyMatcher && zm.next() instanceof SeqMatcher && zm.next().<SeqMatcher>as().matcher...
public class class_name { public void notifyBeforeEvaluation(String expr) { if (getEvaluationListeners() == null) return; for (EvaluationListener listener: getEvaluationListeners()) { listener.beforeEvaluation(this, expr); } } }
public class class_name { public void notifyBeforeEvaluation(String expr) { if (getEvaluationListeners() == null) return; for (EvaluationListener listener: getEvaluationListeners()) { listener.beforeEvaluation(this, expr); // depends on control dependency: [for], data = [listene...
public class class_name { protected String getSigningKey() { if (extendedMetadata != null && extendedMetadata.getSigningKey() != null) { return extendedMetadata.getSigningKey(); } else { return keyManager.getDefaultCredentialName(); } } }
public class class_name { protected String getSigningKey() { if (extendedMetadata != null && extendedMetadata.getSigningKey() != null) { return extendedMetadata.getSigningKey(); // depends on control dependency: [if], data = [none] } else { return keyManager.getDefaultCredential...
public class class_name { public void CalcPath() { treepath = new int[size][]; for(int i=0;i<size;i++){ TIntArrayList list= new TIntArrayList (); list.add(i); Integer j=i; while((j=edgesInv.get(j))!=null){ list.add(j); } int s = list.size(); treepath[i] = new int[s]; for(int...
public class class_name { public void CalcPath() { treepath = new int[size][]; for(int i=0;i<size;i++){ TIntArrayList list= new TIntArrayList (); list.add(i); // depends on control dependency: [for], data = [i] Integer j=i; while((j=edgesInv.get(j))!=null){ list.add(j); // depends on contr...
public class class_name { public I run(GeneratorConsumerWithException<I> consumer) { try { consumer.accept(getThis()); } catch (Exception e) { sneakyThrow(e); } return getThis(); } }
public class class_name { public I run(GeneratorConsumerWithException<I> consumer) { try { consumer.accept(getThis()); // depends on control dependency: [try], data = [none] } catch (Exception e) { sneakyThrow(e); } // depends on control dependency: [catch], data = [none...
public class class_name { public static String getTrustyUriString(IRI baseUri, String artifactCode, String suffix) { String s = expandBaseUri(baseUri) + artifactCode; if (suffix != null) { suffix = suffix.replace("#", "%23"); if (suffix.startsWith(bnodeChar + "")) { // Duplicate bnode character for escap...
public class class_name { public static String getTrustyUriString(IRI baseUri, String artifactCode, String suffix) { String s = expandBaseUri(baseUri) + artifactCode; if (suffix != null) { suffix = suffix.replace("#", "%23"); // depends on control dependency: [if], data = [none] if (suffix.startsWith(bnodeCh...
public class class_name { public static Document getDocument(InputStream inputStream) { Document result = null; try { // memory optimization over minor performance sacrifice synchronized (XmlRepositoryFactory.class) { if (documentBuilder == null) { ...
public class class_name { public static Document getDocument(InputStream inputStream) { Document result = null; try { // memory optimization over minor performance sacrifice synchronized (XmlRepositoryFactory.class) { // depends on control dependency: [try], data = [none]...
public class class_name { @Override public void ack() { waitClientRunning(); if (!running) { return; } if (kafkaConsumer != null) { kafkaConsumer.commitSync(); } if (kafkaConsumer2 != null) { kafkaConsumer2.commitSync(); }...
public class class_name { @Override public void ack() { waitClientRunning(); if (!running) { return; // depends on control dependency: [if], data = [none] } if (kafkaConsumer != null) { kafkaConsumer.commitSync(); // depends on control dependency: [if], data...
public class class_name { private void freezeEntities(final boolean frozen) { for (final AutoBean<?> bean : this.state.editedProxies.values()) { bean.setFrozen(frozen); } } }
public class class_name { private void freezeEntities(final boolean frozen) { for (final AutoBean<?> bean : this.state.editedProxies.values()) { bean.setFrozen(frozen); // depends on control dependency: [for], data = [bean] } } }
public class class_name { public static float[] dashFromString( String dashPattern ) { if (dashPattern.trim().length() > 0) { String[] split = dashPattern.split(","); if (split.length > 1) { float[] dash = new float[split.length]; for( int i = 0; i < spli...
public class class_name { public static float[] dashFromString( String dashPattern ) { if (dashPattern.trim().length() > 0) { String[] split = dashPattern.split(","); if (split.length > 1) { float[] dash = new float[split.length]; for( int i = 0; i < spli...
public class class_name { public static JSONObject merge(JSONObject src, JSONObject dest, String name, final boolean overwrite) { Log.d(Log.SUBSYSTEM.JSON, TAG, "merge(%s), object: src: %s, dest: %s", name, src, dest); final Iterator<String> keys = src.keys(); ...
public class class_name { public static JSONObject merge(JSONObject src, JSONObject dest, String name, final boolean overwrite) { Log.d(Log.SUBSYSTEM.JSON, TAG, "merge(%s), object: src: %s, dest: %s", name, src, dest); final Iterator<String> keys = src.keys(); ...
public class class_name { @Override protected void onSessionClose() { // Rollback updates try { if (hasPendingUpdates()) rollbackUpdates(true,true, null); } catch (JMSException e) { ErrorTools.log(e, log); } super.onSessionCl...
public class class_name { @Override protected void onSessionClose() { // Rollback updates try { if (hasPendingUpdates()) rollbackUpdates(true,true, null); } catch (JMSException e) { ErrorTools.log(e, log); } // depends on control depend...
public class class_name { public void setProperty(String propertyId, Object value) throws XMLConfigurationException { // Xerces properties if (propertyId.startsWith(Constants.XERCES_PROPERTY_PREFIX)) { final int suffixLength = propertyId.length() - Constants.XERCES_PROPERTY_PREFIX.length...
public class class_name { public void setProperty(String propertyId, Object value) throws XMLConfigurationException { // Xerces properties if (propertyId.startsWith(Constants.XERCES_PROPERTY_PREFIX)) { final int suffixLength = propertyId.length() - Constants.XERCES_PROPERTY_PREFIX.length...
public class class_name { public boolean recordConstructor() { if (!hasAnySingletonTypeTags() && !currentInfo.isConstructorOrInterface()) { currentInfo.setConstructor(true); populated = true; return true; } else { return false; } } }
public class class_name { public boolean recordConstructor() { if (!hasAnySingletonTypeTags() && !currentInfo.isConstructorOrInterface()) { currentInfo.setConstructor(true); // depends on control dependency: [if], data = [none] populated = true; // depends on control dependency: [if], data = [n...
public class class_name { public static String leafName(final String path) { final int bangIdx = path.indexOf('!'); final int endIdx = bangIdx >= 0 ? bangIdx : path.length(); int leafStartIdx = 1 + (File.separatorChar == '/' ? path.lastIndexOf('/', endIdx) : Math.max(path.lastIn...
public class class_name { public static String leafName(final String path) { final int bangIdx = path.indexOf('!'); final int endIdx = bangIdx >= 0 ? bangIdx : path.length(); int leafStartIdx = 1 + (File.separatorChar == '/' ? path.lastIndexOf('/', endIdx) : Math.max(path.lastIn...
public class class_name { public void marshall(ListSubscribedWorkteamsRequest listSubscribedWorkteamsRequest, ProtocolMarshaller protocolMarshaller) { if (listSubscribedWorkteamsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public void marshall(ListSubscribedWorkteamsRequest listSubscribedWorkteamsRequest, ProtocolMarshaller protocolMarshaller) { if (listSubscribedWorkteamsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { @Override public MarkupDocBuilder apply(MarkupDocBuilder markupDocBuilder, SecurityDocument.Parameters params) { Map<String, SecuritySchemeDefinition> definitions = params.securitySchemeDefinitions; if (MapUtils.isNotEmpty(definitions)) { applySecurityDocumentE...
public class class_name { @Override public MarkupDocBuilder apply(MarkupDocBuilder markupDocBuilder, SecurityDocument.Parameters params) { Map<String, SecuritySchemeDefinition> definitions = params.securitySchemeDefinitions; if (MapUtils.isNotEmpty(definitions)) { applySecurityDocumentE...
public class class_name { Double truncate(Number numberValue) { // http://docs.amazonwebservices.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html double doubleValue = numberValue.doubleValue(); if (truncateEnabled) { final int exponent = Math.getExponent(doubleValue); if (Double.is...
public class class_name { Double truncate(Number numberValue) { // http://docs.amazonwebservices.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html double doubleValue = numberValue.doubleValue(); if (truncateEnabled) { final int exponent = Math.getExponent(doubleValue); if (Double.is...
public class class_name { protected final int getCodePointOffset(int ch) { // if ((ch >> 16) == 0) slower if (ch < 0) { return -1; } else if (ch < UTF16.LEAD_SURROGATE_MIN_VALUE) { // fastpath for the part of the BMP below surrogates (D800) where getRawOffset() works...
public class class_name { protected final int getCodePointOffset(int ch) { // if ((ch >> 16) == 0) slower if (ch < 0) { return -1; // depends on control dependency: [if], data = [none] } else if (ch < UTF16.LEAD_SURROGATE_MIN_VALUE) { // fastpath for the part of the ...
public class class_name { public boolean matchChomp(String seq) { if (matches(seq)) { pos += seq.length(); return true; } else { return false; } } }
public class class_name { public boolean matchChomp(String seq) { if (matches(seq)) { pos += seq.length(); // depends on control dependency: [if], data = [none] return true; // depends on control dependency: [if], data = [none] } else { return false; // depends on co...
public class class_name { public static GrayU8 average( InterleavedU8 input , GrayU8 output ) { if (output == null) { output = new GrayU8(input.width, input.height); } else { output.reshape(input.width,input.height); } if( BoofConcurrency.USE_CONCURRENT ) { ConvertInterleavedToSingle_MT.average(input...
public class class_name { public static GrayU8 average( InterleavedU8 input , GrayU8 output ) { if (output == null) { output = new GrayU8(input.width, input.height); // depends on control dependency: [if], data = [none] } else { output.reshape(input.width,input.height); // depends on control dependency: [if]...
public class class_name { public void marshall(DescribeClusterRequest describeClusterRequest, ProtocolMarshaller protocolMarshaller) { if (describeClusterRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarsha...
public class class_name { public void marshall(DescribeClusterRequest describeClusterRequest, ProtocolMarshaller protocolMarshaller) { if (describeClusterRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarsha...
public class class_name { @Override public void setMessageInterpolator(Configuration<?> apiConfig) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "setMessageInterpolator", apiConfig); } Class<? extends MessageInterpolator> clazz = null; ...
public class class_name { @Override public void setMessageInterpolator(Configuration<?> apiConfig) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "setMessageInterpolator", apiConfig); // depends on control dependency: [if], data = [none] } Clas...
public class class_name { public String fixSQLName(String strName) { int index = 0; while (index != -1) { index = strName.indexOf(' '); if (index != -1) strName = strName.substring(0, index) + strName.substring(index + 1, strName.length()); } ...
public class class_name { public String fixSQLName(String strName) { int index = 0; while (index != -1) { index = strName.indexOf(' '); // depends on control dependency: [while], data = [none] if (index != -1) strName = strName.substring(0, index) + s...
public class class_name { private void moveDirectory (final File sourceDir, final File targetDir) throws IOException { getLog ().debug ("Moving JTB output files: " + sourceDir + " -> " + targetDir); /* * NOTE: The source directory might be the current working directory if JTB * was told to output i...
public class class_name { private void moveDirectory (final File sourceDir, final File targetDir) throws IOException { getLog ().debug ("Moving JTB output files: " + sourceDir + " -> " + targetDir); /* * NOTE: The source directory might be the current working directory if JTB * was told to output i...
public class class_name { public static Object newInstance(String name) { try { return forName(name).newInstance(); } catch (InstantiationException e) { throw new IllegalStateException(e.getMessage(), e); } catch (IllegalAccessException e) { throw new Illegal...
public class class_name { public static Object newInstance(String name) { try { return forName(name).newInstance(); // depends on control dependency: [try], data = [none] } catch (InstantiationException e) { throw new IllegalStateException(e.getMessage(), e); } catch (Il...
public class class_name { public static boolean substringMatch(CharSequence str, int index, CharSequence substring) { for (int j = 0; j < substring.length(); j++) { int i = index + j; if (i >= str.length() || str.charAt(i) != substring.charAt(j)) { return false; ...
public class class_name { public static boolean substringMatch(CharSequence str, int index, CharSequence substring) { for (int j = 0; j < substring.length(); j++) { int i = index + j; if (i >= str.length() || str.charAt(i) != substring.charAt(j)) { return false; // depen...
public class class_name { void save(final ChangesLogWrapper logWrapper, TransactionableResourceManager txResourceManager) throws RepositoryException { final ItemStateChangesLog changesLog = logWrapper.optimizeAndGetChangesLog(); final ChangesLogPersister persister = new ChangesLogPersister(); ...
public class class_name { void save(final ChangesLogWrapper logWrapper, TransactionableResourceManager txResourceManager) throws RepositoryException { final ItemStateChangesLog changesLog = logWrapper.optimizeAndGetChangesLog(); final ChangesLogPersister persister = new ChangesLogPersister(); ...
public class class_name { @SuppressWarnings("unchecked") public static <T, R> boolean tryScalarXMapSubscribe(ObservableSource<T> source, Observer<? super R> observer, Function<? super T, ? extends ObservableSource<? extends R>> mapper) { if (source instanceof Callable) { ...
public class class_name { @SuppressWarnings("unchecked") public static <T, R> boolean tryScalarXMapSubscribe(ObservableSource<T> source, Observer<? super R> observer, Function<? super T, ? extends ObservableSource<? extends R>> mapper) { if (source instanceof Callable) { ...
public class class_name { protected boolean checkTileIndex (int tileIndex) { int tcount = getTileCount(); if (tileIndex >= 0 && tileIndex < tcount) { return true; } else { log.warning("Requested invalid tile [tset=" + this + ", index=" + tileIndex + "].", ...
public class class_name { protected boolean checkTileIndex (int tileIndex) { int tcount = getTileCount(); if (tileIndex >= 0 && tileIndex < tcount) { return true; // depends on control dependency: [if], data = [none] } else { log.warning("Requested invalid tile [tset...
public class class_name { boolean documentBlock(String description) { if (!lazyInitDocumentation()) { return true; } if (documentation.blockDescription != null) { return false; } documentation.blockDescription = description; return true; } }
public class class_name { boolean documentBlock(String description) { if (!lazyInitDocumentation()) { return true; // depends on control dependency: [if], data = [none] } if (documentation.blockDescription != null) { return false; // depends on control dependency: [if], data = [none] } ...
public class class_name { private Resolution createContextAndRedirect(ExecutionContext executionContext, WaitPage annotation) throws IOException { // Create context used to call the event in background. Context context = this.createContext(executionContext); context.actionBean = executionContex...
public class class_name { private Resolution createContextAndRedirect(ExecutionContext executionContext, WaitPage annotation) throws IOException { // Create context used to call the event in background. Context context = this.createContext(executionContext); context.actionBean = executionContex...
public class class_name { public static <M extends PMessage<M,F>, F extends PField, B extends PMessageBuilder<M,F>> M buildIfNotNull(B builder) { if (builder == null) { return null; } return builder.build(); } }
public class class_name { public static <M extends PMessage<M,F>, F extends PField, B extends PMessageBuilder<M,F>> M buildIfNotNull(B builder) { if (builder == null) { return null; // depends on control dependency: [if], data = [none] } return builder.build(); } }
public class class_name { static Set<String> extractPortKeys(Configuration config) { final LinkedHashSet<String> tmPortKeys = new LinkedHashSet<>(TM_PORT_KEYS); final String portKeys = config.getString(PORT_ASSIGNMENTS); if (portKeys != null) { Arrays.stream(portKeys.split(",")) .map(String::trim) ....
public class class_name { static Set<String> extractPortKeys(Configuration config) { final LinkedHashSet<String> tmPortKeys = new LinkedHashSet<>(TM_PORT_KEYS); final String portKeys = config.getString(PORT_ASSIGNMENTS); if (portKeys != null) { Arrays.stream(portKeys.split(",")) .map(String::trim) ....
public class class_name { private Map<String, ActivationSpecImpl> createInboundMapping(InboundResourceAdapter ira, ClassLoader cl) throws Exception { if (ira != null) { Map<String, ActivationSpecImpl> result = new HashMap<>(); for (org.ironjacamar.common.api.metadata.spec.Messag...
public class class_name { private Map<String, ActivationSpecImpl> createInboundMapping(InboundResourceAdapter ira, ClassLoader cl) throws Exception { if (ira != null) { Map<String, ActivationSpecImpl> result = new HashMap<>(); for (org.ironjacamar.common.api.metadata.spec.Messag...
public class class_name { public void marshall(UpdateDocumentationPartRequest updateDocumentationPartRequest, ProtocolMarshaller protocolMarshaller) { if (updateDocumentationPartRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public void marshall(UpdateDocumentationPartRequest updateDocumentationPartRequest, ProtocolMarshaller protocolMarshaller) { if (updateDocumentationPartRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public void marshall(UpdateVirtualInterfaceAttributesRequest updateVirtualInterfaceAttributesRequest, ProtocolMarshaller protocolMarshaller) { if (updateVirtualInterfaceAttributesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); ...
public class class_name { public void marshall(UpdateVirtualInterfaceAttributesRequest updateVirtualInterfaceAttributesRequest, ProtocolMarshaller protocolMarshaller) { if (updateVirtualInterfaceAttributesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); ...
public class class_name { public static String normalizeRequestURI(final String servletPath, final String requestPathInfo, final String viewId) { // We must not process empty viewIds if (viewId == null) { return null; } /* * code from com.sun.faces.util.Util#get...
public class class_name { public static String normalizeRequestURI(final String servletPath, final String requestPathInfo, final String viewId) { // We must not process empty viewIds if (viewId == null) { return null; // depends on control dependency: [if], data = [none] } ...
public class class_name { private void closeStorageRegistry() { for(DB storage : storageRegistry.values()) { if(isOpenStorage(storage)) { storage.close(); } } storageRegistry.clear(); } }
public class class_name { private void closeStorageRegistry() { for(DB storage : storageRegistry.values()) { if(isOpenStorage(storage)) { storage.close(); // depends on control dependency: [if], data = [none] } } storageRegistry.clear(); } }
public class class_name { public Clustering<MeanModel> run(Database database, Relation<V> relation) { final DistanceQuery<V> distq = database.getDistanceQuery(relation, getDistanceFunction()); final RangeQuery<V> rangeq = database.getRangeQuery(distq); final NumberVector.Factory<V> factory = RelationUtil.g...
public class class_name { public Clustering<MeanModel> run(Database database, Relation<V> relation) { final DistanceQuery<V> distq = database.getDistanceQuery(relation, getDistanceFunction()); final RangeQuery<V> rangeq = database.getRangeQuery(distq); final NumberVector.Factory<V> factory = RelationUtil.g...
public class class_name { public ComputeNodeListHeaders withLastModified(DateTime lastModified) { if (lastModified == null) { this.lastModified = null; } else { this.lastModified = new DateTimeRfc1123(lastModified); } return this; } }
public class class_name { public ComputeNodeListHeaders withLastModified(DateTime lastModified) { if (lastModified == null) { this.lastModified = null; // depends on control dependency: [if], data = [none] } else { this.lastModified = new DateTimeRfc1123(lastModified); // depend...
public class class_name { public static Throwable peel(Throwable throwable) { requireNonNull(throwable, "throwable"); Throwable cause = throwable.getCause(); while (cause != null && cause != throwable && (throwable instanceof CompletionException || throwable instanceof ExecutionE...
public class class_name { public static Throwable peel(Throwable throwable) { requireNonNull(throwable, "throwable"); Throwable cause = throwable.getCause(); while (cause != null && cause != throwable && (throwable instanceof CompletionException || throwable instanceof ExecutionE...
public class class_name { public com.google.protobuf.ByteString getExtendsBytes() { java.lang.Object ref = extends_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); extends...
public class class_name { public com.google.protobuf.ByteString getExtendsBytes() { java.lang.Object ref = extends_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); extends...
public class class_name { private double[][] assignPiFactors(IAtomContainerSet setAc) { //a,b,c,denom,chi,q double[][] gasteigerFactors = new double[setAc.getAtomContainerCount()][(setAc.getAtomContainer(0) .getAtomCount() * (STEP_SIZE + 1))]; String AtomSymbol = ""; dou...
public class class_name { private double[][] assignPiFactors(IAtomContainerSet setAc) { //a,b,c,denom,chi,q double[][] gasteigerFactors = new double[setAc.getAtomContainerCount()][(setAc.getAtomContainer(0) .getAtomCount() * (STEP_SIZE + 1))]; String AtomSymbol = ""; dou...
public class class_name { @Pure public static String[] split(File filename) { if (filename == null) { return new String[0]; } return filename.getPath().split(Pattern.quote(File.separator)); } }
public class class_name { @Pure public static String[] split(File filename) { if (filename == null) { return new String[0]; // depends on control dependency: [if], data = [none] } return filename.getPath().split(Pattern.quote(File.separator)); } }
public class class_name { @VisibleForTesting ReferenceEntry<K, V> newEntry(K key, int hash, @NullableDecl ReferenceEntry<K, V> next) { Segment<K, V> segment = segmentFor(hash); segment.lock(); try { return segment.newEntry(key, hash, next); } finally { segment.unlock(); } } }
public class class_name { @VisibleForTesting ReferenceEntry<K, V> newEntry(K key, int hash, @NullableDecl ReferenceEntry<K, V> next) { Segment<K, V> segment = segmentFor(hash); segment.lock(); try { return segment.newEntry(key, hash, next); // depends on control dependency: [try], data = [none] ...
public class class_name { @Override public Submitter createSubmitter(final String idString) { if (idString == null) { return new Submitter(getRoot(), null); } final Submitter submitter = new Submitter(getRoot(), new ObjectId(idString)); getRoot().insert(s...
public class class_name { @Override public Submitter createSubmitter(final String idString) { if (idString == null) { return new Submitter(getRoot(), null); // depends on control dependency: [if], data = [null)] } final Submitter submitter = new Submitter(getRoot...
public class class_name { public void serializeTimingData(Path outputPath) { //merge subThreads instances into the main instance merge(); try (FileWriter fw = new FileWriter(outputPath.toFile())) { fw.write("Number Of Executions, Total Milliseconds, Milliseconds per ex...
public class class_name { public void serializeTimingData(Path outputPath) { //merge subThreads instances into the main instance merge(); try (FileWriter fw = new FileWriter(outputPath.toFile())) { fw.write("Number Of Executions, Total Milliseconds, Milliseconds per ex...
public class class_name { @Override public Object getField(FieldDescriptor field) { checkFieldDescriptor(field); Object result = field.getNumber() == 1 ? getKey() : getValue(); // Convert enums to EnumValueDescriptor. if (field.getType() == FieldDescriptor.Type.ENUM) { r...
public class class_name { @Override public Object getField(FieldDescriptor field) { checkFieldDescriptor(field); Object result = field.getNumber() == 1 ? getKey() : getValue(); // Convert enums to EnumValueDescriptor. if (field.getType() == FieldDescriptor.Type.ENUM) { r...
public class class_name { public static MethodNode findSAM(ClassNode type) { if (!Modifier.isAbstract(type.getModifiers())) return null; if (type.isInterface()) { List<MethodNode> methods = type.getMethods(); MethodNode found=null; for (MethodNode mi : methods) { ...
public class class_name { public static MethodNode findSAM(ClassNode type) { if (!Modifier.isAbstract(type.getModifiers())) return null; if (type.isInterface()) { List<MethodNode> methods = type.getMethods(); MethodNode found=null; for (MethodNode mi : methods) { ...
public class class_name { private void initialize(byte[] prologue ,int prologueOffset ,JMFSchema headerSchema ,byte rawHeader[] ,int hdrOffset ,int hdrLength ,JMFSchema ...
public class class_name { private void initialize(byte[] prologue ,int prologueOffset ,JMFSchema headerSchema ,byte rawHeader[] ,int hdrOffset ,int hdrLength ,JMFSchema ...
public class class_name { public static String resolveLax(String input) { try { return resolve(input, false); } catch (UnresolvedExpressionException e) { // XXX OK. It should not reach here as exceptionIfNotResolved is false. return input; } } }
public class class_name { public static String resolveLax(String input) { try { return resolve(input, false); // depends on control dependency: [try], data = [none] } catch (UnresolvedExpressionException e) { // XXX OK. It should not reach here as exceptionIfNotResolved is false...
public class class_name { Logger createChildByLastNamePart(final String lastPart) { int i_index = LoggerNameUtil.getFirstSeparatorIndexOf(lastPart); if (i_index != -1) { throw new IllegalArgumentException("Child name [" + lastPart + " passed as parameter, may not include [" + CoreConstants.DOT ...
public class class_name { Logger createChildByLastNamePart(final String lastPart) { int i_index = LoggerNameUtil.getFirstSeparatorIndexOf(lastPart); if (i_index != -1) { throw new IllegalArgumentException("Child name [" + lastPart + " passed as parameter, may not include [" + CoreConstants.DOT ...
public class class_name { public static CipherRegistry registerCiphers(String[]... ciphers) { for (String[] cipher : ciphers) { instance.register(cipher); } return instance; } }
public class class_name { public static CipherRegistry registerCiphers(String[]... ciphers) { for (String[] cipher : ciphers) { instance.register(cipher); // depends on control dependency: [for], data = [cipher] } return instance; } }
public class class_name { public Integer getMaxIdleTime() { if (childNode.getTextValueForPatternName("max-idle-time") != null && !childNode.getTextValueForPatternName("max-idle-time").equals("null")) { return Integer.valueOf(childNode.getTextValueForPatternName("max-idle-time")); } return...
public class class_name { public Integer getMaxIdleTime() { if (childNode.getTextValueForPatternName("max-idle-time") != null && !childNode.getTextValueForPatternName("max-idle-time").equals("null")) { return Integer.valueOf(childNode.getTextValueForPatternName("max-idle-time")); // depends on contro...
public class class_name { private Node tryReplaceIf(Node n) { Node next = null; for (Node child = n.getFirstChild(); child != null; child = next){ next = child.getNext(); if (child.isIf()){ Node cond = child.getFirstChild(); Node thenBranch = cond.getNext(); Node e...
public class class_name { private Node tryReplaceIf(Node n) { Node next = null; for (Node child = n.getFirstChild(); child != null; child = next){ next = child.getNext(); // depends on control dependency: [for], data = [child] if (child.isIf()){ Node cond = child.getFirstChild(); ...
public class class_name { public Observable<ServiceResponseWithHeaders<TaskAddCollectionResult, TaskAddCollectionHeaders>> addCollectionWithServiceResponseAsync(String jobId, List<TaskAddParameter> value) { if (this.client.batchUrl() == null) { throw new IllegalArgumentException("Parameter this.cli...
public class class_name { public Observable<ServiceResponseWithHeaders<TaskAddCollectionResult, TaskAddCollectionHeaders>> addCollectionWithServiceResponseAsync(String jobId, List<TaskAddParameter> value) { if (this.client.batchUrl() == null) { throw new IllegalArgumentException("Parameter this.cli...
public class class_name { private String normalizeActionPath(Resource parent, String uri) { String relativeUri = extractRelativeUrl(uri, parent.getUri()); if (!relativeUri.startsWith("/")) { relativeUri = "/" + relativeUri; } return relativeUri; } }
public class class_name { private String normalizeActionPath(Resource parent, String uri) { String relativeUri = extractRelativeUrl(uri, parent.getUri()); if (!relativeUri.startsWith("/")) { relativeUri = "/" + relativeUri; // depends on control dependency: [if], data = [none] } ...
public class class_name { private void setCurrentTab(final int index) { if (this.currentTab == index) { // already current return; } this.currentTab = index; final Component component; if ((currentTab == -1) || tabs.isEmpty() || !getVisiblityCache().isVisible(currentTab)) { // no tabs or the ...
public class class_name { private void setCurrentTab(final int index) { if (this.currentTab == index) { // already current return; // depends on control dependency: [if], data = [none] } this.currentTab = index; final Component component; if ((currentTab == -1) || tabs.isEmpty() || !getVisiblityCa...
public class class_name { private String[] parseIncludes(String sincludes) { sincludes = sincludes.trim(); if ("".equals(sincludes)) { return null; } String[] arr = sincludes.split(","); if (arr != null) { for (int i = 0; i < arr.length; i++) { arr[i] = arr[i].trim(); } ...
public class class_name { private String[] parseIncludes(String sincludes) { sincludes = sincludes.trim(); if ("".equals(sincludes)) { return null; // depends on control dependency: [if], data = [none] } String[] arr = sincludes.split(","); if (arr != null) { for (int i = 0; i < arr.len...
public class class_name { public java.util.List<String> getVpcSecurityGroupIds() { if (vpcSecurityGroupIds == null) { vpcSecurityGroupIds = new com.amazonaws.internal.SdkInternalList<String>(); } return vpcSecurityGroupIds; } }
public class class_name { public java.util.List<String> getVpcSecurityGroupIds() { if (vpcSecurityGroupIds == null) { vpcSecurityGroupIds = new com.amazonaws.internal.SdkInternalList<String>(); // depends on control dependency: [if], data = [none] } return vpcSecurityGroupIds; }...
public class class_name { private Set<RemotingDestinationMetadata> findRemotingDestinations(ConfigurableListableBeanFactory beanFactory) { Set<RemotingDestinationMetadata> remotingDestinations = new HashSet<RemotingDestinationMetadata>(); Set<String> beanNames = new HashSet<String>(); beanNames...
public class class_name { private Set<RemotingDestinationMetadata> findRemotingDestinations(ConfigurableListableBeanFactory beanFactory) { Set<RemotingDestinationMetadata> remotingDestinations = new HashSet<RemotingDestinationMetadata>(); Set<String> beanNames = new HashSet<String>(); beanNames...
public class class_name { @Deprecated protected boolean isRetriableException(Throwable e) { if (getRetryHandler() != null) { return getRetryHandler().isRetriableException(e, true); } return false; } }
public class class_name { @Deprecated protected boolean isRetriableException(Throwable e) { if (getRetryHandler() != null) { return getRetryHandler().isRetriableException(e, true); // depends on control dependency: [if], data = [none] } return false; } }
public class class_name { int resolveNameAndTypeIndex(String name, String descriptor) { int size = 0; int index = 0; constantReadLock.lock(); try { size = getConstantPoolSize(); index = getNameAndTypeIndex(name, descriptor); } ...
public class class_name { int resolveNameAndTypeIndex(String name, String descriptor) { int size = 0; int index = 0; constantReadLock.lock(); try { size = getConstantPoolSize(); // depends on control dependency: [try], data = [none] index = ge...
public class class_name { public void close() { cancel = true; try { thread.interrupt(); waitFor(); } catch (Throwable ignore) {} try { is.close(); } catch (Exception ignore) {} try { os.close(); } catch (Exception ignore) {} } }
public class class_name { public void close() { cancel = true; try { thread.interrupt(); // depends on control dependency: [try], data = [none] waitFor(); // depends on control dependency: [try], data = [none] } catch (Throwable ignore) {} // depends on control dependency: [catch], ...
public class class_name { public static Collection map(Mapper mapper, Enumeration en, boolean allowNull) { ArrayList l = new ArrayList(); while (en.hasMoreElements()) { Object o = mapper.map(en.nextElement()); if (allowNull || o != null) { l.add(o); }...
public class class_name { public static Collection map(Mapper mapper, Enumeration en, boolean allowNull) { ArrayList l = new ArrayList(); while (en.hasMoreElements()) { Object o = mapper.map(en.nextElement()); if (allowNull || o != null) { l.add(o); // depends on...
public class class_name { public static void writeObject(Object object, OutputStream outputStream) { try { if (object instanceof Compactable) { ((Compactable) object).compact(); } defaultObjectMapper.writeValue(outputStream, object); } catch (IOExcept...
public class class_name { public static void writeObject(Object object, OutputStream outputStream) { try { if (object instanceof Compactable) { ((Compactable) object).compact(); // depends on control dependency: [if], data = [none] } defaultObjectMapper.write...
public class class_name { public Set<Category> getSiblings() { Set<Category> siblings = new HashSet<Category>(); // add siblings for (Category parent : this.getParents()) { siblings.addAll(parent.getChildren()); } // remove this category from list siblings....
public class class_name { public Set<Category> getSiblings() { Set<Category> siblings = new HashSet<Category>(); // add siblings for (Category parent : this.getParents()) { siblings.addAll(parent.getChildren()); // depends on control dependency: [for], data = [parent] } ...
public class class_name { private void setupLoggerFromProperties(final Properties props) { final String driverLogLevel = PGProperty.LOGGER_LEVEL.get(props); if (driverLogLevel == null) { return; // Don't mess with Logger if not set } if ("OFF".equalsIgnoreCase(driverLogLevel)) { PARENT_LOGG...
public class class_name { private void setupLoggerFromProperties(final Properties props) { final String driverLogLevel = PGProperty.LOGGER_LEVEL.get(props); if (driverLogLevel == null) { return; // Don't mess with Logger if not set // depends on control dependency: [if], data = [none] } if ("OFF"...
public class class_name { @Override public void close() throws IOException { boolean enqueueOnSocketClose; synchronized(closeLock) { if(closeTime == null) { // Remove this from the context socketContext.onClose(this); closeTime = System.currentTimeMillis(); enqueueOnSocketClose = true; } els...
public class class_name { @Override public void close() throws IOException { boolean enqueueOnSocketClose; synchronized(closeLock) { if(closeTime == null) { // Remove this from the context socketContext.onClose(this); // depends on control dependency: [if], data = [none] closeTime = System.currentT...
public class class_name { protected void handleBodyLinks(JsonNode jsonBody, Map<String, Map<URI, String>> links, Map<String, String> linkTemplates) { if (jsonBody.getNodeType() != JsonNodeType.OBJECT) { return; } JsonNode linksNode = jsonBody.get("_links"); if (linksNode ==...
public class class_name { protected void handleBodyLinks(JsonNode jsonBody, Map<String, Map<URI, String>> links, Map<String, String> linkTemplates) { if (jsonBody.getNodeType() != JsonNodeType.OBJECT) { return; // depends on control dependency: [if], data = [none] } JsonNode linksN...
public class class_name { @SuppressWarnings("unchecked") public static Object searchProperty(Object leftParameter, String name) throws Exception { Class<?> leftClass = leftParameter.getClass(); Object result; if (leftParameter.getClass().isArray() && "length".equals(name)) { res...
public class class_name { @SuppressWarnings("unchecked") public static Object searchProperty(Object leftParameter, String name) throws Exception { Class<?> leftClass = leftParameter.getClass(); Object result; if (leftParameter.getClass().isArray() && "length".equals(name)) { res...
public class class_name { public BatchListObjectPoliciesResponse withAttachedPolicyIds(String... attachedPolicyIds) { if (this.attachedPolicyIds == null) { setAttachedPolicyIds(new java.util.ArrayList<String>(attachedPolicyIds.length)); } for (String ele : attachedPolicyIds) { ...
public class class_name { public BatchListObjectPoliciesResponse withAttachedPolicyIds(String... attachedPolicyIds) { if (this.attachedPolicyIds == null) { setAttachedPolicyIds(new java.util.ArrayList<String>(attachedPolicyIds.length)); // depends on control dependency: [if], data = [none] ...
public class class_name { public static void main(final String[] args) { SLF4JBridgeHandler.install(); boolean exitWithError = true; StopWatch stopWatch = new StopWatch(); try { RESULT_LOG.info("jFunk started"); stopWatch.start(); int threadCount = 1; boolean parallel = false; Pro...
public class class_name { public static void main(final String[] args) { SLF4JBridgeHandler.install(); boolean exitWithError = true; StopWatch stopWatch = new StopWatch(); try { RESULT_LOG.info("jFunk started"); // depends on control dependency: [try], data = [none] stopWatch.start(); // depen...
public class class_name { @Override public BarrierFunction createPhase1BarrierFunction(){ final int dimPh1 = dim +1; ConvexMultivariateRealFunction[] inequalitiesPh1 = new ConvexMultivariateRealFunction[this.fi.length]; for(int i=0; i<inequalitiesPh1.length; i++){ final ConvexMultivariateRealFu...
public class class_name { @Override public BarrierFunction createPhase1BarrierFunction(){ final int dimPh1 = dim +1; ConvexMultivariateRealFunction[] inequalitiesPh1 = new ConvexMultivariateRealFunction[this.fi.length]; for(int i=0; i<inequalitiesPh1.length; i++){ final ConvexMultivariateRealFu...
public class class_name { @Override public EClass getIfcRationalBSplineSurfaceWithKnots() { if (ifcRationalBSplineSurfaceWithKnotsEClass == null) { ifcRationalBSplineSurfaceWithKnotsEClass = (EClass) EPackage.Registry.INSTANCE .getEPackage(Ifc4Package.eNS_URI).getEClassifiers().get(501); } return ...
public class class_name { @Override public EClass getIfcRationalBSplineSurfaceWithKnots() { if (ifcRationalBSplineSurfaceWithKnotsEClass == null) { ifcRationalBSplineSurfaceWithKnotsEClass = (EClass) EPackage.Registry.INSTANCE .getEPackage(Ifc4Package.eNS_URI).getEClassifiers().get(501); // depends on ...
public class class_name { public double estimateExcludedVolumeFraction(){ //Calculate volume/area of the of the scene without obstacles if(recalculateVolumeFraction){ CentralRandomNumberGenerator r = CentralRandomNumberGenerator.getInstance(); boolean firstRandomDraw = false; if(randomNumbers==null){ ...
public class class_name { public double estimateExcludedVolumeFraction(){ //Calculate volume/area of the of the scene without obstacles if(recalculateVolumeFraction){ CentralRandomNumberGenerator r = CentralRandomNumberGenerator.getInstance(); boolean firstRandomDraw = false; if(randomNumbers==null){ ...
public class class_name { public Collection<BoxFileVersion> getVersions() { URL url = VERSIONS_URL_TEMPLATE.build(this.getAPI().getBaseURL(), this.getID()); BoxAPIRequest request = new BoxAPIRequest(this.getAPI(), url, "GET"); BoxJSONResponse response = (BoxJSONResponse) request.send(); ...
public class class_name { public Collection<BoxFileVersion> getVersions() { URL url = VERSIONS_URL_TEMPLATE.build(this.getAPI().getBaseURL(), this.getID()); BoxAPIRequest request = new BoxAPIRequest(this.getAPI(), url, "GET"); BoxJSONResponse response = (BoxJSONResponse) request.send(); ...
public class class_name { @SneakyThrows public static Set<Event> resolveEventViaSingleAttribute(final Principal principal, final Object attributeValue, final RegisteredService service, ...
public class class_name { @SneakyThrows public static Set<Event> resolveEventViaSingleAttribute(final Principal principal, final Object attributeValue, final RegisteredService service, ...
public class class_name { static List<TypeMapping> getServiceTypeMappings() { // Build the list of type mappings based on BatchJobOpsService for this version of the API. ImmutableList.Builder<TypeMapping> mappings = ImmutableList.builder(); try { mappings.add( new BatchJobOpsServiceSoapBin...
public class class_name { static List<TypeMapping> getServiceTypeMappings() { // Build the list of type mappings based on BatchJobOpsService for this version of the API. ImmutableList.Builder<TypeMapping> mappings = ImmutableList.builder(); try { mappings.add( new BatchJobOpsServiceSoapBin...
public class class_name { public GarbageCollectorMXBean getYoungCollectorMXBean() { GarbageCollectorMXBean bean = this.getGarbageCollectorMXBean(this.youngCollector); if (bean != null) { return bean; } outer: for (GarbageCollectorMXBean bean2 : getGarbageCollectorMXBe...
public class class_name { public GarbageCollectorMXBean getYoungCollectorMXBean() { GarbageCollectorMXBean bean = this.getGarbageCollectorMXBean(this.youngCollector); if (bean != null) { return bean; } // depends on control dependency: [if], data = [none] outer: for (...
public class class_name { public void visit(Node n, NodeVisitor callback) { callback.visit(n); for (Node cursor = n.getFirstChild(); cursor != null; cursor = cursor.getNext()) { visit(cursor, callback); } } }
public class class_name { public void visit(Node n, NodeVisitor callback) { callback.visit(n); for (Node cursor = n.getFirstChild(); cursor != null; cursor = cursor.getNext()) { visit(cursor, callback); // depends on control dependency: [for], data = [cursor] } } }
public class class_name { public WSStartupRecoveryServiceImpl recoverLocalPartitionsInInflightStates() { String methodName = "recoverLocalPartitionsInInflightStates"; try { List<RemotablePartitionEntity> remotablePartitions = persistenceManagerService.getPartitionsRunningLocalToServer(psu)...
public class class_name { public WSStartupRecoveryServiceImpl recoverLocalPartitionsInInflightStates() { String methodName = "recoverLocalPartitionsInInflightStates"; try { List<RemotablePartitionEntity> remotablePartitions = persistenceManagerService.getPartitionsRunningLocalToServer(psu)...
public class class_name { public static DateTime toDateAdvanced(Object o, TimeZone timeZone, DateTime defaultValue) { if (o instanceof DateTime) return (DateTime) o; else if (o instanceof Date) return new DateTimeImpl((Date) o); else if (o instanceof Castable) { return ((Castable) o).castToDateTime(defaultValu...
public class class_name { public static DateTime toDateAdvanced(Object o, TimeZone timeZone, DateTime defaultValue) { if (o instanceof DateTime) return (DateTime) o; else if (o instanceof Date) return new DateTimeImpl((Date) o); else if (o instanceof Castable) { return ((Castable) o).castToDateTime(defaultValu...
public class class_name { protected String getIsolationLevelAsString() { if (defaultIsolationLevel == IL_READ_UNCOMMITTED) { return LITERAL_IL_READ_UNCOMMITTED; } else if (defaultIsolationLevel == IL_READ_COMMITTED) { return LITERAL_IL_READ_CO...
public class class_name { protected String getIsolationLevelAsString() { if (defaultIsolationLevel == IL_READ_UNCOMMITTED) { return LITERAL_IL_READ_UNCOMMITTED; // depends on control dependency: [if], data = [none] } else if (defaultIsolationLevel == IL_READ_COMMIT...
public class class_name { public static List<MethodNode> findStaticMethods(Collection<MethodNode> methodNodes) { Validate.notNull(methodNodes); Validate.noNullElements(methodNodes); List<MethodNode> ret = new ArrayList<>(); for (MethodNode methodNode : methodNodes) { ...
public class class_name { public static List<MethodNode> findStaticMethods(Collection<MethodNode> methodNodes) { Validate.notNull(methodNodes); Validate.noNullElements(methodNodes); List<MethodNode> ret = new ArrayList<>(); for (MethodNode methodNode : methodNodes) { ...
public class class_name { @Override public Connection<T> newConnection(final Identifier destId) { final Connection<T> connection = connectionMap.get(destId); if (connection == null) { final Connection<T> newConnection = new NetworkConnection<>(this, destId); connectionMap.putIfAbsent(destId, new...
public class class_name { @Override public Connection<T> newConnection(final Identifier destId) { final Connection<T> connection = connectionMap.get(destId); if (connection == null) { final Connection<T> newConnection = new NetworkConnection<>(this, destId); connectionMap.putIfAbsent(destId, new...
public class class_name { public static String longestCommonSequence(String s1, String s2) { int start = 0; int max = 0; for (int i = 0; i < s1.length(); i++) { for (int j = 0; j < s2.length(); j++) { int x = 0; while (s1.charAt(i + x) == s2.charAt(j ...
public class class_name { public static String longestCommonSequence(String s1, String s2) { int start = 0; int max = 0; for (int i = 0; i < s1.length(); i++) { for (int j = 0; j < s2.length(); j++) { int x = 0; while (s1.charAt(i + x) == s2.charAt(j ...
public class class_name { public ListTranscriptionJobsResult withTranscriptionJobSummaries(TranscriptionJobSummary... transcriptionJobSummaries) { if (this.transcriptionJobSummaries == null) { setTranscriptionJobSummaries(new java.util.ArrayList<TranscriptionJobSummary>(transcriptionJobSummaries.le...
public class class_name { public ListTranscriptionJobsResult withTranscriptionJobSummaries(TranscriptionJobSummary... transcriptionJobSummaries) { if (this.transcriptionJobSummaries == null) { setTranscriptionJobSummaries(new java.util.ArrayList<TranscriptionJobSummary>(transcriptionJobSummaries.le...
public class class_name { public void marshall(UpdateBillingGroupRequest updateBillingGroupRequest, ProtocolMarshaller protocolMarshaller) { if (updateBillingGroupRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { public void marshall(UpdateBillingGroupRequest updateBillingGroupRequest, ProtocolMarshaller protocolMarshaller) { if (updateBillingGroupRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { public static int nextPowerOf2(int n) { if (n == 0) { return 1; } int b = Integer.highestOneBit(n); return b == n ? n : b << 1; } }
public class class_name { public static int nextPowerOf2(int n) { if (n == 0) { return 1; // depends on control dependency: [if], data = [none] } int b = Integer.highestOneBit(n); return b == n ? n : b << 1; } }
public class class_name { public OmemoStore<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey, T_Sess, T_Addr, T_ECPub, T_Bundle, T_Ciph> getOmemoStoreBackend() { if (omemoStore == null) { omemoStore = createDefaultOmemoStoreBackend(); } return omemoStore; } }
public class class_name { public OmemoStore<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey, T_Sess, T_Addr, T_ECPub, T_Bundle, T_Ciph> getOmemoStoreBackend() { if (omemoStore == null) { omemoStore = createDefaultOmemoStoreBackend(); // depends on control dependency: [if], data = [none] } ...
public class class_name { public java.util.List<PipelineIdName> getPipelineIdList() { if (pipelineIdList == null) { pipelineIdList = new com.amazonaws.internal.SdkInternalList<PipelineIdName>(); } return pipelineIdList; } }
public class class_name { public java.util.List<PipelineIdName> getPipelineIdList() { if (pipelineIdList == null) { pipelineIdList = new com.amazonaws.internal.SdkInternalList<PipelineIdName>(); // depends on control dependency: [if], data = [none] } return pipelineIdList; } }
public class class_name { public static void close(Statement stmt) { if (stmt != null) { try { stmt.close(); } catch (SQLException ex) { logger.error("", ex); } } } }
public class class_name { public static void close(Statement stmt) { if (stmt != null) { try { stmt.close(); // depends on control dependency: [try], data = [none] } catch (SQLException ex) { logger.error("", ex); } // depends on control depen...
public class class_name { public Object evaluate() { if( !isCompileTimeConstant() ) { return super.evaluate(); } Object value = getLHS().evaluate(); IType argType = getType(); if( value instanceof IType && argType instanceof IJavaType && JavaTypes.CLASS() == TypeLord.getPureGenericTy...
public class class_name { public Object evaluate() { if( !isCompileTimeConstant() ) { return super.evaluate(); // depends on control dependency: [if], data = [none] } Object value = getLHS().evaluate(); IType argType = getType(); if( value instanceof IType && argType instanceof IJava...
public class class_name { public static String contentShowTagAction( I_CmsXmlContentContainer container, PageContext context, String element, Locale locale, boolean escape) { // get the current users OpenCms context CmsObject cms = CmsFlexController.getCmsObject...
public class class_name { public static String contentShowTagAction( I_CmsXmlContentContainer container, PageContext context, String element, Locale locale, boolean escape) { // get the current users OpenCms context CmsObject cms = CmsFlexController.getCmsObject...
public class class_name { public String createTempJob(String mcUrl, String mcUserName, String mcPassword, String proxyAddress, String proxyUserName, String proxyPassword) { JSONObject job = null; String jobId = null; String hp4mSecret = null; String jsessionId = null; String lo...
public class class_name { public String createTempJob(String mcUrl, String mcUserName, String mcPassword, String proxyAddress, String proxyUserName, String proxyPassword) { JSONObject job = null; String jobId = null; String hp4mSecret = null; String jsessionId = null; String lo...
public class class_name { protected Configuration getGlobalConfiguration() { if (!globalConfigurationLoaded) { String location = getConfigurationDirectory(); GlobalConfiguration.loadConfiguration(location); globalConfigurationLoaded = true; } return GlobalConfiguration.getConfiguration(); } }
public class class_name { protected Configuration getGlobalConfiguration() { if (!globalConfigurationLoaded) { String location = getConfigurationDirectory(); GlobalConfiguration.loadConfiguration(location); // depends on control dependency: [if], data = [none] globalConfigurationLoaded = true; // depends on...
public class class_name { private static void appendToBuilder(UriComponentsBuilder builder, TemplateVariable variable, @Nullable Object value) { if (value == null) { if (variable.isRequired()) { throw new IllegalArgumentException( String.format("Template variable %s is required but no value was given!...
public class class_name { private static void appendToBuilder(UriComponentsBuilder builder, TemplateVariable variable, @Nullable Object value) { if (value == null) { if (variable.isRequired()) { throw new IllegalArgumentException( String.format("Template variable %s is required but no value was given!...
public class class_name { static String getLibraryType(String os) { if (os.startsWith("Linux")) { return "so"; } if (os.startsWith("FreeBSD")) { return "so"; } if (os.startsWith("Mac OS X")) { return "dylib"; } if (os.startsWit...
public class class_name { static String getLibraryType(String os) { if (os.startsWith("Linux")) { return "so"; // depends on control dependency: [if], data = [none] } if (os.startsWith("FreeBSD")) { return "so"; // depends on control dependency: [if], data = [none] ...