code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { private String[] enabledProtocols(String[] supportedProtocols, String[] defaultProtocols) { if (enabledProtocols == null) { // we're assuming that the same engine is used for all configurables // so once we determine the enabled set, we won't do it again if (Option...
public class class_name { private String[] enabledProtocols(String[] supportedProtocols, String[] defaultProtocols) { if (enabledProtocols == null) { // we're assuming that the same engine is used for all configurables // so once we determine the enabled set, we won't do it again if (Option...
public class class_name { public static double chisquareInverseCdf(double p, int df) { final double CHI_EPSILON = 0.000001; /* Accuracy of critchi approximation */ final double CHI_MAX = 99999.0; /* Maximum chi-square value */ double minchisq = 0.0; double maxchisq = CHI_MAX; ...
public class class_name { public static double chisquareInverseCdf(double p, int df) { final double CHI_EPSILON = 0.000001; /* Accuracy of critchi approximation */ final double CHI_MAX = 99999.0; /* Maximum chi-square value */ double minchisq = 0.0; double maxchisq = CHI_MAX; ...
public class class_name { String rrToString() { StringBuffer sb = new StringBuffer(); sb.append(hashAlg); sb.append(' '); sb.append(flags); sb.append(' '); sb.append(iterations); sb.append(' '); if (salt == null) sb.append('-'); else sb.append(base16.toString(salt)); sb.append(' '); sb.append(b32.toStri...
public class class_name { String rrToString() { StringBuffer sb = new StringBuffer(); sb.append(hashAlg); sb.append(' '); sb.append(flags); sb.append(' '); sb.append(iterations); sb.append(' '); if (salt == null) sb.append('-'); else sb.append(base16.toString(salt)); sb.append(' '); sb.append(b32.toStri...
public class class_name { public void marshall(ListConfigurationSetsRequest listConfigurationSetsRequest, ProtocolMarshaller protocolMarshaller) { if (listConfigurationSetsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public void marshall(ListConfigurationSetsRequest listConfigurationSetsRequest, ProtocolMarshaller protocolMarshaller) { if (listConfigurationSetsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public static CmsInheritanceContainerEditor openInheritanceContainerEditor( CmsGroupContainerElementPanel groupContainer, CmsContainerpageController controller, CmsContainerpageHandler handler) { // making sure only a single instance of the group-containe...
public class class_name { public static CmsInheritanceContainerEditor openInheritanceContainerEditor( CmsGroupContainerElementPanel groupContainer, CmsContainerpageController controller, CmsContainerpageHandler handler) { // making sure only a single instance of the group-containe...
public class class_name { @Override public boolean retainAll(IntSet c) { if (c == null || c.isEmpty()) { return false; } boolean res = false; for (int i = 0; i < cells.length; i++) { if (cells[i] >= 0 && !c.contains(cells[i])) { cells[i] = REMOVED; res = true; ...
public class class_name { @Override public boolean retainAll(IntSet c) { if (c == null || c.isEmpty()) { return false; // depends on control dependency: [if], data = [none] } boolean res = false; for (int i = 0; i < cells.length; i++) { if (cells[i] >= 0 && !c.contains(cells[i])...
public class class_name { public Date getTimeAfter(Date afterTime) { // Computation is based on Gregorian year only. Calendar cl = new java.util.GregorianCalendar(getTimeZone()); // move ahead one second, since we're computing the time *after* the // given time afterTime = ne...
public class class_name { public Date getTimeAfter(Date afterTime) { // Computation is based on Gregorian year only. Calendar cl = new java.util.GregorianCalendar(getTimeZone()); // move ahead one second, since we're computing the time *after* the // given time afterTime = ne...
public class class_name { public List<C> findAllChildren() { List<String> objects = getChildrenList(); List<C> children = new ArrayList<C>(); try { Model dummy = (Model) childClazz.newInstance(); dummy.setContext(context); for (String id : objects) { ...
public class class_name { public List<C> findAllChildren() { List<String> objects = getChildrenList(); List<C> children = new ArrayList<C>(); try { Model dummy = (Model) childClazz.newInstance(); dummy.setContext(context); // depends on control dependency: [try], data ...
public class class_name { public final void byte_key() throws RecognitionException { Token id=null; try { // src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:768:5: ({...}? =>id= ID ) // src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:768:12: {...}? =>id= ID { if ( !(((helpe...
public class class_name { public final void byte_key() throws RecognitionException { Token id=null; try { // src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:768:5: ({...}? =>id= ID ) // src/main/resources/org/drools/compiler/lang/DRL6Expressions.g:768:12: {...}? =>id= ID { if ( !(((helpe...
public class class_name { public void removeServiceInstanceChangeListener(String serviceName, ServiceInstanceChangeListener listener) { ServiceInstanceUtils.validateServiceName(serviceName); if (listener == null) { throw new ServiceException(ErrorCode.SERVICE_DIRECTORY_NULL_ARGUMENT_ERROR, ...
public class class_name { public void removeServiceInstanceChangeListener(String serviceName, ServiceInstanceChangeListener listener) { ServiceInstanceUtils.validateServiceName(serviceName); if (listener == null) { throw new ServiceException(ErrorCode.SERVICE_DIRECTORY_NULL_ARGUMENT_ERROR, ...
public class class_name { public ClusterNode getRunnableNode(RequestedNode requestedNode, LocalityLevel maxLevel, ResourceType type, Set<String> excluded) { ClusterNode node = null; RunnableIndices r ...
public class class_name { public ClusterNode getRunnableNode(RequestedNode requestedNode, LocalityLevel maxLevel, ResourceType type, Set<String> excluded) { ClusterNode node = null; RunnableIndices r ...
public class class_name { private String getProcShortName() { // could later be extended to some sort of fake numeric PID, e.g. "mysqld-1", from a static // Map<String execName, Integer id) if (procShortName == null) { File exec = getExecutableFile(); procShortName = exe...
public class class_name { private String getProcShortName() { // could later be extended to some sort of fake numeric PID, e.g. "mysqld-1", from a static // Map<String execName, Integer id) if (procShortName == null) { File exec = getExecutableFile(); procShortName = exe...
public class class_name { public List<Post> selectPosts(final EnumSet<Post.Type> types, final Post.Status status, final Post.Sort sort, final Paging paging, final boolean withResolve) thr...
public class class_name { public List<Post> selectPosts(final EnumSet<Post.Type> types, final Post.Status status, final Post.Sort sort, final Paging paging, final boolean withResolve) thr...
public class class_name { public void setResourceAdaptorContext(ResourceAdaptorContext raContext) { this.raContext = raContext; this.tracer = raContext.getTracer(getClass().getSimpleName()); this.sleeEndpoint = (SleeEndpoint) raContext.getSleeEndpoint(); this.eventLookupFacility = raContext.getEventLookupFac...
public class class_name { public void setResourceAdaptorContext(ResourceAdaptorContext raContext) { this.raContext = raContext; this.tracer = raContext.getTracer(getClass().getSimpleName()); this.sleeEndpoint = (SleeEndpoint) raContext.getSleeEndpoint(); this.eventLookupFacility = raContext.getEventLookupFac...
public class class_name { protected String createProcessCommand(Enum<?> templateNameEnum,FaxJob faxJob) { //get template name String templateName=templateNameEnum.toString(); //get template String template=this.getTemplate(templateName); String command=null; if(temp...
public class class_name { protected String createProcessCommand(Enum<?> templateNameEnum,FaxJob faxJob) { //get template name String templateName=templateNameEnum.toString(); //get template String template=this.getTemplate(templateName); String command=null; if(temp...
public class class_name { public Node selectFirst(final String query) { List<Node> selectedNodes = select(query); if (selectedNodes.isEmpty()) { return null; } return selectedNodes.get(0); } }
public class class_name { public Node selectFirst(final String query) { List<Node> selectedNodes = select(query); if (selectedNodes.isEmpty()) { return null; // depends on control dependency: [if], data = [none] } return selectedNodes.get(0); } }
public class class_name { public int getBytesBigEndian(int i, int j) { int result = 0; for (int k = i; k < i + j; k++) { result += value.get(k).toUint(); if (k + 1 < i + j) result <<= 8; } return result; } }
public class class_name { public int getBytesBigEndian(int i, int j) { int result = 0; for (int k = i; k < i + j; k++) { result += value.get(k).toUint(); // depends on control dependency: [for], data = [k] if (k + 1 < i + j) result <<= 8; } return result; } }
public class class_name { public void showGridInfo(boolean printGrids) { List gridList = gridIndex.getGridRecords(); System.out.println("\nGRID FILE: " + getFilename() + "\n"); printNavBlock(); System.out.println(""); printAnalBlock(); System.out.println("\nNumber of grids in file: " + gridLis...
public class class_name { public void showGridInfo(boolean printGrids) { List gridList = gridIndex.getGridRecords(); System.out.println("\nGRID FILE: " + getFilename() + "\n"); printNavBlock(); System.out.println(""); printAnalBlock(); System.out.println("\nNumber of grids in file: " + gridLis...
public class class_name { public static Object getApiValue(Value value) { if (value instanceof BooleanValue) { return ((BooleanValue) value).getValue(); } else if (value instanceof NumberValue) { if (Strings.isNullOrEmpty(((NumberValue) value).getValue())) { return null; } else { ...
public class class_name { public static Object getApiValue(Value value) { if (value instanceof BooleanValue) { return ((BooleanValue) value).getValue(); // depends on control dependency: [if], data = [none] } else if (value instanceof NumberValue) { if (Strings.isNullOrEmpty(((NumberValue) value).g...
public class class_name { private LinkedHashMap<String, String> getSortList(boolean includeType) { LinkedHashMap<String, String> list = new LinkedHashMap<String, String>(); list.put(SortParams.title_asc.name(), Messages.get().key(Messages.GUI_SORT_LABEL_TITLE_ASC_0)); list.put(SortParams.title...
public class class_name { private LinkedHashMap<String, String> getSortList(boolean includeType) { LinkedHashMap<String, String> list = new LinkedHashMap<String, String>(); list.put(SortParams.title_asc.name(), Messages.get().key(Messages.GUI_SORT_LABEL_TITLE_ASC_0)); list.put(SortParams.title...
public class class_name { @Override public final OperationEntry getOperationEntry(final PathAddress pathAddress, final String operationName) { if (parent != null) { RootInvocation ri = getRootInvocation(); return ri.root.getOperationEntry(ri.pathAddress.append(pathAddress), operati...
public class class_name { @Override public final OperationEntry getOperationEntry(final PathAddress pathAddress, final String operationName) { if (parent != null) { RootInvocation ri = getRootInvocation(); return ri.root.getOperationEntry(ri.pathAddress.append(pathAddress), operati...
public class class_name { public void marshall(CreateRobotApplicationVersionRequest createRobotApplicationVersionRequest, ProtocolMarshaller protocolMarshaller) { if (createRobotApplicationVersionRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); }...
public class class_name { public void marshall(CreateRobotApplicationVersionRequest createRobotApplicationVersionRequest, ProtocolMarshaller protocolMarshaller) { if (createRobotApplicationVersionRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); }...
public class class_name { public boolean matchesBrowser(String currentBrowser) { if (currentBrowser == null) { return false; } for (int i = 0; i < getBrowserPattern().size(); i++) { boolean matches = getBrowserPattern().get(i).matcher(currentBrowser.trim()).matches(); ...
public class class_name { public boolean matchesBrowser(String currentBrowser) { if (currentBrowser == null) { return false; // depends on control dependency: [if], data = [none] } for (int i = 0; i < getBrowserPattern().size(); i++) { boolean matches = getBrowserPatter...
public class class_name { public void addDecomposes(IfcObjectDefinition parent, IfcObjectDefinition... children) throws IfcModelInterfaceException { IfcRelAggregates ifcRelAggregates = this.create(IfcRelAggregates.class); ifcRelAggregates.setRelatingObject(parent); for (IfcObjectDefinition child: children) { ...
public class class_name { public void addDecomposes(IfcObjectDefinition parent, IfcObjectDefinition... children) throws IfcModelInterfaceException { IfcRelAggregates ifcRelAggregates = this.create(IfcRelAggregates.class); ifcRelAggregates.setRelatingObject(parent); for (IfcObjectDefinition child: children) { ...
public class class_name { public void marshall(DeveloperInfo developerInfo, ProtocolMarshaller protocolMarshaller) { if (developerInfo == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(developerInfo...
public class class_name { public void marshall(DeveloperInfo developerInfo, ProtocolMarshaller protocolMarshaller) { if (developerInfo == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(developerInfo...
public class class_name { public void prepareRequestServerErrorHandlingIfApi(ActionRuntime runtime, ActionResponseReflector reflector) { if (runtime.isApiExecute()) { registerServerErrorHandler(runtime, reflector); } } }
public class class_name { public void prepareRequestServerErrorHandlingIfApi(ActionRuntime runtime, ActionResponseReflector reflector) { if (runtime.isApiExecute()) { registerServerErrorHandler(runtime, reflector); // depends on control dependency: [if], data = [none] } } }
public class class_name { public static IdRange parseRange(String range) { int pos = range.indexOf(':'); try { if (pos == -1) { long value = parseLong(range); return new IdRange(value); } else { long lowVal = parseLong(range...
public class class_name { public static IdRange parseRange(String range) { int pos = range.indexOf(':'); try { if (pos == -1) { long value = parseLong(range); return new IdRange(value); // depends on control dependency: [if], data = [none] }...
public class class_name { private ArrayList<IIOMetadata> readExif( IIOMetadataNode app1EXIFNode ) { // Set up input skipping EXIF ID 6-byte sequence. byte[] app1Params = (byte[]) app1EXIFNode.getUserObject(); MemoryCacheImageInputStream app1EXIFInput = new MemoryCacheImageInputStream(new ByteA...
public class class_name { private ArrayList<IIOMetadata> readExif( IIOMetadataNode app1EXIFNode ) { // Set up input skipping EXIF ID 6-byte sequence. byte[] app1Params = (byte[]) app1EXIFNode.getUserObject(); MemoryCacheImageInputStream app1EXIFInput = new MemoryCacheImageInputStream(new ByteA...
public class class_name { private void play(Media media, Align alignment) { try (Playback playback = createPlayback(media, alignment, volume)) { if (opened.containsKey(media)) { opened.get(media).close(); } opened.put(media, playback);...
public class class_name { private void play(Media media, Align alignment) { try (Playback playback = createPlayback(media, alignment, volume)) { if (opened.containsKey(media)) { opened.get(media).close(); // depends on control dependency: [if], data = [none] ...
public class class_name { public boolean cut() { boolean result = false; WebElement element = getActiveElement(); if (element != null) { if (connectedToMac()) { element.sendKeys(Keys.chord(Keys.CONTROL, Keys.INSERT), Keys.BACK_SPACE); } else { ...
public class class_name { public boolean cut() { boolean result = false; WebElement element = getActiveElement(); if (element != null) { if (connectedToMac()) { element.sendKeys(Keys.chord(Keys.CONTROL, Keys.INSERT), Keys.BACK_SPACE); // depends on control dependency...
public class class_name { public void checkFrameParticipation () { // Determine whether or not the timer should participate in // media ticks boolean participate = _host.isShowing(); // Start participating if necessary if (participate && !_participating) { ...
public class class_name { public void checkFrameParticipation () { // Determine whether or not the timer should participate in // media ticks boolean participate = _host.isShowing(); // Start participating if necessary if (participate && !_participating) { ...
public class class_name { void firePropertyChildRemoved(TreeNodeRemovedEvent event) { if (this.nodeListeners != null) { for (final TreeNodeListener listener : this.nodeListeners) { if (listener != null) { listener.treeNodeChildRemoved(event); } } } final N parentNode = getParentNode(); if (p...
public class class_name { void firePropertyChildRemoved(TreeNodeRemovedEvent event) { if (this.nodeListeners != null) { for (final TreeNodeListener listener : this.nodeListeners) { if (listener != null) { listener.treeNodeChildRemoved(event); // depends on control dependency: [if], data = [none] } ...
public class class_name { public java.util.List<StepAdjustment> getStepAdjustments() { if (stepAdjustments == null) { stepAdjustments = new com.amazonaws.internal.SdkInternalList<StepAdjustment>(); } return stepAdjustments; } }
public class class_name { public java.util.List<StepAdjustment> getStepAdjustments() { if (stepAdjustments == null) { stepAdjustments = new com.amazonaws.internal.SdkInternalList<StepAdjustment>(); // depends on control dependency: [if], data = [none] } return stepAdjustments; }...
public class class_name { public static SnakerEngine getEngine() { AssertHelper.notNull(context, "未注册服务上下文"); if(engine == null) { engine = context.find(SnakerEngine.class); } return engine; } }
public class class_name { public static SnakerEngine getEngine() { AssertHelper.notNull(context, "未注册服务上下文"); if(engine == null) { engine = context.find(SnakerEngine.class); // depends on control dependency: [if], data = [none] } return engine; } }
public class class_name { private <T> T send(String method, TypeReference<T> responseType, @Nullable Object entity) { try { InputStream responseStream = entity == null ? builder().method(method, InputStream.class) : builder().method(method, InputStream.class,...
public class class_name { private <T> T send(String method, TypeReference<T> responseType, @Nullable Object entity) { try { InputStream responseStream = entity == null ? builder().method(method, InputStream.class) : builder().method(method, InputStream.class,...
public class class_name { public AnnotationDesc[] annotations() { if (!type.isAnnotated()) { return new AnnotationDesc[0]; } List<? extends TypeCompound> tas = type.getAnnotationMirrors(); AnnotationDesc res[] = new AnnotationDesc[tas.length()]; int i = 0; fo...
public class class_name { public AnnotationDesc[] annotations() { if (!type.isAnnotated()) { return new AnnotationDesc[0]; // depends on control dependency: [if], data = [none] } List<? extends TypeCompound> tas = type.getAnnotationMirrors(); AnnotationDesc res[] = new Annot...
public class class_name { public static PluginManager getInstance() { if (_instance == null) { _instance = new PluginManager(); _instance.classInformation = new HashMap<String, ClassInformation>(); _instance.methodInformation = new HashMap<String, com.groupon.odo.proxylib.mo...
public class class_name { public static PluginManager getInstance() { if (_instance == null) { _instance = new PluginManager(); // depends on control dependency: [if], data = [none] _instance.classInformation = new HashMap<String, ClassInformation>(); // depends on control dependency: [...
public class class_name { public Properties configureJavaMailSessionProperties(Properties properties, boolean debug) { Properties props = new Properties(); if (debug) { props.setProperty("mail.debug", "true"); // System.setProperty("mail.socket.debug", "true"); } ...
public class class_name { public Properties configureJavaMailSessionProperties(Properties properties, boolean debug) { Properties props = new Properties(); if (debug) { props.setProperty("mail.debug", "true"); // depends on control dependency: [if], data = [none] // System....
public class class_name { private void makeSingularPositive() { numSingular = qralg.getNumberOfSingularValues(); singularValues = qralg.getSingularValues(); for( int i = 0; i < numSingular; i++ ) { double val = qralg.getSingularValue(i); if( val < 0 ) { ...
public class class_name { private void makeSingularPositive() { numSingular = qralg.getNumberOfSingularValues(); singularValues = qralg.getSingularValues(); for( int i = 0; i < numSingular; i++ ) { double val = qralg.getSingularValue(i); if( val < 0 ) { ...
public class class_name { private MapController createVertexController(GeometryEditService editService, GeometryIndex index) { CompositeGeometryIndexController controller = new CompositeGeometryIndexController(editService, index, editService.getEditingState() == GeometryEditState.DRAGGING); for (VertexMapHandl...
public class class_name { private MapController createVertexController(GeometryEditService editService, GeometryIndex index) { CompositeGeometryIndexController controller = new CompositeGeometryIndexController(editService, index, editService.getEditingState() == GeometryEditState.DRAGGING); for (VertexMapHandl...
public class class_name { @Override public void recover() throws JMSException { checkClosed(); //let's get all unacknowledged message identifiers List<SQSMessageIdentifier> unAckedMessages = acknowledger.getUnAckMessages(); acknowledger.forgetUnAckMessages(); ...
public class class_name { @Override public void recover() throws JMSException { checkClosed(); //let's get all unacknowledged message identifiers List<SQSMessageIdentifier> unAckedMessages = acknowledger.getUnAckMessages(); acknowledger.forgetUnAckMessages(); ...
public class class_name { public static void updateLookAndFeel(Container container, PropertyOwner propertyOwner, Map<String,Object> properties) { String lookAndFeelClassName = ScreenUtil.getPropery(ScreenUtil.LOOK_AND_FEEL, propertyOwner, properties, null); if (lookAndFeelClassName == null) ...
public class class_name { public static void updateLookAndFeel(Container container, PropertyOwner propertyOwner, Map<String,Object> properties) { String lookAndFeelClassName = ScreenUtil.getPropery(ScreenUtil.LOOK_AND_FEEL, propertyOwner, properties, null); if (lookAndFeelClassName == null) ...
public class class_name { public String getType(TypeElement element, TypeMirror type) { if (type == null) { return null; } return type.accept(this.typeExtractor, createTypeDescriptor(element)); } }
public class class_name { public String getType(TypeElement element, TypeMirror type) { if (type == null) { return null; // depends on control dependency: [if], data = [none] } return type.accept(this.typeExtractor, createTypeDescriptor(element)); } }
public class class_name { public static UrlBuilder getUrlBuilder(final URL baseUrl) { URL url = null; try { url = new URL(decode(requireNonNull(baseUrl).toString(), defaultCharset().name())); } catch (MalformedURLException | UnsupportedEncodingException e) { throw new IllegalArgumentException(new String...
public class class_name { public static UrlBuilder getUrlBuilder(final URL baseUrl) { URL url = null; try { url = new URL(decode(requireNonNull(baseUrl).toString(), defaultCharset().name())); // depends on control dependency: [try], data = [none] } catch (MalformedURLException | UnsupportedEncodingExceptio...
public class class_name { public URI changesUri(Map<String, Object> query) { //lets find the since parameter if(query.containsKey("since")){ Object since = query.get("since"); if(!(since instanceof String)){ //json encode the seq number since it isn't a string ...
public class class_name { public URI changesUri(Map<String, Object> query) { //lets find the since parameter if(query.containsKey("since")){ Object since = query.get("since"); if(!(since instanceof String)){ //json encode the seq number since it isn't a string ...
public class class_name { public EClass getIfcSectionedSpine() { if (ifcSectionedSpineEClass == null) { ifcSectionedSpineEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(506); } return ifcSectionedSpineEClass; } }
public class class_name { public EClass getIfcSectionedSpine() { if (ifcSectionedSpineEClass == null) { ifcSectionedSpineEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(506); // depends on control dependency: [if], data = [none] } return ifcS...
public class class_name { protected DataType parseExactNumericType( DdlTokenStream tokens ) throws ParsingException { DataType dataType = null; String typeName = null; if (tokens.matchesAnyOf("INTEGER", "INT", "SMALLINT")) { dataType = new DataType(); typeName = consume...
public class class_name { protected DataType parseExactNumericType( DdlTokenStream tokens ) throws ParsingException { DataType dataType = null; String typeName = null; if (tokens.matchesAnyOf("INTEGER", "INT", "SMALLINT")) { dataType = new DataType(); typeName = consume...
public class class_name { public Map<Long, Map<String, ClientStats>> getCompleteStats() { Map<Long, Map<String, ClientStats>> retval = new TreeMap<Long, Map<String, ClientStats>>(); for (Entry<Long, Map<String, ClientStats>> e : m_current.entrySet()) { if (m_baseline.contai...
public class class_name { public Map<Long, Map<String, ClientStats>> getCompleteStats() { Map<Long, Map<String, ClientStats>> retval = new TreeMap<Long, Map<String, ClientStats>>(); for (Entry<Long, Map<String, ClientStats>> e : m_current.entrySet()) { if (m_baseline.contai...
public class class_name { private void initialize() { // enables the options dialog to be in front, but an modal dialog // stays on top of the main application window, but doesn't block childs // Examples of childs: help window and client certificate viewer this.setModalityType(Modality...
public class class_name { private void initialize() { // enables the options dialog to be in front, but an modal dialog // stays on top of the main application window, but doesn't block childs // Examples of childs: help window and client certificate viewer this.setModalityType(Modality...
public class class_name { static URL getSharedClassCacheURL(URL resourceURL, String resourceName) { URL sharedClassCacheURL; if (resourceURL == null) { sharedClassCacheURL = null; } else { String protocol = resourceURL.getProtocol(); if ("jar".equals(protocol...
public class class_name { static URL getSharedClassCacheURL(URL resourceURL, String resourceName) { URL sharedClassCacheURL; if (resourceURL == null) { sharedClassCacheURL = null; // depends on control dependency: [if], data = [none] } else { String protocol = resourceUR...
public class class_name { @Override public void setValue(final Object value) { if (value == null) { this.setText(null); } else { if (value instanceof Number) { // Number inclue Double, Float, Integer, BigDecimal ... this.setText(getNumberFormat().format(((Number) value).doubleValue())); }...
public class class_name { @Override public void setValue(final Object value) { if (value == null) { this.setText(null); // depends on control dependency: [if], data = [null)] } else { if (value instanceof Number) { // Number inclue Double, Float, Integer, BigDecimal ... this.setText(getNumber...
public class class_name { private String getCustomFieldsCSV() { String toReturn = ""; if (this.featureBranchFieldname != null && !this.featureBranchFieldname.isEmpty()) { toReturn += "," + this.featureBranchFieldname; } if (this.originalBranchFieldname != null && !this.origi...
public class class_name { private String getCustomFieldsCSV() { String toReturn = ""; if (this.featureBranchFieldname != null && !this.featureBranchFieldname.isEmpty()) { toReturn += "," + this.featureBranchFieldname; // depends on control dependency: [if], data = [none] } i...
public class class_name { public Weld extensions(Extension... extensions) { this.extensions.clear(); for (Extension extension : extensions) { addExtension(extension); } return this; } }
public class class_name { public Weld extensions(Extension... extensions) { this.extensions.clear(); for (Extension extension : extensions) { addExtension(extension); // depends on control dependency: [for], data = [extension] } return this; } }
public class class_name { public void marshall(BatchUpdateLinkAttributes batchUpdateLinkAttributes, ProtocolMarshaller protocolMarshaller) { if (batchUpdateLinkAttributes == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { public void marshall(BatchUpdateLinkAttributes batchUpdateLinkAttributes, ProtocolMarshaller protocolMarshaller) { if (batchUpdateLinkAttributes == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { private void convertLink2Record(final Object iKey) { if (status == MULTIVALUE_CONTENT_TYPE.ALL_RECORDS) return; final Object value; if (iKey instanceof ORID) value = iKey; else value = super.get(iKey); if (value != null && value instanceof ORID) { final OR...
public class class_name { private void convertLink2Record(final Object iKey) { if (status == MULTIVALUE_CONTENT_TYPE.ALL_RECORDS) return; final Object value; if (iKey instanceof ORID) value = iKey; else value = super.get(iKey); if (value != null && value instanceof ORID) { final OR...
public class class_name { public List<Serializable> getValues(String text, String type) throws NumberFormatException { List<Serializable> list = new ArrayList<Serializable>(); String[] values = text.split(DELIM); for (String v : values) { Serializable value; if (QueryPar...
public class class_name { public List<Serializable> getValues(String text, String type) throws NumberFormatException { List<Serializable> list = new ArrayList<Serializable>(); String[] values = text.split(DELIM); for (String v : values) { Serializable value; if (QueryPar...
public class class_name { public UpdateLicenseSpecificationsForResourceRequest withRemoveLicenseSpecifications(LicenseSpecification... removeLicenseSpecifications) { if (this.removeLicenseSpecifications == null) { setRemoveLicenseSpecifications(new java.util.ArrayList<LicenseSpecification>(removeLi...
public class class_name { public UpdateLicenseSpecificationsForResourceRequest withRemoveLicenseSpecifications(LicenseSpecification... removeLicenseSpecifications) { if (this.removeLicenseSpecifications == null) { setRemoveLicenseSpecifications(new java.util.ArrayList<LicenseSpecification>(removeLi...
public class class_name { protected PlanNode attachCriteria( final QueryContext context, PlanNode plan, Constraint constraint, List<? extends Column> columns, Map<...
public class class_name { protected PlanNode attachCriteria( final QueryContext context, PlanNode plan, Constraint constraint, List<? extends Column> columns, Map<...
public class class_name { public StringGrabber insertIntoHead(String str) { if (str != null) { try { sb.insert(0, str); } catch (Exception e) { e.printStackTrace(); } } return StringGrabber.this; } }
public class class_name { public StringGrabber insertIntoHead(String str) { if (str != null) { try { sb.insert(0, str); // depends on control dependency: [try], data = [none] } catch (Exception e) { e.printStackTrace(); } // depends on control dependency: [catch], data = [none] } return String...
public class class_name { public Double getMemoryMetric(ID metricToCollect) { GlobalMemory mem = getMemory(); if (PlatformMetricType.MEMORY_AVAILABLE.getMetricTypeId().equals(metricToCollect)) { return Double.valueOf(mem.getAvailable()); } else if (PlatformMetricType.MEMORY_TOTAL....
public class class_name { public Double getMemoryMetric(ID metricToCollect) { GlobalMemory mem = getMemory(); if (PlatformMetricType.MEMORY_AVAILABLE.getMetricTypeId().equals(metricToCollect)) { return Double.valueOf(mem.getAvailable()); // depends on control dependency: [if], data = [non...
public class class_name { @Override public DimensionTable getDimensionByName(String dimensionName, String tzNameAlias) { DimensionTable dimensionTable; if (StringUtils.isBlank(tzNameAlias) || (StringUtils.isNotBlank(tzNameAlias) && tzNameAlias.equals(getDefaultTimezone()))) { dimensionT...
public class class_name { @Override public DimensionTable getDimensionByName(String dimensionName, String tzNameAlias) { DimensionTable dimensionTable; if (StringUtils.isBlank(tzNameAlias) || (StringUtils.isNotBlank(tzNameAlias) && tzNameAlias.equals(getDefaultTimezone()))) { dimensionT...
public class class_name { public boolean understands(SoapHeaderElement header) { //see if header is accepted if (header.getName() != null && acceptedHeaders.contains(header.getName().toString())) { return true; } return false; } }
public class class_name { public boolean understands(SoapHeaderElement header) { //see if header is accepted if (header.getName() != null && acceptedHeaders.contains(header.getName().toString())) { return true; // depends on control dependency: [if], data = [none] } ...
public class class_name { protected static List<String> formatMessageParameters(Object[] parameters) { List<String> arguments = new ArrayList<>(parameters.length); for (Object argument : parameters) { arguments.add((argument != null) ? argument.toString() : null); } return a...
public class class_name { protected static List<String> formatMessageParameters(Object[] parameters) { List<String> arguments = new ArrayList<>(parameters.length); for (Object argument : parameters) { arguments.add((argument != null) ? argument.toString() : null); // depends on control depe...
public class class_name { private static Collection<URLClassLoader> getClassLoaders(ClassLoader baseClassLoader) { Collection<URLClassLoader> loaders = new ArrayList<URLClassLoader>(8); ClassLoader loader = baseClassLoader; while (loader != null) { if ("sun.misc.Launcher$ExtClassLoa...
public class class_name { private static Collection<URLClassLoader> getClassLoaders(ClassLoader baseClassLoader) { Collection<URLClassLoader> loaders = new ArrayList<URLClassLoader>(8); ClassLoader loader = baseClassLoader; while (loader != null) { if ("sun.misc.Launcher$ExtClassLoa...
public class class_name { public void registerPool(ManagedConnectionPool mcp, long mcpInterval) { try { lock.lock(); synchronized (registeredPools) { registeredPools.put(new Key(System.identityHashCode(mcp), System.currentTimeMillis(), mcpInterval), mcp);...
public class class_name { public void registerPool(ManagedConnectionPool mcp, long mcpInterval) { try { lock.lock(); // depends on control dependency: [try], data = [none] synchronized (registeredPools) // depends on control dependency: [try], data = [none] { ...
public class class_name { private boolean isCategorySystemService(Field field) { if(!(field.getName().endsWith("_service") || field.getName().endsWith("_SERVICE"))) { return false; } Field[] declaredFields = Context.class.getDeclaredFields(); for (Field declaredField : declaredFields) { ...
public class class_name { private boolean isCategorySystemService(Field field) { if(!(field.getName().endsWith("_service") || field.getName().endsWith("_SERVICE"))) { return false; // depends on control dependency: [if], data = [none] } Field[] declaredFields = Context.class.getDeclaredFields();...
public class class_name { public static double mad(int[] x) { int m = median(x); for (int i = 0; i < x.length; i++) { x[i] = Math.abs(x[i] - m); } return median(x); } }
public class class_name { public static double mad(int[] x) { int m = median(x); for (int i = 0; i < x.length; i++) { x[i] = Math.abs(x[i] - m); // depends on control dependency: [for], data = [i] } return median(x); } }
public class class_name { public static base_responses add(nitro_service client, lbvserver resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { lbvserver addresources[] = new lbvserver[resources.length]; for (int i=0;i<resources.length;i++){ addre...
public class class_name { public static base_responses add(nitro_service client, lbvserver resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { lbvserver addresources[] = new lbvserver[resources.length]; for (int i=0;i<resources.length;i++){ addre...
public class class_name { @SuppressWarnings("unchecked") public static <T extends TypesafeEnum<T>> Set<T> values(Class<T> clazz) { Set<T> set = new HashSet<T>(); if (constants.containsKey(clazz)) { set.addAll((Set<T>) constants.get(clazz)); } return set; } }
public class class_name { @SuppressWarnings("unchecked") public static <T extends TypesafeEnum<T>> Set<T> values(Class<T> clazz) { Set<T> set = new HashSet<T>(); if (constants.containsKey(clazz)) { set.addAll((Set<T>) constants.get(clazz)); // depends on control dependency: [if], data = [none] } retu...
public class class_name { void processXmlContributor() throws XMLStreamException, MwDumpFormatException { this.xmlReader.next(); // skip current start tag while (this.xmlReader.hasNext()) { switch (this.xmlReader.getEventType()) { case XMLStreamConstants.START_ELEMENT: switch (this.xmlReader.getLoca...
public class class_name { void processXmlContributor() throws XMLStreamException, MwDumpFormatException { this.xmlReader.next(); // skip current start tag while (this.xmlReader.hasNext()) { switch (this.xmlReader.getEventType()) { case XMLStreamConstants.START_ELEMENT: switch (this.xmlReader.getLoca...
public class class_name { public static ComboBox decorate(final String caption, final String width, final String style, final String styleName, final boolean required, final String data, final String prompt) { final ComboBox spUICombo = new ComboBox(); // Default settings spUICombo....
public class class_name { public static ComboBox decorate(final String caption, final String width, final String style, final String styleName, final boolean required, final String data, final String prompt) { final ComboBox spUICombo = new ComboBox(); // Default settings spUICombo....
public class class_name { public void record (ChatChannel channel, String source, UserMessage msg, Name ...usernames) { // fill in the message's time stamp if necessary if (msg.timestamp == 0L) { msg.timestamp = System.currentTimeMillis(); } Entry entry = new Entry(chan...
public class class_name { public void record (ChatChannel channel, String source, UserMessage msg, Name ...usernames) { // fill in the message's time stamp if necessary if (msg.timestamp == 0L) { msg.timestamp = System.currentTimeMillis(); // depends on control dependency: [if], data = ...
public class class_name { public com.google.protobuf.ByteString getSaveTensorNameBytes() { java.lang.Object ref = saveTensorName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref);...
public class class_name { public com.google.protobuf.ByteString getSaveTensorNameBytes() { java.lang.Object ref = saveTensorName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref);...
public class class_name { public void throwing (String msg, Throwable t) { StackTraceElement caller = StackTraceUtils.getCallerStackTraceElement (); if (caller != null) { logger.logp (Level.FINER, caller.getClassName (), caller.getMethodName () + "():" + caller.getLineNumber (), msg, t); } else { logger.lo...
public class class_name { public void throwing (String msg, Throwable t) { StackTraceElement caller = StackTraceUtils.getCallerStackTraceElement (); if (caller != null) { logger.logp (Level.FINER, caller.getClassName (), caller.getMethodName () + "():" + caller.getLineNumber (), msg, t); // depends on control d...
public class class_name { public static String preProcessPattern(String pattern) { int index = pattern.indexOf('\\'); if (index < 0) { return pattern; } StringBuilder sb = new StringBuilder(); for (int pos = 0; pos < pattern.length();) { char ch = pattern.charAt(pos); if (ch != '\\') { sb.appen...
public class class_name { public static String preProcessPattern(String pattern) { int index = pattern.indexOf('\\'); if (index < 0) { return pattern; // depends on control dependency: [if], data = [none] } StringBuilder sb = new StringBuilder(); for (int pos = 0; pos < pattern.length();) { char ch = ...
public class class_name { public static String getRequestHeadersOutput(HTTP http) { if (http == null) { return ""; } StringBuilder requestHeaders = new StringBuilder(); String uuid = getUUID(); requestHeaders.append(ONCLICK_TOGGLE).append(uuid).append("\")'>Toggle He...
public class class_name { public static String getRequestHeadersOutput(HTTP http) { if (http == null) { return ""; // depends on control dependency: [if], data = [none] } StringBuilder requestHeaders = new StringBuilder(); String uuid = getUUID(); requestHeaders.appe...
public class class_name { public Object getValue() { try { String text = getAsText(); if (text == null) { return null; } if (text.startsWith("/")) { // seems like localhost sometimes will look like: // /127.0.0.1 a...
public class class_name { public Object getValue() { try { String text = getAsText(); if (text == null) { return null; // depends on control dependency: [if], data = [none] } if (text.startsWith("/")) { // seems like localhost...
public class class_name { public final BatchInsertMeta insertHStmnt() throws RecognitionException { BatchInsertMeta bMeta = null; Token id=null; Token paths=null; Token gran=null; Token delim=null; Token listDelim=null; Token type=null; Token size=null; Token boundary=null; List<Interval> i =null...
public class class_name { public final BatchInsertMeta insertHStmnt() throws RecognitionException { BatchInsertMeta bMeta = null; Token id=null; Token paths=null; Token gran=null; Token delim=null; Token listDelim=null; Token type=null; Token size=null; Token boundary=null; List<Interval> i =null...
public class class_name { public Optional<BigDecimal> getMin() { if (property instanceof BaseIntegerProperty) { BaseIntegerProperty integerProperty = (BaseIntegerProperty) property; return Optional.ofNullable(integerProperty.getMinimum() != null ? integerProperty.getMinimum() : null); ...
public class class_name { public Optional<BigDecimal> getMin() { if (property instanceof BaseIntegerProperty) { BaseIntegerProperty integerProperty = (BaseIntegerProperty) property; return Optional.ofNullable(integerProperty.getMinimum() != null ? integerProperty.getMinimum() : null); /...
public class class_name { public final void addPathManagerResources(Resource resource) { synchronized (pathEntries) { for (PathEntry pathEntry : pathEntries.values()) { resource.registerChild(PathElement.pathElement(PATH, pathEntry.getName()), new HardcodedPathResource(PATH, pathEnt...
public class class_name { public final void addPathManagerResources(Resource resource) { synchronized (pathEntries) { for (PathEntry pathEntry : pathEntries.values()) { resource.registerChild(PathElement.pathElement(PATH, pathEntry.getName()), new HardcodedPathResource(PATH, pathEnt...
public class class_name { protected Icon getHeaderRendererIcon(boolean bCurrentOrder) { // Get current classloader ClassLoader cl = this.getClass().getClassLoader(); // Create icons try { if (ASCENDING_ICON == null) { ASCENDING_ICON = new Image...
public class class_name { protected Icon getHeaderRendererIcon(boolean bCurrentOrder) { // Get current classloader ClassLoader cl = this.getClass().getClassLoader(); // Create icons try { if (ASCENDING_ICON == null) { ASCENDING_ICON = new Image...
public class class_name { private void processDependencies() { Set<Task> tasksWithBars = new HashSet<Task>(); FastTrackTable table = m_data.getTable(FastTrackTableType.ACTBARS); for (MapRow row : table) { Task task = m_project.getTaskByUniqueID(row.getInteger(ActBarField._ACTIVITY))...
public class class_name { private void processDependencies() { Set<Task> tasksWithBars = new HashSet<Task>(); FastTrackTable table = m_data.getTable(FastTrackTableType.ACTBARS); for (MapRow row : table) { Task task = m_project.getTaskByUniqueID(row.getInteger(ActBarField._ACTIVITY))...
public class class_name { public int cardinality() { int w = value; int c = 0; while (w != 0) { c += T[w & 255]; w >>= 8; } return c; } }
public class class_name { public int cardinality() { int w = value; int c = 0; while (w != 0) { c += T[w & 255]; // depends on control dependency: [while], data = [none] w >>= 8; // depends on control dependency: [while], data = [none] } return c; } }
public class class_name { public String getTileProperty(int tileID, String propertyName, String def) { if (tileID == 0) { return def; } TileSet set = findTileSet(tileID); Properties props = set.getProperties(tileID); if (props == null) { return def; } return props.getProperty(propertyN...
public class class_name { public String getTileProperty(int tileID, String propertyName, String def) { if (tileID == 0) { return def; // depends on control dependency: [if], data = [none] } TileSet set = findTileSet(tileID); Properties props = set.getProperties(tileID); if (props == null) { ...
public class class_name { public ListDomainsResult withDomains(DomainSummary... domains) { if (this.domains == null) { setDomains(new java.util.ArrayList<DomainSummary>(domains.length)); } for (DomainSummary ele : domains) { this.domains.add(ele); } retur...
public class class_name { public ListDomainsResult withDomains(DomainSummary... domains) { if (this.domains == null) { setDomains(new java.util.ArrayList<DomainSummary>(domains.length)); // depends on control dependency: [if], data = [none] } for (DomainSummary ele : domains) { ...
public class class_name { static BackoffSpec parse(String specification) { requireNonNull(specification, "specification"); final BackoffSpec spec = new BackoffSpec(specification); for (String option : OPTION_SPLITTER.split(specification)) { spec.parseOption(option); } ...
public class class_name { static BackoffSpec parse(String specification) { requireNonNull(specification, "specification"); final BackoffSpec spec = new BackoffSpec(specification); for (String option : OPTION_SPLITTER.split(specification)) { spec.parseOption(option); // depends on co...
public class class_name { private void handleBrowse() { ContainerSelectionDialog dialog = new ContainerSelectionDialog( getShell(), ResourcesPlugin.getWorkspace().getRoot(), false, "Select new file container"); if (dialog.open() == ContainerSelectionDialog.OK) { Object[] result = dialog.getResult(); ...
public class class_name { private void handleBrowse() { ContainerSelectionDialog dialog = new ContainerSelectionDialog( getShell(), ResourcesPlugin.getWorkspace().getRoot(), false, "Select new file container"); if (dialog.open() == ContainerSelectionDialog.OK) { Object[] result = dialog.getResult(); ...
public class class_name { private void createSchemaOnDb() { StringBuilder sql = new StringBuilder(); sql.append(topology.getSqlgGraph().getSqlDialect().createSchemaStatement(this.name)); if (this.sqlgGraph.getSqlDialect().needsSemicolon()) { sql.append(";"); } if (lo...
public class class_name { private void createSchemaOnDb() { StringBuilder sql = new StringBuilder(); sql.append(topology.getSqlgGraph().getSqlDialect().createSchemaStatement(this.name)); if (this.sqlgGraph.getSqlDialect().needsSemicolon()) { sql.append(";"); // depends on control de...
public class class_name { public Observable<ServiceResponse<Page<PremierAddOnOfferInner>>> listPremierAddOnOffersSinglePageAsync() { if (this.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.subscriptionId() is required and cannot be null."); } if (this...
public class class_name { public Observable<ServiceResponse<Page<PremierAddOnOfferInner>>> listPremierAddOnOffersSinglePageAsync() { if (this.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.subscriptionId() is required and cannot be null."); } if (this...
public class class_name { public static String generateArgline(final String scriptpath, final String[] args, final String separator, final Boolean unsafe) { final StringBuilder sb = new StringBuilder(); final ArrayList<String> list = new ArrayList<String>(); if (null != scriptpath) { ...
public class class_name { public static String generateArgline(final String scriptpath, final String[] args, final String separator, final Boolean unsafe) { final StringBuilder sb = new StringBuilder(); final ArrayList<String> list = new ArrayList<String>(); if (null != scriptpath) { ...
public class class_name { public void addInjectionTarget(Member member) throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "addInjectionTarget: " + member); // ------...
public class class_name { public void addInjectionTarget(Member member) throws InjectionException { final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); if (isTraceOn && tc.isEntryEnabled()) Tr.entry(tc, "addInjectionTarget: " + member); // ------...
public class class_name { public ReplicatedData<K, V> getReplicateData( boolean activateDataRemovedCallback) { if (replicatedData == null) { replicatedData = new ReplicatedDataImpl<K, V>(REPLICATED_DATA_NAME, raEntity, sleeContainer.getCluster(), ra, activateDataRemovedCallback); } return replica...
public class class_name { public ReplicatedData<K, V> getReplicateData( boolean activateDataRemovedCallback) { if (replicatedData == null) { replicatedData = new ReplicatedDataImpl<K, V>(REPLICATED_DATA_NAME, raEntity, sleeContainer.getCluster(), ra, activateDataRemovedCallback); // depends on contro...
public class class_name { @Override public final void encodeBegin(final FacesContext context) throws IOException { webSheetBean = (TieWebSheetBean) this.getAttributes() .get(TieConstants.ATTRS_WEBSHEETBEAN); if ((webSheetBean != null) && (webSheetBe...
public class class_name { @Override public final void encodeBegin(final FacesContext context) throws IOException { webSheetBean = (TieWebSheetBean) this.getAttributes() .get(TieConstants.ATTRS_WEBSHEETBEAN); if ((webSheetBean != null) && (webSheetBe...
public class class_name { public double getConvertFactor(CalendarPeriod from) { if (field == CalendarPeriod.Field.Month || field == CalendarPeriod.Field.Year) { log.warn(" CalendarDate.convert on Month or Year"); } return (double) from.millisecs() / millisecs(); } }
public class class_name { public double getConvertFactor(CalendarPeriod from) { if (field == CalendarPeriod.Field.Month || field == CalendarPeriod.Field.Year) { log.warn(" CalendarDate.convert on Month or Year"); // depends on control dependency: [if], data = [none] } return (double) from.milli...
public class class_name { protected Integer getSrid() throws IOException { Map<String, Object> crsContent = getTypedParam("crs", null, Map.class); if (crsContent != null) { if (crsContent.get("type") == null || !"name".equals(crsContent.get("type"))) { throw new IOException(...
public class class_name { protected Integer getSrid() throws IOException { Map<String, Object> crsContent = getTypedParam("crs", null, Map.class); if (crsContent != null) { if (crsContent.get("type") == null || !"name".equals(crsContent.get("type"))) { throw new IOException(...
public class class_name { public static void runExample( AdWordsServicesInterface adWordsServices, AdWordsSession session, Long adGroupId) throws RemoteException { // Get the AdGroupAdService. AdGroupAdServiceInterface adGroupAdService = adWordsServices.get(session, AdGroupAdServiceInterfac...
public class class_name { public static void runExample( AdWordsServicesInterface adWordsServices, AdWordsSession session, Long adGroupId) throws RemoteException { // Get the AdGroupAdService. AdGroupAdServiceInterface adGroupAdService = adWordsServices.get(session, AdGroupAdServiceInterfac...
public class class_name { SocketInterface createSocket(@NonNull final String token, @NonNull final WeakReference<SocketStateListener> stateListenerWeakReference) { WebSocket socket = null; WebSocketFactory factory = new WebSocketFactory(); // Configure proxy if provided if (proxyAddr...
public class class_name { SocketInterface createSocket(@NonNull final String token, @NonNull final WeakReference<SocketStateListener> stateListenerWeakReference) { WebSocket socket = null; WebSocketFactory factory = new WebSocketFactory(); // Configure proxy if provided if (proxyAddr...
public class class_name { public boolean harmonize(NodeSchema otherSchema, String schemaKindName) { if (size() != otherSchema.size()) { throw new PlanningErrorException( "The " + schemaKindName + "schema and the statement output schemas have different lengths...
public class class_name { public boolean harmonize(NodeSchema otherSchema, String schemaKindName) { if (size() != otherSchema.size()) { throw new PlanningErrorException( "The " + schemaKindName + "schema and the statement output schemas have different lengths...
public class class_name { private String getQueue(final Configuration driverConfiguration) { try { return Tang.Factory.getTang().newInjector(driverConfiguration).getNamedInstance(JobQueue.class); } catch (final InjectionException e) { return this.defaultQueueName; } } }
public class class_name { private String getQueue(final Configuration driverConfiguration) { try { return Tang.Factory.getTang().newInjector(driverConfiguration).getNamedInstance(JobQueue.class); // depends on control dependency: [try], data = [none] } catch (final InjectionException e) { return th...
public class class_name { @Override public void render(final ActionRequest actionRequest, final Object resultValue) throws Exception { final PathResult pathResult; if (resultValue == null) { pathResult = resultOf(StringPool.EMPTY); } else { if (resultValue instanceof String) { pathResult = resultOf(r...
public class class_name { @Override public void render(final ActionRequest actionRequest, final Object resultValue) throws Exception { final PathResult pathResult; if (resultValue == null) { pathResult = resultOf(StringPool.EMPTY); } else { if (resultValue instanceof String) { pathResult = resultOf(r...