code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { @Nullable public <T> T get(Key<T> key) { for (int i = size - 1; i >= 0; i--) { if (bytesEqual(key.asciiName(), name(i))) { return key.parseBytes(value(i)); } } return null; } }
public class class_name { @Nullable public <T> T get(Key<T> key) { for (int i = size - 1; i >= 0; i--) { if (bytesEqual(key.asciiName(), name(i))) { return key.parseBytes(value(i)); // depends on control dependency: [if], data = [none] } } return null; } }
public class class_name { @Override public void releaseAcquiredTrigger(final OperableTrigger trigger) { try { doWithLock(new LockCallbackWithoutResult() { @Override public Void doWithLock(JedisCommands jedis) throws JobPersistenceException { s...
public class class_name { @Override public void releaseAcquiredTrigger(final OperableTrigger trigger) { try { doWithLock(new LockCallbackWithoutResult() { @Override public Void doWithLock(JedisCommands jedis) throws JobPersistenceException { s...
public class class_name { public static void useResource(String host, int port, String user, String password, Authentication authType) throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException { // create the client DatabaseClient client = DatabaseClientFactory.newClient(host, port...
public class class_name { public static void useResource(String host, int port, String user, String password, Authentication authType) throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException { // create the client DatabaseClient client = DatabaseClientFactory.newClient(host, port...
public class class_name { public void attribute(Writer out, String name, String value, char quotationMark, boolean escapeAmpersands) throws NullPointerException, IOException { char[] ch = value.toCharArray(); int length = ch.length; int start = 0; int end = start + length; // ...
public class class_name { public void attribute(Writer out, String name, String value, char quotationMark, boolean escapeAmpersands) throws NullPointerException, IOException { char[] ch = value.toCharArray(); int length = ch.length; int start = 0; int end = start + length; // ...
public class class_name { public Branch setWhiteListedSchemes(List<String> urlWhiteListPatternList) { if (urlWhiteListPatternList != null) { UniversalResourceAnalyser.getInstance(context_).addToAcceptURLFormats(urlWhiteListPatternList); } return this; } }
public class class_name { public Branch setWhiteListedSchemes(List<String> urlWhiteListPatternList) { if (urlWhiteListPatternList != null) { UniversalResourceAnalyser.getInstance(context_).addToAcceptURLFormats(urlWhiteListPatternList); // depends on control dependency: [if], data = [(urlWhiteListP...
public class class_name { private void _buildProjection( final Projection p, final StringBuilder stmt ) { if (p instanceof Aggregation) { Aggregation aggr = (Aggregation)p; stmt.append( aggr.getFunction().name() ); ...
public class class_name { private void _buildProjection( final Projection p, final StringBuilder stmt ) { if (p instanceof Aggregation) { Aggregation aggr = (Aggregation)p; stmt.append( aggr.getFunction().name() ); // depe...
public class class_name { private static void prepareConnection(URLConnection connection, int timeout, SSLSocketFactory sslFactory) { if (timeout == 0) { throw new IllegalArgumentException("Zero (infinite) timeouts not permitted"); } connection.setConnectTimeout(timeout); co...
public class class_name { private static void prepareConnection(URLConnection connection, int timeout, SSLSocketFactory sslFactory) { if (timeout == 0) { throw new IllegalArgumentException("Zero (infinite) timeouts not permitted"); } connection.setConnectTimeout(timeout); co...
public class class_name { public void deleteSeen(SITransaction transaction) throws SISessionUnavailableException, SISessionDroppedException, SIResourceException, SIConnectionLostException, SILimitExceededException, SIIncorrectCallException, SIErrorException, SIMPMessageNotLockedException ...
public class class_name { public void deleteSeen(SITransaction transaction) throws SISessionUnavailableException, SISessionDroppedException, SIResourceException, SIConnectionLostException, SILimitExceededException, SIIncorrectCallException, SIErrorException, SIMPMessageNotLockedException ...
public class class_name { public void marshall(CustomKeyStoresListEntry customKeyStoresListEntry, ProtocolMarshaller protocolMarshaller) { if (customKeyStoresListEntry == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocol...
public class class_name { public void marshall(CustomKeyStoresListEntry customKeyStoresListEntry, ProtocolMarshaller protocolMarshaller) { if (customKeyStoresListEntry == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocol...
public class class_name { public GroupDetail withGroupPolicyList(PolicyDetail... groupPolicyList) { if (this.groupPolicyList == null) { setGroupPolicyList(new com.amazonaws.internal.SdkInternalList<PolicyDetail>(groupPolicyList.length)); } for (PolicyDetail ele : groupPolicyList) { ...
public class class_name { public GroupDetail withGroupPolicyList(PolicyDetail... groupPolicyList) { if (this.groupPolicyList == null) { setGroupPolicyList(new com.amazonaws.internal.SdkInternalList<PolicyDetail>(groupPolicyList.length)); // depends on control dependency: [if], data = [none] ...
public class class_name { public static VatIdMapSharedConstants create() { if (vatIdMapConstants == null) { // NOPMD it's thread save! synchronized (VatIdMapConstants.class) { if (vatIdMapConstants == null) { vatIdMapConstants = GWT.create(VatIdMapConstants.class); } } } ...
public class class_name { public static VatIdMapSharedConstants create() { if (vatIdMapConstants == null) { // NOPMD it's thread save! synchronized (VatIdMapConstants.class) { // depends on control dependency: [if], data = [none] if (vatIdMapConstants == null) { vatIdMapConstants = GWT.crea...
public class class_name { String[] getCommandLine() { List<String> args = new ArrayList<>(); if (executable != null) { args.add(executable); } for (int i = 0; i < arguments.size(); i++) { CommandArgument argument = arguments.get(i); args.add(argument....
public class class_name { String[] getCommandLine() { List<String> args = new ArrayList<>(); if (executable != null) { args.add(executable); // depends on control dependency: [if], data = [(executable] } for (int i = 0; i < arguments.size(); i++) { CommandArgumen...
public class class_name { public List<String> getSpoutNames(PhysicalPlan pp) { TopologyAPI.Topology localTopology = pp.getTopology(); ArrayList<String> spoutNames = new ArrayList<>(); for (TopologyAPI.Spout spout : localTopology.getSpoutsList()) { spoutNames.add(spout.getComp().getName()); } ...
public class class_name { public List<String> getSpoutNames(PhysicalPlan pp) { TopologyAPI.Topology localTopology = pp.getTopology(); ArrayList<String> spoutNames = new ArrayList<>(); for (TopologyAPI.Spout spout : localTopology.getSpoutsList()) { spoutNames.add(spout.getComp().getName()); // depends...
public class class_name { JavaFileObject printSource(Env<AttrContext> env, JCClassDecl cdef) throws IOException { JavaFileObject outFile = fileManager.getJavaFileForOutput(CLASS_OUTPUT, cdef.sym.flatname.toString(), ...
public class class_name { JavaFileObject printSource(Env<AttrContext> env, JCClassDecl cdef) throws IOException { JavaFileObject outFile = fileManager.getJavaFileForOutput(CLASS_OUTPUT, cdef.sym.flatname.toString(), ...
public class class_name { public Name getTemporaryName(Name originalName) { LdapName temporaryName = LdapUtils.newLdapName(originalName); // Add tempSuffix to the leaf node name. try { String leafNode = (String) temporaryName.remove(temporaryName.size() - 1); temp...
public class class_name { public Name getTemporaryName(Name originalName) { LdapName temporaryName = LdapUtils.newLdapName(originalName); // Add tempSuffix to the leaf node name. try { String leafNode = (String) temporaryName.remove(temporaryName.size() - 1); temp...
public class class_name { public CorsConfig build() { if (preflightHeaders.isEmpty() && !noPreflightHeaders) { preflightHeaders.put(HttpHeaderNames.DATE, DateValueGenerator.INSTANCE); preflightHeaders.put(HttpHeaderNames.CONTENT_LENGTH, new ConstantValueGenerator("0")); } ...
public class class_name { public CorsConfig build() { if (preflightHeaders.isEmpty() && !noPreflightHeaders) { preflightHeaders.put(HttpHeaderNames.DATE, DateValueGenerator.INSTANCE); // depends on control dependency: [if], data = [none] preflightHeaders.put(HttpHeaderNames.CONTENT_LENG...
public class class_name { @Override public void setDateHeader(String hdr, long value) { if (-1L == value) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "setDateHeader(" + hdr + ", -1), removing header"); } this.response...
public class class_name { @Override public void setDateHeader(String hdr, long value) { if (-1L == value) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "setDateHeader(" + hdr + ", -1), removing header"); // depends on control dependency: [if],...
public class class_name { @Override public void fill(int fromIndex, int toIndex) { if (fromIndex > toIndex) { throw new IndexOutOfBoundsException( "fromIndex: " + fromIndex + " > toIndex: " + toIndex ); } if (fromIndex == toIndex) { add(fromIndex); ...
public class class_name { @Override public void fill(int fromIndex, int toIndex) { if (fromIndex > toIndex) { throw new IndexOutOfBoundsException( "fromIndex: " + fromIndex + " > toIndex: " + toIndex ); } if (fromIndex == toIndex) { add(fromIndex); // de...
public class class_name { static Comparator<RepositoryResource> byMaxDistance(final Map<String, Integer> maxDistanceMap) { return new Comparator<RepositoryResource>() { @Override public int compare(RepositoryResource o1, RepositoryResource o2) { return Integer.compare(g...
public class class_name { static Comparator<RepositoryResource> byMaxDistance(final Map<String, Integer> maxDistanceMap) { return new Comparator<RepositoryResource>() { @Override public int compare(RepositoryResource o1, RepositoryResource o2) { return Integer.compare(g...
public class class_name { public HttpChallengeFactory lookup(String authScheme) { HttpChallengeFactory result; if (authScheme == null) return null; result = challengeFactoriesByAuthScheme.get(authScheme); if (result == null) { if (authScheme.startsWith(AUTH_SCHEME_APPLICA...
public class class_name { public HttpChallengeFactory lookup(String authScheme) { HttpChallengeFactory result; if (authScheme == null) return null; result = challengeFactoriesByAuthScheme.get(authScheme); if (result == null) { if (authScheme.startsWith(AUTH_SCHEME_APPLICA...
public class class_name { public static Provider[] getProviders(Map<String,String> filter) { // Get all installed providers first. // Then only return those providers who satisfy the selection criteria. Provider[] allProviders = Security.getProviders(); Set<String> keySet = filter.keySe...
public class class_name { public static Provider[] getProviders(Map<String,String> filter) { // Get all installed providers first. // Then only return those providers who satisfy the selection criteria. Provider[] allProviders = Security.getProviders(); Set<String> keySet = filter.keySe...
public class class_name { @Override public void registerSynchronization(Synchronization sync) { TransactionManager transactionManager = this.getTransactionManager(); try { Transaction tran = transactionManager.getTransaction(); if (tran instanceof TransactionImpl) { ...
public class class_name { @Override public void registerSynchronization(Synchronization sync) { TransactionManager transactionManager = this.getTransactionManager(); try { Transaction tran = transactionManager.getTransaction(); if (tran instanceof TransactionImpl) { ...
public class class_name { protected void addNewField(Item item, String values) { if(logger.isDebugEnabled()) { logger.debug("Tagging item with field: " + newField + " and value: " + values); } Document document = item.getDescriptorDom(); if(document != null) { El...
public class class_name { protected void addNewField(Item item, String values) { if(logger.isDebugEnabled()) { logger.debug("Tagging item with field: " + newField + " and value: " + values); // depends on control dependency: [if], data = [none] } Document document = item.getDescript...
public class class_name { private void initializeTickGenerator() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "initializeTickGenerator"); // we do not want ticks to start at zero - it causes the first message // to go missing ...
public class class_name { private void initializeTickGenerator() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "initializeTickGenerator"); // we do not want ticks to start at zero - it causes the first message // to go missing ...
public class class_name { public void dissolve() { if (state == State.SESSION_DISSOLVED) { return; } if (handler.sessionFree() || sessionPassThrough) { return; } if (null == session) { // only case is when CSRF token check failed /...
public class class_name { public void dissolve() { if (state == State.SESSION_DISSOLVED) { return; // depends on control dependency: [if], data = [none] } if (handler.sessionFree() || sessionPassThrough) { return; // depends on control dependency: [if], data = [none] ...
public class class_name { public static ResultSet createResultSet(String[] columnNames, ColumnType[] columnTypes, String[][] data, Protocol protocol) { int columnNameLength = columnNames.length; ColumnInformation[] columns = new ColumnInformation[columnNameLength]; for (int i = 0; i < columnNa...
public class class_name { public static ResultSet createResultSet(String[] columnNames, ColumnType[] columnTypes, String[][] data, Protocol protocol) { int columnNameLength = columnNames.length; ColumnInformation[] columns = new ColumnInformation[columnNameLength]; for (int i = 0; i < columnNa...
public class class_name { @Override public synchronized WroModel create() { final StopWatch stopWatch = new StopWatch("Create Wro Model from Groovy"); try { stopWatch.start("createModel"); final Type type = new TypeToken<WroModel>() {}.getType(); final InputStream is = getModelResourc...
public class class_name { @Override public synchronized WroModel create() { final StopWatch stopWatch = new StopWatch("Create Wro Model from Groovy"); try { stopWatch.start("createModel"); // depends on control dependency: [try], data = [none] final Type type = new TypeToken<WroModel>() {}.g...
public class class_name { public static List<Class<? extends WindupVertexFrame>> getMappings(GraphRewrite event, String pattern) { Map<String, List<Class<? extends WindupVertexFrame>>> mappings = getMappings(event); List<Class<? extends WindupVertexFrame>> result = mappings.get(pattern); if...
public class class_name { public static List<Class<? extends WindupVertexFrame>> getMappings(GraphRewrite event, String pattern) { Map<String, List<Class<? extends WindupVertexFrame>>> mappings = getMappings(event); List<Class<? extends WindupVertexFrame>> result = mappings.get(pattern); if...
public class class_name { @Override public int compareTo(BLine other) { int pageCompare = new Integer(pageId).compareTo(other.pageId); if (pageCompare != 0) { return pageCompare; } int xCompare = new Float(region.x).compareTo(other.region.x); if (xCompare != 0)...
public class class_name { @Override public int compareTo(BLine other) { int pageCompare = new Integer(pageId).compareTo(other.pageId); if (pageCompare != 0) { return pageCompare; // depends on control dependency: [if], data = [none] } int xCompare = new Float(region.x)...
public class class_name { public void setLocalSecondaryIndexes(java.util.Collection<LocalSecondaryIndex> localSecondaryIndexes) { if (localSecondaryIndexes == null) { this.localSecondaryIndexes = null; return; } this.localSecondaryIndexes = new java.util.ArrayList<Local...
public class class_name { public void setLocalSecondaryIndexes(java.util.Collection<LocalSecondaryIndex> localSecondaryIndexes) { if (localSecondaryIndexes == null) { this.localSecondaryIndexes = null; // depends on control dependency: [if], data = [none] return; // depends on control d...
public class class_name { public void setCommandInvocations(java.util.Collection<CommandInvocation> commandInvocations) { if (commandInvocations == null) { this.commandInvocations = null; return; } this.commandInvocations = new com.amazonaws.internal.SdkInternalList<Com...
public class class_name { public void setCommandInvocations(java.util.Collection<CommandInvocation> commandInvocations) { if (commandInvocations == null) { this.commandInvocations = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if...
public class class_name { private Object getReferencedObject(Identity id, ObjectReferenceDescriptor rds) { Class baseClassForProxy; if (rds.isLazy()) { /* arminw: use real reference class instead of the top-level class, because we wa...
public class class_name { private Object getReferencedObject(Identity id, ObjectReferenceDescriptor rds) { Class baseClassForProxy; if (rds.isLazy()) { /* arminw: use real reference class instead of the top-level class, because we wa...
public class class_name { public void marshall(CreateAuthorizerRequest createAuthorizerRequest, ProtocolMarshaller protocolMarshaller) { if (createAuthorizerRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public void marshall(CreateAuthorizerRequest createAuthorizerRequest, ProtocolMarshaller protocolMarshaller) { if (createAuthorizerRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public static void setCDSTranslationReport(ExtendedResult<CdsFeatureTranslationCheck.TranslationReportInfo> cdsCheckResult) { try { CdsFeatureTranslationCheck.TranslationReportInfo translationInfo = cdsCheckResult.getExtension(); StringWriter translationReport...
public class class_name { public static void setCDSTranslationReport(ExtendedResult<CdsFeatureTranslationCheck.TranslationReportInfo> cdsCheckResult) { try { CdsFeatureTranslationCheck.TranslationReportInfo translationInfo = cdsCheckResult.getExtension(); StringWriter translationReport...
public class class_name { public void setMorphTime(float time) { for (int i=0;i<figures.size();i++) { Figure figure = (Figure) figures.get(i); MorphShape shape = (MorphShape) figure.getShape(); shape.setMorphTime(time); } } }
public class class_name { public void setMorphTime(float time) { for (int i=0;i<figures.size();i++) { Figure figure = (Figure) figures.get(i); MorphShape shape = (MorphShape) figure.getShape(); shape.setMorphTime(time); // depends on control dependency: [for], data = [none] } } }
public class class_name { public static String joinPath(final String left, final String right) { String leftHand = left; if (!left.endsWith(SEPARATOR_UNIX)) { leftHand += SEPARATOR_UNIX; } return leftHand + right.replaceFirst("^/(.*)", "$1"); } }
public class class_name { public static String joinPath(final String left, final String right) { String leftHand = left; if (!left.endsWith(SEPARATOR_UNIX)) { leftHand += SEPARATOR_UNIX; // depends on control dependency: [if], data = [none] } return leftHand + right.replaceFirst("^/(.*)", "$...
public class class_name { public Optional<SectionHeader> maybeGetSectionHeader( DataDirectoryKey dataDirKey) { Optional<DataDirEntry> dataDir = optHeader .maybeGetDataDirEntry(dataDirKey); if (dataDir.isPresent()) { return dataDir.get().maybeGetSectionTableEntry(...
public class class_name { public Optional<SectionHeader> maybeGetSectionHeader( DataDirectoryKey dataDirKey) { Optional<DataDirEntry> dataDir = optHeader .maybeGetDataDirEntry(dataDirKey); if (dataDir.isPresent()) { return dataDir.get().maybeGetSectionTableEntry(...
public class class_name { public List<Node> select(final Collection<List<CssSelector>> selectorsCollection) { List<Node> results = new ArrayList<>(); for (List<CssSelector> selectors : selectorsCollection) { processSelectors(results, selectors); } return results; } }
public class class_name { public List<Node> select(final Collection<List<CssSelector>> selectorsCollection) { List<Node> results = new ArrayList<>(); for (List<CssSelector> selectors : selectorsCollection) { processSelectors(results, selectors); // depends on control dependency: [for], data = [selectors] } ...
public class class_name { @NonNull public static List<String> unmodifiableNonNullListOfStrings(@Nullable Object[] args) { if (args == null || args.length == 0) { return emptyList(); } else { final List<String> list = new ArrayList<String>(args.length); //noinspe...
public class class_name { @NonNull public static List<String> unmodifiableNonNullListOfStrings(@Nullable Object[] args) { if (args == null || args.length == 0) { return emptyList(); // depends on control dependency: [if], data = [none] } else { final List<String> list = new ...
public class class_name { public void allowCheckStateShadow(boolean allow) { if (allow != mAllowCheckStateShadow) { mAllowCheckStateShadow = allow; setShadowInternal(mShadowRadius, mShadowColor, true); } } }
public class class_name { public void allowCheckStateShadow(boolean allow) { if (allow != mAllowCheckStateShadow) { mAllowCheckStateShadow = allow; // depends on control dependency: [if], data = [none] setShadowInternal(mShadowRadius, mShadowColor, true); // depends on control dependenc...
public class class_name { public CompletableFuture<Void> shutdownServer() { CompletableFuture<Void> shutdownFuture = new CompletableFuture<>(); if (serverShutdownFuture.compareAndSet(null, shutdownFuture)) { log.info("Shutting down {} @ {}", serverName, serverAddress); final CompletableFuture<Void> groupShu...
public class class_name { public CompletableFuture<Void> shutdownServer() { CompletableFuture<Void> shutdownFuture = new CompletableFuture<>(); if (serverShutdownFuture.compareAndSet(null, shutdownFuture)) { log.info("Shutting down {} @ {}", serverName, serverAddress); // depends on control dependency: [if], da...
public class class_name { private static Collection<Path> findFiles(FileSystem fs, final String contains) throws IOException { final ArrayList<Path> rv = new ArrayList<>(); Iterator<Path> dirs = fs.getRootDirectories().iterator(); Files.walkFileTree(dirs.next(), new SimpleFileVisitor<Path>() { ...
public class class_name { private static Collection<Path> findFiles(FileSystem fs, final String contains) throws IOException { final ArrayList<Path> rv = new ArrayList<>(); Iterator<Path> dirs = fs.getRootDirectories().iterator(); Files.walkFileTree(dirs.next(), new SimpleFileVisitor<Path>() { ...
public class class_name { public static BoundingBox getProjectedBoundingBox(String authority, Long code, int x, int y, int zoom) { BoundingBox boundingBox = getWebMercatorBoundingBox(x, y, zoom); if (code != null) { ProjectionTransform transform = webMercator.getTransformation( authority, code); bo...
public class class_name { public static BoundingBox getProjectedBoundingBox(String authority, Long code, int x, int y, int zoom) { BoundingBox boundingBox = getWebMercatorBoundingBox(x, y, zoom); if (code != null) { ProjectionTransform transform = webMercator.getTransformation( authority, code); bo...
public class class_name { public static String getJustClassName(Class<?> cls) { if (cls == null) return null; if (cls.isArray()) { Class<?> c = cls.getComponentType(); return getJustClassName(c.getName()); } return getJustClassName(cls.getName()); } }
public class class_name { public static String getJustClassName(Class<?> cls) { if (cls == null) return null; if (cls.isArray()) { Class<?> c = cls.getComponentType(); return getJustClassName(c.getName()); // depends on control dependency: [if], data = [none] } ...
public class class_name { static synchronized Udev getInstance() { if (instance == null) { try { instance = new Udev(); } catch (IOException e) { System.err.println("Udev: failed to open connection"); e.printStackTrace(); } ...
public class class_name { static synchronized Udev getInstance() { if (instance == null) { try { instance = new Udev(); // depends on control dependency: [try], data = [none] } catch (IOException e) { System.err.println("Udev: failed to open connection");...
public class class_name { public static List<Pair<String, TypeName>> orderContentValues(final SQLiteModelMethod method, final List<Pair<String, TypeName>> updateableParams) { final List<Pair<String, TypeName>> result = new ArrayList<Pair<String, TypeName>>(); JQLChecker checker = JQLChecker.getInstance(); final...
public class class_name { public static List<Pair<String, TypeName>> orderContentValues(final SQLiteModelMethod method, final List<Pair<String, TypeName>> updateableParams) { final List<Pair<String, TypeName>> result = new ArrayList<Pair<String, TypeName>>(); JQLChecker checker = JQLChecker.getInstance(); final...
public class class_name { public void shutdownAndWait() { try { client.shutdown().get(); LOG.info("The Queryable State Client was shutdown successfully."); } catch (Exception e) { LOG.warn("The Queryable State Client shutdown failed: ", e); } } }
public class class_name { public void shutdownAndWait() { try { client.shutdown().get(); // depends on control dependency: [try], data = [none] LOG.info("The Queryable State Client was shutdown successfully."); // depends on control dependency: [try], data = [none] } catch (Exception e) { LOG.warn("The Qu...
public class class_name { public PersistenceDelegate getPersistenceDelegate(Class<?> type) { if (type == null) { return nullPD; // may be return a special PD? } // registered delegate PersistenceDelegate registeredPD = delegates.get(type); if (registeredPD != null) { return registeredPD; } i...
public class class_name { public PersistenceDelegate getPersistenceDelegate(Class<?> type) { if (type == null) { return nullPD; // may be return a special PD? // depends on control dependency: [if], data = [none] } // registered delegate PersistenceDelegate registeredPD = delegates.get(type); if (regi...
public class class_name { @Override protected String doBuildColumnString(String dm) { StringBuilder sb = new StringBuilder(); sb.append(dm).append(createdAt); sb.append(dm).append(updatedAt); if (sb.length() > dm.length()) { sb.delete(0, dm.length()); } s...
public class class_name { @Override protected String doBuildColumnString(String dm) { StringBuilder sb = new StringBuilder(); sb.append(dm).append(createdAt); sb.append(dm).append(updatedAt); if (sb.length() > dm.length()) { sb.delete(0, dm.length()); // depends on contr...
public class class_name { public void marshall(LifecyclePolicyRuleAction lifecyclePolicyRuleAction, ProtocolMarshaller protocolMarshaller) { if (lifecyclePolicyRuleAction == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { public void marshall(LifecyclePolicyRuleAction lifecyclePolicyRuleAction, ProtocolMarshaller protocolMarshaller) { if (lifecyclePolicyRuleAction == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { @Override public Object getValueAt(int rowIndex, int columnIndex) { Object result = null; Item item = getPropertySheetElement(rowIndex); if (item.isProperty()) { switch (columnIndex) { case NAME_COLUMN: result = item...
public class class_name { @Override public Object getValueAt(int rowIndex, int columnIndex) { Object result = null; Item item = getPropertySheetElement(rowIndex); if (item.isProperty()) { switch (columnIndex) { case NAME_COLUMN: result = item...
public class class_name { @SuppressWarnings("rawtypes") protected Object getValue(GetterMethodCover method, Object value) { if(method.isByte()) { value = ((Byte)value).intValue(); } else if(method.isChar()) { value = (int)((Character)value).charValue(); } ...
public class class_name { @SuppressWarnings("rawtypes") protected Object getValue(GetterMethodCover method, Object value) { if(method.isByte()) { value = ((Byte)value).intValue(); // depends on control dependency: [if], data = [none] } else if(method.isChar()) { valu...
public class class_name { @Override public void doExceptionCaughtListeners(final Throwable cause) { runManagementTask(new Runnable() { @Override public void run() { try { List<SessionManagementListener> sessionListeners = getManagementListeners();...
public class class_name { @Override public void doExceptionCaughtListeners(final Throwable cause) { runManagementTask(new Runnable() { @Override public void run() { try { List<SessionManagementListener> sessionListeners = getManagementListeners();...
public class class_name { private void parseLastConsonant() { if (!validViSyll) return; if (iCurPos > strSyllable.length()) strLastConsonant = ZERO; String strCon = strSyllable.substring(iCurPos, strSyllable.length()); if (strCon.length() > 3) { validViSyll = false; return; } Iterator iter = ...
public class class_name { private void parseLastConsonant() { if (!validViSyll) return; if (iCurPos > strSyllable.length()) strLastConsonant = ZERO; String strCon = strSyllable.substring(iCurPos, strSyllable.length()); if (strCon.length() > 3) { validViSyll = false; // depends on control dependency: ...
public class class_name { public static DoubleSupplier doubleSupplier(CheckedDoubleSupplier supplier, Consumer<Throwable> handler) { return () -> { try { return supplier.getAsDouble(); } catch (Throwable e) { handler.accept(e); ...
public class class_name { public static DoubleSupplier doubleSupplier(CheckedDoubleSupplier supplier, Consumer<Throwable> handler) { return () -> { try { return supplier.getAsDouble(); // depends on control dependency: [try], data = [none] } catch (Throwable ...
public class class_name { public void unregisterMonitor(Monitor monitor) { if (monitors != null) { monitors.remove(monitor); if (monitors.isEmpty()) { monitors = null; } } } }
public class class_name { public void unregisterMonitor(Monitor monitor) { if (monitors != null) { monitors.remove(monitor); // depends on control dependency: [if], data = [none] if (monitors.isEmpty()) { monitors = null; // depends on control dependency: [if], data = [n...
public class class_name { public static String task2MergeCompName(String old) { String[] parts = old.split(DELIM); if (parts.length >= 7) { parts[0] = MetaType.COMPONENT.getV() + parts[0].charAt(1); parts[parts.length - 3] = EMPTY; parts[parts.length - 4] = "0"; ...
public class class_name { public static String task2MergeCompName(String old) { String[] parts = old.split(DELIM); if (parts.length >= 7) { parts[0] = MetaType.COMPONENT.getV() + parts[0].charAt(1); // depends on control dependency: [if], data = [none] parts[parts.length - 3] = ...
public class class_name { @Override public boolean containsValue(Object value) { for (V v : values()) { if (v.equals(value)) { return true; } } return false; } }
public class class_name { @Override public boolean containsValue(Object value) { for (V v : values()) { if (v.equals(value)) { return true; // depends on control dependency: [if], data = [none] } } return false; } }
public class class_name { public void marshall(DecreaseReplicationFactorRequest decreaseReplicationFactorRequest, ProtocolMarshaller protocolMarshaller) { if (decreaseReplicationFactorRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } tr...
public class class_name { public void marshall(DecreaseReplicationFactorRequest decreaseReplicationFactorRequest, ProtocolMarshaller protocolMarshaller) { if (decreaseReplicationFactorRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } tr...
public class class_name { private JSONArray readArray(boolean stringy) throws JSONException { JSONArray jsonarray = new JSONArray(); jsonarray.put(stringy ? read(this.stringhuff, this.stringhuffext, this.stringkeep) : readValue()); while (true) { if (...
public class class_name { private JSONArray readArray(boolean stringy) throws JSONException { JSONArray jsonarray = new JSONArray(); jsonarray.put(stringy ? read(this.stringhuff, this.stringhuffext, this.stringkeep) : readValue()); while (true) { if (...
public class class_name { protected void createServletWrappers() throws Exception { // NOTE: namespace preinvoke/postinvoke not necessary as the only // external // code being run is the servlet's init() and that is handled in the // ServletWrapper // check if an extensionFacto...
public class class_name { protected void createServletWrappers() throws Exception { // NOTE: namespace preinvoke/postinvoke not necessary as the only // external // code being run is the servlet's init() and that is handled in the // ServletWrapper // check if an extensionFacto...
public class class_name { public ProjectCalendar getByName(String calendarName) { ProjectCalendar calendar = null; if (calendarName != null && calendarName.length() != 0) { Iterator<ProjectCalendar> iter = iterator(); while (iter.hasNext() == true) { calenda...
public class class_name { public ProjectCalendar getByName(String calendarName) { ProjectCalendar calendar = null; if (calendarName != null && calendarName.length() != 0) { Iterator<ProjectCalendar> iter = iterator(); while (iter.hasNext() == true) { calenda...
public class class_name { public boolean isOverridden(Object instance, Method origin) { try { return (Boolean) mAdvice.getClass().getMethod("isOverridden", Object.class, Method.class).invoke(mAdvice, instance, origin); } catch (IllegalAccessException | InvocationTargetEx...
public class class_name { public boolean isOverridden(Object instance, Method origin) { try { return (Boolean) mAdvice.getClass().getMethod("isOverridden", Object.class, Method.class).invoke(mAdvice, instance, origin); // depends on control dependency: [try], data = [none] ...
public class class_name { public void printElement(String name, String value, String... attributes) { startElement(name, attributes); if (value != null) { println(">" + escape(value) + "</" + name + ">"); } else { println("/>"); } outdent(); } }
public class class_name { public void printElement(String name, String value, String... attributes) { startElement(name, attributes); if (value != null) { println(">" + escape(value) + "</" + name + ">"); } else { println("/>"); } // depends on control dependency: [if], data = [(value] // depends on control de...
public class class_name { public ILocationData getMergedAssociatedLocation() { List<ILocationData> allData = getAssociatedLocations(); if (allData.isEmpty()) { return null; } if (allData.size() == 1) { return allData.get(0); } boolean allNull = true; SourceRelativeURI path = null; ITextRegionWith...
public class class_name { public ILocationData getMergedAssociatedLocation() { List<ILocationData> allData = getAssociatedLocations(); if (allData.isEmpty()) { return null; // depends on control dependency: [if], data = [none] } if (allData.size() == 1) { return allData.get(0); // depends on control depe...
public class class_name { static StructrPropertyDefinition deserialize(final StructrTypeDefinition parent, final String name, final Map<String, Object> source) { final String propertyType = (String)source.get(JsonSchema.KEY_TYPE); StructrPropertyDefinition newProperty = null; if (propertyType != null) { fi...
public class class_name { static StructrPropertyDefinition deserialize(final StructrTypeDefinition parent, final String name, final Map<String, Object> source) { final String propertyType = (String)source.get(JsonSchema.KEY_TYPE); StructrPropertyDefinition newProperty = null; if (propertyType != null) { fi...
public class class_name { public static Date parse(String value) { if (value.length() == 0) { return null; } ParsePosition position = new ParsePosition(0); Date result = STANDARD_DATE_FORMAT.get().parse(value, position); if (position.getIndex() == value.length()) { // STANDARD_DATE_FOR...
public class class_name { public static Date parse(String value) { if (value.length() == 0) { return null; // depends on control dependency: [if], data = [none] } ParsePosition position = new ParsePosition(0); Date result = STANDARD_DATE_FORMAT.get().parse(value, position); if (position.getI...
public class class_name { public boolean filterMatches(AbstractItem item) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "filterMatches", item); boolean result = true; if (selectorTree != null || discriminatorTree != null) { // Defect 382250, set the ...
public class class_name { public boolean filterMatches(AbstractItem item) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "filterMatches", item); boolean result = true; if (selectorTree != null || discriminatorTree != null) { // Defect 382250, set the ...
public class class_name { protected void removeUnsupportedLanguageElements(Document doc) throws JaxenException { String[] unsupportedLanguages = new String[]{ "ar", "bg", "ca", "cs", "da", "el", "et", "fa", "fi", "he", "hi", "hu", "id", "it", "ja", "ko", "lt", "lv", "no", "pl", ...
public class class_name { protected void removeUnsupportedLanguageElements(Document doc) throws JaxenException { String[] unsupportedLanguages = new String[]{ "ar", "bg", "ca", "cs", "da", "el", "et", "fa", "fi", "he", "hi", "hu", "id", "it", "ja", "ko", "lt", "lv", "no", "pl", ...
public class class_name { @Override public boolean persistState() { if (!safeMode) { LOG.info( "Cannot persist state because ClusterManager is not in Safe Mode"); return false; } try { JsonGenerator jsonGenerator = CoronaSerializer.createJsonGenerator(conf); jsonGenerator...
public class class_name { @Override public boolean persistState() { if (!safeMode) { LOG.info( "Cannot persist state because ClusterManager is not in Safe Mode"); // depends on control dependency: [if], data = [none] return false; // depends on control dependency: [if], data = [none] } ...
public class class_name { private BufferedImage create_TICKMARKS_Image(final int WIDTH) { if (WIDTH <= 0) { return null; } final BufferedImage IMAGE = UTIL.createImage(WIDTH, WIDTH, Transparency.TRANSLUCENT); final Graphics2D G2 = IMAGE.createGraphics(); G2.setRende...
public class class_name { private BufferedImage create_TICKMARKS_Image(final int WIDTH) { if (WIDTH <= 0) { return null; // depends on control dependency: [if], data = [none] } final BufferedImage IMAGE = UTIL.createImage(WIDTH, WIDTH, Transparency.TRANSLUCENT); final Graph...
public class class_name { private void addToken(final MutationToken token) { if (token != null) { ListIterator<MutationToken> tokenIterator = tokens.listIterator(); while (tokenIterator.hasNext()) { MutationToken t = tokenIterator.next(); if (t.vbucketID(...
public class class_name { private void addToken(final MutationToken token) { if (token != null) { ListIterator<MutationToken> tokenIterator = tokens.listIterator(); while (tokenIterator.hasNext()) { MutationToken t = tokenIterator.next(); if (t.vbucketID(...
public class class_name { public NetworkInterface withIpv6Addresses(NetworkInterfaceIpv6Address... ipv6Addresses) { if (this.ipv6Addresses == null) { setIpv6Addresses(new com.amazonaws.internal.SdkInternalList<NetworkInterfaceIpv6Address>(ipv6Addresses.length)); } for (NetworkInterf...
public class class_name { public NetworkInterface withIpv6Addresses(NetworkInterfaceIpv6Address... ipv6Addresses) { if (this.ipv6Addresses == null) { setIpv6Addresses(new com.amazonaws.internal.SdkInternalList<NetworkInterfaceIpv6Address>(ipv6Addresses.length)); // depends on control dependency: [i...
public class class_name { public CmsUUID getElementView() { String elementViewString = getString(CmsEditorConstants.ATTR_ELEMENT_VIEW); if (elementViewString == null) { return null; } return new CmsUUID(elementViewString); } }
public class class_name { public CmsUUID getElementView() { String elementViewString = getString(CmsEditorConstants.ATTR_ELEMENT_VIEW); if (elementViewString == null) { return null; // depends on control dependency: [if], data = [none] } return new CmsUUID(elementViewString...
public class class_name { public Integer getFileSizeThreshold() { if (childNode.getTextValueForPatternName("file-size-threshold") != null && !childNode.getTextValueForPatternName("file-size-threshold").equals("null")) { return Integer.valueOf(childNode.getTextValueForPatternName("file-size-threshold"...
public class class_name { public Integer getFileSizeThreshold() { if (childNode.getTextValueForPatternName("file-size-threshold") != null && !childNode.getTextValueForPatternName("file-size-threshold").equals("null")) { return Integer.valueOf(childNode.getTextValueForPatternName("file-size-threshold"...
public class class_name { @Override public void beginImport() { if (m_emf == null) { m_emf = Persistence.createEntityManagerFactory(m_persistenceUnitName); } m_em = m_emf.createEntityManager(); m_batch = new ArrayList(m_batchSize); } }
public class class_name { @Override public void beginImport() { if (m_emf == null) { m_emf = Persistence.createEntityManagerFactory(m_persistenceUnitName); // depends on control dependency: [if], data = [none] } m_em = m_emf.createEntityManager(); m_batch = new Arr...
public class class_name { public NamedNativeQuery<Entity<T>> getOrCreateNamedNativeQuery() { List<Node> nodeList = childNode.get("named-native-query"); if (nodeList != null && nodeList.size() > 0) { return new NamedNativeQueryImpl<Entity<T>>(this, "named-native-query", childNode, nodeLis...
public class class_name { public NamedNativeQuery<Entity<T>> getOrCreateNamedNativeQuery() { List<Node> nodeList = childNode.get("named-native-query"); if (nodeList != null && nodeList.size() > 0) { return new NamedNativeQueryImpl<Entity<T>>(this, "named-native-query", childNode, nodeLis...
public class class_name { public boolean hasPermissionsById(String id, String... permissions) { List<Permission> resolvedPermissions = Lists.newArrayListWithCapacity(permissions.length); for (String permission : permissions) { resolvedPermissions.add(getPermissionResolver().resolvePermissio...
public class class_name { public boolean hasPermissionsById(String id, String... permissions) { List<Permission> resolvedPermissions = Lists.newArrayListWithCapacity(permissions.length); for (String permission : permissions) { resolvedPermissions.add(getPermissionResolver().resolvePermissio...
public class class_name { public Namer getManyToOneIntermediateNamer(Namer fromEntityNamer, ColumnConfig pointsOnToEntity, Namer toEntityNamer) { // new configuration Namer result = getManyToOneNamerFromConf(pointsOnToEntity, toEntityNamer); // fallback if (result == null) { ...
public class class_name { public Namer getManyToOneIntermediateNamer(Namer fromEntityNamer, ColumnConfig pointsOnToEntity, Namer toEntityNamer) { // new configuration Namer result = getManyToOneNamerFromConf(pointsOnToEntity, toEntityNamer); // fallback if (result == null) { ...
public class class_name { @SuppressWarnings("fallthrough") protected DCText inlineWord() { int pos = bp; int depth = 0; loop: while (bp < buflen) { switch (ch) { case '\n': newline = true; // fallthrough ...
public class class_name { @SuppressWarnings("fallthrough") protected DCText inlineWord() { int pos = bp; int depth = 0; loop: while (bp < buflen) { switch (ch) { case '\n': newline = true; // fallthrough ...
public class class_name { public void reportGenericFailure(SmackWrappedException exception) { assert exception != null; connectionLock.lock(); try { state = State.Failure; this.smackWrappedExcpetion = exception; condition.signalAll(); } finall...
public class class_name { public void reportGenericFailure(SmackWrappedException exception) { assert exception != null; connectionLock.lock(); try { state = State.Failure; // depends on control dependency: [try], data = [none] this.smackWrappedExcpetion = exception; // d...
public class class_name { public ClientConfig setIdleConnectionTimeout(long idleConnectionTimeout, TimeUnit unit) { if (idleConnectionTimeout <= 0) { this.idleConnectionTimeoutMs = -1; } else { if(unit.toMinutes(idleConnectionTimeout) < 10) { throw new IllegalArg...
public class class_name { public ClientConfig setIdleConnectionTimeout(long idleConnectionTimeout, TimeUnit unit) { if (idleConnectionTimeout <= 0) { this.idleConnectionTimeoutMs = -1; // depends on control dependency: [if], data = [none] } else { if(unit.toMinutes(idleConnectio...
public class class_name { private void addDependent(String pathName, String relativeTo) { if (relativeTo != null) { Set<String> dependents = dependenctRelativePaths.get(relativeTo); if (dependents == null) { dependents = new HashSet<String>(); dependenctR...
public class class_name { private void addDependent(String pathName, String relativeTo) { if (relativeTo != null) { Set<String> dependents = dependenctRelativePaths.get(relativeTo); if (dependents == null) { dependents = new HashSet<String>(); // depends on control depen...
public class class_name { public void setRoot(int context, Object environment) { super.setRoot(context, environment); if(null != m_firstWalker) { m_firstWalker.setRoot(context); m_lastUsedWalker = m_firstWalker; } } }
public class class_name { public void setRoot(int context, Object environment) { super.setRoot(context, environment); if(null != m_firstWalker) { m_firstWalker.setRoot(context); // depends on control dependency: [if], data = [none] m_lastUsedWalker = m_firstWalker; // depends on control...
public class class_name { @SuppressWarnings("unchecked") private CachedFieldValue getCacheFieldValueFromObject(Object objWithKeyParam) { if(objWithKeyParam == null) { return null; } //Get Word... Method methodGetWord = CacheUtil.getMethod( objWithKeyParam.getClass(), CustomCode.IWord.METHOD_get...
public class class_name { @SuppressWarnings("unchecked") private CachedFieldValue getCacheFieldValueFromObject(Object objWithKeyParam) { if(objWithKeyParam == null) { return null; // depends on control dependency: [if], data = [none] } //Get Word... Method methodGetWord = CacheUtil.getMethod( objWi...
public class class_name { public void timeBagOfPrimitivesReflectionStreaming(int reps) throws Exception { for (int i=0; i<reps; ++i) { StringReader reader = new StringReader(json); JsonReader jr = new JsonReader(reader); jr.beginObject(); BagOfPrimitives bag = new BagOfPrimitives(); w...
public class class_name { public void timeBagOfPrimitivesReflectionStreaming(int reps) throws Exception { for (int i=0; i<reps; ++i) { StringReader reader = new StringReader(json); JsonReader jr = new JsonReader(reader); jr.beginObject(); BagOfPrimitives bag = new BagOfPrimitives(); w...
public class class_name { private List<String> getAllPConfigurationKeyValues(ConfigurationProvider configuration) { List<String> keyValues = new ArrayList<String>(); for (String key : configuration.keys()) { keyValues.add(key + "=\"" + configuration.getString(key) + "\""); } Collections.sort(keyValues); r...
public class class_name { private List<String> getAllPConfigurationKeyValues(ConfigurationProvider configuration) { List<String> keyValues = new ArrayList<String>(); for (String key : configuration.keys()) { keyValues.add(key + "=\"" + configuration.getString(key) + "\""); // depends on control dependency: [for...
public class class_name { public void setValue(int value) { if(value < min || value > max) { throw new IllegalArgumentException("The value " + value + " is out of the admitted range [" + min + ", " + max + "]."); } if(value != min && value != max) { if(timer == null) { logger.trace("creating timer");...
public class class_name { public void setValue(int value) { if(value < min || value > max) { throw new IllegalArgumentException("The value " + value + " is out of the admitted range [" + min + ", " + max + "]."); } if(value != min && value != max) { if(timer == null) { logger.trace("creating timer");...
public class class_name { protected RegistryAuth registryAuth() throws MojoExecutionException { if (settings != null && serverId != null) { final Server server = settings.getServer(serverId); if (server != null) { final RegistryAuth.Builder registryAuthBuilder = RegistryAuth.builder(); ...
public class class_name { protected RegistryAuth registryAuth() throws MojoExecutionException { if (settings != null && serverId != null) { final Server server = settings.getServer(serverId); if (server != null) { final RegistryAuth.Builder registryAuthBuilder = RegistryAuth.builder(); ...
public class class_name { public static Map<String, Method> getPropGetMethodList(final Class<?> cls) { Map<String, Method> getterMethodList = entityDeclaredPropGetMethodPool.get(cls); if (getterMethodList == null) { loadPropGetSetMethodList(cls); getterMethodList = entityD...
public class class_name { public static Map<String, Method> getPropGetMethodList(final Class<?> cls) { Map<String, Method> getterMethodList = entityDeclaredPropGetMethodPool.get(cls); if (getterMethodList == null) { loadPropGetSetMethodList(cls); // depends on control dependency: [if]...
public class class_name { private Optional<T> getServerIdToTry() { if (m_serverIdsToTry.isEmpty()) { final Collection<T> moreCandidates = getMoreCandidates(); if (moreCandidates.isEmpty()) { // We were unable to find more candidates. To avoid hammering /...
public class class_name { private Optional<T> getServerIdToTry() { if (m_serverIdsToTry.isEmpty()) { final Collection<T> moreCandidates = getMoreCandidates(); if (moreCandidates.isEmpty()) { // We were unable to find more candidates. To avoid hammering /...
public class class_name { private void enforceVersionRequired( FieldDeclaration f, InterfaceDeclaration controlIntf ) { VersionRequired versionRequired = f.getAnnotation(VersionRequired.class); Version versionPresent = controlIntf.getAnnotation(Version.class); if (versionRequired != null) ...
public class class_name { private void enforceVersionRequired( FieldDeclaration f, InterfaceDeclaration controlIntf ) { VersionRequired versionRequired = f.getAnnotation(VersionRequired.class); Version versionPresent = controlIntf.getAnnotation(Version.class); if (versionRequired != null) ...
public class class_name { public void close() { Closeable closable = getClosable(); try { LOG.closingResponse(this); closable.close(); LOG.successfullyClosedResponse(this); } catch (IOException e) { throw LOG.exceptionWhileClosingResponse(e); } } }
public class class_name { public void close() { Closeable closable = getClosable(); try { LOG.closingResponse(this); // depends on control dependency: [try], data = [none] closable.close(); // depends on control dependency: [try], data = [none] LOG.successfullyClosedResponse(this); // depends...
public class class_name { private void parseAttemptPurgeData(Map props) { //PI11176 String value = (String) props.get(HttpConfigConstants.PROPNAME_PURGE_DATA_DURING_CLOSE); if (null != value) { this.attemptPurgeData = convertBoolean(value); if (TraceComponent.isAnyTracin...
public class class_name { private void parseAttemptPurgeData(Map props) { //PI11176 String value = (String) props.get(HttpConfigConstants.PROPNAME_PURGE_DATA_DURING_CLOSE); if (null != value) { this.attemptPurgeData = convertBoolean(value); // depends on control dependency: [if], da...
public class class_name { private boolean ready(Build.Task task) { // FIXME: this is not a great solution in the long run for several reasons. // Firstly, its possible that a given source will be rebuilt in the near future // as a result of some other task and we should be waiting for that. Path.Entry<?> targe...
public class class_name { private boolean ready(Build.Task task) { // FIXME: this is not a great solution in the long run for several reasons. // Firstly, its possible that a given source will be rebuilt in the near future // as a result of some other task and we should be waiting for that. Path.Entry<?> targe...
public class class_name { public void quit() { if (pc != null) { final KNXNetworkLink lnk = pc.detach(); if (lnk != null) lnk.close(); Runtime.getRuntime().removeShutdownHook(sh); } } }
public class class_name { public void quit() { if (pc != null) { final KNXNetworkLink lnk = pc.detach(); if (lnk != null) lnk.close(); Runtime.getRuntime().removeShutdownHook(sh); // depends on control dependency: [if], data = [none] } } }
public class class_name { public static TSQuery parseQuery(final TSDB tsdb, final HttpQuery query, final List<ExpressionTree> expressions) { final TSQuery data_query = new TSQuery(); data_query.setStart(query.getRequiredQueryStringParam("start")); data_query.setEnd(query.getQueryStringParam("end...
public class class_name { public static TSQuery parseQuery(final TSDB tsdb, final HttpQuery query, final List<ExpressionTree> expressions) { final TSQuery data_query = new TSQuery(); data_query.setStart(query.getRequiredQueryStringParam("start")); data_query.setEnd(query.getQueryStringParam("end...
public class class_name { public java.util.List<String> getDesiredShardLevelMetrics() { if (desiredShardLevelMetrics == null) { desiredShardLevelMetrics = new com.amazonaws.internal.SdkInternalList<String>(); } return desiredShardLevelMetrics; } }
public class class_name { public java.util.List<String> getDesiredShardLevelMetrics() { if (desiredShardLevelMetrics == null) { desiredShardLevelMetrics = new com.amazonaws.internal.SdkInternalList<String>(); // depends on control dependency: [if], data = [none] } return desiredShar...
public class class_name { public final List<HourRanges> normalize() { final List<HourRange> today = new ArrayList<>(); final List<HourRange> tommorrow = new ArrayList<>(); for (final HourRange range : ranges) { final List<HourRange> nr = range.normalize(); if (nr.size() ...
public class class_name { public final List<HourRanges> normalize() { final List<HourRange> today = new ArrayList<>(); final List<HourRange> tommorrow = new ArrayList<>(); for (final HourRange range : ranges) { final List<HourRange> nr = range.normalize(); if (nr.size() ...
public class class_name { public DeterministicKey deriveNextChild(ImmutableList<ChildNumber> parentPath, boolean relative, boolean createParent, boolean privateDerivation) { DeterministicKey parent = get(parentPath, relative, createParent); int nAttempts = 0; while (nAttempts++ < HDKeyDerivatio...
public class class_name { public DeterministicKey deriveNextChild(ImmutableList<ChildNumber> parentPath, boolean relative, boolean createParent, boolean privateDerivation) { DeterministicKey parent = get(parentPath, relative, createParent); int nAttempts = 0; while (nAttempts++ < HDKeyDerivatio...