code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public int getSpanStart(Object what) { int count = mSpanCount; Object[] spans = mSpans; for (int i = count - 1; i >= 0; i--) { if (spans[i] == what) { int where = mSpanStarts[i]; if (where > mGapStart) w...
public class class_name { public int getSpanStart(Object what) { int count = mSpanCount; Object[] spans = mSpans; for (int i = count - 1; i >= 0; i--) { if (spans[i] == what) { int where = mSpanStarts[i]; if (where > mGapStart) w...
public class class_name { private void handleVideoRequest(final Request request) { String videoRequested = request.getParameter(VIDEO_INDEX_REQUEST_PARAM_KEY); int videoFileIndex = 0; try { videoFileIndex = Integer.parseInt(videoRequested); } catch (NumberFormatException e) { LOG.error("Failed to parse ...
public class class_name { private void handleVideoRequest(final Request request) { String videoRequested = request.getParameter(VIDEO_INDEX_REQUEST_PARAM_KEY); int videoFileIndex = 0; try { videoFileIndex = Integer.parseInt(videoRequested); // depends on control dependency: [try], data = [none] } catch (Nu...
public class class_name { public ManagedObject injectAndPostConstruct(final Object target) throws InjectionException { final String METHOD_NAME="injectAndPostConstruct"; if (TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) { logger.entering(CLASS_NAME, METHOD_NAME...
public class class_name { public ManagedObject injectAndPostConstruct(final Object target) throws InjectionException { final String METHOD_NAME="injectAndPostConstruct"; if (TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) { logger.entering(CLASS_NAME, METHOD_NAME...
public class class_name { public void addTag(TagValue tag) { //int pos = 0; //while (pos < tags.size() && tags.get(pos).getId() < tag.getId()) pos++; //tags.add(pos, tag); tags.add(tag); if (!hashTagsId.containsKey(tag.getId())) { hashTagsId.put(tag.getId(), tag); } Tag t = TiffTags.g...
public class class_name { public void addTag(TagValue tag) { //int pos = 0; //while (pos < tags.size() && tags.get(pos).getId() < tag.getId()) pos++; //tags.add(pos, tag); tags.add(tag); if (!hashTagsId.containsKey(tag.getId())) { hashTagsId.put(tag.getId(), tag); // depends on control depend...
public class class_name { String getPrefix (String uri) { if (uriTable == null) { return null; } else { return (String)uriTable.get(uri); } } }
public class class_name { String getPrefix (String uri) { if (uriTable == null) { return null; // depends on control dependency: [if], data = [none] } else { return (String)uriTable.get(uri); // depends on control dependency: [if], data = [none] } } }
public class class_name { private void obtainStyledAttributes(@Nullable final AttributeSet attributeSet, @AttrRes final int defaultStyle, @StyleRes final int defaultStyleResource) { TypedArray typedArray = getContext() ...
public class class_name { private void obtainStyledAttributes(@Nullable final AttributeSet attributeSet, @AttrRes final int defaultStyle, @StyleRes final int defaultStyleResource) { TypedArray typedArray = getContext() ...
public class class_name { public static void incrementOtherOperationsCount(MapService service, String mapName) { MapServiceContext mapServiceContext = service.getMapServiceContext(); MapContainer mapContainer = mapServiceContext.getMapContainer(mapName); if (mapContainer.getMapConfig().isStatis...
public class class_name { public static void incrementOtherOperationsCount(MapService service, String mapName) { MapServiceContext mapServiceContext = service.getMapServiceContext(); MapContainer mapContainer = mapServiceContext.getMapContainer(mapName); if (mapContainer.getMapConfig().isStatis...
public class class_name { public void startcteInutilizacaoCT(final com.fincatto.documentofiscal.cte300.webservices.inutilizacao.CteInutilizacaoStub.CteDadosMsg cteDadosMsg0, final com.fincatto.documentofiscal.cte300.webservices.inutilizacao.CteInutilizacaoStub.CteCabecMsgE cteCabecMsg1, final com.fincatto.documentofis...
public class class_name { public void startcteInutilizacaoCT(final com.fincatto.documentofiscal.cte300.webservices.inutilizacao.CteInutilizacaoStub.CteDadosMsg cteDadosMsg0, final com.fincatto.documentofiscal.cte300.webservices.inutilizacao.CteInutilizacaoStub.CteCabecMsgE cteCabecMsg1, final com.fincatto.documentofis...
public class class_name { private void initializeDrawableForDisplay(Drawable d) { if (mBlockInvalidateCallback == null) { mBlockInvalidateCallback = new BlockInvalidateCallback(); } // Temporary fix for suspending callbacks during initialization. We // don't want any of thes...
public class class_name { private void initializeDrawableForDisplay(Drawable d) { if (mBlockInvalidateCallback == null) { mBlockInvalidateCallback = new BlockInvalidateCallback(); // depends on control dependency: [if], data = [none] } // Temporary fix for suspending callbacks durin...
public class class_name { public void afterCompletion(int status) { for (DeferredEventNotification<?> notification : notifications) { if (!notification.isBefore() && notification.getStatus().matches(status)) { notification.run(); } } } }
public class class_name { public void afterCompletion(int status) { for (DeferredEventNotification<?> notification : notifications) { if (!notification.isBefore() && notification.getStatus().matches(status)) { notification.run(); // depends on control dependency: [if], data = [none]...
public class class_name { static public void substitute(StringBuilder sbuff, String match, String subst) { int pos, fromIndex = 0; int substLen = subst.length(); int matchLen = match.length(); while (0 <= (pos = sbuff.indexOf(match, fromIndex))) { sbuff.replace(pos, pos + matchLen, subst); ...
public class class_name { static public void substitute(StringBuilder sbuff, String match, String subst) { int pos, fromIndex = 0; int substLen = subst.length(); int matchLen = match.length(); while (0 <= (pos = sbuff.indexOf(match, fromIndex))) { sbuff.replace(pos, pos + matchLen, subst); ...
public class class_name { protected static Integer parseOptionalIntValue(JSONObject json, String key) { try { return Integer.valueOf(json.getInt(key)); } catch (JSONException e) { LOG.info(Messages.get().getBundle().key(Messages.LOG_OPTIONAL_INTEGER_MISSING_1, key), e); ...
public class class_name { protected static Integer parseOptionalIntValue(JSONObject json, String key) { try { return Integer.valueOf(json.getInt(key)); // depends on control dependency: [try], data = [none] } catch (JSONException e) { LOG.info(Messages.get().getBundle().key(Mes...
public class class_name { public void marshall(RaidArray raidArray, ProtocolMarshaller protocolMarshaller) { if (raidArray == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(raidArray.getRaidArrayId(...
public class class_name { public void marshall(RaidArray raidArray, ProtocolMarshaller protocolMarshaller) { if (raidArray == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(raidArray.getRaidArrayId(...
public class class_name { AddIfStartupLeader addIfStartupLeader(Object... objects) { if (addIfStartupLeader == null) { this.addIfStartupLeader = new AddIfStartupLeader(getWebServer().isStartupLeader()); } addIfStartupLeader.ifAdd(objects); return addIfStartupLeader; } }
public class class_name { AddIfStartupLeader addIfStartupLeader(Object... objects) { if (addIfStartupLeader == null) { this.addIfStartupLeader = new AddIfStartupLeader(getWebServer().isStartupLeader()); // depends on control dependency: [if], data = [none] } addIfStartupLeader.ifAdd(objects); ret...
public class class_name { @Override public int cancel(String pattern, Character escape, TaskState state, boolean inState) { String owner = getOwner(); if (owner == null) return 0; pattern = pattern == null ? null : Utils.normalizeString(pattern); int updateCount = 0; ...
public class class_name { @Override public int cancel(String pattern, Character escape, TaskState state, boolean inState) { String owner = getOwner(); if (owner == null) return 0; pattern = pattern == null ? null : Utils.normalizeString(pattern); int updateCount = 0; ...
public class class_name { private void saveProperties(String resourcePath, Map<String, String> properties) throws CmsException { CmsResource resource; CmsObject cms = getCmsObject(); int pos = resourcePath.indexOf("?"); String resName = resourcePath; if (pos > -1) { ...
public class class_name { private void saveProperties(String resourcePath, Map<String, String> properties) throws CmsException { CmsResource resource; CmsObject cms = getCmsObject(); int pos = resourcePath.indexOf("?"); String resName = resourcePath; if (pos > -1) { ...
public class class_name { protected String getJWTFromCookie(HttpServletRequest req) { String serializedJWT = null; Cookie[] cookies = req.getCookies(); if (cookieName != null && cookies != null) { for (Cookie cookie : cookies) { if (cookieName.equals(cookie.getName()...
public class class_name { protected String getJWTFromCookie(HttpServletRequest req) { String serializedJWT = null; Cookie[] cookies = req.getCookies(); if (cookieName != null && cookies != null) { for (Cookie cookie : cookies) { if (cookieName.equals(cookie.getName()...
public class class_name { public static Object[] toArray(List list) { Object[] result; int size = list.size(); if (size == 0) { result = NoArguments; } else { result = getObjectArrayPool().create(list.size()); for (int i = 0; i < size; i++) { ...
public class class_name { public static Object[] toArray(List list) { Object[] result; int size = list.size(); if (size == 0) { result = NoArguments; // depends on control dependency: [if], data = [none] } else { result = getObjectArrayPool().create(list.siz...
public class class_name { protected boolean doesCommonContentMatch(final CommonContent commonContent, final CSNodeWrapper node, boolean matchContent) { if (!node.getNodeType().equals(CommonConstants.CS_NODE_COMMON_CONTENT)) return false; // If the unique id is not from the parser, in which case it wil...
public class class_name { protected boolean doesCommonContentMatch(final CommonContent commonContent, final CSNodeWrapper node, boolean matchContent) { if (!node.getNodeType().equals(CommonConstants.CS_NODE_COMMON_CONTENT)) return false; // If the unique id is not from the parser, in which case it wil...
public class class_name { @Override public void setDecomposition(int decomposition) { checkNotFrozen(); boolean flag; switch(decomposition) { case NO_DECOMPOSITION: flag = false; break; case CANONICAL_DECOMPOSITION: flag = true; ...
public class class_name { @Override public void setDecomposition(int decomposition) { checkNotFrozen(); boolean flag; switch(decomposition) { case NO_DECOMPOSITION: flag = false; break; case CANONICAL_DECOMPOSITION: flag = true; ...
public class class_name { public ManagedConnection matchManagedConnections( final Set potentialMatches, final Subject subject, final ConnectionRequestInfo requestInfo) throws ResourceAdapterInternalException { if (TRACE.isEntryEnabled()) { SibTr.entry(this, TRAC...
public class class_name { public ManagedConnection matchManagedConnections( final Set potentialMatches, final Subject subject, final ConnectionRequestInfo requestInfo) throws ResourceAdapterInternalException { if (TRACE.isEntryEnabled()) { SibTr.entry(this, TRAC...
public class class_name { @Override public String getSourceName(Object source) { if (source instanceof ElementSource) { source = ((ElementSource) source).getDeclaringSource(); } if (source instanceof Method) { source = StackTraceElements.forMember((Method) source); } if (source insta...
public class class_name { @Override public String getSourceName(Object source) { if (source instanceof ElementSource) { source = ((ElementSource) source).getDeclaringSource(); // depends on control dependency: [if], data = [none] } if (source instanceof Method) { source = StackTraceElements.f...
public class class_name { static IDevice obtainRealDevice(AndroidDebugBridge adb, String serial) { // Get an existing real device. for (IDevice adbDevice : adb.getDevices()) { if (adbDevice.getSerialNumber().equals(serial)) { return adbDevice; } } throw new IllegalArgumentException(...
public class class_name { static IDevice obtainRealDevice(AndroidDebugBridge adb, String serial) { // Get an existing real device. for (IDevice adbDevice : adb.getDevices()) { if (adbDevice.getSerialNumber().equals(serial)) { return adbDevice; // depends on control dependency: [if], data = [none]...
public class class_name { static private long computeStrides(int[] shape, int[] stride) { long product = 1; for (int ii = shape.length - 1; ii >= 0; ii--) { final int thisDim = shape[ii]; if (thisDim < 0) continue; // ignore vlen stride[ii] = (int) product; product *= thi...
public class class_name { static private long computeStrides(int[] shape, int[] stride) { long product = 1; for (int ii = shape.length - 1; ii >= 0; ii--) { final int thisDim = shape[ii]; if (thisDim < 0) continue; // ignore vlen stride[ii] = (int) product; // depends on contro...
public class class_name { void constructLinearSystem(List<DMatrixRMaj> homographies, List<List<PointIndex2D_F64>> observations) { // parameters are encoded points first then the int startView = totalFeatures*3; A.reshape(numEquations,numUnknown); DMatrixRMaj H = new DMatrixRMaj(3,3); Point2D_F64 ...
public class class_name { void constructLinearSystem(List<DMatrixRMaj> homographies, List<List<PointIndex2D_F64>> observations) { // parameters are encoded points first then the int startView = totalFeatures*3; A.reshape(numEquations,numUnknown); DMatrixRMaj H = new DMatrixRMaj(3,3); Point2D_F64 ...
public class class_name { public CMAEntry setField(String key, String locale, Object value) { if (fields == null) { fields = new LinkedHashMap<String, LinkedHashMap<String, Object>>(); } LinkedHashMap<String, Object> field = fields.get(key); if (field == null) { field = new LinkedHashMap<S...
public class class_name { public CMAEntry setField(String key, String locale, Object value) { if (fields == null) { fields = new LinkedHashMap<String, LinkedHashMap<String, Object>>(); // depends on control dependency: [if], data = [none] } LinkedHashMap<String, Object> field = fields.get(key); ...
public class class_name { public void distribute(CmsObject cms, List<I_CmsNewsletterRecipient> recipients, I_CmsNewsletter newsletter) { Iterator<I_CmsNewsletterRecipient> recipientsIterator = recipients.iterator(); while (recipientsIterator.hasNext()) { I_CmsNewsletterRecipient recipient ...
public class class_name { public void distribute(CmsObject cms, List<I_CmsNewsletterRecipient> recipients, I_CmsNewsletter newsletter) { Iterator<I_CmsNewsletterRecipient> recipientsIterator = recipients.iterator(); while (recipientsIterator.hasNext()) { I_CmsNewsletterRecipient recipient ...
public class class_name { public static long extractAllDefaultValue(Map<String, Map<String, Long>> targetStats) { Map<String, Long> allTimeMap = targetStats.get(ALLTIME_KEY); if (allTimeMap == null) { return 0L; } Long defaultValue = allTimeMap.get(DEFAULT_KEY)...
public class class_name { public static long extractAllDefaultValue(Map<String, Map<String, Long>> targetStats) { Map<String, Long> allTimeMap = targetStats.get(ALLTIME_KEY); if (allTimeMap == null) { return 0L; // depends on control dependency: [if], data = [none] } ...
public class class_name { public Set<EnumType> getEnumTypes() { Set<EnumType> ret = Sets.newTreeSet(); for (Entity entity : getEntities().getList()) { for (Attribute attribute : entity.getAttributes().getList()) { if (attribute.isEnum()) { ret.add(attribu...
public class class_name { public Set<EnumType> getEnumTypes() { Set<EnumType> ret = Sets.newTreeSet(); for (Entity entity : getEntities().getList()) { for (Attribute attribute : entity.getAttributes().getList()) { if (attribute.isEnum()) { ret.add(attribu...
public class class_name { public static <E> List<E> refineCandidates(final List<E> candidates, final Predicate<? super E> predicate) { if (candidates.size() == 1) { return candidates; } List<E> newCandidates = CollectionUtils.filter(candidates, predicate); if (newCandidates....
public class class_name { public static <E> List<E> refineCandidates(final List<E> candidates, final Predicate<? super E> predicate) { if (candidates.size() == 1) { return candidates; // depends on control dependency: [if], data = [none] } List<E> newCandidates = CollectionUtils.fil...
public class class_name { public static CompletableFuture<MessageSet> getMessagesAroundWhile( TextChannel channel, Predicate<Message> condition, long around) { CompletableFuture<MessageSet> future = new CompletableFuture<>(); channel.getApi().getThreadPool().getExecutorService().submit(() -...
public class class_name { public static CompletableFuture<MessageSet> getMessagesAroundWhile( TextChannel channel, Predicate<Message> condition, long around) { CompletableFuture<MessageSet> future = new CompletableFuture<>(); channel.getApi().getThreadPool().getExecutorService().submit(() -...
public class class_name { public FieldValue evaluate(FieldName name){ Map<FieldName, FieldValue> values = getValues(); FieldValue value = values.getOrDefault(name, EvaluationContext.UNDECLARED_VALUE); if(value != EvaluationContext.UNDECLARED_VALUE){ return value; } return resolve(name); } }
public class class_name { public FieldValue evaluate(FieldName name){ Map<FieldName, FieldValue> values = getValues(); FieldValue value = values.getOrDefault(name, EvaluationContext.UNDECLARED_VALUE); if(value != EvaluationContext.UNDECLARED_VALUE){ return value; // depends on control dependency: [if], data ...
public class class_name { public KamNode resolve(final Kam kam, final KAMStore kAMStore, final String belTerm, Map<String, String> nsmap, Equivalencer equivalencer) throws ResolverException { if (nulls(kam, kAMStore, belTerm, nsmap, equivalencer)) { throw new InvalidArgument...
public class class_name { public KamNode resolve(final Kam kam, final KAMStore kAMStore, final String belTerm, Map<String, String> nsmap, Equivalencer equivalencer) throws ResolverException { if (nulls(kam, kAMStore, belTerm, nsmap, equivalencer)) { throw new InvalidArgument...
public class class_name { public static String getNAFTagSet(final String postag, final String lang) { String tag = null; if (lang.equalsIgnoreCase("de")) { tag = mapGermanCoNLL09TagSetToNAF(postag); } else if (lang.equalsIgnoreCase("en")) { tag = mapEnglishPennTagSetToNAF(postag); } else i...
public class class_name { public static String getNAFTagSet(final String postag, final String lang) { String tag = null; if (lang.equalsIgnoreCase("de")) { tag = mapGermanCoNLL09TagSetToNAF(postag); // depends on control dependency: [if], data = [none] } else if (lang.equalsIgnoreCase("en")) { ...
public class class_name { public void marshall(StopQueryRequest stopQueryRequest, ProtocolMarshaller protocolMarshaller) { if (stopQueryRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(stop...
public class class_name { public void marshall(StopQueryRequest stopQueryRequest, ProtocolMarshaller protocolMarshaller) { if (stopQueryRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(stop...
public class class_name { public final S build() { S vt = createTransition(); markObjectAsModifiabilityFlag(vt); vt.setId(mId); if (mInterpolator != null) { vt.setInterpolator(mInterpolator); } if (mReverse) { vt.reverse(); } retu...
public class class_name { public final S build() { S vt = createTransition(); markObjectAsModifiabilityFlag(vt); vt.setId(mId); if (mInterpolator != null) { vt.setInterpolator(mInterpolator); // depends on control dependency: [if], data = [(mInterpolator] } ...
public class class_name { public void showCompression(Formatter f) { if (mtype != H5header.MessageType.AttributeInfo) { f.format("No fractal heap"); return; } MessageAttributeInfo info = (MessageAttributeInfo) messData; info.showFractalHeap(f); } }
public class class_name { public void showCompression(Formatter f) { if (mtype != H5header.MessageType.AttributeInfo) { f.format("No fractal heap"); // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } MessageAttributeI...
public class class_name { public static Set<String> getClassPaths(String packageName, boolean isDecode) { String packagePath = packageName.replace(StrUtil.DOT, StrUtil.SLASH); Enumeration<URL> resources; try { resources = getClassLoader().getResources(packagePath); } catch (IOException e) { throw n...
public class class_name { public static Set<String> getClassPaths(String packageName, boolean isDecode) { String packagePath = packageName.replace(StrUtil.DOT, StrUtil.SLASH); Enumeration<URL> resources; try { resources = getClassLoader().getResources(packagePath); // depends on control dependency: [try]...
public class class_name { private List<ClasspathElement> findClasspathOrder(final Set<ClasspathElement> uniqueClasspathElements, final Queue<Entry<Integer, ClasspathElement>> toplevelClasspathEltsIndexed) { final List<ClasspathElement> toplevelClasspathEltsOrdered = orderClasspathElements( ...
public class class_name { private List<ClasspathElement> findClasspathOrder(final Set<ClasspathElement> uniqueClasspathElements, final Queue<Entry<Integer, ClasspathElement>> toplevelClasspathEltsIndexed) { final List<ClasspathElement> toplevelClasspathEltsOrdered = orderClasspathElements( ...
public class class_name { public void setEndpointConfig(CommonConfig config) { if (this.config == null) { this.config = config; //setup using provided configuration Map<String, String> epConfProps = config.getProperties(); if (!epConfProps.isEmpty()) { ...
public class class_name { public void setEndpointConfig(CommonConfig config) { if (this.config == null) { this.config = config; // depends on control dependency: [if], data = [none] //setup using provided configuration Map<String, String> epConfProps = config.getProperties(); ...
public class class_name { private void findAfterLocal(Result<Cursor> result, RowCursor cursor, Object []args, Cursor cursorLocal) { long version = 0; if (cursorLocal != null) { version = cursorLocal.getVersio...
public class class_name { private void findAfterLocal(Result<Cursor> result, RowCursor cursor, Object []args, Cursor cursorLocal) { long version = 0; if (cursorLocal != null) { version = cursorLocal.getVersio...
public class class_name { public static Resource getResultResource(final JavaSparkContext sparkContext, final SparkJobContext sparkJobContext) { final HdfsHelper hdfsHelper = new HdfsHelper(sparkContext); URI resultPath = sparkJobContext.getResultPath(); if (resultPath == null) { ...
public class class_name { public static Resource getResultResource(final JavaSparkContext sparkContext, final SparkJobContext sparkJobContext) { final HdfsHelper hdfsHelper = new HdfsHelper(sparkContext); URI resultPath = sparkJobContext.getResultPath(); if (resultPath == null) { ...
public class class_name { private static SortedSet<String> findApplicationPackageNames(ClassLoader cl) { SortedSet<String> packages = new TreeSet<>(); while (cl != null) { if (cl instanceof URLClassLoader) { for (URL url : ((URLClassLoader)cl).getURLs()) { String path = url.getPath(); ...
public class class_name { private static SortedSet<String> findApplicationPackageNames(ClassLoader cl) { SortedSet<String> packages = new TreeSet<>(); while (cl != null) { if (cl instanceof URLClassLoader) { for (URL url : ((URLClassLoader)cl).getURLs()) { String path = url.getPath(); ...
public class class_name { public final String getProxyScript() { StringBuilder buf = new StringBuilder("makeStaplerProxy('").append(getURL()).append("','").append( WebApp.getCurrent().getCrumbIssuer().issueCrumb() ).append("',["); boolean first=true; for (Method m : get...
public class class_name { public final String getProxyScript() { StringBuilder buf = new StringBuilder("makeStaplerProxy('").append(getURL()).append("','").append( WebApp.getCurrent().getCrumbIssuer().issueCrumb() ).append("',["); boolean first=true; for (Method m : get...
public class class_name { public static void addMetadata(final HttpURLConnection request, final Map<String, String> metadata, final OperationContext opContext) { if (metadata != null) { for (final Entry<String, String> entry : metadata.entrySet()) { addMetadata(request, ...
public class class_name { public static void addMetadata(final HttpURLConnection request, final Map<String, String> metadata, final OperationContext opContext) { if (metadata != null) { for (final Entry<String, String> entry : metadata.entrySet()) { addMetadata(request, ...
public class class_name { public void marshall(MetricDimension metricDimension, ProtocolMarshaller protocolMarshaller) { if (metricDimension == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(metricD...
public class class_name { public void marshall(MetricDimension metricDimension, ProtocolMarshaller protocolMarshaller) { if (metricDimension == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(metricD...
public class class_name { @SuppressWarnings("unchecked") private void gatherOneMetric( String metricName, Metrics.MetricPublisherPublishMessage.Builder builder) { Object metricValue = metrics.get(metricName).getValueAndReset(); // Decide how to handle the metric based on type if (metricValue ...
public class class_name { @SuppressWarnings("unchecked") private void gatherOneMetric( String metricName, Metrics.MetricPublisherPublishMessage.Builder builder) { Object metricValue = metrics.get(metricName).getValueAndReset(); // Decide how to handle the metric based on type if (metricValue ...
public class class_name { public void setDisplayName(String displayName) { if (CmsStringUtil.isEmpty(displayName) || (IGNORE_DISPLAY_NAME.equals(displayName))) { m_displayName = null; setDisplayed(false); } else { m_displayName = displayName; m_displayNa...
public class class_name { public void setDisplayName(String displayName) { if (CmsStringUtil.isEmpty(displayName) || (IGNORE_DISPLAY_NAME.equals(displayName))) { m_displayName = null; // depends on control dependency: [if], data = [none] setDisplayed(false); // depends on control depen...
public class class_name { public static long getDateParameter(final ServletRequest pReq, final String pName, final long pDefault) { String str = pReq.getParameter(pName); try { return str != null ? StringUtil.toDate(str).getTime() : pDefault; } catch (IllegalArgumentExc...
public class class_name { public static long getDateParameter(final ServletRequest pReq, final String pName, final long pDefault) { String str = pReq.getParameter(pName); try { return str != null ? StringUtil.toDate(str).getTime() : pDefault; // depends on control dependency: [try], dat...
public class class_name { public void start() { CircuitManager cm = this.stack.getCircuitManager(); long[] channelIDs = cm.getChannelIDs(); this.cic2Circuit.clear(); for (long channelID : channelIDs) { Circuit c = new Circuit(cm.getCIC(channelID), cm.getDPC(channelID), this...
public class class_name { public void start() { CircuitManager cm = this.stack.getCircuitManager(); long[] channelIDs = cm.getChannelIDs(); this.cic2Circuit.clear(); for (long channelID : channelIDs) { Circuit c = new Circuit(cm.getCIC(channelID), cm.getDPC(channelID), this...
public class class_name { protected RangeVariable readTableOrSubquery() { Table table = null; SimpleName alias = null; OrderedHashSet columnList = null; BitMap columnNameQuoted = null; SimpleName[] columnNameList = null; ...
public class class_name { protected RangeVariable readTableOrSubquery() { Table table = null; SimpleName alias = null; OrderedHashSet columnList = null; BitMap columnNameQuoted = null; SimpleName[] columnNameList = null; ...
public class class_name { private static void analyzeCorpus(){ String zipFile = "src/main/resources/corpus/corpora.zip"; LOGGER.info("开始分析语料库"); long start = System.currentTimeMillis(); try{ analyzeCorpus(zipFile); } catch (IOException ex) { ...
public class class_name { private static void analyzeCorpus(){ String zipFile = "src/main/resources/corpus/corpora.zip"; LOGGER.info("开始分析语料库"); long start = System.currentTimeMillis(); try{ analyzeCorpus(zipFile); // depends on control dependency: [try], dat...
public class class_name { private Collection<DependencyInfo> createDependencyInfos(Collection<PhpPackage> phpPackages, Collection<DependencyInfo> dependencyInfos, Collection<String> directDependencies) { HashMap<DependencyInfo, Collection<String>> parentToChildMap = new HashMap<>(); HashMap<String, Dep...
public class class_name { private Collection<DependencyInfo> createDependencyInfos(Collection<PhpPackage> phpPackages, Collection<DependencyInfo> dependencyInfos, Collection<String> directDependencies) { HashMap<DependencyInfo, Collection<String>> parentToChildMap = new HashMap<>(); HashMap<String, Dep...
public class class_name { @Trivial public void unsetSslSupport(ServiceReference<ChannelFactoryProvider> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.entry(this, tc, "unsetSslSupport", new Object[] { ref.getProperty("type"), ref }); } // see if its...
public class class_name { @Trivial public void unsetSslSupport(ServiceReference<ChannelFactoryProvider> ref) { if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) { Tr.entry(this, tc, "unsetSslSupport", new Object[] { ref.getProperty("type"), ref }); // depends on control dependenc...
public class class_name { public void marshall(CreateProfileRequest createProfileRequest, ProtocolMarshaller protocolMarshaller) { if (createProfileRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.m...
public class class_name { public void marshall(CreateProfileRequest createProfileRequest, ProtocolMarshaller protocolMarshaller) { if (createProfileRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.m...
public class class_name { public static Moment of( long elapsedTime, int nanosecond, TimeScale scale ) { if ( (elapsedTime == 0) && (nanosecond == 0) && (scale == POSIX) ) { return Moment.UNIX_EPOCH; } return ...
public class class_name { public static Moment of( long elapsedTime, int nanosecond, TimeScale scale ) { if ( (elapsedTime == 0) && (nanosecond == 0) && (scale == POSIX) ) { return Moment.UNIX_EPOCH; // depends on control depe...
public class class_name { public boolean upgradeLock(TransactionImpl tx, Object obj) { LockEntry writer = getWriter(obj); if (writer == null) { Collection readers = this.getReaders(obj); if (readers.size() == 1) { LockEntry reader ...
public class class_name { public boolean upgradeLock(TransactionImpl tx, Object obj) { LockEntry writer = getWriter(obj); if (writer == null) { Collection readers = this.getReaders(obj); if (readers.size() == 1) { LockEntry reader ...
public class class_name { public static void setPreferredRoadInternColor(Integer color) { final Preferences prefs = Preferences.userNodeForPackage(RoadNetworkLayerConstants.class); if (prefs != null) { if (color == null) { prefs.remove("ROAD_INTERN_COLOR"); //$NON-NLS-1$ } else { prefs.put("ROAD_INTE...
public class class_name { public static void setPreferredRoadInternColor(Integer color) { final Preferences prefs = Preferences.userNodeForPackage(RoadNetworkLayerConstants.class); if (prefs != null) { if (color == null) { prefs.remove("ROAD_INTERN_COLOR"); //$NON-NLS-1$ // depends on control dependency: [i...
public class class_name { public Future<SendMessageResult> sendMessage(SendMessageRequest request, AsyncHandler<SendMessageRequest, SendMessageResult> handler) { QueueBufferCallback<SendMessageRequest, SendMessageResult> callback = null; if (handler != n...
public class class_name { public Future<SendMessageResult> sendMessage(SendMessageRequest request, AsyncHandler<SendMessageRequest, SendMessageResult> handler) { QueueBufferCallback<SendMessageRequest, SendMessageResult> callback = null; if (handler != n...
public class class_name { private void setValue(Element element, String attrName, Object pojo, CustomPropertyDescriptor field) { XmlNode attrXmlNode = field.getAnnotation(XmlNode.class); log.debug("要赋值的fieldName为{}", field.getName()); final XmlTypeConvert convert = Xml...
public class class_name { private void setValue(Element element, String attrName, Object pojo, CustomPropertyDescriptor field) { XmlNode attrXmlNode = field.getAnnotation(XmlNode.class); log.debug("要赋值的fieldName为{}", field.getName()); final XmlTypeConvert convert = Xml...
public class class_name { private ORCLUSCluster union(Relation<V> relation, ORCLUSCluster c1, ORCLUSCluster c2, int dim) { ORCLUSCluster c = new ORCLUSCluster(); c.objectIDs = DBIDUtil.newHashSet(c1.objectIDs); c.objectIDs.addDBIDs(c2.objectIDs); c.objectIDs = DBIDUtil.newArray(c.objectIDs); if(c....
public class class_name { private ORCLUSCluster union(Relation<V> relation, ORCLUSCluster c1, ORCLUSCluster c2, int dim) { ORCLUSCluster c = new ORCLUSCluster(); c.objectIDs = DBIDUtil.newHashSet(c1.objectIDs); c.objectIDs.addDBIDs(c2.objectIDs); c.objectIDs = DBIDUtil.newArray(c.objectIDs); if(c....
public class class_name { public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails .DeltaPresenceEstimationResultOrBuilder getDeltaPresenceEstimationResultOrBuilder() { if (resultCase_ == 9) { return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) ...
public class class_name { public com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails .DeltaPresenceEstimationResultOrBuilder getDeltaPresenceEstimationResultOrBuilder() { if (resultCase_ == 9) { return (com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult) ...
public class class_name { @Override public final boolean isValid(final Object pvalue, final ConstraintValidatorContext pcontext) { final String valueAsString = Objects.toString(pvalue, null); if (StringUtils.isEmpty(valueAsString)) { return true; } if (!StringUtils.isNumeric(valueAsString)) { ...
public class class_name { @Override public final boolean isValid(final Object pvalue, final ConstraintValidatorContext pcontext) { final String valueAsString = Objects.toString(pvalue, null); if (StringUtils.isEmpty(valueAsString)) { return true; // depends on control dependency: [if], data = [none] ...
public class class_name { public Collection<SerialMessage> initialize() { ArrayList<SerialMessage> result = new ArrayList<SerialMessage>(); if (this.getNode().getManufacturer() == 0x010F && this.getNode().getDeviceType() == 0x0501) { logger.warn("Detected Fibaro FGBS001 Universal Sensor - this device fa...
public class class_name { public Collection<SerialMessage> initialize() { ArrayList<SerialMessage> result = new ArrayList<SerialMessage>(); if (this.getNode().getManufacturer() == 0x010F && this.getNode().getDeviceType() == 0x0501) { logger.warn("Detected Fibaro FGBS001 Universal Sensor - this device fa...
public class class_name { public void marshall(LicenseConfiguration licenseConfiguration, ProtocolMarshaller protocolMarshaller) { if (licenseConfiguration == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.m...
public class class_name { public void marshall(LicenseConfiguration licenseConfiguration, ProtocolMarshaller protocolMarshaller) { if (licenseConfiguration == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.m...
public class class_name { public boolean matches(String uri) { if (uri == null) { return false; } Matcher matcher = this.matchPattern.matcher(uri); return matcher.matches(); } }
public class class_name { public boolean matches(String uri) { if (uri == null) { return false; // depends on control dependency: [if], data = [none] } Matcher matcher = this.matchPattern.matcher(uri); return matcher.matches(); } }
public class class_name { public final void castExpression() throws RecognitionException { BaseDescr expr =null; try { // src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:540:5: ( ( LEFT_PAREN primitiveType )=> LEFT_PAREN primitiveType RIGHT_PAREN expr= unaryExpression | ( LEFT_PAREN type )=> LEFT...
public class class_name { public final void castExpression() throws RecognitionException { BaseDescr expr =null; try { // src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:540:5: ( ( LEFT_PAREN primitiveType )=> LEFT_PAREN primitiveType RIGHT_PAREN expr= unaryExpression | ( LEFT_PAREN type )=> LEFT...
public class class_name { private static ValidationMessage[] vmFromVector(Vector v) { ValidationMessage[] vm = new ValidationMessage[v.size()]; for (int i = 0; i < vm.length; i++) { vm[i] = (ValidationMessage) v.get(i); } return vm; } }
public class class_name { private static ValidationMessage[] vmFromVector(Vector v) { ValidationMessage[] vm = new ValidationMessage[v.size()]; for (int i = 0; i < vm.length; i++) { vm[i] = (ValidationMessage) v.get(i); // depends on control dependency: [for], data = [i] } r...
public class class_name { private Element getTopicDoc(final URI absolutePathToFile) { final DocumentBuilder builder = getDocumentBuilder(); try { final Document doc = builder.parse(absolutePathToFile.toString()); return doc.getDocumentElement(); } catch (final SAXExcepti...
public class class_name { private Element getTopicDoc(final URI absolutePathToFile) { final DocumentBuilder builder = getDocumentBuilder(); try { final Document doc = builder.parse(absolutePathToFile.toString()); return doc.getDocumentElement(); // depends on control dependency:...
public class class_name { protected Collection<T> convertCollectionToCollection(final Collection value) { Collection<T> collection = createCollection(value.size()); for (Object v : value) { collection.add(convertType(v)); } return collection; } }
public class class_name { protected Collection<T> convertCollectionToCollection(final Collection value) { Collection<T> collection = createCollection(value.size()); for (Object v : value) { collection.add(convertType(v)); // depends on control dependency: [for], data = [v] } return collection; } }
public class class_name { public static <K, V> Map<K, V> updateMap(final Map<K, V> original, MapDifference<K, V> diff) throws MergeException { Map<K, V> result = new HashMap<K, V>(original); if (diff.areEqual()) { return result; } for (Entry<K, V> entry : diff.entriesOnlyOnL...
public class class_name { public static <K, V> Map<K, V> updateMap(final Map<K, V> original, MapDifference<K, V> diff) throws MergeException { Map<K, V> result = new HashMap<K, V>(original); if (diff.areEqual()) { return result; } for (Entry<K, V> entry : diff.entriesOnlyOnL...
public class class_name { protected Expression relationalExpression() { Expression left = term(); if (tokenizer.current().isSymbol("<")) { tokenizer.consume(); Expression right = relationalExpression(); return reOrder(left, right, BinaryOperation.Op.LT); } ...
public class class_name { protected Expression relationalExpression() { Expression left = term(); if (tokenizer.current().isSymbol("<")) { tokenizer.consume(); // depends on control dependency: [if], data = [none] Expression right = relationalExpression(); return reO...
public class class_name { public static byte[] getUnicodeByteArray(String str) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); DataOutputStream dos = new DataOutputStream(baos); try { for (int i = 0; i < str.length(); i++) { dos.writeChar((int) str.charAt(i)); } } catch (Exception e) { ...
public class class_name { public static byte[] getUnicodeByteArray(String str) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); DataOutputStream dos = new DataOutputStream(baos); try { for (int i = 0; i < str.length(); i++) { dos.writeChar((int) str.charAt(i)); // depends on control dependency:...
public class class_name { protected final void beforeDelivery(final SIBusMessage message, MessageEndpoint endpoint) { if (TRACE.isEntryEnabled()) { final String methodName = "beforeDelivery"; SibTr.entry(this, TRACE, methodName, new Object [] { message, endpoint}); SibTr.ex...
public class class_name { protected final void beforeDelivery(final SIBusMessage message, MessageEndpoint endpoint) { if (TRACE.isEntryEnabled()) { final String methodName = "beforeDelivery"; SibTr.entry(this, TRACE, methodName, new Object [] { message, endpoint}); // depends on contro...
public class class_name { public static String getPropValueIds(CmsObject cms, String type, String value) { if (PropType.isVfsList(type)) { return convertPathsToIds(cms, value); } return value; } }
public class class_name { public static String getPropValueIds(CmsObject cms, String type, String value) { if (PropType.isVfsList(type)) { return convertPathsToIds(cms, value); // depends on control dependency: [if], data = [none] } return value; } }
public class class_name { private void allocateOutput(int size, int channels) { if (size <= outputCapacity && channels <= outputChannels) return; for (int i = 0; i < Constants.MAX_CHANNELS; i++) { channelData[i] = null; } for (int i = 0; i < channels; i++) ...
public class class_name { private void allocateOutput(int size, int channels) { if (size <= outputCapacity && channels <= outputChannels) return; for (int i = 0; i < Constants.MAX_CHANNELS; i++) { channelData[i] = null; // depends on control dependency: [for], data = [i] } ...
public class class_name { public static PostalCodesMapSharedConstants create() { if (postalCodesMapConstants == null) { // NOPMD it's thread save! synchronized (PostalCodesMapConstantsImpl.class) { if (postalCodesMapConstants == null) { postalCodesMapConstants = new PostalCodesMapConstantsI...
public class class_name { public static PostalCodesMapSharedConstants create() { if (postalCodesMapConstants == null) { // NOPMD it's thread save! synchronized (PostalCodesMapConstantsImpl.class) { // depends on control dependency: [if], data = [none] if (postalCodesMapConstants == null) { ...
public class class_name { public static HttpServletRequest unwrapMultipart( HttpServletRequest request ) { if ( request instanceof MultipartRequestWrapper ) { request = ( ( MultipartRequestWrapper ) request ).getRequest(); } return request; } }
public class class_name { public static HttpServletRequest unwrapMultipart( HttpServletRequest request ) { if ( request instanceof MultipartRequestWrapper ) { request = ( ( MultipartRequestWrapper ) request ).getRequest(); // depends on control dependency: [if], data = [none] } ...
public class class_name { public Level level(Config config, Throwable error) { if (error == null) { return config.defaultMessageLevel(); } if (error instanceof Error) { return config.defaultErrorLevel(); } return config.defaultThrowableLevel(); } }
public class class_name { public Level level(Config config, Throwable error) { if (error == null) { return config.defaultMessageLevel(); // depends on control dependency: [if], data = [none] } if (error instanceof Error) { return config.defaultErrorLevel(); // depends on control dependency: [if...
public class class_name { private void generateDeletes(M2MEntity entity, String packageName) { String idPart = CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, entity.idName); String methodName = ""; String workId = ""; methodName = "deleteBy" + idPart; if (!isMethodAlreadyDefined(entity, methodName)) { ...
public class class_name { private void generateDeletes(M2MEntity entity, String packageName) { String idPart = CaseFormat.LOWER_CAMEL.to(CaseFormat.UPPER_CAMEL, entity.idName); String methodName = ""; String workId = ""; methodName = "deleteBy" + idPart; if (!isMethodAlreadyDefined(entity, methodName)) { ...
public class class_name { public void marshall(SegmentDemographics segmentDemographics, ProtocolMarshaller protocolMarshaller) { if (segmentDemographics == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.mars...
public class class_name { public void marshall(SegmentDemographics segmentDemographics, ProtocolMarshaller protocolMarshaller) { if (segmentDemographics == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.mars...
public class class_name { private static Optional<Class> resolveSingleTypeArgument(Type genericType) { if (genericType instanceof ParameterizedType) { ParameterizedType pt = (ParameterizedType) genericType; Type[] actualTypeArguments = pt.getActualTypeArguments(); if (actual...
public class class_name { private static Optional<Class> resolveSingleTypeArgument(Type genericType) { if (genericType instanceof ParameterizedType) { ParameterizedType pt = (ParameterizedType) genericType; Type[] actualTypeArguments = pt.getActualTypeArguments(); if (actual...
public class class_name { public AiShadingMode getShadingMode() { Property p = getProperty(PropertyKey.SHADING_MODE.m_key); if (null == p || null == p.getData()) { return (AiShadingMode) m_defaults.get(PropertyKey.SHADING_MODE); } return AiShadingMode.fromR...
public class class_name { public AiShadingMode getShadingMode() { Property p = getProperty(PropertyKey.SHADING_MODE.m_key); if (null == p || null == p.getData()) { return (AiShadingMode) m_defaults.get(PropertyKey.SHADING_MODE); // depends on control dependency: [if], data = [none]...
public class class_name { private void renderCollision(Graphic g, TileCollision tile, int x, int y) { for (final CollisionFormula collision : tile.getCollisionFormulas()) { final ImageBuffer buffer = collisionCache.get(collision); if (buffer != null) { ...
public class class_name { private void renderCollision(Graphic g, TileCollision tile, int x, int y) { for (final CollisionFormula collision : tile.getCollisionFormulas()) { final ImageBuffer buffer = collisionCache.get(collision); if (buffer != null) { ...
public class class_name { public <T> int deleteBatch(T... entities) { if(entities.length == 0){ return 0; } List<PropertyDesc[]> paramsList = new ArrayList<>(); String executeSql = null; for(Object entity: entities){ List<PropertyDesc> propDesc...
public class class_name { public <T> int deleteBatch(T... entities) { if(entities.length == 0){ return 0; // depends on control dependency: [if], data = [none] } List<PropertyDesc[]> paramsList = new ArrayList<>(); String executeSql = null; for(Object entit...
public class class_name { public Iterator<FeatureDescriptor> getFeatureDescriptors( ELContext context, Object base) { if (base != null && base instanceof Map) { Map map = (Map) base; Iterator iter = map...
public class class_name { public Iterator<FeatureDescriptor> getFeatureDescriptors( ELContext context, Object base) { if (base != null && base instanceof Map) { Map map = (Map) base; Iterator iter = map...
public class class_name { public List<Token> scan() { while (peek() != EOF) { if (peek() == '#') { if (scanDire()) { continue ; } if (scanSingleLineComment()) { continue ; } if (scanMultiLineComment()) { continue ; } if (scanNoParse()) { continue ; ...
public class class_name { public List<Token> scan() { while (peek() != EOF) { if (peek() == '#') { if (scanDire()) { continue ; } if (scanSingleLineComment()) { continue ; } if (scanMultiLineComment()) { continue ; } if (scanNoParse()) { continue ; ...
public class class_name { public void directTermination(FailureScope failureScope) throws TerminationFailedException { if (tc.isEntryEnabled()) Tr.entry(tc, "directTermination", new Object[] { failureScope, this }); Tr.info(tc, "CWRLS0014_HALT_PEER_RECOVERY", failureScope.serverName()); ...
public class class_name { public void directTermination(FailureScope failureScope) throws TerminationFailedException { if (tc.isEntryEnabled()) Tr.entry(tc, "directTermination", new Object[] { failureScope, this }); Tr.info(tc, "CWRLS0014_HALT_PEER_RECOVERY", failureScope.serverName()); ...
public class class_name { public static boolean contains(String str, String searchStr) { if (str == null || searchStr == null) { return false; } return str.indexOf(searchStr) >= 0; } }
public class class_name { public static boolean contains(String str, String searchStr) { if (str == null || searchStr == null) { return false; // depends on control dependency: [if], data = [none] } return str.indexOf(searchStr) >= 0; } }
public class class_name { private static Method findGetterWithCompatibleReturnType(final String getterName, final Class<?> clazz, final boolean enforceBooleanReturnType) { for( final Method method : clazz.getMethods() ) { if( !getterName.equalsIgnoreCase(method.getName()) || method.getParameterTypes().le...
public class class_name { private static Method findGetterWithCompatibleReturnType(final String getterName, final Class<?> clazz, final boolean enforceBooleanReturnType) { for( final Method method : clazz.getMethods() ) { if( !getterName.equalsIgnoreCase(method.getName()) || method.getParameterTypes().le...
public class class_name { void completed(long bytesAffected) { boolean needToFire = true; synchronized (this.completedSemaphore) { // If it's already completed, do nothing if (this.completed || !this.channel.isOpen()) { if (TraceComponent.isAnyTracingEnabled() &&...
public class class_name { void completed(long bytesAffected) { boolean needToFire = true; synchronized (this.completedSemaphore) { // If it's already completed, do nothing if (this.completed || !this.channel.isOpen()) { if (TraceComponent.isAnyTracingEnabled() &&...
public class class_name { @RequestMapping(method = RequestMethod.POST, params = "action=removeByFName") public ModelAndView removeByFName( HttpServletRequest request, HttpServletResponse response, @RequestParam(value = "fname") String fname) throws IOException { ...
public class class_name { @RequestMapping(method = RequestMethod.POST, params = "action=removeByFName") public ModelAndView removeByFName( HttpServletRequest request, HttpServletResponse response, @RequestParam(value = "fname") String fname) throws IOException { ...
public class class_name { protected final String getForCreate(final Class<?> pClass) { if (this.sharedEntities.contains(pClass)) { return null; } else if (IHasSeSeller.class.isAssignableFrom(pClass)) { return PrcEntityCreate.class.getSimpleName(); } return null; } }
public class class_name { protected final String getForCreate(final Class<?> pClass) { if (this.sharedEntities.contains(pClass)) { return null; // depends on control dependency: [if], data = [none] } else if (IHasSeSeller.class.isAssignableFrom(pClass)) { return PrcEntityCreate.class.getSimpleName(...
public class class_name { private void handleOutstandingOperations(final ChannelHandlerContext ctx) { if (sentRequestQueue.isEmpty()) { LOGGER.trace(logIdent(ctx, endpoint) + "Not cancelling operations - sent queue is empty."); return; } LOGGER.debug(logIdent(ctx, endpo...
public class class_name { private void handleOutstandingOperations(final ChannelHandlerContext ctx) { if (sentRequestQueue.isEmpty()) { LOGGER.trace(logIdent(ctx, endpoint) + "Not cancelling operations - sent queue is empty."); // depends on control dependency: [if], data = [none] retur...
public class class_name { public Map<String, Object> parseAggregations(SearchResponse response, KunderaQuery query, MetamodelImpl metaModel, Class clazz, EntityMetadata m) { Map<String, Object> aggregationsMap = new LinkedHashMap<>(); if (query.isAggregated() == true && response.getAggr...
public class class_name { public Map<String, Object> parseAggregations(SearchResponse response, KunderaQuery query, MetamodelImpl metaModel, Class clazz, EntityMetadata m) { Map<String, Object> aggregationsMap = new LinkedHashMap<>(); if (query.isAggregated() == true && response.getAggr...
public class class_name { @Override public EJBLocalHome getEJBLocalHome() { EJSWrapperCommon wCommon = null; // d116480 try { wCommon = home.getWrapper(); // d116337 } catch (Exception ex) { // This is bad FFDCFilter.processException(ex, CLASS_NAME + ...
public class class_name { @Override public EJBLocalHome getEJBLocalHome() { EJSWrapperCommon wCommon = null; // d116480 try { wCommon = home.getWrapper(); // d116337 // depends on control dependency: [try], data = [none] } catch (Exception ex) { // This is bad ...
public class class_name { public Object lookup(Identity oid) { CacheEntry entry = null; SoftReference ref = (SoftReference) objectTable.get(oid); if (ref != null) { entry = (CacheEntry) ref.get(); if (entry == null || entry.lifetime < System.currentTim...
public class class_name { public Object lookup(Identity oid) { CacheEntry entry = null; SoftReference ref = (SoftReference) objectTable.get(oid); if (ref != null) { entry = (CacheEntry) ref.get(); // depends on control dependency: [if], data = [none] i...
public class class_name { protected List<Attribute> getAttributes1(String ownerType, Long ownerId) throws SQLException { List<Attribute> attrs = getAttributes0(ownerType, ownerId); if (attrs==null) return null; ResultSet rs; String query = "select RULE_SET_DETAILS from RULE_SET wher...
public class class_name { protected List<Attribute> getAttributes1(String ownerType, Long ownerId) throws SQLException { List<Attribute> attrs = getAttributes0(ownerType, ownerId); if (attrs==null) return null; ResultSet rs; String query = "select RULE_SET_DETAILS from RULE_SET wher...
public class class_name { private static void copySingleRow(final Sheet srcSheet, final Sheet destSheet, final int sourceRowNum, final int destinationRowNum, final boolean checkLock, final boolean setHiddenColumn) { // Get the source / new row Row newRow = destSheet.getRow(destinationRowNum); Row sourceRo...
public class class_name { private static void copySingleRow(final Sheet srcSheet, final Sheet destSheet, final int sourceRowNum, final int destinationRowNum, final boolean checkLock, final boolean setHiddenColumn) { // Get the source / new row Row newRow = destSheet.getRow(destinationRowNum); Row sourceRo...
public class class_name { AccessDeniedHandler getAccessDeniedHandler(H http) { AccessDeniedHandler deniedHandler = this.accessDeniedHandler; if (deniedHandler == null) { deniedHandler = createDefaultDeniedHandler(http); } return deniedHandler; } }
public class class_name { AccessDeniedHandler getAccessDeniedHandler(H http) { AccessDeniedHandler deniedHandler = this.accessDeniedHandler; if (deniedHandler == null) { deniedHandler = createDefaultDeniedHandler(http); // depends on control dependency: [if], data = [none] } return deniedHandler; } }