code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public void marshall(GetMethodRequest getMethodRequest, ProtocolMarshaller protocolMarshaller) { if (getMethodRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(getM...
public class class_name { public void marshall(GetMethodRequest getMethodRequest, ProtocolMarshaller protocolMarshaller) { if (getMethodRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(getM...
public class class_name { public IRingSet findEssentialRings() { if (atomContainer == null) { return null; } IRingSet ringSet = toRingSet(atomContainer, cycleBasis().essentialCycles()); // atomContainer.setProperty(CDKConstants.ESSENTIAL_RINGS, ringSet); return ring...
public class class_name { public IRingSet findEssentialRings() { if (atomContainer == null) { return null; // depends on control dependency: [if], data = [none] } IRingSet ringSet = toRingSet(atomContainer, cycleBasis().essentialCycles()); // atomContainer.setProperty(CDKCo...
public class class_name { @Override public Thread newThread(final Runnable runnable) { Runnable wrapped = new Runnable() { @Override public void run() { try { // As the runnable is wrapped in another runnable object, we call the run method directl...
public class class_name { @Override public Thread newThread(final Runnable runnable) { Runnable wrapped = new Runnable() { @Override public void run() { try { // As the runnable is wrapped in another runnable object, we call the run method directl...
public class class_name { @Override public void render(Graphic g, Handlables featurables) { for (final Renderable renderable : featurables.get(Renderable.class)) { renderable.render(g); } } }
public class class_name { @Override public void render(Graphic g, Handlables featurables) { for (final Renderable renderable : featurables.get(Renderable.class)) { renderable.render(g); // depends on control dependency: [for], data = [renderable] } } }
public class class_name { private static char[] growBuffer(char[] dest, int index, int size) { if (size < 0) { // overflow - should be OutOfMemoryError but GWT/j2cl don't support it throw new AssertionError("Cannot increase internal buffer any further"); } char[] copy = new char[size]; if (index ...
public class class_name { private static char[] growBuffer(char[] dest, int index, int size) { if (size < 0) { // overflow - should be OutOfMemoryError but GWT/j2cl don't support it throw new AssertionError("Cannot increase internal buffer any further"); } char[] copy = new char[size]; if (index ...
public class class_name { public void marshall(GitSubmodulesConfig gitSubmodulesConfig, ProtocolMarshaller protocolMarshaller) { if (gitSubmodulesConfig == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.mars...
public class class_name { public void marshall(GitSubmodulesConfig gitSubmodulesConfig, ProtocolMarshaller protocolMarshaller) { if (gitSubmodulesConfig == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.mars...
public class class_name { private List<String> getNamespaceMapping(Class<?> clazz) { int bestScore = 0; String bestNamespace = clazz.getName().replaceAll("\\.", "::"); for (Namespace namespace : mappings.getNamespaces()) { if (namespace.getJavaPackage().length() > bestScore && clazz...
public class class_name { private List<String> getNamespaceMapping(Class<?> clazz) { int bestScore = 0; String bestNamespace = clazz.getName().replaceAll("\\.", "::"); for (Namespace namespace : mappings.getNamespaces()) { if (namespace.getJavaPackage().length() > bestScore && clazz...
public class class_name { public NormalizedUserProfile getUserProfileInfo(AccessToken accessTokenParam) { if(accessTokenParam == null || (accessTokenParam.getAccessToken() == null || accessTokenParam.getAccessToken().trim().isEmpty())) { throw new FluidClientException( ...
public class class_name { public NormalizedUserProfile getUserProfileInfo(AccessToken accessTokenParam) { if(accessTokenParam == null || (accessTokenParam.getAccessToken() == null || accessTokenParam.getAccessToken().trim().isEmpty())) { throw new FluidClientException( ...
public class class_name { protected void closeQuietly(Closeable closeable) { if (closeable == null) { return; } try { closeable.close(); } catch (Exception t) { HTTP_LOGGER.warn("Unable to close {}: ", closeable, t); } } }
public class class_name { protected void closeQuietly(Closeable closeable) { if (closeable == null) { return; // depends on control dependency: [if], data = [none] } try { closeable.close(); } catch (Exception t) { HTTP_LOGGER.warn("Unable to close {}: ", closeable, t); } } }
public class class_name { @Override public void execute() throws MojoExecutionException { try { createApplicationBundle(); if (!disableDistributionPackaging) { if (wisdomDirectory != null) { getLog().warn("Cannot create the distribution of " + pro...
public class class_name { @Override public void execute() throws MojoExecutionException { try { createApplicationBundle(); if (!disableDistributionPackaging) { if (wisdomDirectory != null) { getLog().warn("Cannot create the distribution of " + pro...
public class class_name { public void setRevisionTargets(java.util.Collection<RevisionTarget> revisionTargets) { if (revisionTargets == null) { this.revisionTargets = null; return; } this.revisionTargets = new com.amazonaws.internal.SdkInternalList<RevisionTarget>(revis...
public class class_name { public void setRevisionTargets(java.util.Collection<RevisionTarget> revisionTargets) { if (revisionTargets == null) { this.revisionTargets = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none...
public class class_name { public static String buildPath(final boolean endWithSep, final String... val) { StringBuilder path = new StringBuilder(); for (String s: val) { if (s != null) { path.append(s); } } String s = path.toString().replaceAll("/+...
public class class_name { public static String buildPath(final boolean endWithSep, final String... val) { StringBuilder path = new StringBuilder(); for (String s: val) { if (s != null) { path.append(s); // depends on control dependency: [if], data = [(s] } ...
public class class_name { static DateTimeZone getDateTimeZone(PageContext pc, Tag fromTag) { DateTimeZone tz = null; Tag t = findAncestorWithClass(fromTag, DateTimeZoneSupport.class); if (t != null) { // use time zone from parent <timeZone> tag DateTimeZoneSupport paren...
public class class_name { static DateTimeZone getDateTimeZone(PageContext pc, Tag fromTag) { DateTimeZone tz = null; Tag t = findAncestorWithClass(fromTag, DateTimeZoneSupport.class); if (t != null) { // use time zone from parent <timeZone> tag DateTimeZoneSupport paren...
public class class_name { public void marshall(GetJobTemplateRequest getJobTemplateRequest, ProtocolMarshaller protocolMarshaller) { if (getJobTemplateRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshalle...
public class class_name { public void marshall(GetJobTemplateRequest getJobTemplateRequest, ProtocolMarshaller protocolMarshaller) { if (getJobTemplateRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshalle...
public class class_name { private void run(Class<?> type, Object val, int limit) { int initial; initial = dest.getSize(); if (val == null) { if (type.isPrimitive()) { throw new IllegalArgumentException("primitive null"); } // null is not a s...
public class class_name { private void run(Class<?> type, Object val, int limit) { int initial; initial = dest.getSize(); if (val == null) { if (type.isPrimitive()) { throw new IllegalArgumentException("primitive null"); } // null is not a s...
public class class_name { private static boolean waitForServerUp(String hostname, int port, long timeout) { long start = System.currentTimeMillis(); while (true) { try { Socket sock = new Socket(hostname, port); BufferedReader reader = null; try { OutputStream outstream ...
public class class_name { private static boolean waitForServerUp(String hostname, int port, long timeout) { long start = System.currentTimeMillis(); while (true) { try { Socket sock = new Socket(hostname, port); BufferedReader reader = null; try { OutputStream outstream ...
public class class_name { private void handleSnappyCompression(final ChannelHandlerContext ctx, final BinaryMemcacheRequest r) { if (!(r instanceof FullBinaryMemcacheRequest)) { // we only need to handle requests which send content return; } FullBinaryMemcacheRequest re...
public class class_name { private void handleSnappyCompression(final ChannelHandlerContext ctx, final BinaryMemcacheRequest r) { if (!(r instanceof FullBinaryMemcacheRequest)) { // we only need to handle requests which send content return; // depends on control dependency: [if], data = ...
public class class_name { static <E extends Entity> String getSqlCount( EntityType entityType, Query<E> q, List<Object> parameters) { StringBuilder sqlBuilder = new StringBuilder("SELECT COUNT"); String idAttribute = getColumnName(entityType.getIdAttribute()); List<QueryRule> queryRules = q.getRules...
public class class_name { static <E extends Entity> String getSqlCount( EntityType entityType, Query<E> q, List<Object> parameters) { StringBuilder sqlBuilder = new StringBuilder("SELECT COUNT"); String idAttribute = getColumnName(entityType.getIdAttribute()); List<QueryRule> queryRules = q.getRules...
public class class_name { private static LineMap loadScriptMap(Class cl) { ClassLoader loader = cl.getClassLoader(); if (loader == null) return new LineMap(); // null map try { String pathName = cl.getName().replace('.', '/') + ".class"; InputStream is = loader.getResourceAsStrea...
public class class_name { private static LineMap loadScriptMap(Class cl) { ClassLoader loader = cl.getClassLoader(); if (loader == null) return new LineMap(); // null map try { String pathName = cl.getName().replace('.', '/') + ".class"; InputStream is = loader.getResourceAsStrea...
public class class_name { public static String getLocalName(Element element) { String name = element.getTagName(); if (name.indexOf(':') > 0) { name = name.substring(name.indexOf(':')+1); } return name; } }
public class class_name { public static String getLocalName(Element element) { String name = element.getTagName(); if (name.indexOf(':') > 0) { name = name.substring(name.indexOf(':')+1); // depends on control dependency: [if], data = [(name.indexOf(':')] } return name; } }
public class class_name { public boolean isConnectionHandleAlive(ConnectionHandle connection) { Statement stmt = null; boolean result = false; boolean logicallyClosed = connection.logicallyClosed.get(); try { connection.logicallyClosed.compareAndSet(true, false); // avoid checks later on if it's marked...
public class class_name { public boolean isConnectionHandleAlive(ConnectionHandle connection) { Statement stmt = null; boolean result = false; boolean logicallyClosed = connection.logicallyClosed.get(); try { connection.logicallyClosed.compareAndSet(true, false); // avoid checks later on if it's marked...
public class class_name { public double getNumericValue() { String original = getText().toString().replaceAll(mNumberFilterRegex, ""); if (hasCustomDecimalSeparator) { // swap custom decimal separator with locale one to allow parsing original = StringUtils.replace(original, ...
public class class_name { public double getNumericValue() { String original = getText().toString().replaceAll(mNumberFilterRegex, ""); if (hasCustomDecimalSeparator) { // swap custom decimal separator with locale one to allow parsing original = StringUtils.replace(original, ...
public class class_name { public void applyAllFormatterChanges( Map<CmsUUID, I_CmsFormatterBean> formatters, CmsFormatterConfigurationCacheState formatterCacheState) { for (CmsFormatterChangeSet changeSet : getFormatterChangeSets()) { changeSet.applyToFormatters(formatters, formatt...
public class class_name { public void applyAllFormatterChanges( Map<CmsUUID, I_CmsFormatterBean> formatters, CmsFormatterConfigurationCacheState formatterCacheState) { for (CmsFormatterChangeSet changeSet : getFormatterChangeSets()) { changeSet.applyToFormatters(formatters, formatt...
public class class_name { @Override public void firstPassE(NumberVector vec, double wei) { final int dim = mean.length; assert (vec.getDimensionality() == dim); assert (wei >= 0 && wei < Double.POSITIVE_INFINITY) : wei; if(wei < Double.MIN_NORMAL) { return; } // Aggregate for(int i ...
public class class_name { @Override public void firstPassE(NumberVector vec, double wei) { final int dim = mean.length; assert (vec.getDimensionality() == dim); assert (wei >= 0 && wei < Double.POSITIVE_INFINITY) : wei; if(wei < Double.MIN_NORMAL) { return; // depends on control dependency: [if...
public class class_name { public static <E> CompletableSource resolveScopeFromLifecycle( final LifecycleScopeProvider<E> provider, final boolean checkEndBoundary) throws OutsideScopeException { E lastEvent = provider.peekLifecycle(); CorrespondingEventsFunction<E> eventsFunction = provider.correspo...
public class class_name { public static <E> CompletableSource resolveScopeFromLifecycle( final LifecycleScopeProvider<E> provider, final boolean checkEndBoundary) throws OutsideScopeException { E lastEvent = provider.peekLifecycle(); CorrespondingEventsFunction<E> eventsFunction = provider.correspo...
public class class_name { public void install(Duration delay) { if(installed != null) { installed.unsubscribe(); } installed = events(delay).<Event>map(either -> either.unify( pos -> MouseStationaryEvent.beginAt(node.localToScreen(pos)), stop -> Mouse...
public class class_name { public void install(Duration delay) { if(installed != null) { installed.unsubscribe(); // depends on control dependency: [if], data = [none] } installed = events(delay).<Event>map(either -> either.unify( pos -> MouseStationaryEvent.beginAt(n...
public class class_name { public void requestPubkey(final BitmessageAddress contact) { BitmessageAddress stored = addressRepository.getAddress(contact.getAddress()); tryToFindMatchingPubkey(contact); if (contact.getPubkey() != null) { if (stored != null) { stored.se...
public class class_name { public void requestPubkey(final BitmessageAddress contact) { BitmessageAddress stored = addressRepository.getAddress(contact.getAddress()); tryToFindMatchingPubkey(contact); if (contact.getPubkey() != null) { if (stored != null) { stored.se...
public class class_name { @Override public void removeByGroupId(long groupId) { for (CPSpecificationOption cpSpecificationOption : findByGroupId( groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { remove(cpSpecificationOption); } } }
public class class_name { @Override public void removeByGroupId(long groupId) { for (CPSpecificationOption cpSpecificationOption : findByGroupId( groupId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { remove(cpSpecificationOption); // depends on control dependency: [for], data = [cpSpecificationOption] } ...
public class class_name { ListIterator<RuleConditionElement> stackIterator() { if (this.buildstack == null) { this.buildstack = new LinkedList<>(); } return this.buildstack.listIterator(this.buildstack.size()); } }
public class class_name { ListIterator<RuleConditionElement> stackIterator() { if (this.buildstack == null) { this.buildstack = new LinkedList<>(); // depends on control dependency: [if], data = [none] } return this.buildstack.listIterator(this.buildstack.size()); } }
public class class_name { private static <T extends Bean> Constructor<T> findConstructor(Class<T> beanType, List<Class<?>> propertyTypes) { Class<?>[] types = propertyTypes.toArray(new Class<?>[propertyTypes.size()]); try { Constructor<T> con = beanType.getDeclaredConstructor(types); ...
public class class_name { private static <T extends Bean> Constructor<T> findConstructor(Class<T> beanType, List<Class<?>> propertyTypes) { Class<?>[] types = propertyTypes.toArray(new Class<?>[propertyTypes.size()]); try { Constructor<T> con = beanType.getDeclaredConstructor(types); ...
public class class_name { public static ModifyType detectModifyType(SQLiteModelMethod method, JQLType jqlType) { // Elements elementUtils = BaseProcessor.elementUtils; SQLiteDaoDefinition daoDefinition = method.getParent(); SQLiteEntity entity = method.getEntity(); ModifyType updateResultType = null; // ch...
public class class_name { public static ModifyType detectModifyType(SQLiteModelMethod method, JQLType jqlType) { // Elements elementUtils = BaseProcessor.elementUtils; SQLiteDaoDefinition daoDefinition = method.getParent(); SQLiteEntity entity = method.getEntity(); ModifyType updateResultType = null; // ch...
public class class_name { private InnerEnum generateColumnEnum(TopLevelClass topLevelClass, IntrospectedTable introspectedTable) { // 生成内部枚举 InnerEnum innerEnum = new InnerEnum(new FullyQualifiedJavaType(ENUM_NAME)); innerEnum.setVisibility(JavaVisibility.PUBLIC); innerEnum.setStatic(tr...
public class class_name { private InnerEnum generateColumnEnum(TopLevelClass topLevelClass, IntrospectedTable introspectedTable) { // 生成内部枚举 InnerEnum innerEnum = new InnerEnum(new FullyQualifiedJavaType(ENUM_NAME)); innerEnum.setVisibility(JavaVisibility.PUBLIC); innerEnum.setStatic(tr...
public class class_name { public SubscriptionQos setPublicationTtlMs(final long publicationTtlMs) { if (publicationTtlMs < MIN_PUBLICATION_TTL_MS) { this.publicationTtlMs = MIN_PUBLICATION_TTL_MS; logger.warn("publicationTtlMs < MIN_PUBLICATION_TTL. Using MIN_PUBLICATION_TTL: {}", ...
public class class_name { public SubscriptionQos setPublicationTtlMs(final long publicationTtlMs) { if (publicationTtlMs < MIN_PUBLICATION_TTL_MS) { this.publicationTtlMs = MIN_PUBLICATION_TTL_MS; // depends on control dependency: [if], data = [none] logger.warn("publicationTtlMs < MIN_...
public class class_name { @Override public HttpPublishing getHttpPublishing() { if (delegate == null) { return this.httpPublishing; } else { return this.httpPublishing == null ? delegate.getHttpPublishing() : this.httpPublishing; } } }
public class class_name { @Override public HttpPublishing getHttpPublishing() { if (delegate == null) { return this.httpPublishing; // depends on control dependency: [if], data = [none] } else { return this.httpPublishing == null ? delegate.getHttpPublishing() : this.httpPub...
public class class_name { public static int qmf_stop_channel(int bs_stop_freq, SampleFrequency sample_rate, int k0) { if(bs_stop_freq==15) { return Math.min(64, k0*3); } else if(bs_stop_freq==14) { return Math.min(64, k0*2); } else { int stopMin = stopMinTable[sample_rate.getIndex()]; /* bs_s...
public class class_name { public static int qmf_stop_channel(int bs_stop_freq, SampleFrequency sample_rate, int k0) { if(bs_stop_freq==15) { return Math.min(64, k0*3); // depends on control dependency: [if], data = [none] } else if(bs_stop_freq==14) { return Math.min(64, k0*2); // depends on control depe...
public class class_name { public <P extends ParaObject> List<P> getItems(String at, Map<String, Object> result, Pager... pager) { if (result != null && !result.isEmpty() && !StringUtils.isBlank(at) && result.containsKey(at)) { if (pager != null && pager.length > 0 && pager[0] != null) { if (result.containsKey...
public class class_name { public <P extends ParaObject> List<P> getItems(String at, Map<String, Object> result, Pager... pager) { if (result != null && !result.isEmpty() && !StringUtils.isBlank(at) && result.containsKey(at)) { if (pager != null && pager.length > 0 && pager[0] != null) { if (result.containsKey...
public class class_name { public static <T, R> R injectIntoTokens( String string, String separator, R injectedValue, Function2<R, String, R> function) { R result = injectedValue; for (StringTokenizer stringTokenizer = new StringTokenizer(string, separ...
public class class_name { public static <T, R> R injectIntoTokens( String string, String separator, R injectedValue, Function2<R, String, R> function) { R result = injectedValue; for (StringTokenizer stringTokenizer = new StringTokenizer(string, separ...
public class class_name { private void makeAnswerArraysAndTagIndex(Collection<List<IN>> docs) { if (answerArrays == null) { answerArrays = new HashSet<List<String>>(); } if (classIndex == null) { classIndex = new HashIndex<String>(); } for (List<IN> doc : docs) { if (fla...
public class class_name { private void makeAnswerArraysAndTagIndex(Collection<List<IN>> docs) { if (answerArrays == null) { answerArrays = new HashSet<List<String>>(); // depends on control dependency: [if], data = [none] } if (classIndex == null) { classIndex = new HashIndex<String>(); /...
public class class_name { public String getViewSelect(String htmlAttributes) { List<String> options = new ArrayList<String>(); List<String> values = new ArrayList<String>(); int selectedIndex = 0; // loop through the vectors and fill the result vectors Iterator<CmsWorkplaceVie...
public class class_name { public String getViewSelect(String htmlAttributes) { List<String> options = new ArrayList<String>(); List<String> values = new ArrayList<String>(); int selectedIndex = 0; // loop through the vectors and fill the result vectors Iterator<CmsWorkplaceVie...
public class class_name { public static void horizontal(GrayF64 input, GrayF64 output, int radius) { boolean processed = BOverrideConvolveImageMean.invokeNativeHorizontal(input, output, radius); if( !processed ) { Kernel1D_F64 kernel = FactoryKernel.table1D_F64(radius, true); if (kernel.width > input.width...
public class class_name { public static void horizontal(GrayF64 input, GrayF64 output, int radius) { boolean processed = BOverrideConvolveImageMean.invokeNativeHorizontal(input, output, radius); if( !processed ) { Kernel1D_F64 kernel = FactoryKernel.table1D_F64(radius, true); if (kernel.width > input.width...
public class class_name { public Map<Integer, ResourceWorkerSlot> getTaskToNodePortbyNode(String supervisorId) { Map<Integer, ResourceWorkerSlot> result = new HashMap<>(); for (ResourceWorkerSlot worker : workers) { if (worker.getNodeId().equals(supervisorId)) { result.put(w...
public class class_name { public Map<Integer, ResourceWorkerSlot> getTaskToNodePortbyNode(String supervisorId) { Map<Integer, ResourceWorkerSlot> result = new HashMap<>(); for (ResourceWorkerSlot worker : workers) { if (worker.getNodeId().equals(supervisorId)) { result.put(w...
public class class_name { public void marshall(GetBaiduChannelRequest getBaiduChannelRequest, ProtocolMarshaller protocolMarshaller) { if (getBaiduChannelRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarsha...
public class class_name { public void marshall(GetBaiduChannelRequest getBaiduChannelRequest, ProtocolMarshaller protocolMarshaller) { if (getBaiduChannelRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarsha...
public class class_name { protected static String formatMessage(String message, byte[] hostData, int start, int curPos, int bytesLen) { StringBuilder sb = new StringBuilder(); sb.append(message); if (hostData != null && hostData.length > 0 && curPos < hostData.length ...
public class class_name { protected static String formatMessage(String message, byte[] hostData, int start, int curPos, int bytesLen) { StringBuilder sb = new StringBuilder(); sb.append(message); if (hostData != null && hostData.length > 0 && curPos < hostData.length ...
public class class_name { @Deprecated private void emitJvmMemMetrics(ServiceEmitter emitter) { // I have no idea why, but jvm/mem is slightly more than the sum of jvm/pool. Let's just include // them both. final Map<String, MemoryUsage> usages = ImmutableMap.of( "heap", ManagementFactory.getMem...
public class class_name { @Deprecated private void emitJvmMemMetrics(ServiceEmitter emitter) { // I have no idea why, but jvm/mem is slightly more than the sum of jvm/pool. Let's just include // them both. final Map<String, MemoryUsage> usages = ImmutableMap.of( "heap", ManagementFactory.getMem...
public class class_name { public final void setCancelable(final Cancelable cancelable) { if (SwingUtilities.isEventDispatchThread()) { setCancelableIntern(cancelable); } else { try { SwingUtilities.invokeLater(new Runnable() { public voi...
public class class_name { public final void setCancelable(final Cancelable cancelable) { if (SwingUtilities.isEventDispatchThread()) { setCancelableIntern(cancelable); // depends on control dependency: [if], data = [none] } else { try { SwingUtilities.invoke...
public class class_name { private boolean nodeArtifactsMatch (org.eclipse.aether.graph.DependencyNode nodeA, org.eclipse.aether.graph.DependencyNode nodeB) { if (nodeA == null || nodeB == null) { return false; } return nodeA.getArtifact().getGroupId ().e...
public class class_name { private boolean nodeArtifactsMatch (org.eclipse.aether.graph.DependencyNode nodeA, org.eclipse.aether.graph.DependencyNode nodeB) { if (nodeA == null || nodeB == null) { return false; // depends on control dependency: [if], data = [none] }...
public class class_name { public RosterEntry getEntry(String user) { if (user == null) { return null; } // Roster entries never include a resource so remove the resource // if it's a part of the XMPP address. user = StringUtils.parseBareAddress(user); String ...
public class class_name { public RosterEntry getEntry(String user) { if (user == null) { return null; // depends on control dependency: [if], data = [none] } // Roster entries never include a resource so remove the resource // if it's a part of the XMPP address. user...
public class class_name { public boolean isMasked(final @CheckForNull ParameterValue value, final @Nonnull String paramValueClassName) { // We always mask sensitive variables, the configuration does not matter in such case if (value != null && value.isSensitive()) { re...
public class class_name { public boolean isMasked(final @CheckForNull ParameterValue value, final @Nonnull String paramValueClassName) { // We always mask sensitive variables, the configuration does not matter in such case if (value != null && value.isSensitive()) { re...
public class class_name { public void onChanged(ChangedEvent event) { String value = (String) scaleItem.getValue(); Double scale = valueToScale.get(value); if (scale != null && !Double.isNaN(pixelLength) && 0.0 != pixelLength) { mapView.setCurrentScale(scale / pixelLength, MapView.ZoomOption.LEVEL_CLOSEST); ...
public class class_name { public void onChanged(ChangedEvent event) { String value = (String) scaleItem.getValue(); Double scale = valueToScale.get(value); if (scale != null && !Double.isNaN(pixelLength) && 0.0 != pixelLength) { mapView.setCurrentScale(scale / pixelLength, MapView.ZoomOption.LEVEL_CLOSEST); ...
public class class_name { @SuppressWarnings("unchecked") public <E> List<E> upsert(List<E> entities) { if (entities == null || entities.isEmpty()) { return new ArrayList<>(); } try { entityManager.executeEntityListeners(CallbackType.PRE_UPSERT, entities); FullEntity<?>[] nativeEntities ...
public class class_name { @SuppressWarnings("unchecked") public <E> List<E> upsert(List<E> entities) { if (entities == null || entities.isEmpty()) { return new ArrayList<>(); // depends on control dependency: [if], data = [none] } try { entityManager.executeEntityListeners(CallbackType.PRE_UP...
public class class_name { public static void updateAllForFacade(DataStore dataStore, Iterator<Update> updateIter, Set<String> tags) { // Invoke dataStore.updateAll() with smallish batches so if one batch fails due to server failure, we will // fail over to another server using the Ostrich retry/failove...
public class class_name { public static void updateAllForFacade(DataStore dataStore, Iterator<Update> updateIter, Set<String> tags) { // Invoke dataStore.updateAll() with smallish batches so if one batch fails due to server failure, we will // fail over to another server using the Ostrich retry/failove...
public class class_name { public static String getGroupName(final File file) { if (OsValidator.WINDOWS) { logger.trace("Determining 'group' is skipped for file [{}] on [{}]", file, OsValidator.OS); return null; } try { final Path path = Paths.get(file.getAbso...
public class class_name { public static String getGroupName(final File file) { if (OsValidator.WINDOWS) { logger.trace("Determining 'group' is skipped for file [{}] on [{}]", file, OsValidator.OS); // depends on control dependency: [if], data = [none] return null; // depends on control ...
public class class_name { static StereoEncoder newEncoder(IAtomContainer container, IAtom left, IAtom leftParent, IAtom right, IAtom rightParent, int[][] graph) { List<IBond> leftBonds = container.getConnectedBondsList(left); List<IBond> rightBonds = container.getConnectedBondsList(right);...
public class class_name { static StereoEncoder newEncoder(IAtomContainer container, IAtom left, IAtom leftParent, IAtom right, IAtom rightParent, int[][] graph) { List<IBond> leftBonds = container.getConnectedBondsList(left); List<IBond> rightBonds = container.getConnectedBondsList(right);...
public class class_name { @Override public void visitCode(Code obj) { Method m = getMethod(); stack.resetForMethodEntry(this); initializedRegs.clear(); modifyRegs.clear(); Type[] argTypes = m.getArgumentTypes(); int arg = m.isStatic() ? 0 : 1; for (Type argTy...
public class class_name { @Override public void visitCode(Code obj) { Method m = getMethod(); stack.resetForMethodEntry(this); initializedRegs.clear(); modifyRegs.clear(); Type[] argTypes = m.getArgumentTypes(); int arg = m.isStatic() ? 0 : 1; for (Type argTy...
public class class_name { private Map<Class<?>, InterfaceInfo> getInterfaceInfoMap() { if (interfaceInfoMap == null) { interfaceInfoMap = new HashMap<Class<?>, InterfaceInfo>(); for (final Class<?> c : packageClasses) { if (INTERESTING_CLASSES.accept( c )) { ...
public class class_name { private Map<Class<?>, InterfaceInfo> getInterfaceInfoMap() { if (interfaceInfoMap == null) { interfaceInfoMap = new HashMap<Class<?>, InterfaceInfo>(); // depends on control dependency: [if], data = [none] for (final Class<?> c : packageClasses) { ...
public class class_name { static int guessNumWords(Beliefs b) { int n = -1; for (int v=0; v<b.varBeliefs.length; v++) { Var var = b.varBeliefs[v].getVars().get(0); if (var instanceof LinkVar) { LinkVar link = (LinkVar) var; int p = link.getParent(...
public class class_name { static int guessNumWords(Beliefs b) { int n = -1; for (int v=0; v<b.varBeliefs.length; v++) { Var var = b.varBeliefs[v].getVars().get(0); if (var instanceof LinkVar) { LinkVar link = (LinkVar) var; int p = link.getParent(...
public class class_name { public DescribeIamInstanceProfileAssociationsResult withIamInstanceProfileAssociations(IamInstanceProfileAssociation... iamInstanceProfileAssociations) { if (this.iamInstanceProfileAssociations == null) { setIamInstanceProfileAssociations(new com.amazonaws.internal.SdkInte...
public class class_name { public DescribeIamInstanceProfileAssociationsResult withIamInstanceProfileAssociations(IamInstanceProfileAssociation... iamInstanceProfileAssociations) { if (this.iamInstanceProfileAssociations == null) { setIamInstanceProfileAssociations(new com.amazonaws.internal.SdkInte...
public class class_name { @Override public final void setReplyPriority(int value) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setReplyPriority", Integer.valueOf(value)); if ((value >= MfpConstants.MIN_PRIORITY) && (value <= MfpConstants.MAX_...
public class class_name { @Override public final void setReplyPriority(int value) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "setReplyPriority", Integer.valueOf(value)); if ((value >= MfpConstants.MIN_PRIORITY) && (value <= MfpConstants.MAX_...
public class class_name { private boolean isStyle(String style) { for (int i = 0; i < style.length(); ++i) { char c = style.charAt(i); if (!Character.isWhitespace(c)) { return (c == '<'); } } return false; } }
public class class_name { private boolean isStyle(String style) { for (int i = 0; i < style.length(); ++i) { char c = style.charAt(i); if (!Character.isWhitespace(c)) { return (c == '<'); // depends on control dependency: [if], data = [none] } } return false; } }
public class class_name { public Observable<ServiceResponse<GenericResourceInner>> beginUpdateWithServiceResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters) { if (resou...
public class class_name { public Observable<ServiceResponse<GenericResourceInner>> beginUpdateWithServiceResponseAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion, GenericResourceInner parameters) { if (resou...
public class class_name { public static Path doPath(String s) { int n = s.length(); ParserHelper ph = new ParserHelper(s); ph.skipWhitespace(); Path p = new Path(); float lastX = 0; float lastY = 0; float lastX1 = 0; float lastY1 = 0; float contou...
public class class_name { public static Path doPath(String s) { int n = s.length(); ParserHelper ph = new ParserHelper(s); ph.skipWhitespace(); Path p = new Path(); float lastX = 0; float lastY = 0; float lastX1 = 0; float lastY1 = 0; float contou...
public class class_name { protected EventBuilder createEventBuilder(LoggingEvent loggingEvent) { EventBuilder eventBuilder = new EventBuilder() .withSdkIntegration("log4j") .withTimestamp(new Date(loggingEvent.getTimeStamp())) .withMessage(loggingEvent.getRenderedMessage()) ...
public class class_name { protected EventBuilder createEventBuilder(LoggingEvent loggingEvent) { EventBuilder eventBuilder = new EventBuilder() .withSdkIntegration("log4j") .withTimestamp(new Date(loggingEvent.getTimeStamp())) .withMessage(loggingEvent.getRenderedMessage()) ...
public class class_name { public Object convertFormValueToModelValue(Object propertyValue) { if (propertyValue==null || "".equals(propertyValue)) { return null; } try { return dateFormat.parseObject(propertyValue.toString()); } catch (ParseException e) { throw new ProcessEngineExcepti...
public class class_name { public Object convertFormValueToModelValue(Object propertyValue) { if (propertyValue==null || "".equals(propertyValue)) { return null; // depends on control dependency: [if], data = [none] } try { return dateFormat.parseObject(propertyValue.toString()); // depends on c...
public class class_name { public final boolean synpred88_InternalXbase() { state.backtracking++; int start = input.mark(); try { synpred88_InternalXbase_fragment(); // can never throw exception } catch (RecognitionException re) { System.err.println("impossible: "...
public class class_name { public final boolean synpred88_InternalXbase() { state.backtracking++; int start = input.mark(); try { synpred88_InternalXbase_fragment(); // can never throw exception // depends on control dependency: [try], data = [none] } catch (RecognitionExcept...
public class class_name { @Override public String produce(String lastSourceOffset, int maxBatchSize, BatchMaker batchMaker) throws StageException { String nextSourceOffset = null; LOG.debug("lastSourceOffset: {}", lastSourceOffset); // send event only once for each time we run out of data. if(shoul...
public class class_name { @Override public String produce(String lastSourceOffset, int maxBatchSize, BatchMaker batchMaker) throws StageException { String nextSourceOffset = null; LOG.debug("lastSourceOffset: {}", lastSourceOffset); // send event only once for each time we run out of data. if(shoul...
public class class_name { protected Name nextNameForVersionNode( Property predecessors, ChildReferences historyChildren ) { String proposedName = null; CachedNode versionNode = null; // Try to find the versions in the history that are considered prede...
public class class_name { protected Name nextNameForVersionNode( Property predecessors, ChildReferences historyChildren ) { String proposedName = null; CachedNode versionNode = null; // Try to find the versions in the history that are considered prede...
public class class_name { private List<String> createRoles(HttpConstraintElement httpConstraint) { String[] rolesFromAnno = httpConstraint.getRolesAllowed(); List<String> roles = new ArrayList<String>(); for (int i = 0; i < rolesFromAnno.length; i++) { roles.add(rolesFromAnno[i]); ...
public class class_name { private List<String> createRoles(HttpConstraintElement httpConstraint) { String[] rolesFromAnno = httpConstraint.getRolesAllowed(); List<String> roles = new ArrayList<String>(); for (int i = 0; i < rolesFromAnno.length; i++) { roles.add(rolesFromAnno[i]); /...
public class class_name { @Override public void handlePopups() { /* * try { executeJavaScript("window.alert = function(msg){return true;};" + * "window.confirm = function(msg){return true;};" + * "window.prompt = function(msg){return true;};"); } catch (CrawljaxException e) { * LOGGER.error("Handling of...
public class class_name { @Override public void handlePopups() { /* * try { executeJavaScript("window.alert = function(msg){return true;};" + * "window.confirm = function(msg){return true;};" + * "window.prompt = function(msg){return true;};"); } catch (CrawljaxException e) { * LOGGER.error("Handling of...
public class class_name { public void undeployManaged(@Observes UnDeployManagedDeployments event) throws Exception { forEachDeployedDeployment(new Operation<Container, Deployment>() { @Inject private Event<DeploymentEvent> event; @Override public void perform(Co...
public class class_name { public void undeployManaged(@Observes UnDeployManagedDeployments event) throws Exception { forEachDeployedDeployment(new Operation<Container, Deployment>() { @Inject private Event<DeploymentEvent> event; @Override public void perform(Co...
public class class_name { private static int gregoYearFromIslamicStart(int year) { // ad hoc conversion, improve under #10752 // rough est for now, ok for grego 1846-2138, // otherwise occasionally wrong (for 3% of years) int cycle, offset, shift = 0; if (year >= 1397) { ...
public class class_name { private static int gregoYearFromIslamicStart(int year) { // ad hoc conversion, improve under #10752 // rough est for now, ok for grego 1846-2138, // otherwise occasionally wrong (for 3% of years) int cycle, offset, shift = 0; if (year >= 1397) { ...
public class class_name { @Override public void run() { synchronized (this) { // Save current event pipeline and currently handled event // because a SynchronousEventPipeline can be called while // handling an event (from another event processor). InternalEve...
public class class_name { @Override public void run() { synchronized (this) { // Save current event pipeline and currently handled event // because a SynchronousEventPipeline can be called while // handling an event (from another event processor). InternalEve...
public class class_name { public static List<Field> getNotKeyColumns(Class<?> clazz) { List<Field> fields = getColumns(clazz); List<Field> keyFields = new ArrayList<Field>(); for(Field field : fields) { Column column = field.getAnnotation(Column.class); if(!column.isKey()) { keyFields.add(field); ...
public class class_name { public static List<Field> getNotKeyColumns(Class<?> clazz) { List<Field> fields = getColumns(clazz); List<Field> keyFields = new ArrayList<Field>(); for(Field field : fields) { Column column = field.getAnnotation(Column.class); if(!column.isKey()) { keyFields.add(field); //...
public class class_name { public static String encodeUnicode(final String gbString) { char[] utfBytes = gbString.toCharArray(); String unicodeBytes = ""; for (int byteIndex = 0; byteIndex < utfBytes.length; byteIndex++) { String hexB = Integer.toHexString(utfBytes[byteIndex]); //转...
public class class_name { public static String encodeUnicode(final String gbString) { char[] utfBytes = gbString.toCharArray(); String unicodeBytes = ""; for (int byteIndex = 0; byteIndex < utfBytes.length; byteIndex++) { String hexB = Integer.toHexString(utfBytes[byteIndex]); //转...
public class class_name { @Override public Multimedia addMultimediaToPerson(final Person person, final String string) { if (person == null || string == null) { return new Multimedia(); } final Multimedia mm = new Multimedia(person, "Multimedia", string); pers...
public class class_name { @Override public Multimedia addMultimediaToPerson(final Person person, final String string) { if (person == null || string == null) { return new Multimedia(); // depends on control dependency: [if], data = [none] } final Multimedia mm = new ...
public class class_name { public synchronized Taxonomy<ElkObjectProperty> getObjectPropertyTaxonomyQuietly() throws ElkException { Taxonomy<ElkObjectProperty> result; try { result = getObjectPropertyTaxonomy(); } catch (ElkInconsistentOntologyException e) { LOGGER_.debug("Ontology is inconsistent"); ...
public class class_name { public synchronized Taxonomy<ElkObjectProperty> getObjectPropertyTaxonomyQuietly() throws ElkException { Taxonomy<ElkObjectProperty> result; try { result = getObjectPropertyTaxonomy(); // depends on control dependency: [try], data = [none] } catch (ElkInconsistentOntologyExceptio...
public class class_name { public JmsDestinationType<WebFragmentDescriptor> getOrCreateJmsDestination() { List<Node> nodeList = model.get("jms-destination"); if (nodeList != null && nodeList.size() > 0) { return new JmsDestinationTypeImpl<WebFragmentDescriptor>(this, "jms-destination", mo...
public class class_name { public JmsDestinationType<WebFragmentDescriptor> getOrCreateJmsDestination() { List<Node> nodeList = model.get("jms-destination"); if (nodeList != null && nodeList.size() > 0) { return new JmsDestinationTypeImpl<WebFragmentDescriptor>(this, "jms-destination", mo...
public class class_name { public String getInitialTransport() { if(getTransaction() != null) { return ((SIPTransaction)getTransaction()).getTransport(); } else { ViaHeader via = (ViaHeader) message.getHeader(ViaHeader.NAME); if(via == null || // https://github.com/Mobicents/sip-servlets/issues/47 ...
public class class_name { public String getInitialTransport() { if(getTransaction() != null) { return ((SIPTransaction)getTransaction()).getTransport(); // depends on control dependency: [if], data = [none] } else { ViaHeader via = (ViaHeader) message.getHeader(ViaHeader.NAME); if(via == null || // h...
public class class_name { public Map<String, Object> asMap() { Map<String, Object> map = getBody().asMap(); // add meta properties: ID, rev, deleted map.put("_id", id); if (revision != null) { map.put("_rev", revision); } if (this.isDeleted()) { m...
public class class_name { public Map<String, Object> asMap() { Map<String, Object> map = getBody().asMap(); // add meta properties: ID, rev, deleted map.put("_id", id); if (revision != null) { map.put("_rev", revision); // depends on control dependency: [if], data = [none] ...
public class class_name { public CRDTTimestampedLong subtractAndGet(long delta, VectorClock observedTimestamps) { checkSessionConsistency(observedTimestamps); stateWriteLock.lock(); try { checkNotMigrated(); if (delta < 0) { return addAndGet(-delta, obser...
public class class_name { public CRDTTimestampedLong subtractAndGet(long delta, VectorClock observedTimestamps) { checkSessionConsistency(observedTimestamps); stateWriteLock.lock(); try { checkNotMigrated(); // depends on control dependency: [try], data = [none] if (delt...
public class class_name { private char getRelationFromStringMatchers(String sourceLabel, String targetLabel) { char relation = IMappingElement.IDK; int i = 0; while ((relation == IMappingElement.IDK) && (i < stringMatchers.size())) { relation = stringMatchers.get(i).match(source...
public class class_name { private char getRelationFromStringMatchers(String sourceLabel, String targetLabel) { char relation = IMappingElement.IDK; int i = 0; while ((relation == IMappingElement.IDK) && (i < stringMatchers.size())) { relation = stringMatchers.get(i).match(source...
public class class_name { public static Map<String, Object> get(File packageFile) throws IOException { ZipFile zipFile = null; try { zipFile = new ZipFile(packageFile); ZipArchiveEntry entry = zipFile.getEntry(ZIP_ENTRY_PROPERTIES); if (entry != null && !entry.isDirectory()) { Map<Str...
public class class_name { public static Map<String, Object> get(File packageFile) throws IOException { ZipFile zipFile = null; try { zipFile = new ZipFile(packageFile); ZipArchiveEntry entry = zipFile.getEntry(ZIP_ENTRY_PROPERTIES); if (entry != null && !entry.isDirectory()) { Map<Str...
public class class_name { @Override public void accumulateChunk(NDArrayMessageChunk chunk) { String id = chunk.getId(); if (!chunks.containsKey(id)) { List<NDArrayMessageChunk> list = new ArrayList<>(); list.add(chunk); chunks.put(id, list); } else { ...
public class class_name { @Override public void accumulateChunk(NDArrayMessageChunk chunk) { String id = chunk.getId(); if (!chunks.containsKey(id)) { List<NDArrayMessageChunk> list = new ArrayList<>(); list.add(chunk); // depends on control dependency: [if], data = [none] ...
public class class_name { @VisibleForTesting public static void runMain(final String[] args) throws Exception { final CliHelpDefinition helpCli = new CliHelpDefinition(); try { Args.parse(helpCli, args); if (helpCli.help) { printUsage(0); ret...
public class class_name { @VisibleForTesting public static void runMain(final String[] args) throws Exception { final CliHelpDefinition helpCli = new CliHelpDefinition(); try { Args.parse(helpCli, args); if (helpCli.help) { printUsage(0); // depends on contr...
public class class_name { @Override @Trivial public synchronized Collection<File> getFileset() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "Retrieving fileSet", pid); // check if the filters are current // and re-evaluate if necessary ...
public class class_name { @Override @Trivial public synchronized Collection<File> getFileset() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) Tr.debug(tc, "Retrieving fileSet", pid); // check if the filters are current // and re-evaluate if necessary ...
public class class_name { @Override String[] getProgramArguments() throws IOException { LOGGER.entering(); List<String> args = new LinkedList<>(Arrays.asList(super.getProgramArguments())); // add the defaults which we don't already have a value for for (Entry<String, JsonElement> e...
public class class_name { @Override String[] getProgramArguments() throws IOException { LOGGER.entering(); List<String> args = new LinkedList<>(Arrays.asList(super.getProgramArguments())); // add the defaults which we don't already have a value for for (Entry<String, JsonElement> e...
public class class_name { static synchronized void shutDownHub() { LOGGER.entering(); if (!isRunLocally()) { LOGGER.exiting(); return; } // shutdown in reverse order Collections.reverse(toBoot); for (LocalServerComponent eachItem : toBoot) { ...
public class class_name { static synchronized void shutDownHub() { LOGGER.entering(); if (!isRunLocally()) { LOGGER.exiting(); // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } // shutdown in re...
public class class_name { @SuppressWarnings("unchecked") public static <T> Stream<T> create(final Iterable<? extends T> iterable) { if (iterable instanceof Stream) { return (Stream<T>) iterable; } else if (iterable instanceof ImmutableCollection<?> && ((ImmutableCollecti...
public class class_name { @SuppressWarnings("unchecked") public static <T> Stream<T> create(final Iterable<? extends T> iterable) { if (iterable instanceof Stream) { return (Stream<T>) iterable; // depends on control dependency: [if], data = [none] } else if (iterable instanceof Immutab...
public class class_name { @Override public void pickTraining(@NonNull SkipGramRequestMessage message) { RequestDescriptor descriptor = RequestDescriptor.createDescriptor(message.getOriginatorId(), message.getTaskId()); if (!chains.containsKey(descriptor)) { SkipG...
public class class_name { @Override public void pickTraining(@NonNull SkipGramRequestMessage message) { RequestDescriptor descriptor = RequestDescriptor.createDescriptor(message.getOriginatorId(), message.getTaskId()); if (!chains.containsKey(descriptor)) { SkipG...
public class class_name { protected Observable<PreparedPayload> prepare(Statement statement) { final PrepareStatement prepared; if (statement instanceof PrepareStatement) { prepared = (PrepareStatement) statement; } else { //not including an explicit name here will produ...
public class class_name { protected Observable<PreparedPayload> prepare(Statement statement) { final PrepareStatement prepared; if (statement instanceof PrepareStatement) { prepared = (PrepareStatement) statement; // depends on control dependency: [if], data = [none] } else { ...
public class class_name { public boolean removeBusStop(BusStop busStop) { if (this.validBusStops.remove(busStop)) { busStop.setContainer(null); busStop.setEventFirable(true); fireShapeChanged(new BusChangeEvent(this, BusChangeEventType.STOP_REMOVED, busStop, -1, "shape", //$NON-NLS-1$ ...
public class class_name { public boolean removeBusStop(BusStop busStop) { if (this.validBusStops.remove(busStop)) { busStop.setContainer(null); // depends on control dependency: [if], data = [none] busStop.setEventFirable(true); // depends on control dependency: [if], data = [none] fireShapeChanged(new BusC...
public class class_name { @VisibleForTesting public ControllerServiceStarter awaitServiceStarting() { monitor.enterWhenUninterruptibly(hasReachedStarting); try { if (serviceState != ServiceState.STARTING) { throw new IllegalStateException("Expected state=" + ServiceState...
public class class_name { @VisibleForTesting public ControllerServiceStarter awaitServiceStarting() { monitor.enterWhenUninterruptibly(hasReachedStarting); try { if (serviceState != ServiceState.STARTING) { throw new IllegalStateException("Expected state=" + ServiceState...
public class class_name { public java.util.List<String> getBaseEndpointDnsNames() { if (baseEndpointDnsNames == null) { baseEndpointDnsNames = new com.amazonaws.internal.SdkInternalList<String>(); } return baseEndpointDnsNames; } }
public class class_name { public java.util.List<String> getBaseEndpointDnsNames() { if (baseEndpointDnsNames == null) { baseEndpointDnsNames = new com.amazonaws.internal.SdkInternalList<String>(); // depends on control dependency: [if], data = [none] } return baseEndpointDnsNames; ...
public class class_name { public Observable<ServiceResponse<OperationStatus>> updateWithServiceResponseAsync(UUID appId, ApplicationUpdateObject applicationUpdateObject) { if (this.client.endpoint() == null) { throw new IllegalArgumentException("Parameter this.client.endpoint() is required and cann...
public class class_name { public Observable<ServiceResponse<OperationStatus>> updateWithServiceResponseAsync(UUID appId, ApplicationUpdateObject applicationUpdateObject) { if (this.client.endpoint() == null) { throw new IllegalArgumentException("Parameter this.client.endpoint() is required and cann...
public class class_name { public FindingFilter withSeverities(Severity... severities) { java.util.ArrayList<String> severitiesCopy = new java.util.ArrayList<String>(severities.length); for (Severity value : severities) { severitiesCopy.add(value.toString()); } if (getSeverit...
public class class_name { public FindingFilter withSeverities(Severity... severities) { java.util.ArrayList<String> severitiesCopy = new java.util.ArrayList<String>(severities.length); for (Severity value : severities) { severitiesCopy.add(value.toString()); // depends on control dependency...
public class class_name { public void addAddon(MapAddon addon) { if (null == addons) { addons = new ArrayList<MapAddon>(); } addons.add(addon); } }
public class class_name { public void addAddon(MapAddon addon) { if (null == addons) { addons = new ArrayList<MapAddon>(); // depends on control dependency: [if], data = [none] } addons.add(addon); } }
public class class_name { void removeAllButDeepestAndAddCacheLeafNodes(int depth) { Queue<SchemaTableTree> queue = new LinkedList<>(); queue.add(this); while (!queue.isEmpty()) { SchemaTableTree current = queue.remove(); if (current.stepDepth < depth && current.children....
public class class_name { void removeAllButDeepestAndAddCacheLeafNodes(int depth) { Queue<SchemaTableTree> queue = new LinkedList<>(); queue.add(this); while (!queue.isEmpty()) { SchemaTableTree current = queue.remove(); if (current.stepDepth < depth && current.children....
public class class_name { public static String decode(Geometry geometry, float scale) { if (geometry == null) { return ""; } if (geometry instanceof LinearRing) { return decodeLinearRing((LinearRing) geometry, scale); } else if (geometry instanceof LineString) { return decodeLine((LineString) geometry...
public class class_name { public static String decode(Geometry geometry, float scale) { if (geometry == null) { return ""; // depends on control dependency: [if], data = [none] } if (geometry instanceof LinearRing) { return decodeLinearRing((LinearRing) geometry, scale); // depends on control dependency: [...
public class class_name { public boolean triggerCheckpoint(long timestamp, boolean isPeriodic) { try { triggerCheckpoint(timestamp, checkpointProperties, null, isPeriodic, false); return true; } catch (CheckpointException e) { return false; } } }
public class class_name { public boolean triggerCheckpoint(long timestamp, boolean isPeriodic) { try { triggerCheckpoint(timestamp, checkpointProperties, null, isPeriodic, false); // depends on control dependency: [try], data = [none] return true; // depends on control dependency: [try], data = [none] } catc...
public class class_name { public String decryptOrNull(String data) { try { return decrypt(data); } catch (Exception e) { e.printStackTrace(); return null; } } }
public class class_name { public String decryptOrNull(String data) { try { return decrypt(data); // depends on control dependency: [try], data = [none] } catch (Exception e) { e.printStackTrace(); return null; } // depends on control dependency: [catch], data...
public class class_name { public boolean doCommand(String strCommand, ScreenField sourceSField, int iCommandOptions) { boolean bFlag = super.doCommand(strCommand, sourceSField, iCommandOptions); // This will send the command to my view if (bFlag) return bFlag; // Handled by my view ...
public class class_name { public boolean doCommand(String strCommand, ScreenField sourceSField, int iCommandOptions) { boolean bFlag = super.doCommand(strCommand, sourceSField, iCommandOptions); // This will send the command to my view if (bFlag) return bFlag; // Handled by my view ...