code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { static void unregister(final Object value) { Set<IDKey> registry = getRegistry(); if (registry != null) { registry.remove(new IDKey(value)); synchronized (HashCodeBuilder.class) { //read again registry = getRegistry(); ...
public class class_name { static void unregister(final Object value) { Set<IDKey> registry = getRegistry(); if (registry != null) { registry.remove(new IDKey(value)); // depends on control dependency: [if], data = [none] synchronized (HashCodeBuilder.class) { // depends on contr...
public class class_name { private Collection<? extends ResourceRoot> handleClassPathItems(final DeploymentUnit deploymentUnit) { final Set<ResourceRoot> additionalRoots = new HashSet<ResourceRoot>(); final ArrayDeque<ResourceRoot> toProcess = new ArrayDeque<ResourceRoot>(); final List<ResourceR...
public class class_name { private Collection<? extends ResourceRoot> handleClassPathItems(final DeploymentUnit deploymentUnit) { final Set<ResourceRoot> additionalRoots = new HashSet<ResourceRoot>(); final ArrayDeque<ResourceRoot> toProcess = new ArrayDeque<ResourceRoot>(); final List<ResourceR...
public class class_name { private void handleResponse(@NonNull Uri uri) { if (AuthUtils.isAuthorizationCodePresent(uri)) { onCodeReceived(uri); } else { handleAccessTokenResponse(uri); } } }
public class class_name { private void handleResponse(@NonNull Uri uri) { if (AuthUtils.isAuthorizationCodePresent(uri)) { onCodeReceived(uri); // depends on control dependency: [if], data = [none] } else { handleAccessTokenResponse(uri); // depends on control dependency: [if], ...
public class class_name { public int activeCount() { int result; // Snapshot sub-group data so we don't hold this lock // while our children are computing. int ngroupsSnapshot; ThreadGroup[] groupsSnapshot; synchronized (this) { if (destroyed) { ...
public class class_name { public int activeCount() { int result; // Snapshot sub-group data so we don't hold this lock // while our children are computing. int ngroupsSnapshot; ThreadGroup[] groupsSnapshot; synchronized (this) { if (destroyed) { ...
public class class_name { public void marshall(PutConfigRuleRequest putConfigRuleRequest, ProtocolMarshaller protocolMarshaller) { if (putConfigRuleRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.m...
public class class_name { public void marshall(PutConfigRuleRequest putConfigRuleRequest, ProtocolMarshaller protocolMarshaller) { if (putConfigRuleRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.m...
public class class_name { @Override public Object create(ActionParameter argument, Context context, ParameterFactories engine) { if (argument.getRawType().equals(Context.class)) { return context; } // Check whether we have a ParameterFactory that can handle the creation. ...
public class class_name { @Override public Object create(ActionParameter argument, Context context, ParameterFactories engine) { if (argument.getRawType().equals(Context.class)) { return context; // depends on control dependency: [if], data = [none] } // Check whether we have a...
public class class_name { @SuppressWarnings("unchecked") public Method findAdaptMethod(Class from, Class to) { Method[] methods = mAdaptMethods; List<Method> candidates = new ArrayList<Method>(methods.length); for (int i=methods.length; --i>=0; ) { Method method = methods[i...
public class class_name { @SuppressWarnings("unchecked") public Method findAdaptMethod(Class from, Class to) { Method[] methods = mAdaptMethods; List<Method> candidates = new ArrayList<Method>(methods.length); for (int i=methods.length; --i>=0; ) { Method method = methods[i...
public class class_name { public RamResourceCore getChild(String name, boolean caseSensitive) { if (children == null) return null; RamResourceCore child; for (int i = children.size() - 1; i >= 0; i--) { child = (RamResourceCore) children.get(i); if (child != null && (caseSensitive ? child.getName().equal...
public class class_name { public RamResourceCore getChild(String name, boolean caseSensitive) { if (children == null) return null; RamResourceCore child; for (int i = children.size() - 1; i >= 0; i--) { child = (RamResourceCore) children.get(i); // depends on control dependency: [for], data = [i] if (chi...
public class class_name { protected static ActivityManager.MemoryInfo getMemInfo(Context ctx) { try { ActivityManager actManager = (ActivityManager) ctx.getSystemService(ACTIVITY_SERVICE); ActivityManager.MemoryInfo memInfo = new ActivityManager.MemoryInfo(); actManager.getM...
public class class_name { protected static ActivityManager.MemoryInfo getMemInfo(Context ctx) { try { ActivityManager actManager = (ActivityManager) ctx.getSystemService(ACTIVITY_SERVICE); ActivityManager.MemoryInfo memInfo = new ActivityManager.MemoryInfo(); actManager.getM...
public class class_name { public static String getPatternName(OptionalIdentifiedDefinition camelNode) { // we should grab the annotation instead XmlRootElement root = camelNode.getClass().getAnnotation(XmlRootElement.class); if (root != null) { return root.name(); } ...
public class class_name { public static String getPatternName(OptionalIdentifiedDefinition camelNode) { // we should grab the annotation instead XmlRootElement root = camelNode.getClass().getAnnotation(XmlRootElement.class); if (root != null) { return root.name(); // depends on cont...
public class class_name { public boolean rename(GeoPackageMetadata metadata, String newName) { boolean renamed = rename(metadata.getName(), newName); if (renamed) { metadata.setName(newName); } return renamed; } }
public class class_name { public boolean rename(GeoPackageMetadata metadata, String newName) { boolean renamed = rename(metadata.getName(), newName); if (renamed) { metadata.setName(newName); // depends on control dependency: [if], data = [none] } return renamed; } }
public class class_name { public static byte[] getBytes(String text) { byte[] bytes = new byte[] {}; try { bytes = text.getBytes("utf-8"); } catch (UnsupportedEncodingException e) { } return bytes; } }
public class class_name { public static byte[] getBytes(String text) { byte[] bytes = new byte[] {}; try { bytes = text.getBytes("utf-8"); // depends on control dependency: [try], data = [none] } catch (UnsupportedEncodingException e) { } // depends on control dependency: [catch], data = [none] retu...
public class class_name { public static int getSystemProperty (String key, int defval) { String valstr = System.getProperty(key); int value = defval; if (valstr != null) { try { value = Integer.parseInt(valstr); } catch (NumberFormatException nfe) { ...
public class class_name { public static int getSystemProperty (String key, int defval) { String valstr = System.getProperty(key); int value = defval; if (valstr != null) { try { value = Integer.parseInt(valstr); // depends on control dependency: [try], data = [no...
public class class_name { private Coordinate[] getOrderedNodes( Coordinate c, Coordinate coordinate1, Coordinate coordinate2, Coordinate coordinate3 ) { double d = distance3d(c, coordinate1, null); Coordinate nearest = coordinate1; Coordinate c2 = coordinate2; Coordinate c3 = coordinate...
public class class_name { private Coordinate[] getOrderedNodes( Coordinate c, Coordinate coordinate1, Coordinate coordinate2, Coordinate coordinate3 ) { double d = distance3d(c, coordinate1, null); Coordinate nearest = coordinate1; Coordinate c2 = coordinate2; Coordinate c3 = coordinate...
public class class_name { public Task poll(long timeout, TimeUnit unit) throws InterruptedException { lock.lockInterruptibly(); try { // wait for the set to be not empty timeout = unit.toNanos(timeout); while (this.dormant.size() == 0) { _...
public class class_name { public Task poll(long timeout, TimeUnit unit) throws InterruptedException { lock.lockInterruptibly(); try { // wait for the set to be not empty timeout = unit.toNanos(timeout); while (this.dormant.size() == 0) { _...
public class class_name { protected ProxettaMethodBuilder applyProxy(final MethodSignatureVisitor msign) { List<ProxyAspectData> aspectList = matchMethodPointcuts(msign); if (aspectList == null) { // no pointcuts on this method, return return null; } int access = msign.getAccessFlags(); if ((access &...
public class class_name { protected ProxettaMethodBuilder applyProxy(final MethodSignatureVisitor msign) { List<ProxyAspectData> aspectList = matchMethodPointcuts(msign); if (aspectList == null) { // no pointcuts on this method, return return null; // depends on control dependency: [if], data = [none] } ...
public class class_name { private void closeSessionWrapper(SessionConnectionWrapper sessionWrapper, String logText) { try { sessionWrapper.close(); } catch (SQLException e) { //ignore exception. The connection will automatically be removed ...
public class class_name { private void closeSessionWrapper(SessionConnectionWrapper sessionWrapper, String logText) { try { sessionWrapper.close(); // depends on control dependency: [try], data = [none] } catch (SQLException e) { //ignore e...
public class class_name { public void endPrefixMapping(String prefix) throws SAXException { if (directivesOnly) { String uri = pageInfo.getURI(prefix); if (!JSP_URI.equals(uri)) { return; } } pageInfo.popPrefixMapping(prefix); } }
public class class_name { public void endPrefixMapping(String prefix) throws SAXException { if (directivesOnly) { String uri = pageInfo.getURI(prefix); if (!JSP_URI.equals(uri)) { return; // depends on control dependency: [if], data = [none] } } ...
public class class_name { public void evaluateAnalogies(Matrix projection) { try { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { String analogy = sc.next(); if (!isAnalogyFormat(analogy,true)) { Sy...
public class class_name { public void evaluateAnalogies(Matrix projection) { try { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { String analogy = sc.next(); if (!isAnalogyFormat(analogy,true)) { Sy...
public class class_name { protected int countEvents(Collection<Event> existingEvents, Event triggeringEvent, DetectionPoint configuredDetectionPoint) { int count = 0; long intervalInMillis = configuredDetectionPoint.getThreshold().getInterval().toMillis(); //grab the startTime to begin counting from based on t...
public class class_name { protected int countEvents(Collection<Event> existingEvents, Event triggeringEvent, DetectionPoint configuredDetectionPoint) { int count = 0; long intervalInMillis = configuredDetectionPoint.getThreshold().getInterval().toMillis(); //grab the startTime to begin counting from based on t...
public class class_name { public void setIconRegular(boolean _iconRegular) { if (_iconRegular) { AddResourcesListener.setFontAwesomeVersion(5, this); } getStateHelper().put(PropertyKeys.iconRegular, _iconRegular); } }
public class class_name { public void setIconRegular(boolean _iconRegular) { if (_iconRegular) { AddResourcesListener.setFontAwesomeVersion(5, this); // depends on control dependency: [if], data = [none] } getStateHelper().put(PropertyKeys.iconRegular, _iconRegular); } }
public class class_name { public void report(final ThresholdLogSpan span) { if (isOverThreshold(span)) { if (!overThresholdQueue.offer(span)) { LOGGER.debug("Could not enqueue span {} for over threshold reporting, discarding.", span); } } } }
public class class_name { public void report(final ThresholdLogSpan span) { if (isOverThreshold(span)) { if (!overThresholdQueue.offer(span)) { LOGGER.debug("Could not enqueue span {} for over threshold reporting, discarding.", span); // depends on control dependency: [if], data = [...
public class class_name { private static void remove(AnalyzedTokenReadings readings, Pattern pattern) { List<AnalyzedToken> analyzedTokens = readings.getReadings(); for (int j = analyzedTokens.size()-1; j>=0; j--) { AnalyzedToken analyzedToken = analyzedTokens.get(j); if( ! JLanguageTool.S...
public class class_name { private static void remove(AnalyzedTokenReadings readings, Pattern pattern) { List<AnalyzedToken> analyzedTokens = readings.getReadings(); for (int j = analyzedTokens.size()-1; j>=0; j--) { AnalyzedToken analyzedToken = analyzedTokens.get(j); if( ! JLanguageTool.S...
public class class_name { @Override protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws IOException { String path = getRelativePath(req); // Check if webdav is set to read only if (m_readOnly) { resp.setStatus(HttpServletResponse.SC_FORBIDDEN); ...
public class class_name { @Override protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws IOException { String path = getRelativePath(req); // Check if webdav is set to read only if (m_readOnly) { resp.setStatus(HttpServletResponse.SC_FORBIDDEN); ...
public class class_name { @Override public void run() { m_taskQueue.offer(this); // check if previous task is running for more than threshold SiteTasker task = m_taskQueue.peek(); long currentTime = System.nanoTime(); long headOfQueueOfferTime; if (task != null) ...
public class class_name { @Override public void run() { m_taskQueue.offer(this); // check if previous task is running for more than threshold SiteTasker task = m_taskQueue.peek(); long currentTime = System.nanoTime(); long headOfQueueOfferTime; if (task != null) ...
public class class_name { public PlainTimestamp plus( long amount, ClockUnit unit ) { if (unit == null) { throw new NullPointerException("Missing unit."); } else if (amount == 0) { return this; } try { return CLOCK_UNIT_RULE_MAP....
public class class_name { public PlainTimestamp plus( long amount, ClockUnit unit ) { if (unit == null) { throw new NullPointerException("Missing unit."); } else if (amount == 0) { return this; // depends on control dependency: [if], data = [none] } ...
public class class_name { private HtmlContainer getOrCreateLayerContainer(Layer layer) { if (layerContainers.containsKey(layer)) { return layerContainers.get(layer); } HtmlContainer layerContainer = new HtmlGroup(); layerContainer.asWidget().getElement().setId(layer.getId()); layersModelContainer.add(laye...
public class class_name { private HtmlContainer getOrCreateLayerContainer(Layer layer) { if (layerContainers.containsKey(layer)) { return layerContainers.get(layer); // depends on control dependency: [if], data = [none] } HtmlContainer layerContainer = new HtmlGroup(); layerContainer.asWidget().getElement()...
public class class_name { protected static String replaceShorthand(char c, Map<String, String> headers, TimeZone timeZone, boolean needRounding, int unit, int roundDown, boolean useLocalTimestamp, long ts) { String timestampHeader = null; try { if (!useLocalTimestamp) { timestampHead...
public class class_name { protected static String replaceShorthand(char c, Map<String, String> headers, TimeZone timeZone, boolean needRounding, int unit, int roundDown, boolean useLocalTimestamp, long ts) { String timestampHeader = null; try { if (!useLocalTimestamp) { timestampHead...
public class class_name { public boolean isTypeMatch(String commandId, Class targetType) { Assert.notNull(commandId, "commandId"); Assert.notNull(targetType, "targetType"); Class commandType = getType(commandId); if (commandType == null) { return f...
public class class_name { public boolean isTypeMatch(String commandId, Class targetType) { Assert.notNull(commandId, "commandId"); Assert.notNull(targetType, "targetType"); Class commandType = getType(commandId); if (commandType == null) { return f...
public class class_name { public static int page(String page, int maxValue) { if (StringUtils.isBlank(page)) { return DEFAULT_MIN_PAGE; } int parseInt = NumUtils.intVal(page); return parseInt <= 0 ? DEFAULT_MIN_PAGE : (parseInt > maxValue ? maxValue : parseInt); } }
public class class_name { public static int page(String page, int maxValue) { if (StringUtils.isBlank(page)) { return DEFAULT_MIN_PAGE; // depends on control dependency: [if], data = [none] } int parseInt = NumUtils.intVal(page); return parseInt <= 0 ? DEFAULT_MIN_PAGE : (pa...
public class class_name { @Override public void delete() { final FedoraResource description = getDescription(); if (description != null) { description.delete(); } super.delete(); } }
public class class_name { @Override public void delete() { final FedoraResource description = getDescription(); if (description != null) { description.delete(); // depends on control dependency: [if], data = [none] } super.delete(); } }
public class class_name { public void putInvalidHaltsOnRoads(BusItineraryHalt... restrictionList) { // CAUTION: The connections must be buffered to avoid ConcurrentModificationException on this.invalidHalts final List<Triplet<BusItineraryHalt, Integer, Double>> connectableHalts = new ArrayList<>(); for (final B...
public class class_name { public void putInvalidHaltsOnRoads(BusItineraryHalt... restrictionList) { // CAUTION: The connections must be buffered to avoid ConcurrentModificationException on this.invalidHalts final List<Triplet<BusItineraryHalt, Integer, Double>> connectableHalts = new ArrayList<>(); for (final B...
public class class_name { private String getValueTypeDotString() { PlanNodeType pnt = getPlanNodeType(); if (isInline()) { return "fontcolor=\"white\" style=\"filled\" fillcolor=\"red\""; } if (pnt == PlanNodeType.SEND || pnt == PlanNodeType.RECEIVE || pnt == PlanNodeType.ME...
public class class_name { private String getValueTypeDotString() { PlanNodeType pnt = getPlanNodeType(); if (isInline()) { return "fontcolor=\"white\" style=\"filled\" fillcolor=\"red\""; // depends on control dependency: [if], data = [none] } if (pnt == PlanNodeType.SEND ||...
public class class_name { public void getValue(String[] valueDestination) { if ( valueDestination.length < value.size()) { Log.e(TAG, "X3D MFString ArrayIndexOutOfBoundsException"); Log.e(TAG, "array size " + valueDestination.length + " < MFString value.size = " + size() ); } ...
public class class_name { public void getValue(String[] valueDestination) { if ( valueDestination.length < value.size()) { Log.e(TAG, "X3D MFString ArrayIndexOutOfBoundsException"); // depends on control dependency: [if], data = [none] Log.e(TAG, "array size " + valueDestination.length + " ...
public class class_name { private Object setAutoIncrementValue(FieldDescriptor fd, Object obj) { PersistentField f = fd.getPersistentField(); try { // lookup SeqMan for a value matching db column an Object result = m_broker.serviceSequenceManager().getUniqueVal...
public class class_name { private Object setAutoIncrementValue(FieldDescriptor fd, Object obj) { PersistentField f = fd.getPersistentField(); try { // lookup SeqMan for a value matching db column an Object result = m_broker.serviceSequenceManager().getUniqueVal...
public class class_name { @Override public List<? extends SatConstraint> buildConstraint(BtrPlaceTree t, List<BtrpOperand> args) { if (checkConformance(t, args)) { @SuppressWarnings("unchecked") List<VM> vms = (List<VM>) params[0].transform(this, t, args.get(0)); @SuppressWarn...
public class class_name { @Override public List<? extends SatConstraint> buildConstraint(BtrPlaceTree t, List<BtrpOperand> args) { if (checkConformance(t, args)) { @SuppressWarnings("unchecked") List<VM> vms = (List<VM>) params[0].transform(this, t, args.get(0)); @SuppressWarn...
public class class_name { public static boolean nameEquals( final XMLStreamReader reader, final String namespace, final String localName) { if (!reader.getLocalName().equals(localName)) { return false; } if (namespace == null) { return...
public class class_name { public static boolean nameEquals( final XMLStreamReader reader, final String namespace, final String localName) { if (!reader.getLocalName().equals(localName)) { return false; // depends on control dependency: [if], data = [none] ...
public class class_name { public boolean createResource(String resource, InputStream is, boolean overwrite) throws Exception { boolean res = true; if (!overwrite) { try { if (queryProperties(resource) != null) { res = false; } ...
public class class_name { public boolean createResource(String resource, InputStream is, boolean overwrite) throws Exception { boolean res = true; if (!overwrite) { try { if (queryProperties(resource) != null) { res = false; // depends on control dependen...
public class class_name { public String getAuthority() { String userInfo = getUserInfo(); StringBuilder auth = new StringBuilder(); if(!"*".equals(userInfo)) { auth.append(userInfo).append("@"); } auth.append('@').append(host).append(':').append(port); return...
public class class_name { public String getAuthority() { String userInfo = getUserInfo(); StringBuilder auth = new StringBuilder(); if(!"*".equals(userInfo)) { auth.append(userInfo).append("@"); // depends on control dependency: [if], data = [none] } auth.append('@')...
public class class_name { public boolean setPropertyValue(String propName, String value) { if (OVERRIDE_ACTIVE) { return true; } System.setProperty(propName, value); return true; } }
public class class_name { public boolean setPropertyValue(String propName, String value) { if (OVERRIDE_ACTIVE) { return true; // depends on control dependency: [if], data = [none] } System.setProperty(propName, value); return true; } }
public class class_name { @Override public void saveChanges() { BatchOperation saveChangeOperation = new BatchOperation(this); try (BatchCommand command = saveChangeOperation.createRequest()) { if (command == null) { return; } if (noTracking) { ...
public class class_name { @Override public void saveChanges() { BatchOperation saveChangeOperation = new BatchOperation(this); try (BatchCommand command = saveChangeOperation.createRequest()) { if (command == null) { return; // depends on control dependency: [if], data ...
public class class_name { private void sortByLocation() { this.sresList.setComparator(new ViewerComparator() { @Override public int compare(Viewer viewer, Object e1, Object e2) { if ((e1 instanceof ISREInstall) && (e2 instanceof ISREInstall)) { final ISREInstall left = (ISREInstall) e1; final ISR...
public class class_name { private void sortByLocation() { this.sresList.setComparator(new ViewerComparator() { @Override public int compare(Viewer viewer, Object e1, Object e2) { if ((e1 instanceof ISREInstall) && (e2 instanceof ISREInstall)) { final ISREInstall left = (ISREInstall) e1; final ISR...
public class class_name { private void setBatchSize(Object value) { if (value instanceof Integer) { this.couchDBClient.setBatchSize((Integer) value); } else if (value instanceof String) { this.couchDBClient.setBatchSize(Integer.valueOf((String) value)...
public class class_name { private void setBatchSize(Object value) { if (value instanceof Integer) { this.couchDBClient.setBatchSize((Integer) value); // depends on control dependency: [if], data = [none] } else if (value instanceof String) { this.couc...
public class class_name { public ListPipelineExecutionsResult withPipelineExecutionSummaries(PipelineExecutionSummary... pipelineExecutionSummaries) { if (this.pipelineExecutionSummaries == null) { setPipelineExecutionSummaries(new java.util.ArrayList<PipelineExecutionSummary>(pipelineExecutionSumm...
public class class_name { public ListPipelineExecutionsResult withPipelineExecutionSummaries(PipelineExecutionSummary... pipelineExecutionSummaries) { if (this.pipelineExecutionSummaries == null) { setPipelineExecutionSummaries(new java.util.ArrayList<PipelineExecutionSummary>(pipelineExecutionSumm...
public class class_name { private Set<String> readAparCsvFromArchiveInstall(File installLocation, CommandConsole console) throws ZipException, IOException { // Archive means the CSV will be in a zip within the zip, will need to iterate the content of the install ZIP to find files that match the right pattern ...
public class class_name { private Set<String> readAparCsvFromArchiveInstall(File installLocation, CommandConsole console) throws ZipException, IOException { // Archive means the CSV will be in a zip within the zip, will need to iterate the content of the install ZIP to find files that match the right pattern ...
public class class_name { public void marshall(UpdateAgentRequest updateAgentRequest, ProtocolMarshaller protocolMarshaller) { if (updateAgentRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { public void marshall(UpdateAgentRequest updateAgentRequest, ProtocolMarshaller protocolMarshaller) { if (updateAgentRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { @Override public void setHeaders(Map<String, String> headers) { if (headers == null || headers.isEmpty()) { this._headers = null; } else { if (this._headers == null) { this._headers = new HashMap<String, String>(headers); ...
public class class_name { @Override public void setHeaders(Map<String, String> headers) { if (headers == null || headers.isEmpty()) { this._headers = null; // depends on control dependency: [if], data = [none] } else { if (this._headers == null) { this._heade...
public class class_name { public Object lookup(Identity oid) { Object ret = null; if (oid != null) { ObjectCache cache = getCache(oid, null, METHOD_LOOKUP); if (cache != null) { ret = cache.lookup(oid); } } ...
public class class_name { public Object lookup(Identity oid) { Object ret = null; if (oid != null) { ObjectCache cache = getCache(oid, null, METHOD_LOOKUP); if (cache != null) { ret = cache.lookup(oid); // depends on control depen...
public class class_name { @Nullable public static StackTraceElement findCallerOf(Class<?> target, Throwable throwable, int skip) { checkNotNull(target, "target"); checkNotNull(throwable, "throwable"); if (skip < 0) { throw new IllegalArgumentException("skip count cannot be negative: " + skip); ...
public class class_name { @Nullable public static StackTraceElement findCallerOf(Class<?> target, Throwable throwable, int skip) { checkNotNull(target, "target"); checkNotNull(throwable, "throwable"); if (skip < 0) { throw new IllegalArgumentException("skip count cannot be negative: " + skip); ...
public class class_name { @Override public void rebuildModifiedBundles() { List<JoinableResourceBundle> bundlesToRebuild = rsHandler.getBundlesToRebuild(); for (JoinableResourceBundle bundle : bundlesToRebuild) { ResourceBundlePathsIterator bundlePaths = this.getBundlePaths(bundle.getId(), new NoCommentCallbac...
public class class_name { @Override public void rebuildModifiedBundles() { List<JoinableResourceBundle> bundlesToRebuild = rsHandler.getBundlesToRebuild(); for (JoinableResourceBundle bundle : bundlesToRebuild) { ResourceBundlePathsIterator bundlePaths = this.getBundlePaths(bundle.getId(), new NoCommentCallbac...
public class class_name { @Override public void publish(Event event) { // Check state if (status.get() == STATUS_STOPPED) { return; } // Connected if (event instanceof ConnectedEvent) { if (status.compareAndSet(STATUS_CONNECTING, STATUS_CONNECTED)) { // Redis connection is Ok l...
public class class_name { @Override public void publish(Event event) { // Check state if (status.get() == STATUS_STOPPED) { return; // depends on control dependency: [if], data = [none] } // Connected if (event instanceof ConnectedEvent) { if (status.compareAndSet(STATUS_CONNECTING, STATUS...
public class class_name { @Override public String asString(Object object) { // at this point object is a Date Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("GMT")); calendar.setTime((Date) object); StringBuilder builder = new StringBuilder(); int year = calendar.get(Calendar.YEAR...
public class class_name { @Override public String asString(Object object) { // at this point object is a Date Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("GMT")); calendar.setTime((Date) object); StringBuilder builder = new StringBuilder(); int year = calendar.get(Calendar.YEAR...
public class class_name { public void startOnInit(Result<I> result) { DeployFactory2<I> builder = builder(); if (builder == null) { result.ok(null); return; } if (! _lifecycle.toInit()) { result.ok(get()); return; } _strategy.startOnInit(this, resul...
public class class_name { public void startOnInit(Result<I> result) { DeployFactory2<I> builder = builder(); if (builder == null) { result.ok(null); // depends on control dependency: [if], data = [null)] return; // depends on control dependency: [if], data = [none] } if (! ...
public class class_name { public boolean isForwarded() { Iterator<A_CmsListDialog> i = m_wps.iterator(); while (i.hasNext()) { A_CmsListDialog wp = i.next(); if (wp.isForwarded()) { return true; } } return false; } }
public class class_name { public boolean isForwarded() { Iterator<A_CmsListDialog> i = m_wps.iterator(); while (i.hasNext()) { A_CmsListDialog wp = i.next(); if (wp.isForwarded()) { return true; // depends on control dependency: [if], data = [none] }...
public class class_name { private void handleRelease() { float speed = Math.max(dragHelper.getDragSpeed(), animationSpeed); if (getTopMargin() > initialMargin || (dragHelper.getDragSpeed() > animationSpeed && dragHelper.getDragDistance() > 0) || (getDeviceType(getContex...
public class class_name { private void handleRelease() { float speed = Math.max(dragHelper.getDragSpeed(), animationSpeed); if (getTopMargin() > initialMargin || (dragHelper.getDragSpeed() > animationSpeed && dragHelper.getDragDistance() > 0) || (getDeviceType(getContex...
public class class_name { @PostMapping(value = "/attributeMapping/semanticsearch", consumes = APPLICATION_JSON_VALUE) @ResponseBody public List<ExplainedAttributeDto> getSemanticSearchAttributeMapping( @RequestBody Map<String, String> requestBody) { String mappingProjectId = requestBody.get("mappingProje...
public class class_name { @PostMapping(value = "/attributeMapping/semanticsearch", consumes = APPLICATION_JSON_VALUE) @ResponseBody public List<ExplainedAttributeDto> getSemanticSearchAttributeMapping( @RequestBody Map<String, String> requestBody) { String mappingProjectId = requestBody.get("mappingProje...
public class class_name { public static Geometry reverse(Geometry geometry) { if (geometry == null) { return null; } if (geometry instanceof MultiPoint) { return reverseMultiPoint((MultiPoint) geometry); } return geometry.reverse(); } }
public class class_name { public static Geometry reverse(Geometry geometry) { if (geometry == null) { return null; // depends on control dependency: [if], data = [none] } if (geometry instanceof MultiPoint) { return reverseMultiPoint((MultiPoint) geometry); // depends on...
public class class_name { public Form createFormContainer(Form formParam) { if(formParam != null && this.serviceTicket != null) { formParam.setServiceTicket(this.serviceTicket); } return new Form(this.putJson( formParam, WS.Path.FormContainer.Version1.formContainerC...
public class class_name { public Form createFormContainer(Form formParam) { if(formParam != null && this.serviceTicket != null) { formParam.setServiceTicket(this.serviceTicket); // depends on control dependency: [if], data = [none] } return new Form(this.putJson( fo...
public class class_name { public static ReseedingSecureRandom create(SecureRandom seeder) { try { return new ReseedingSecureRandom(seeder, SecureRandom.getInstance("SHA1PRNG"), 1 << 30, 55); } catch (NoSuchAlgorithmException e) { throw new IllegalStateException("SHA1PRNG must exist in every Java platform imp...
public class class_name { public static ReseedingSecureRandom create(SecureRandom seeder) { try { return new ReseedingSecureRandom(seeder, SecureRandom.getInstance("SHA1PRNG"), 1 << 30, 55); // depends on control dependency: [try], data = [none] } catch (NoSuchAlgorithmException e) { throw new IllegalStateEx...
public class class_name { public UrlStringBuilder addPath(String... elements) { Validate.noNullElements(elements, "elements cannot be null"); for (final String element : elements) { this.path.add(element); } return this; } }
public class class_name { public UrlStringBuilder addPath(String... elements) { Validate.noNullElements(elements, "elements cannot be null"); for (final String element : elements) { this.path.add(element); // depends on control dependency: [for], data = [element] } return t...
public class class_name { @Override public Collection<Realm> getRealms() { ArrayList<Realm> rss = new ArrayList<Realm>(); Set<String> keys = new HashSet<String>(this.realmNameToRealmSet.keySet()); for (String key : keys) { RealmSet rs = this.realmNameToRealmSet.get(key); rss.addAll(rs...
public class class_name { @Override public Collection<Realm> getRealms() { ArrayList<Realm> rss = new ArrayList<Realm>(); Set<String> keys = new HashSet<String>(this.realmNameToRealmSet.keySet()); for (String key : keys) { RealmSet rs = this.realmNameToRealmSet.get(key); rss.addAll(rs...
public class class_name { public boolean shrink(int maxCapacity) { if (maxCapacity >= array.length) { return false; } array = Arrays.copyOf(array, maxCapacity); return true; } }
public class class_name { public boolean shrink(int maxCapacity) { if (maxCapacity >= array.length) { return false; // depends on control dependency: [if], data = [none] } array = Arrays.copyOf(array, maxCapacity); return true; } }
public class class_name { public void setArgs(java.util.Collection<String> args) { if (args == null) { this.args = null; return; } this.args = new com.amazonaws.internal.SdkInternalList<String>(args); } }
public class class_name { public void setArgs(java.util.Collection<String> args) { if (args == null) { this.args = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } this.args = new com.amazonaws.i...
public class class_name { private void getSymmetryAxes(List<Axis> symmAxes, Matrix4d prior, int level, int firstRepeat) { if(level >= getNumLevels() ) { return; } Axis elem = axes.get(level); Matrix4d elemOp = elem.getOperator(); // Current axis: // elementary maps B -> A // prior maps I -> A and J ...
public class class_name { private void getSymmetryAxes(List<Axis> symmAxes, Matrix4d prior, int level, int firstRepeat) { if(level >= getNumLevels() ) { return; // depends on control dependency: [if], data = [none] } Axis elem = axes.get(level); Matrix4d elemOp = elem.getOperator(); // Current axis: /...
public class class_name { public void execute( EnforcerRuleHelper helper ) throws EnforcerRuleException { EnforcerRuleUtils utils = new EnforcerRuleUtils( helper ); MavenProject project; try { project = (MavenProject) helper.evaluate( "${project}" ); ...
public class class_name { public void execute( EnforcerRuleHelper helper ) throws EnforcerRuleException { EnforcerRuleUtils utils = new EnforcerRuleUtils( helper ); MavenProject project; try { project = (MavenProject) helper.evaluate( "${project}" ); ...
public class class_name { public final void sinkEvents(Widget widget, Set<String> typeNames) { if (typeNames == null) { return; } int eventsToSink = 0; for (String typeName : typeNames) { int typeInt = Event.getTypeInt(typeName); if (typeInt < 0) { widget.sinkBitlessEvent(typ...
public class class_name { public final void sinkEvents(Widget widget, Set<String> typeNames) { if (typeNames == null) { return; // depends on control dependency: [if], data = [none] } int eventsToSink = 0; for (String typeName : typeNames) { int typeInt = Event.getTypeInt(typeName); ...
public class class_name { public HttpField remove(HttpHeader name) { HttpField removed = null; for (int i = _size; i-- > 0; ) { HttpField f = _fields[i]; if (f.getHeader() == name) { removed = f; System.arraycopy(_fields, i + 1, _fields, i, --_siz...
public class class_name { public HttpField remove(HttpHeader name) { HttpField removed = null; for (int i = _size; i-- > 0; ) { HttpField f = _fields[i]; if (f.getHeader() == name) { removed = f; // depends on control dependency: [if], data = [none] ...
public class class_name { @Override public void serviceRequest(final Request request) { String triggerId = request.getParameter(WServlet.AJAX_TRIGGER_PARAM_NAME); AjaxOperation ajaxOperation = AjaxHelper.getCurrentOperation(); if (ajaxOperation == null) { throw new IllegalStateException( "No AJAX opera...
public class class_name { @Override public void serviceRequest(final Request request) { String triggerId = request.getParameter(WServlet.AJAX_TRIGGER_PARAM_NAME); AjaxOperation ajaxOperation = AjaxHelper.getCurrentOperation(); if (ajaxOperation == null) { throw new IllegalStateException( "No AJAX opera...
public class class_name { protected HttpClient getHttpClient(){ HttpClientBuilder builder = HttpClientBuilder.create(); if(proxyHost != null && proxyPort != 0) { HttpHost proxy = new HttpHost(proxyHost, proxyPort); DefaultProxyRoutePlanner routePlanner = new DefaultProxyRouteP...
public class class_name { protected HttpClient getHttpClient(){ HttpClientBuilder builder = HttpClientBuilder.create(); if(proxyHost != null && proxyPort != 0) { HttpHost proxy = new HttpHost(proxyHost, proxyPort); DefaultProxyRoutePlanner routePlanner = new DefaultProxyRouteP...
public class class_name { static int hashCodeAsciiSafe(byte[] bytes, int startPos, int length) { int hash = HASH_CODE_ASCII_SEED; final int remainingBytes = length & 7; final int end = startPos + remainingBytes; for (int i = startPos - 8 + length; i >= end; i -= 8) { hash = ...
public class class_name { static int hashCodeAsciiSafe(byte[] bytes, int startPos, int length) { int hash = HASH_CODE_ASCII_SEED; final int remainingBytes = length & 7; final int end = startPos + remainingBytes; for (int i = startPos - 8 + length; i >= end; i -= 8) { hash = ...
public class class_name { public boolean isEmpty() { switch(size()) { case 0: return true; case 1: Element element = (Element) get(0); if (element.type() == Element.CHUNK && ((Chunk) element).isEmpty()) { return true; ...
public class class_name { public boolean isEmpty() { switch(size()) { case 0: return true; case 1: Element element = (Element) get(0); if (element.type() == Element.CHUNK && ((Chunk) element).isEmpty()) { return true; /...
public class class_name { public static List<String> regexGroups(Pattern regex, String str) { if (str == null) { return null; } Matcher matcher = regex.matcher(str); if (!matcher.find()) { return null; } List<String> groups = new ArrayList<String>(); for (int index ...
public class class_name { public static List<String> regexGroups(Pattern regex, String str) { if (str == null) { return null; // depends on control dependency: [if], data = [none] } Matcher matcher = regex.matcher(str); if (!matcher.find()) { return null; // depends on control depe...
public class class_name { protected KeyRecord getKeyRecord (int keyCode) { KeyRecord krec = _keys.get(keyCode); if (krec == null) { krec = new KeyRecord(); _keys.put(keyCode, krec); } return krec; } }
public class class_name { protected KeyRecord getKeyRecord (int keyCode) { KeyRecord krec = _keys.get(keyCode); if (krec == null) { krec = new KeyRecord(); // depends on control dependency: [if], data = [none] _keys.put(keyCode, krec); // depends on control dependency: [if],...
public class class_name { private Transformer createTransformer(boolean indent) { try { Transformer result = this.transformerFactory.newTransformer(); if (indent) { result.setOutputProperty(OutputKeys.INDENT, "yes"); } return result; } catch (TransformerConfigurationException e...
public class class_name { private Transformer createTransformer(boolean indent) { try { Transformer result = this.transformerFactory.newTransformer(); if (indent) { result.setOutputProperty(OutputKeys.INDENT, "yes"); // depends on control dependency: [if], data = [none] } return re...
public class class_name { public static RuntimeException multiple(Throwable... throwables) { CompositeException multiple = new CompositeException(); //noinspection ConstantConditions if (throwables != null) { for (Throwable t : throwables) { //this is ok, multiple is always a new non-singleton instance ...
public class class_name { public static RuntimeException multiple(Throwable... throwables) { CompositeException multiple = new CompositeException(); //noinspection ConstantConditions if (throwables != null) { for (Throwable t : throwables) { //this is ok, multiple is always a new non-singleton instance ...
public class class_name { private static String extendRepeating(String e, String max) { String[] parts = e.split(","); for (int i = 0; i < parts.length; ++i) { if (parts[i].indexOf('-') == -1 && parts[i].indexOf('*') == -1) { int indSlash = parts[i].indexOf('/'); if (indSlash == 0) { parts[i]...
public class class_name { private static String extendRepeating(String e, String max) { String[] parts = e.split(","); for (int i = 0; i < parts.length; ++i) { if (parts[i].indexOf('-') == -1 && parts[i].indexOf('*') == -1) { int indSlash = parts[i].indexOf('/'); if (indSlash == 0) { parts[i]...
public class class_name { public boolean isConstraintError(SQLException e) { if (e != null) { String sqlstate = e.getSQLState(); if (sqlstate != null) { return sqlstate.startsWith(SQLSTATE_CONSTRAINT_VIOLATION_CLASS_CODE); } } return fa...
public class class_name { public boolean isConstraintError(SQLException e) { if (e != null) { String sqlstate = e.getSQLState(); if (sqlstate != null) { return sqlstate.startsWith(SQLSTATE_CONSTRAINT_VIOLATION_CLASS_CODE); // depends on control dependency: [if], dat...
public class class_name { public Set tokens() { if (tokenSet == null) { tokenSet = new AbstractSetView() { public long size() throws ObjectManagerException { return directory.size(); } // size(). public Iterator iterator() throws...
public class class_name { public Set tokens() { if (tokenSet == null) { tokenSet = new AbstractSetView() { public long size() throws ObjectManagerException { return directory.size(); } // size(). // depends on control dependency: [if], data = [no...
public class class_name { @Override public ExternalEventAggregationConfiguration exportData(String id) { final ExternalEventAggregationConfiguration externalData = new ExternalEventAggregationConfiguration(); // Copy interval configs final List<ExternalAggregatedIntervalCon...
public class class_name { @Override public ExternalEventAggregationConfiguration exportData(String id) { final ExternalEventAggregationConfiguration externalData = new ExternalEventAggregationConfiguration(); // Copy interval configs final List<ExternalAggregatedIntervalCon...
public class class_name { @SuppressWarnings("unchecked") @Override protected void performValidation(String path, Object value, List<ValidationResult> results) { String name = path != null ? path : "value"; value = ObjectReader.getValue(value); super.performValidation(path, value, results); if (value == nul...
public class class_name { @SuppressWarnings("unchecked") @Override protected void performValidation(String path, Object value, List<ValidationResult> results) { String name = path != null ? path : "value"; value = ObjectReader.getValue(value); super.performValidation(path, value, results); if (value == nul...
public class class_name { public void addPoller(PollRunnable task, long delay, TimeUnit timeUnit) { ScheduledExecutorService service = executor.get(); if (service != null) { service.scheduleWithFixedDelay(task, 0, delay, timeUnit); } else { throw new IllegalStateException( "you must s...
public class class_name { public void addPoller(PollRunnable task, long delay, TimeUnit timeUnit) { ScheduledExecutorService service = executor.get(); if (service != null) { service.scheduleWithFixedDelay(task, 0, delay, timeUnit); // depends on control dependency: [if], data = [none] } else { ...
public class class_name { protected void addObserver (Object obs) { if (_observers == null) { _observers = ObserverList.newFastUnsafe(); } _observers.add(obs); } }
public class class_name { protected void addObserver (Object obs) { if (_observers == null) { _observers = ObserverList.newFastUnsafe(); // depends on control dependency: [if], data = [none] } _observers.add(obs); } }
public class class_name { public CreateIdentityPoolResult withCognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders) { if (this.cognitoIdentityProviders == null) { setCognitoIdentityProviders(new java.util.ArrayList<CognitoIdentityProvider>(cognitoIdentityProviders.length)); ...
public class class_name { public CreateIdentityPoolResult withCognitoIdentityProviders(CognitoIdentityProvider... cognitoIdentityProviders) { if (this.cognitoIdentityProviders == null) { setCognitoIdentityProviders(new java.util.ArrayList<CognitoIdentityProvider>(cognitoIdentityProviders.length)); ...
public class class_name { public List<ClassDoc> implementingclasses(ClassDoc cd) { List<ClassDoc> result = get(implementingclasses, cd); List<ClassDoc> subinterfaces = allSubs(cd, false); //If class x implements a subinterface of cd, then it follows //that class x implements cd. ...
public class class_name { public List<ClassDoc> implementingclasses(ClassDoc cd) { List<ClassDoc> result = get(implementingclasses, cd); List<ClassDoc> subinterfaces = allSubs(cd, false); //If class x implements a subinterface of cd, then it follows //that class x implements cd. ...
public class class_name { @Override public void add(final int arg0, final Object arg1) { eagerlyLoadDataCollection(); List dataList = (List) dataCollection; if(dataList == null) { dataList = new ArrayList(); } if (arg1 != null && !dataList.contains(...
public class class_name { @Override public void add(final int arg0, final Object arg1) { eagerlyLoadDataCollection(); List dataList = (List) dataCollection; if(dataList == null) { dataList = new ArrayList(); // depends on control dependency: [if], data = [none] ...
public class class_name { protected final Color getComponentColor(JComponent c, String property, Color defaultColor, float saturationOffset, float brightnessOffset, int alphaOffset) { Color color = null; if (c != null) { // handle some special cases for performance ...
public class class_name { protected final Color getComponentColor(JComponent c, String property, Color defaultColor, float saturationOffset, float brightnessOffset, int alphaOffset) { Color color = null; if (c != null) { // handle some special cases for performance ...
public class class_name { public static void replaceFirst(StringBuffer haystack, String needle, String newNeedle) { int idx = haystack.indexOf(needle); if (idx != -1) { haystack.replace(idx, idx + needle.length(), newNeedle); } } }
public class class_name { public static void replaceFirst(StringBuffer haystack, String needle, String newNeedle) { int idx = haystack.indexOf(needle); if (idx != -1) { haystack.replace(idx, idx + needle.length(), newNeedle); // depends on control dependency: [if], data = [(idx] } } }
public class class_name { @SuppressWarnings("unchecked") public static <ReturnType> Collection<ReturnType> query(Query queryObj, RegionFunctionContext rfc, Object... params) throws FunctionDomainException, TypeMismatchException, NameResolutionException, QueryInvocationTargetException { SelectResults<ReturnType> s...
public class class_name { @SuppressWarnings("unchecked") public static <ReturnType> Collection<ReturnType> query(Query queryObj, RegionFunctionContext rfc, Object... params) throws FunctionDomainException, TypeMismatchException, NameResolutionException, QueryInvocationTargetException { SelectResults<ReturnType> s...
public class class_name { public static boolean isProjectSource(Resource r) { try { String file = r.getURL().getFile(); return isProjectSource(file) || file.endsWith("GrailsPlugin.groovy"); } catch (IOException e) { return false; } } }
public class class_name { public static boolean isProjectSource(Resource r) { try { String file = r.getURL().getFile(); return isProjectSource(file) || file.endsWith("GrailsPlugin.groovy"); // depends on control dependency: [try], data = [none] } catch (IOException e) { ...
public class class_name { @Override public boolean toBoolean(Object val) { if (val == null) { controlNullOperand(); return false; } else if (val instanceof Boolean) { return (Boolean) val; } else if (val instanceof Number) { double number = to...
public class class_name { @Override public boolean toBoolean(Object val) { if (val == null) { controlNullOperand(); // depends on control dependency: [if], data = [none] return false; // depends on control dependency: [if], data = [none] } else if (val instanceof Boolean) { ...
public class class_name { public static UserGroupInformation setupProxyUser(Properties jobProps, String tokenFile, Logger log) { UserGroupInformation proxyUser = null; if (!HadoopSecureWrapperUtils.shouldProxy(jobProps)) { log.info("submitting job as original submitter, not proxying"); retur...
public class class_name { public static UserGroupInformation setupProxyUser(Properties jobProps, String tokenFile, Logger log) { UserGroupInformation proxyUser = null; if (!HadoopSecureWrapperUtils.shouldProxy(jobProps)) { log.info("submitting job as original submitter, not proxying"); // depends ...
public class class_name { private void processActivities(Storepoint phoenixProject) { final AlphanumComparator comparator = new AlphanumComparator(); List<Activity> activities = phoenixProject.getActivities().getActivity(); Collections.sort(activities, new Comparator<Activity>() { @...
public class class_name { private void processActivities(Storepoint phoenixProject) { final AlphanumComparator comparator = new AlphanumComparator(); List<Activity> activities = phoenixProject.getActivities().getActivity(); Collections.sort(activities, new Comparator<Activity>() { @...
public class class_name { public void drawEmbedded(float x,float y,float width,float height) { init(); if (corners == null) { GL.glTexCoord2f(textureOffsetX, textureOffsetY); GL.glVertex3f(x, y, 0); GL.glTexCoord2f(textureOffsetX, textureOffsetY + textureHeight); GL.glVertex3f(x, y + heigh...
public class class_name { public void drawEmbedded(float x,float y,float width,float height) { init(); if (corners == null) { GL.glTexCoord2f(textureOffsetX, textureOffsetY); // depends on control dependency: [if], data = [none] GL.glVertex3f(x, y, 0); // depends on control dependency: [if], data...
public class class_name { public short getRequstURIPath(String prefix, short defvalue) { String val = getRequstURIPath(prefix, null); try { return val == null ? defvalue : Short.parseShort(val); } catch (NumberFormatException e) { return defvalue; } } ...
public class class_name { public short getRequstURIPath(String prefix, short defvalue) { String val = getRequstURIPath(prefix, null); try { return val == null ? defvalue : Short.parseShort(val); // depends on control dependency: [try], data = [none] } catch (NumberFormatExceptio...
public class class_name { public static String createResource( CmsObject cmsObject, String newLink, Locale locale, String sitePath, String modelFileName, String mode, String postCreateHandler) { String[] newLinkParts = newLink.split("\\|"); Strin...
public class class_name { public static String createResource( CmsObject cmsObject, String newLink, Locale locale, String sitePath, String modelFileName, String mode, String postCreateHandler) { String[] newLinkParts = newLink.split("\\|"); Strin...
public class class_name { public static void divide(DMatrixD1 a , double alpha) { final int size = a.getNumElements(); for( int i = 0; i < size; i++ ) { a.data[i] /= alpha; } } }
public class class_name { public static void divide(DMatrixD1 a , double alpha) { final int size = a.getNumElements(); for( int i = 0; i < size; i++ ) { a.data[i] /= alpha; // depends on control dependency: [for], data = [i] } } }
public class class_name { public void log(Log log) { log.info("Counters: " + size()); for(Group group: this) { log.info(" " + group.getDisplayName()); for (Counter counter: group) { log.info(" " + counter.getDisplayName() + "=" + counter.getCounter()); } }...
public class class_name { public void log(Log log) { log.info("Counters: " + size()); for(Group group: this) { log.info(" " + group.getDisplayName()); // depends on control dependency: [for], data = [group] for (Counter counter: group) { log.info(" " + counter.getDisplayName() + "=" + ...
public class class_name { @Override public VirtualConnectionFactory getOutboundVCFactory() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "getOutboundVCFactory"); } // Handle case where existing vcf has been destroyed. if (vcf != null)...
public class class_name { @Override public VirtualConnectionFactory getOutboundVCFactory() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "getOutboundVCFactory"); // depends on control dependency: [if], data = [none] } // Handle case where exi...
public class class_name { private void copyResources(File outputDirectory) throws IOException { copyClasspathResource(outputDirectory, "reportng.css", "reportng.css"); copyClasspathResource(outputDirectory, "reportng.js", "reportng.js"); // If there is a custom stylesheet, copy that. ...
public class class_name { private void copyResources(File outputDirectory) throws IOException { copyClasspathResource(outputDirectory, "reportng.css", "reportng.css"); copyClasspathResource(outputDirectory, "reportng.js", "reportng.js"); // If there is a custom stylesheet, copy that. ...
public class class_name { public static <T> Collection<T> intersect(Collection<T> first, Collection<T> second) { E.checkNotNull(first, "first"); E.checkNotNull(second, "second"); HashSet<T> results = null; if (first instanceof HashSet) { ...
public class class_name { public static <T> Collection<T> intersect(Collection<T> first, Collection<T> second) { E.checkNotNull(first, "first"); E.checkNotNull(second, "second"); HashSet<T> results = null; if (first instanceof HashSet) { ...