code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public void write() { try { org.jxls.common.Context ctx = new org.jxls.common.Context(); for (Map.Entry<String, Object> entry : context.getDatas().entrySet()) { ctx.putVar(entry.getKey(), entry.getValue()); } JxlsHelper.getInstance().processTemplate(templat...
public class class_name { public void write() { try { org.jxls.common.Context ctx = new org.jxls.common.Context(); for (Map.Entry<String, Object> entry : context.getDatas().entrySet()) { ctx.putVar(entry.getKey(), entry.getValue()); // depends on control dependency: [for], data = [entry] ...
public class class_name { public static TableModel[] entity2ReadOnlyModel(Class<?>... entityClasses) { List<TableModel> l = new ArrayList<TableModel>(); for (Class<?> clazz : entityClasses) { l.add(entity2ReadOnlyModel(clazz)); } return l.toArray(new TableModel[l.size()]); } }
public class class_name { public static TableModel[] entity2ReadOnlyModel(Class<?>... entityClasses) { List<TableModel> l = new ArrayList<TableModel>(); for (Class<?> clazz : entityClasses) { l.add(entity2ReadOnlyModel(clazz)); // depends on control dependency: [for], data = [clazz] } return l.toArray(new T...
public class class_name { public boolean add(Object o) { if (isAddedCompletely()) { throw new IllegalStateException("This LargeElement has already been added to the Document."); } try { Element element = (Element) o; if (element.type() == Element.SECTION) { ...
public class class_name { public boolean add(Object o) { if (isAddedCompletely()) { throw new IllegalStateException("This LargeElement has already been added to the Document."); } try { Element element = (Element) o; if (element.type() == Element.SECTION) { ...
public class class_name { public void visit(final WebApp webApp) { //CHECKSTYLE:OFF try { httpService.unregister("/"); } catch (Exception ignore) { LOG.warn("Unregistration exception. Skipping.", ignore); } //CHECKSTYLE:ON } }
public class class_name { public void visit(final WebApp webApp) { //CHECKSTYLE:OFF try { httpService.unregister("/"); // depends on control dependency: [try], data = [none] } catch (Exception ignore) { LOG.warn("Unregistration exception. Skipping.", ignore); } // depends on control dependency: [c...
public class class_name { public static MonitoredResource getResource(String projectId, String resourceTypeParam) { String resourceType = resourceTypeParam; if (Strings.isNullOrEmpty(resourceType)) { Resource detectedResourceType = getAutoDetectedResourceType(); resourceType = detectedResourceType....
public class class_name { public static MonitoredResource getResource(String projectId, String resourceTypeParam) { String resourceType = resourceTypeParam; if (Strings.isNullOrEmpty(resourceType)) { Resource detectedResourceType = getAutoDetectedResourceType(); resourceType = detectedResourceType....
public class class_name { public Q setTime(final int index, final Time value) { initPrepared(); try { preparedStatement.setTime(index, value); } catch (SQLException sex) { throwSetParamError(index, sex); } return _this(); } }
public class class_name { public Q setTime(final int index, final Time value) { initPrepared(); try { preparedStatement.setTime(index, value); // depends on control dependency: [try], data = [none] } catch (SQLException sex) { throwSetParamError(index, sex); } // depends on control dependency: [catch], d...
public class class_name { public void setSlotTypes(java.util.Collection<SlotTypeMetadata> slotTypes) { if (slotTypes == null) { this.slotTypes = null; return; } this.slotTypes = new java.util.ArrayList<SlotTypeMetadata>(slotTypes); } }
public class class_name { public void setSlotTypes(java.util.Collection<SlotTypeMetadata> slotTypes) { if (slotTypes == null) { this.slotTypes = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } t...
public class class_name { static DataSource getDataSource(Object rawDataSource, PageContext pc) throws JspException { DataSource dataSource = null; if (rawDataSource == null) { rawDataSource = Config.find(pc, Config.SQL_DATA_SOURCE); } if (rawDataSource == null) { retur...
public class class_name { static DataSource getDataSource(Object rawDataSource, PageContext pc) throws JspException { DataSource dataSource = null; if (rawDataSource == null) { rawDataSource = Config.find(pc, Config.SQL_DATA_SOURCE); } if (rawDataSource == null) { retur...
public class class_name { public void setHITLayoutParameters(java.util.Collection<HITLayoutParameter> hITLayoutParameters) { if (hITLayoutParameters == null) { this.hITLayoutParameters = null; return; } this.hITLayoutParameters = new java.util.ArrayList<HITLayoutParamet...
public class class_name { public void setHITLayoutParameters(java.util.Collection<HITLayoutParameter> hITLayoutParameters) { if (hITLayoutParameters == null) { this.hITLayoutParameters = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency...
public class class_name { public static ULong[] ulong_a(long... values) { ULong[] array = new ULong[values.length]; for (int i = 0; i < values.length; i++) { array[i] = ulong(values[i]); } return array; } }
public class class_name { public static ULong[] ulong_a(long... values) { ULong[] array = new ULong[values.length]; for (int i = 0; i < values.length; i++) { array[i] = ulong(values[i]); // depends on control dependency: [for], data = [i] } return array; } }
public class class_name { public int consume(Map<String, String> initialVars) { int result = 0; for (int i = 0; i < repeatNumber; i++) { result += super.consume(initialVars); } return result; } }
public class class_name { public int consume(Map<String, String> initialVars) { int result = 0; for (int i = 0; i < repeatNumber; i++) { result += super.consume(initialVars); // depends on control dependency: [for], data = [none] } return result; } }
public class class_name { public ClassNode getClassNode(final String name) { final ClassNode[] result = new ClassNode[]{null}; PrimaryClassNodeOperation handler = new PrimaryClassNodeOperation() { public void call(SourceUnit source, GeneratorContext context, ClassNode classNode) { ...
public class class_name { public ClassNode getClassNode(final String name) { final ClassNode[] result = new ClassNode[]{null}; PrimaryClassNodeOperation handler = new PrimaryClassNodeOperation() { public void call(SourceUnit source, GeneratorContext context, ClassNode classNode) { ...
public class class_name { public void marshall(AutoScalingSettingsUpdate autoScalingSettingsUpdate, ProtocolMarshaller protocolMarshaller) { if (autoScalingSettingsUpdate == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { public void marshall(AutoScalingSettingsUpdate autoScalingSettingsUpdate, ProtocolMarshaller protocolMarshaller) { if (autoScalingSettingsUpdate == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { public String getPropertyUriPattern(PropertyIdValue propertyIdValue) { if (!this.datatypes.containsKey(propertyIdValue.getId())) { fetchPropertyInformation(propertyIdValue); } return this.uriPatterns.get(propertyIdValue.getId()); } }
public class class_name { public String getPropertyUriPattern(PropertyIdValue propertyIdValue) { if (!this.datatypes.containsKey(propertyIdValue.getId())) { fetchPropertyInformation(propertyIdValue); // depends on control dependency: [if], data = [none] } return this.uriPatterns.get(propertyIdValue.getId()); ...
public class class_name { @Override public void write(TextWriterStream out, String label, DoubleDoublePair object) { if(object != null) { String res; if(label != null) { res = label + "=" + object.first + "," + object.second; } else { res = object.first + " " + object.seco...
public class class_name { @Override public void write(TextWriterStream out, String label, DoubleDoublePair object) { if(object != null) { String res; if(label != null) { res = label + "=" + object.first + "," + object.second; // depends on control dependency: [if], data = [none] } ...
public class class_name { public boolean accept() { StringBuffer buff = new StringBuffer("Invalid field value "); boolean ok = true; for (Object o : flds.values()) ok &= ((Field) o).accept(buff); if (!ok) { try { JOptionPane.showMessageDialog(PrefPanel.findActiveFrame(), buff.toString()); ...
public class class_name { public boolean accept() { StringBuffer buff = new StringBuffer("Invalid field value "); boolean ok = true; for (Object o : flds.values()) ok &= ((Field) o).accept(buff); if (!ok) { try { JOptionPane.showMessageDialog(PrefPanel.findActiveFrame(), buff.toString()); ...
public class class_name { public List<TargetRelationship> getPrerequisiteLevelRelationships() { final ArrayList<TargetRelationship> relationships = new ArrayList<TargetRelationship>(); for (final TargetRelationship relationship : levelRelationships) { if (relationship.getType() == Relations...
public class class_name { public List<TargetRelationship> getPrerequisiteLevelRelationships() { final ArrayList<TargetRelationship> relationships = new ArrayList<TargetRelationship>(); for (final TargetRelationship relationship : levelRelationships) { if (relationship.getType() == Relations...
public class class_name { public void setMailDefaultCharset(String charset) throws PageException { checkWriteAccess(); boolean hasAccess = ConfigWebUtil.hasAccess(config, SecurityManager.TYPE_MAIL); if (!hasAccess) throw new SecurityException("no access to update mail server settings"); if (!StringUtil.isEmpty(ch...
public class class_name { public void setMailDefaultCharset(String charset) throws PageException { checkWriteAccess(); boolean hasAccess = ConfigWebUtil.hasAccess(config, SecurityManager.TYPE_MAIL); if (!hasAccess) throw new SecurityException("no access to update mail server settings"); if (!StringUtil.isEmpty(ch...
public class class_name { @SuppressWarnings({ "unchecked", "rawtypes" }) public NodeConfig parse(Object rootObject) throws MarshalException { NodeConfig node = new NodeConfig(); List<AttributeConfig> attributeList = new ArrayList<AttributeConfig>(); List<NodeConfig> nodeList = new ArrayList<NodeConfig>(); C...
public class class_name { @SuppressWarnings({ "unchecked", "rawtypes" }) public NodeConfig parse(Object rootObject) throws MarshalException { NodeConfig node = new NodeConfig(); List<AttributeConfig> attributeList = new ArrayList<AttributeConfig>(); List<NodeConfig> nodeList = new ArrayList<NodeConfig>(); C...
public class class_name { public void requestState(long fileId, final FileCallback callback) { if (LOG) { Log.d(TAG, "Requesting state file #" + fileId); } Downloaded downloaded1 = downloaded.getValue(fileId); if (downloaded1 != null) { FileSystemReference refer...
public class class_name { public void requestState(long fileId, final FileCallback callback) { if (LOG) { Log.d(TAG, "Requesting state file #" + fileId); // depends on control dependency: [if], data = [none] } Downloaded downloaded1 = downloaded.getValue(fileId); if (downlo...
public class class_name { public void setDeployments(java.util.Collection<BulkDeploymentResult> deployments) { if (deployments == null) { this.deployments = null; return; } this.deployments = new java.util.ArrayList<BulkDeploymentResult>(deployments); } }
public class class_name { public void setDeployments(java.util.Collection<BulkDeploymentResult> deployments) { if (deployments == null) { this.deployments = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] ...
public class class_name { private void calculateRotationalAxis(Matrix rotation, Atom translation, double c) { // Calculate magnitude of rotationAxis components, but not signs double sum=0; double[] rotAx = new double[3]; for(int i=0;i<3;i++) { rotAx[i] = Math.sqrt(rotation.get(i, i)-c); sum+=rotAx[i]*...
public class class_name { private void calculateRotationalAxis(Matrix rotation, Atom translation, double c) { // Calculate magnitude of rotationAxis components, but not signs double sum=0; double[] rotAx = new double[3]; for(int i=0;i<3;i++) { rotAx[i] = Math.sqrt(rotation.get(i, i)-c); // depends on con...
public class class_name { @GwtIncompatible("incompatible method") @Nullable public static Locale parseLocale(final String localeValue) { final String[] tokens = StringUtils.tokenizeLocaleSource(localeValue); if (tokens.length == 1) { return Locale.ENGLISH; } return StringUtils.parseLocaleToke...
public class class_name { @GwtIncompatible("incompatible method") @Nullable public static Locale parseLocale(final String localeValue) { final String[] tokens = StringUtils.tokenizeLocaleSource(localeValue); if (tokens.length == 1) { return Locale.ENGLISH; // depends on control dependency: [if], data...
public class class_name { static public GrayF32 nonMaxSuppression4(GrayF32 intensity , GrayS8 direction , GrayF32 output ) { InputSanityCheck.checkSameShape(intensity,direction); output = InputSanityCheck.checkDeclare(intensity,output); if( BoofConcurrency.USE_CONCURRENT ) { ImplEdgeNonMaxSuppression_MT.inn...
public class class_name { static public GrayF32 nonMaxSuppression4(GrayF32 intensity , GrayS8 direction , GrayF32 output ) { InputSanityCheck.checkSameShape(intensity,direction); output = InputSanityCheck.checkDeclare(intensity,output); if( BoofConcurrency.USE_CONCURRENT ) { ImplEdgeNonMaxSuppression_MT.inn...
public class class_name { public void removeErrorPage(PageException pe) { // exception ErrorPage ep = getErrorPage(pe, ErrorPage.TYPE_EXCEPTION); if (ep != null) { pages.remove(ep); hasChanged = true; } // request ep = getErrorPage(pe, ErrorPage.TYPE_REQUEST); if (ep != null) { pages.remove(ep); ...
public class class_name { public void removeErrorPage(PageException pe) { // exception ErrorPage ep = getErrorPage(pe, ErrorPage.TYPE_EXCEPTION); if (ep != null) { pages.remove(ep); // depends on control dependency: [if], data = [(ep] hasChanged = true; // depends on control dependency: [if], data = [none...
public class class_name { public static byte[] fromString(final String pData) { if (pData == null) { throw new IllegalArgumentException("Argument can't be null"); } StringBuilder sb = new StringBuilder(pData); int j = 0; for (int i = 0; i < sb.length(); i++) { if (!Character.isWhitespace(sb.char...
public class class_name { public static byte[] fromString(final String pData) { if (pData == null) { throw new IllegalArgumentException("Argument can't be null"); } StringBuilder sb = new StringBuilder(pData); int j = 0; for (int i = 0; i < sb.length(); i++) { if (!Character.isWhitespace(sb.char...
public class class_name { public static Put put(String url, byte[] content, int connectTimeout, int readTimeout) { try { return new Put(url, content, connectTimeout, readTimeout); } catch (Exception e) { throw new HttpException("Failed URL: " + url, e); } } }
public class class_name { public static Put put(String url, byte[] content, int connectTimeout, int readTimeout) { try { return new Put(url, content, connectTimeout, readTimeout); // depends on control dependency: [try], data = [none] } catch (Exception e) { throw new HttpExcep...
public class class_name { private SelectQuery incrementQueryPagination(SelectQuery query, SelectResultValue prevResult) { Map<String, Integer> pagingIdentifiers = prevResult.getPagingIdentifiers(); Map<String, Integer> newPagingIdentifers = new HashMap<>(); for (String segmentId : pagingIdentifiers.keyS...
public class class_name { private SelectQuery incrementQueryPagination(SelectQuery query, SelectResultValue prevResult) { Map<String, Integer> pagingIdentifiers = prevResult.getPagingIdentifiers(); Map<String, Integer> newPagingIdentifers = new HashMap<>(); for (String segmentId : pagingIdentifiers.keyS...
public class class_name { private RegisteredService update(final RegisteredService rs) { val currentDn = getCurrentDnForRegisteredService(rs); if (StringUtils.isNotBlank(currentDn)) { LOGGER.debug("Updating registered service at [{}]", currentDn); val entry = this.ldapServiceMa...
public class class_name { private RegisteredService update(final RegisteredService rs) { val currentDn = getCurrentDnForRegisteredService(rs); if (StringUtils.isNotBlank(currentDn)) { LOGGER.debug("Updating registered service at [{}]", currentDn); val entry = this.ldapServiceMa...
public class class_name { public void setFilters(java.util.Collection<NamespaceFilter> filters) { if (filters == null) { this.filters = null; return; } this.filters = new java.util.ArrayList<NamespaceFilter>(filters); } }
public class class_name { public void setFilters(java.util.Collection<NamespaceFilter> filters) { if (filters == null) { this.filters = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } this.filte...
public class class_name { public StubbedInvocationMatcher addAnswer(Answer answer, boolean isConsecutive, Strictness stubbingStrictness) { Invocation invocation = invocationForStubbing.getInvocation(); mockingProgress().stubbingCompleted(); if (answer instanceof ValidableAnswer) { (...
public class class_name { public StubbedInvocationMatcher addAnswer(Answer answer, boolean isConsecutive, Strictness stubbingStrictness) { Invocation invocation = invocationForStubbing.getInvocation(); mockingProgress().stubbingCompleted(); if (answer instanceof ValidableAnswer) { (...
public class class_name { public long tryClaim(final int length, final BufferClaim bufferClaim) { checkPayloadLength(length); long newPosition = CLOSED; if (!isClosed) { final long limit = positionLimit.getVolatile(); final ExclusiveTermAppender termAppender...
public class class_name { public long tryClaim(final int length, final BufferClaim bufferClaim) { checkPayloadLength(length); long newPosition = CLOSED; if (!isClosed) { final long limit = positionLimit.getVolatile(); final ExclusiveTermAppender termAppender...
public class class_name { public List<Point2D> apply(PointFeature feature) { List<Point2D> points = feature.getPoints(); if (points.size() < 4) { return points; } Point2D pointOnHull = points.get(getIndexOfLeftMostPoint(points)); // leftmost point in shape List<P...
public class class_name { public List<Point2D> apply(PointFeature feature) { List<Point2D> points = feature.getPoints(); if (points.size() < 4) { return points; // depends on control dependency: [if], data = [none] } Point2D pointOnHull = points.get(getIndexOfLeftMostPoin...
public class class_name { @Nullable private Node<V> findNode(Node<V> node, String path, int begin, boolean exact) { final int next; switch (node.type()) { case EXACT: final int len = node.path().length(); if (!path.regionMatches(begin, node.path(), 0, len...
public class class_name { @Nullable private Node<V> findNode(Node<V> node, String path, int begin, boolean exact) { final int next; switch (node.type()) { case EXACT: final int len = node.path().length(); if (!path.regionMatches(begin, node.path(), 0, len...
public class class_name { public void addValuedTrainingInstance(int id, String label, List<StringDoublePair> features) { List<scala.Tuple2<String,Double>> arr = new ArrayList<scala.Tuple2<String,Double>>(); for (StringDoublePair pair : features) { arr.add(new scala.Tuple2<String,Double>(pair.getString...
public class class_name { public void addValuedTrainingInstance(int id, String label, List<StringDoublePair> features) { List<scala.Tuple2<String,Double>> arr = new ArrayList<scala.Tuple2<String,Double>>(); for (StringDoublePair pair : features) { arr.add(new scala.Tuple2<String,Double>(pair.getString...
public class class_name { public String getTitle() { CmsGallerySearchResult result; try { result = CmsGallerySearch.searchById( m_value.getCmsObject(), m_value.getContentValue().getDocument().getFile().getStructureId(), m_value.getLocale()); ...
public class class_name { public String getTitle() { CmsGallerySearchResult result; try { result = CmsGallerySearch.searchById( m_value.getCmsObject(), m_value.getContentValue().getDocument().getFile().getStructureId(), m_value.getLocale()); ...
public class class_name { public static boolean verifyTimestampCertificates(TimeStampToken ts, KeyStore keystore, String provider) { if (provider == null) provider = "BC"; try { for (Enumeration aliases = keystore.aliases(); aliases.hasMoreElements();) { try { ...
public class class_name { public static boolean verifyTimestampCertificates(TimeStampToken ts, KeyStore keystore, String provider) { if (provider == null) provider = "BC"; try { for (Enumeration aliases = keystore.aliases(); aliases.hasMoreElements();) { try { ...
public class class_name { private void growDataArray() { int newCapacity = data.length + (data.length >> 1); if (newCapacity - MAX_ARRAY_SIZE > 0) { newCapacity = MAX_ARRAY_SIZE; } data = Arrays.copyOf(data, newCapacity); } }
public class class_name { private void growDataArray() { int newCapacity = data.length + (data.length >> 1); if (newCapacity - MAX_ARRAY_SIZE > 0) { newCapacity = MAX_ARRAY_SIZE; // depends on control dependency: [if], data = [none] } data = Arrays.copyOf(data, newCapacity); } }
public class class_name { private List<Byte> asByteList(Object value) { byte[] values = (byte[]) value; List<Byte> list = new ArrayList<Byte>(values.length); for (byte byteValue : values) { list.add(byteValue); } return list; } }
public class class_name { private List<Byte> asByteList(Object value) { byte[] values = (byte[]) value; List<Byte> list = new ArrayList<Byte>(values.length); for (byte byteValue : values) { list.add(byteValue); // depends on control dependency: [for], data = [byteValue] } ...
public class class_name { public static BeanGenConfig parse(String resourceLocator) { String fullFile; if (resourceLocator.contains("/") || resourceLocator.endsWith(".ini")) { fullFile = resourceLocator; } else if (resourceLocator.equals("jdk6")) { // compatibility full...
public class class_name { public static BeanGenConfig parse(String resourceLocator) { String fullFile; if (resourceLocator.contains("/") || resourceLocator.endsWith(".ini")) { fullFile = resourceLocator; // depends on control dependency: [if], data = [none] } else if (resourceLocato...
public class class_name { public static boolean hasAtLeastOneAnnotation(ClassNode node, String... annotations) { if (hasAtLeastOneAnnotation((AnnotatedNode) node, annotations)) { return true; } for (MethodNode method : node.getMethods()) { if (hasAtLeastOneAnnotation(method, annotations)) { return true...
public class class_name { public static boolean hasAtLeastOneAnnotation(ClassNode node, String... annotations) { if (hasAtLeastOneAnnotation((AnnotatedNode) node, annotations)) { return true; // depends on control dependency: [if], data = [none] } for (MethodNode method : node.getMethods()) { if (hasAtLeas...
public class class_name { public static void forEachURLSet (@Nonnull final Consumer <? super XMLSitemapURLSet> aConsumer) { ValueEnforcer.notNull (aConsumer, "Consumer"); for (final IXMLSitemapProviderSPI aSPI : s_aProviders) { final XMLSitemapURLSet aURLSet = aSPI.createURLSet (); aConsumer....
public class class_name { public static void forEachURLSet (@Nonnull final Consumer <? super XMLSitemapURLSet> aConsumer) { ValueEnforcer.notNull (aConsumer, "Consumer"); for (final IXMLSitemapProviderSPI aSPI : s_aProviders) { final XMLSitemapURLSet aURLSet = aSPI.createURLSet (); aConsumer....
public class class_name { public String getUriTemplate() { String result = ""; try { result = getCms().readPropertyObject( getParamTempfile(), CmsPropertyDefinition.PROPERTY_TEMPLATE, true).getValue(""); } catch (CmsException e) { ...
public class class_name { public String getUriTemplate() { String result = ""; try { result = getCms().readPropertyObject( getParamTempfile(), CmsPropertyDefinition.PROPERTY_TEMPLATE, true).getValue(""); // depends on control dependency: [try...
public class class_name { @Nullable public static Workbook readWorkbookFromInputStream (@Nonnull final IHasInputStream aIIS) { InputStream aIS = null; try { // Try to read as XLS aIS = aIIS.getInputStream (); if (aIS == null) { // Failed to open input stream -> no need t...
public class class_name { @Nullable public static Workbook readWorkbookFromInputStream (@Nonnull final IHasInputStream aIIS) { InputStream aIS = null; try { // Try to read as XLS aIS = aIIS.getInputStream (); // depends on control dependency: [try], data = [none] if (aIS == null) ...
public class class_name { public String setPropertyTypeFromStringValue( PropertyIdValue propertyIdValue, StringValue value) { String datatype = getPropertyType(propertyIdValue); if (datatype == null) { logger.warn("Could not fetch datatype of " + propertyIdValue.getIri() + ". Assuming type " + Data...
public class class_name { public String setPropertyTypeFromStringValue( PropertyIdValue propertyIdValue, StringValue value) { String datatype = getPropertyType(propertyIdValue); if (datatype == null) { logger.warn("Could not fetch datatype of " + propertyIdValue.getIri() + ". Assuming type " + Data...
public class class_name { public static boolean setOnce(AtomicReference<Disposable> upstream, Disposable next, Class<?> observer) { AutoDisposeUtil.checkNotNull(next, "next is null"); if (!upstream.compareAndSet(null, next)) { next.dispose(); if (upstream.get() != AutoDisposableHelper.DISPOSED) { ...
public class class_name { public static boolean setOnce(AtomicReference<Disposable> upstream, Disposable next, Class<?> observer) { AutoDisposeUtil.checkNotNull(next, "next is null"); if (!upstream.compareAndSet(null, next)) { next.dispose(); // depends on control dependency: [if], data = [none] if...
public class class_name { public void repeat(CmmnActivityExecution execution, String standardEvent) { CmmnActivity activity = execution.getActivity(); boolean repeat = false; if (activity.getEntryCriteria().isEmpty()) { List<String> events = activity.getProperties().get(CmmnProperties.REPEAT_ON_STAN...
public class class_name { public void repeat(CmmnActivityExecution execution, String standardEvent) { CmmnActivity activity = execution.getActivity(); boolean repeat = false; if (activity.getEntryCriteria().isEmpty()) { List<String> events = activity.getProperties().get(CmmnProperties.REPEAT_ON_STAN...
public class class_name { public ServiceCall<Gateway> createGateway(CreateGatewayOptions createGatewayOptions) { Validator.notNull(createGatewayOptions, "createGatewayOptions cannot be null"); String[] pathSegments = { "v1/environments", "gateways" }; String[] pathParameters = { createGatewayOptions.enviro...
public class class_name { public ServiceCall<Gateway> createGateway(CreateGatewayOptions createGatewayOptions) { Validator.notNull(createGatewayOptions, "createGatewayOptions cannot be null"); String[] pathSegments = { "v1/environments", "gateways" }; String[] pathParameters = { createGatewayOptions.enviro...
public class class_name { public static IntComparator rowComparator(Column<?> column, Sort.Order order) { IntComparator rowComparator = column.rowComparator(); if (order == Sort.Order.DESCEND) { return ReversingIntComparator.reverse(rowComparator); } else { return rowCom...
public class class_name { public static IntComparator rowComparator(Column<?> column, Sort.Order order) { IntComparator rowComparator = column.rowComparator(); if (order == Sort.Order.DESCEND) { return ReversingIntComparator.reverse(rowComparator); // depends on control dependency: [if], da...
public class class_name { public ElementsBuilder addAll(HTMLElement... elements) { for (HTMLElement element : elements) { add(element); } return that(); } }
public class class_name { public ElementsBuilder addAll(HTMLElement... elements) { for (HTMLElement element : elements) { add(element); // depends on control dependency: [for], data = [element] } return that(); } }
public class class_name { public KieServerHttpResponse response() { if( this.response == null ) { this.response = new KieServerHttpResponse() { private String body = null; // @formatter:off @Override public InputStream stream() throw...
public class class_name { public KieServerHttpResponse response() { if( this.response == null ) { this.response = new KieServerHttpResponse() { private String body = null; // @formatter:off @Override public InputStream stream() throw...
public class class_name { public Lexicon create() throws Exception { Lexicon lexicon = new TrieLexicon(caseSensitive, probabilistic, tagAttribute); if (resource != null) { String base = resource.baseName().replaceFirst("\\.[^\\.]*$", ""); try (CSVReader reader = CSV.builder().removeEmptyC...
public class class_name { public Lexicon create() throws Exception { Lexicon lexicon = new TrieLexicon(caseSensitive, probabilistic, tagAttribute); if (resource != null) { String base = resource.baseName().replaceFirst("\\.[^\\.]*$", ""); try (CSVReader reader = CSV.builder().removeEmptyC...
public class class_name { public static boolean isAssignable( Class<?>[] classArray, Class<?>[] toClassArray, boolean autoboxing) { if (arrayGetLength(classArray) != arrayGetLength(toClassArray)) { return false; } if (classArray == null) { classArray = EMPTY_CLASS_ARRAY; } if (toC...
public class class_name { public static boolean isAssignable( Class<?>[] classArray, Class<?>[] toClassArray, boolean autoboxing) { if (arrayGetLength(classArray) != arrayGetLength(toClassArray)) { return false; // depends on control dependency: [if], data = [none] } if (classArray == null) { ...
public class class_name { public void marshall(ListOriginEndpointsRequest listOriginEndpointsRequest, ProtocolMarshaller protocolMarshaller) { if (listOriginEndpointsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { pr...
public class class_name { public void marshall(ListOriginEndpointsRequest listOriginEndpointsRequest, ProtocolMarshaller protocolMarshaller) { if (listOriginEndpointsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { pr...
public class class_name { public List<String> getIdentifiers(String propertyId, boolean ownOnly) throws VCASException { try { Connection con = dataSource.getConnection(); PreparedStatement ps = null; ResultSet rs = null; try { List<String...
public class class_name { public List<String> getIdentifiers(String propertyId, boolean ownOnly) throws VCASException { try { Connection con = dataSource.getConnection(); PreparedStatement ps = null; ResultSet rs = null; try { List<String...
public class class_name { @Override public void onStart(TestContext<Object> context) { oldErr = System.err; oldOut = System.out; try { System.setErr(remplacementErr); System.setOut(remplacementOut); } catch (SecurityException e) { // ignored } } }
public class class_name { @Override public void onStart(TestContext<Object> context) { oldErr = System.err; oldOut = System.out; try { System.setErr(remplacementErr); // depends on control dependency: [try], data = [none] System.setOut(remplacementOut); // depends on control dependency: [try], data = [non...
public class class_name { public final void setItsRole(final RoleJetty pRole) { this.itsRole = pRole; if (this.itsId == null) { this.itsId = new IdUserRoleJetty(); } this.itsId.setItsRole(this.itsRole); } }
public class class_name { public final void setItsRole(final RoleJetty pRole) { this.itsRole = pRole; if (this.itsId == null) { this.itsId = new IdUserRoleJetty(); // depends on control dependency: [if], data = [none] } this.itsId.setItsRole(this.itsRole); } }
public class class_name { public @Nonnull Optional<InputStream> getResourceAsStream(@Nonnull String path) { ArgumentUtils.requireNonNull("path", path); Optional<ResourceLoader> resourceLoader = getSupportingLoader(path); if (resourceLoader.isPresent()) { return resourceLoader.get()....
public class class_name { public @Nonnull Optional<InputStream> getResourceAsStream(@Nonnull String path) { ArgumentUtils.requireNonNull("path", path); Optional<ResourceLoader> resourceLoader = getSupportingLoader(path); if (resourceLoader.isPresent()) { return resourceLoader.get()....
public class class_name { private static void extractArchive(ArchiveInputStream input, File destination, FilenameFilter filter) throws ArchiveExtractionException { ArchiveEntry entry; try { final String destPath = destination.getCanonicalPath(); while ((...
public class class_name { private static void extractArchive(ArchiveInputStream input, File destination, FilenameFilter filter) throws ArchiveExtractionException { ArchiveEntry entry; try { final String destPath = destination.getCanonicalPath(); while ((...
public class class_name { public static void showContent(@NonNull final View loadingView, @NonNull final View contentView, @NonNull final View errorView) { if (contentView.getVisibility() == View.VISIBLE) { // No Changing needed, because contentView is already visible errorView.setVisibility(Vie...
public class class_name { public static void showContent(@NonNull final View loadingView, @NonNull final View contentView, @NonNull final View errorView) { if (contentView.getVisibility() == View.VISIBLE) { // No Changing needed, because contentView is already visible errorView.setVisibility(Vie...
public class class_name { private boolean isValidJoinMessage(JoinMessage joinMessage) { try { return validateJoinMessage(joinMessage); } catch (ConfigMismatchException e) { throw e; } catch (Exception e) { return false; } } }
public class class_name { private boolean isValidJoinMessage(JoinMessage joinMessage) { try { return validateJoinMessage(joinMessage); // depends on control dependency: [try], data = [none] } catch (ConfigMismatchException e) { throw e; } catch (Exception e) { // depends...
public class class_name { public int getNodeIdForZoneNary(int zoneId, int zoneNary, byte[] key) { List<Node> replicatingNodes = this.routingStrategy.routeRequest(key); int zoneNAry = -1; for(Node node: replicatingNodes) { // bump up the counter if we encounter a replica in the given...
public class class_name { public int getNodeIdForZoneNary(int zoneId, int zoneNary, byte[] key) { List<Node> replicatingNodes = this.routingStrategy.routeRequest(key); int zoneNAry = -1; for(Node node: replicatingNodes) { // bump up the counter if we encounter a replica in the given...
public class class_name { public float getFloat(final String key, final float defaultValue) { String val = getStringInternal(key); if (val == null) { return defaultValue; } else { return Float.parseFloat(val); } } }
public class class_name { public float getFloat(final String key, final float defaultValue) { String val = getStringInternal(key); if (val == null) { return defaultValue; // depends on control dependency: [if], data = [none] } else { return Float.parseFloat(val); // depends on control dependency: [if], dat...
public class class_name { public void leave(Conference conference) { try { mg.release(); } catch (Exception e) { logger.error("Error", e); } } }
public class class_name { public void leave(Conference conference) { try { mg.release(); // depends on control dependency: [try], data = [none] } catch (Exception e) { logger.error("Error", e); } // depends on control dependency: [catch], data = [none] } }
public class class_name { public CalendarQuarter plus(Quarters quarters) { if (quarters.isEmpty()) { return this; } long value = this.year * 4L + this.quarter.getValue() - 1 + quarters.getAmount(); int y = MathUtils.safeCast(MathUtils.floorDivide(value, 4)); Quarte...
public class class_name { public CalendarQuarter plus(Quarters quarters) { if (quarters.isEmpty()) { return this; // depends on control dependency: [if], data = [none] } long value = this.year * 4L + this.quarter.getValue() - 1 + quarters.getAmount(); int y = MathUtils.saf...
public class class_name { protected final R parseResponse(HttpResponse response, BaasBox box) throws BaasException { final int status = response.getStatusCode(); final int statusClass = status / 100; try { switch (statusClass) { case 1: return onC...
public class class_name { protected final R parseResponse(HttpResponse response, BaasBox box) throws BaasException { final int status = response.getStatusCode(); final int statusClass = status / 100; try { switch (statusClass) { case 1: return onC...
public class class_name { public void marshall(EndpointUser endpointUser, ProtocolMarshaller protocolMarshaller) { if (endpointUser == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(endpointUser.get...
public class class_name { public void marshall(EndpointUser endpointUser, ProtocolMarshaller protocolMarshaller) { if (endpointUser == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(endpointUser.get...
public class class_name { protected final boolean checkForCompleteFrame () { if (_length == -1 || _have < _length) { return false; } // prepare the buffer such that this frame can be read _buffer.position(HEADER_SIZE); _buffer.limit(_length); _haveComple...
public class class_name { protected final boolean checkForCompleteFrame () { if (_length == -1 || _have < _length) { return false; // depends on control dependency: [if], data = [none] } // prepare the buffer such that this frame can be read _buffer.position(HEADER_SIZE...
public class class_name { @Override protected LogicalFilterWrapper appendAttributeToQuery(LogicalFilterWrapper queryBuilder, final String dataAttribute, final List<Object> queryValues) { if (queryBuilder == null) { queryBuilder = new LogicalFilterWrapper(this.queryType); } for ...
public class class_name { @Override protected LogicalFilterWrapper appendAttributeToQuery(LogicalFilterWrapper queryBuilder, final String dataAttribute, final List<Object> queryValues) { if (queryBuilder == null) { queryBuilder = new LogicalFilterWrapper(this.queryType); // depends on control d...
public class class_name { public void uncheckFolders(Collection<String> folders) { for (String folder : folders) { CmsLazyTreeItem item = m_itemsByPath.get(folder); if ((item != null) && (item.getCheckBox() != null)) { item.getCheckBox().setChecked(false); }...
public class class_name { public void uncheckFolders(Collection<String> folders) { for (String folder : folders) { CmsLazyTreeItem item = m_itemsByPath.get(folder); if ((item != null) && (item.getCheckBox() != null)) { item.getCheckBox().setChecked(false); // depends on...
public class class_name { protected Pair<NodeRole, String> getRole(@NonNull VoidConfiguration voidConfiguration, @NonNull Collection<String> localIPs) { NodeRole result = NodeRole.CLIENT; for (String ip : voidConfiguration.getShardAddresses()) { String cleansed = ip.rep...
public class class_name { protected Pair<NodeRole, String> getRole(@NonNull VoidConfiguration voidConfiguration, @NonNull Collection<String> localIPs) { NodeRole result = NodeRole.CLIENT; for (String ip : voidConfiguration.getShardAddresses()) { String cleansed = ip.rep...
public class class_name { @Override protected void prepareView() { try { if (view() != null) { view().prepare(); } } catch (final CoreException ce) { throw new CoreRuntimeException(ce); } } }
public class class_name { @Override protected void prepareView() { try { if (view() != null) { view().prepare(); // depends on control dependency: [if], data = [none] } } catch (final CoreException ce) { throw new CoreRuntimeException(ce); ...
public class class_name { protected void payloadDeleted(int totalPayloadSize, int unwrittenPayloadSize) { if (tc.isEntryEnabled()) Tr.entry(tc, "payloadDeleted", new Object[] { this, new Integer(totalPayloadSize), new Integer(unwrittenPayloadSize) }); // Track the payload decreases dir...
public class class_name { protected void payloadDeleted(int totalPayloadSize, int unwrittenPayloadSize) { if (tc.isEntryEnabled()) Tr.entry(tc, "payloadDeleted", new Object[] { this, new Integer(totalPayloadSize), new Integer(unwrittenPayloadSize) }); // Track the payload decreases dir...
public class class_name { public SQLTool select(String tableName, Collection<String> columns) { this.type = SQLType.QUERY; updateTableName(tableName); for (String column : columns) { this.selectSqlCondition.appendSql(column); } return this; } }
public class class_name { public SQLTool select(String tableName, Collection<String> columns) { this.type = SQLType.QUERY; updateTableName(tableName); for (String column : columns) { this.selectSqlCondition.appendSql(column); // depends on control dependency: [for], data = [column]...
public class class_name { @SafeVarargs public final FluentCondition<T> and(Condition<T>... conditions) { List<Condition<T>> merged = new ArrayList<>(); merged.add(delegate); for (Condition<T> condition : conditions) { merged.add(condition); } return Conditions.and(merged); } }
public class class_name { @SafeVarargs public final FluentCondition<T> and(Condition<T>... conditions) { List<Condition<T>> merged = new ArrayList<>(); merged.add(delegate); for (Condition<T> condition : conditions) { merged.add(condition); // depends on control dependency: [for], data = [condition] } re...
public class class_name { public static String getHashFromString(String str) { try { java.security.MessageDigest md = java.security.MessageDigest.getInstance("SHA-256"); byte[] array = md.digest(str.getBytes("UTF-8")); StringBuilder sb = new StringBuilder(); for ...
public class class_name { public static String getHashFromString(String str) { try { java.security.MessageDigest md = java.security.MessageDigest.getInstance("SHA-256"); byte[] array = md.digest(str.getBytes("UTF-8")); StringBuilder sb = new StringBuilder(); for ...
public class class_name { private File getHomeDirectory() { String dirName = System.getenv(ENV_JQASSISTANT_HOME); if (dirName != null) { File dir = new File(dirName); if (dir.exists()) { LOGGER.debug("Using JQASSISTANT_HOME '" + dir.getAbsolutePath() + "'."); ...
public class class_name { private File getHomeDirectory() { String dirName = System.getenv(ENV_JQASSISTANT_HOME); if (dirName != null) { File dir = new File(dirName); if (dir.exists()) { LOGGER.debug("Using JQASSISTANT_HOME '" + dir.getAbsolutePath() + "'."); // ...
public class class_name { @NullableDecl private Method getFinalizeReferentMethod() { Class<?> finalizableReferenceClass = finalizableReferenceClassReference.get(); if (finalizableReferenceClass == null) { /* * FinalizableReference's class loader was reclaimed. While there's a chance that other ...
public class class_name { @NullableDecl private Method getFinalizeReferentMethod() { Class<?> finalizableReferenceClass = finalizableReferenceClassReference.get(); if (finalizableReferenceClass == null) { /* * FinalizableReference's class loader was reclaimed. While there's a chance that other ...
public class class_name { static public String backslashEscape(String x, String reservedChars) { if (x == null) { return null; } else if (reservedChars == null) { return x; } boolean ok = true; for (int pos = 0; pos < x.length(); pos++) { char c = x.charAt(pos); if (reserve...
public class class_name { static public String backslashEscape(String x, String reservedChars) { if (x == null) { return null; // depends on control dependency: [if], data = [none] } else if (reservedChars == null) { return x; // depends on control dependency: [if], data = [none] } boolean...
public class class_name { public void marshall(SourceTableFeatureDetails sourceTableFeatureDetails, ProtocolMarshaller protocolMarshaller) { if (sourceTableFeatureDetails == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { public void marshall(SourceTableFeatureDetails sourceTableFeatureDetails, ProtocolMarshaller protocolMarshaller) { if (sourceTableFeatureDetails == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { private static void parseParam(final String param, final List<String> metric_queries, final ExpressionTree root, final TSQuery data_query, final int index) { ...
public class class_name { private static void parseParam(final String param, final List<String> metric_queries, final ExpressionTree root, final TSQuery data_query, final int index) { ...
public class class_name { public JSONObject getResponseJSON() { String responseText = getResponseText(); if(responseText == null || responseText.length() == 0){ return null; } try { return new JSONObject(responseText); } catch (JSONException e) { ...
public class class_name { public JSONObject getResponseJSON() { String responseText = getResponseText(); if(responseText == null || responseText.length() == 0){ return null; // depends on control dependency: [if], data = [none] } try { return new JSONObject(res...
public class class_name { public static Collection<Object> filterByJavaBeanPageProperty(ArrayList<Object> aList, String aPropertyName, int fromIndex, int toIndex) { logger.debug("In Organizer filtering: " + aPropertyName); try { if (aList == null) throw new IllegalArgumentException( "aColl...
public class class_name { public static Collection<Object> filterByJavaBeanPageProperty(ArrayList<Object> aList, String aPropertyName, int fromIndex, int toIndex) { logger.debug("In Organizer filtering: " + aPropertyName); try { if (aList == null) throw new IllegalArgumentException( "aColl...
public class class_name { public void setKeysToSanitize(String... keysToSanitize) { Assert.notNull(keysToSanitize, "KeysToSanitize must not be null"); this.keysToSanitize = new Pattern[keysToSanitize.length]; for (int i = 0; i < keysToSanitize.length; i++) { this.keysToSanitize[i] = getPattern(keysToSanitize[...
public class class_name { public void setKeysToSanitize(String... keysToSanitize) { Assert.notNull(keysToSanitize, "KeysToSanitize must not be null"); this.keysToSanitize = new Pattern[keysToSanitize.length]; for (int i = 0; i < keysToSanitize.length; i++) { this.keysToSanitize[i] = getPattern(keysToSanitize[...
public class class_name { protected String join(List<String> values) { StringBuilder sb = new StringBuilder(100); if(values.size() == 0) return sb.toString(); sb.append(values.get(0)); if(values.size() == 1) return sb.toString(); for (int i = 1; i ...
public class class_name { protected String join(List<String> values) { StringBuilder sb = new StringBuilder(100); if(values.size() == 0) return sb.toString(); sb.append(values.get(0)); if(values.size() == 1) return sb.toString(); for (int i = 1; i ...
public class class_name { @Override public boolean decompose( DMatrixRMaj A ) { setExpectedMaxSize(A.numRows, A.numCols); convertToColumnMajor(A); error = false; for( int j = 0; j < minLength; j++ ) { householder(j); updateA(j); } return !...
public class class_name { @Override public boolean decompose( DMatrixRMaj A ) { setExpectedMaxSize(A.numRows, A.numCols); convertToColumnMajor(A); error = false; for( int j = 0; j < minLength; j++ ) { householder(j); // depends on control dependency: [for], data = [j]...
public class class_name { private double distance(final String a, final String b) { if (a.isEmpty()) return b.length(); if (b.isEmpty()) return a.length(); if (a.equals(b)) return 0; final int aLength = b.length(); final int bLength = a.length(); double[] v0 = new double[aLe...
public class class_name { private double distance(final String a, final String b) { if (a.isEmpty()) return b.length(); if (b.isEmpty()) return a.length(); if (a.equals(b)) return 0; final int aLength = b.length(); final int bLength = a.length(); double[] v0 = new double[aLe...
public class class_name { private String getCompleteCE(String CE) { String localProjString = null; String localSelString = null; if(CE == null) return ""; //remove any leading '?' if(CE.startsWith("?")) CE = CE.substring(1); int selIndex = CE.indexOf('&')...
public class class_name { private String getCompleteCE(String CE) { String localProjString = null; String localSelString = null; if(CE == null) return ""; //remove any leading '?' if(CE.startsWith("?")) CE = CE.substring(1); int selIndex = CE.indexOf('&')...
public class class_name { private static synchronized void addTransformer() { if (detailedTransformTrace && tc.isEntryEnabled()) Tr.entry(tc, "addTransformer"); if (registeredTransformer == null && instrumentation != null) { registeredTransformer = new LibertyJava8WorkaroundRun...
public class class_name { private static synchronized void addTransformer() { if (detailedTransformTrace && tc.isEntryEnabled()) Tr.entry(tc, "addTransformer"); if (registeredTransformer == null && instrumentation != null) { registeredTransformer = new LibertyJava8WorkaroundRun...
public class class_name { @Override public void disconnect() { log.debug("disconnect"); if (conn != null) { streamDataMap.clear(); conn.close(); } else { log.info("Connection was null"); } } }
public class class_name { @Override public void disconnect() { log.debug("disconnect"); if (conn != null) { streamDataMap.clear(); // depends on control dependency: [if], data = [none] conn.close(); // depends on control dependency: [if], data = [none] } else {...
public class class_name { private void queueEvent(final Context context, final JSONObject event, final int eventType) { postAsyncSafely("queueEvent", new Runnable() { @Override public void run() { if (isCurrentUserOptedOut()) { String eventString = ev...
public class class_name { private void queueEvent(final Context context, final JSONObject event, final int eventType) { postAsyncSafely("queueEvent", new Runnable() { @Override public void run() { if (isCurrentUserOptedOut()) { String eventString = ev...
public class class_name { protected void ensureCapacity(int newCapacity) { int oldCapacity = data.length; if (newCapacity <= oldCapacity) { return; } if (size == 0) { threshold = calculateThreshold(newCapacity, loadFactor); data = new HashEntry[newCap...
public class class_name { protected void ensureCapacity(int newCapacity) { int oldCapacity = data.length; if (newCapacity <= oldCapacity) { return; // depends on control dependency: [if], data = [none] } if (size == 0) { threshold = calculateThreshold(newCapacity...
public class class_name { public static boolean equalsIgnoreCaseAndEmpty(String s1, String s2) { String clean1 = trimToNull(s1); String clean2 = trimToNull(s2); if (clean1 == null && clean2 == null) { return true; } else { // Both cannot be null at this point ...
public class class_name { public static boolean equalsIgnoreCaseAndEmpty(String s1, String s2) { String clean1 = trimToNull(s1); String clean2 = trimToNull(s2); if (clean1 == null && clean2 == null) { return true; // depends on control dependency: [if], data = [none] } else ...
public class class_name { @Override @Trivial public void addClassLoader(ClassLoader classLoader) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "addClassLoader - " + classLoader); } if (classLoader instanceof ContainerClassLoader) { ...
public class class_name { @Override @Trivial public void addClassLoader(ClassLoader classLoader) { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "addClassLoader - " + classLoader); // depends on control dependency: [if], data = [none] } if ...
public class class_name { public static String getExample(TypeDeclaration type) { if (type == null || type.example() == null) { return null; } else { return type.example().value(); } } }
public class class_name { public static String getExample(TypeDeclaration type) { if (type == null || type.example() == null) { return null; // depends on control dependency: [if], data = [none] } else { return type.example().value(); // depends on control dependency: [if], data = [none] } } }
public class class_name { static String defineFileName(SQLiteDatabaseSchema model) { int lastIndex = model.fileName.lastIndexOf("."); String schemaName = model.fileName; if (lastIndex > -1) { schemaName = model.fileName.substring(0, lastIndex); } schemaName = schemaName.toLowerCase() + "_schema_" + mode...
public class class_name { static String defineFileName(SQLiteDatabaseSchema model) { int lastIndex = model.fileName.lastIndexOf("."); String schemaName = model.fileName; if (lastIndex > -1) { schemaName = model.fileName.substring(0, lastIndex); // depends on control dependency: [if], data = [none] } sch...
public class class_name { public ObservableMap<String, Property<?>> getBindings() { if (bindings == null) { bindings = FXCollections.observableHashMap(); } return bindings; } }
public class class_name { public ObservableMap<String, Property<?>> getBindings() { if (bindings == null) { bindings = FXCollections.observableHashMap(); // depends on control dependency: [if], data = [none] } return bindings; } }
public class class_name { public void setFloatValueInMap( WritableRandomIter map, float value ) { if (map == null) { return; } try { map.setSample(col, row, 0, value); } catch (Exception e) { e.printStackTrace(); } } }
public class class_name { public void setFloatValueInMap( WritableRandomIter map, float value ) { if (map == null) { return; // depends on control dependency: [if], data = [none] } try { map.setSample(col, row, 0, value); // depends on control dependency: [try], data = [...
public class class_name { private SSLInformation createSecurityRealm(OperationContext context, Map<PathAddress, ModelNode> migrationOperations, ModelNode legacyModelAddOps, String connector, ModelNode legacyAddOp, List<String> warnings, boolean domainMode) { //read all the info from the SSL definition ...
public class class_name { private SSLInformation createSecurityRealm(OperationContext context, Map<PathAddress, ModelNode> migrationOperations, ModelNode legacyModelAddOps, String connector, ModelNode legacyAddOp, List<String> warnings, boolean domainMode) { //read all the info from the SSL definition ...
public class class_name { public static void setFlatfile(Set<H2ONode> nodes) { if (nodes == null) { STATIC_H2OS = null; } else { STATIC_H2OS = Collections.newSetFromMap(new ConcurrentHashMap<H2ONode, Boolean>()); STATIC_H2OS.addAll(nodes); } } }
public class class_name { public static void setFlatfile(Set<H2ONode> nodes) { if (nodes == null) { STATIC_H2OS = null; // depends on control dependency: [if], data = [none] } else { STATIC_H2OS = Collections.newSetFromMap(new ConcurrentHashMap<H2ONode, Boolean>()); // depends on control dependency...