code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public void start() { if( this.timer == null ) { this.logger.fine( "Agent Monitoring is being started." ); this.timer = new ScheduledThreadPoolExecutor( 1 ); this.timer.scheduleWithFixedDelay( new MonitoringRunnable( this.agentInterface, this.handlers ), 0, Constants.PR...
public class class_name { public void start() { if( this.timer == null ) { this.logger.fine( "Agent Monitoring is being started." ); // depends on control dependency: [if], data = [none] this.timer = new ScheduledThreadPoolExecutor( 1 ); // depends on control dependency: [if], data = [none] this.timer.sch...
public class class_name { void normalizeDependencies() { if (defineDependencies != null) { LinkedHashSet<String> temp = new LinkedHashSet<String>(Arrays.asList(PathUtil.normalizePaths(getParentPath(), defineDependencies))); // normalize and remove dups defineDependencies = temp.toArray(new String[temp.siz...
public class class_name { void normalizeDependencies() { if (defineDependencies != null) { LinkedHashSet<String> temp = new LinkedHashSet<String>(Arrays.asList(PathUtil.normalizePaths(getParentPath(), defineDependencies))); // normalize and remove dups defineDependencies = temp.toArray(new String[temp.siz...
public class class_name { public static String filepath2URI(String path){ // return null if path is null. if (path == null) return null; char separator = java.io.File.separatorChar; path = path.replace(separator, '/'); int len = path.length(), ch; StringBui...
public class class_name { public static String filepath2URI(String path){ // return null if path is null. if (path == null) return null; char separator = java.io.File.separatorChar; path = path.replace(separator, '/'); int len = path.length(), ch; StringBui...
public class class_name { public static int mod(int val, int mod) { val = val % mod; if (val < 0) { val += mod; } return val; } }
public class class_name { public static int mod(int val, int mod) { val = val % mod; if (val < 0) { val += mod; // depends on control dependency: [if], data = [none] } return val; } }
public class class_name { protected Node bulkConstruct(DBIDRef cur, int maxScale, double parentDist, ModifiableDoubleDBIDList elems) { assert (!elems.contains(cur)); final double max = maxDistance(elems); final int scale = Math.min(distToScale(max) - 1, maxScale); final int nextScale = scale - 1; /...
public class class_name { protected Node bulkConstruct(DBIDRef cur, int maxScale, double parentDist, ModifiableDoubleDBIDList elems) { assert (!elems.contains(cur)); final double max = maxDistance(elems); final int scale = Math.min(distToScale(max) - 1, maxScale); final int nextScale = scale - 1; /...
public class class_name { protected String makeVariableString(VariableElement e) { StringBuilder result = new StringBuilder(); for (Modifier modifier : e.getModifiers()) { result.append(modifier.toString()); result.append(" "); } result.append(e.asType().toString...
public class class_name { protected String makeVariableString(VariableElement e) { StringBuilder result = new StringBuilder(); for (Modifier modifier : e.getModifiers()) { result.append(modifier.toString()); // depends on control dependency: [for], data = [modifier] result.appen...
public class class_name { public double nextDoubleValue() { if (hasNextValue(true)) { final double y0 = ((timestamps[pos] & FLAG_FLOAT) == FLAG_FLOAT ? Double.longBitsToDouble(values[pos]) : values[pos]); if (current == pos) { //LOG.debug("Exact...
public class class_name { public double nextDoubleValue() { if (hasNextValue(true)) { final double y0 = ((timestamps[pos] & FLAG_FLOAT) == FLAG_FLOAT ? Double.longBitsToDouble(values[pos]) : values[pos]); if (current == pos) { //LOG.debug("Exact...
public class class_name { public void setSourceCode(java.util.Collection<Code> sourceCode) { if (sourceCode == null) { this.sourceCode = null; return; } this.sourceCode = new java.util.ArrayList<Code>(sourceCode); } }
public class class_name { public void setSourceCode(java.util.Collection<Code> sourceCode) { if (sourceCode == null) { this.sourceCode = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } this.sour...
public class class_name { @Override public Entry postMedia(final AtomRequest areq, final Entry entry) throws AtomException { // get incoming slug from HTTP header final String slug = areq.getHeader("Slug"); if (LOG.isDebugEnabled()) { LOG.debug("postMedia - title: " + entry.ge...
public class class_name { @Override public Entry postMedia(final AtomRequest areq, final Entry entry) throws AtomException { // get incoming slug from HTTP header final String slug = areq.getHeader("Slug"); if (LOG.isDebugEnabled()) { LOG.debug("postMedia - title: " + entry.ge...
public class class_name { protected String exceptionMessage(String id, String messageTemplate, Object... parameters) { String formattedTemplate = formatMessageTemplate(id, messageTemplate); if(parameters == null || parameters.length == 0) { return formattedTemplate; } else { return MessageForm...
public class class_name { protected String exceptionMessage(String id, String messageTemplate, Object... parameters) { String formattedTemplate = formatMessageTemplate(id, messageTemplate); if(parameters == null || parameters.length == 0) { return formattedTemplate; // depends on control dependency: [if]...
public class class_name { public static Chunk get(char c, Font font) { char greek = SpecialSymbol.getCorrespondingSymbol(c); if (greek == ' ') { return new Chunk(String.valueOf(c), font); } Font symbol = new Font(Font.SYMBOL, font.getSize(), font.getStyle(), font.getColor())...
public class class_name { public static Chunk get(char c, Font font) { char greek = SpecialSymbol.getCorrespondingSymbol(c); if (greek == ' ') { return new Chunk(String.valueOf(c), font); // depends on control dependency: [if], data = [none] } Font symbol = new Font(Font.SYM...
public class class_name { protected static String read(Reader file) throws IOException { final StringBuilder content = new StringBuilder(); try (BufferedReader reader = new BufferedReader(file)) { String line = reader.readLine(); boolean first = true; while (line != null) { if (first) { fi...
public class class_name { protected static String read(Reader file) throws IOException { final StringBuilder content = new StringBuilder(); try (BufferedReader reader = new BufferedReader(file)) { String line = reader.readLine(); boolean first = true; while (line != null) { if (first) { fi...
public class class_name { @Override public EClass getIfcRamp() { if (ifcRampEClass == null) { ifcRampEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc4Package.eNS_URI).getEClassifiers() .get(496); } return ifcRampEClass; } }
public class class_name { @Override public EClass getIfcRamp() { if (ifcRampEClass == null) { ifcRampEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc4Package.eNS_URI).getEClassifiers() .get(496); // depends on control dependency: [if], data = [none] } return ifcRampEClass; } }
public class class_name { private void zeroMeanWorldPoints(List<AssociatedPair> points) { center.set(0,0); pointsAdj.reset(); for (int i = 0; i < points.size(); i++) { AssociatedPair pair = points.get(i); Point2D_F64 p = pair.p1; pointsAdj.grow().p2.set(pair.p2); center.x += p.x; center.y += p.y; ...
public class class_name { private void zeroMeanWorldPoints(List<AssociatedPair> points) { center.set(0,0); pointsAdj.reset(); for (int i = 0; i < points.size(); i++) { AssociatedPair pair = points.get(i); Point2D_F64 p = pair.p1; pointsAdj.grow().p2.set(pair.p2); // depends on control dependency: [for],...
public class class_name { public String [] processName (String qName, String parts[], boolean isAttribute) { String myParts[] = currentContext.processName(qName, isAttribute); if (myParts == null) { return null; } else { parts[0] = myParts[0]; parts[1] = myPart...
public class class_name { public String [] processName (String qName, String parts[], boolean isAttribute) { String myParts[] = currentContext.processName(qName, isAttribute); if (myParts == null) { return null; // depends on control dependency: [if], data = [none] } else { ...
public class class_name { public static boolean containsContentEqualsIgnoreCase(Collection<CharSequence> collection, CharSequence value) { for (CharSequence v : collection) { if (contentEqualsIgnoreCase(value, v)) { return true; } } return false; } }
public class class_name { public static boolean containsContentEqualsIgnoreCase(Collection<CharSequence> collection, CharSequence value) { for (CharSequence v : collection) { if (contentEqualsIgnoreCase(value, v)) { return true; // depends on control dependency: [if], data = [none] ...
public class class_name { @Override public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { complete(); if (historicTransitions == null) { return null; } TimeZoneTransition result; TimeZoneTransition tzt = historicTransitions.get(0); ...
public class class_name { @Override public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { complete(); if (historicTransitions == null) { return null; // depends on control dependency: [if], data = [none] } TimeZoneTransition result; Time...
public class class_name { public FleetAttributes withMetricGroups(String... metricGroups) { if (this.metricGroups == null) { setMetricGroups(new java.util.ArrayList<String>(metricGroups.length)); } for (String ele : metricGroups) { this.metricGroups.add(ele); } ...
public class class_name { public FleetAttributes withMetricGroups(String... metricGroups) { if (this.metricGroups == null) { setMetricGroups(new java.util.ArrayList<String>(metricGroups.length)); // depends on control dependency: [if], data = [none] } for (String ele : metricGroups)...
public class class_name { public static ScoreFunction illumina() { return new ScoreFunction() { @Override public double evaluate(final double relativePosition) { // TODO: this could use improvement; perhaps re-use quality profiles from ART if (relati...
public class class_name { public static ScoreFunction illumina() { return new ScoreFunction() { @Override public double evaluate(final double relativePosition) { // TODO: this could use improvement; perhaps re-use quality profiles from ART if (relati...
public class class_name { public void initProperties() { propertiesPath = getContext().getFiles().getPropertiesLocation() + File.separator + getContext().getAddOns().getAddOn().getID() + ".properties"; this.propertiesFile = new File(propertiesPath); if (!this.propertiesFile.exi...
public class class_name { public void initProperties() { propertiesPath = getContext().getFiles().getPropertiesLocation() + File.separator + getContext().getAddOns().getAddOn().getID() + ".properties"; this.propertiesFile = new File(propertiesPath); if (!this.propertiesFile.exi...
public class class_name { private boolean isRealSentence(AnalyzedSentence sentence) { AnalyzedTokenReadings[] tokens = sentence.getTokensWithoutWhitespace(); if (tokens.length > 0) { AnalyzedTokenReadings lastToken = tokens[tokens.length - 1]; return lastToken.hasPosTag("PKT") && StringUtils.equals...
public class class_name { private boolean isRealSentence(AnalyzedSentence sentence) { AnalyzedTokenReadings[] tokens = sentence.getTokensWithoutWhitespace(); if (tokens.length > 0) { AnalyzedTokenReadings lastToken = tokens[tokens.length - 1]; return lastToken.hasPosTag("PKT") && StringUtils.equals...
public class class_name { public JSONObject toJSON(CmsObject cms, boolean includeLang) { try { CmsObject clone = OpenCms.initCmsObject(cms); clone.getRequestContext().setSiteRoot(""); JSONObject jsonAttachment = new JSONObject(); CmsResource res = clone.readReso...
public class class_name { public JSONObject toJSON(CmsObject cms, boolean includeLang) { try { CmsObject clone = OpenCms.initCmsObject(cms); clone.getRequestContext().setSiteRoot(""); // depends on control dependency: [try], data = [none] JSONObject jsonAttachment = new JSO...
public class class_name { public static void updateModelGroupResources( HttpServletRequest request, HttpServletResponse response, String basePath, String baseContainerName) throws IOException { if (CmsFlexController.isCmsRequest(request)) { try { ...
public class class_name { public static void updateModelGroupResources( HttpServletRequest request, HttpServletResponse response, String basePath, String baseContainerName) throws IOException { if (CmsFlexController.isCmsRequest(request)) { try { ...
public class class_name { public FieldType calcFieldType( String content ) { final SnippetBuilder.SnippetType snippetType = SnippetBuilder.getType( content ); if ( snippetType.equals( SnippetBuilder.SnippetType.FORALL ) ) { return FieldType.FORALL_FIELD; } else if ( !snippetType.equ...
public class class_name { public FieldType calcFieldType( String content ) { final SnippetBuilder.SnippetType snippetType = SnippetBuilder.getType( content ); if ( snippetType.equals( SnippetBuilder.SnippetType.FORALL ) ) { return FieldType.FORALL_FIELD; // depends on control dependency: [i...
public class class_name { public static String toFullJobPath(final String jobName) { final String[] parts = jobName.split("/"); if (parts.length == 1) return parts[0]; final StringBuilder sb = new StringBuilder(DEFAULT_BUFFER_SIZE); for (int i = 0; i < parts.length; i++) { ...
public class class_name { public static String toFullJobPath(final String jobName) { final String[] parts = jobName.split("/"); if (parts.length == 1) return parts[0]; final StringBuilder sb = new StringBuilder(DEFAULT_BUFFER_SIZE); for (int i = 0; i < parts.length; i++) { ...
public class class_name { protected ArgumentComponent selectMainArgumentComponent( List<ArgumentComponent> argumentComponents) { ArgumentComponent result = null; int maxLength = Integer.MIN_VALUE; for (ArgumentComponent argumentComponent : argumentComponents) { int ...
public class class_name { protected ArgumentComponent selectMainArgumentComponent( List<ArgumentComponent> argumentComponents) { ArgumentComponent result = null; int maxLength = Integer.MIN_VALUE; for (ArgumentComponent argumentComponent : argumentComponents) { int ...
public class class_name { @Override public int countByUuid(String uuid) { FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; Object[] finderArgs = new Object[] { uuid }; Long count = (Long)finderCache.getResult(finderPath, finderArgs, this); if (count == null) { StringBundler query = new StringBundler(2...
public class class_name { @Override public int countByUuid(String uuid) { FinderPath finderPath = FINDER_PATH_COUNT_BY_UUID; Object[] finderArgs = new Object[] { uuid }; Long count = (Long)finderCache.getResult(finderPath, finderArgs, this); if (count == null) { StringBundler query = new StringBundler(2...
public class class_name { public void marshall(UpdateCampaignRequest updateCampaignRequest, ProtocolMarshaller protocolMarshaller) { if (updateCampaignRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshalle...
public class class_name { public void marshall(UpdateCampaignRequest updateCampaignRequest, ProtocolMarshaller protocolMarshaller) { if (updateCampaignRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshalle...
public class class_name { void killSocket() { try { m_closing = true; m_socket.setKeepAlive(false); m_socket.setSoLinger(false, 0); Thread.sleep(25); m_socket.close(); Thread.sleep(25); System.gc(); Thread.sleep(25)...
public class class_name { void killSocket() { try { m_closing = true; // depends on control dependency: [try], data = [none] m_socket.setKeepAlive(false); // depends on control dependency: [try], data = [none] m_socket.setSoLinger(false, 0); // depends on control dependency:...
public class class_name { public void runPendingCommands() { List<Runnable> commandsToRun = commands; commands = new ArrayList<Runnable>(); for (Runnable command: commandsToRun) { command.run(); } } }
public class class_name { public void runPendingCommands() { List<Runnable> commandsToRun = commands; commands = new ArrayList<Runnable>(); for (Runnable command: commandsToRun) { command.run(); // depends on control dependency: [for], data = [command] } } }
public class class_name { public void put(int index, RPCParameter param) { expand(index); if (index < params.size()) { params.set(index, param); } else { params.add(param); } } }
public class class_name { public void put(int index, RPCParameter param) { expand(index); if (index < params.size()) { params.set(index, param); // depends on control dependency: [if], data = [(index] } else { params.add(param); // depends on control dependency: [if], d...
public class class_name { @Override public <T> T createContextualProxy(T instance, Map<String, String> executionProperties, final Class<T> intf) { Set<String> internalPropNames = executionProperties == null ? null : new HashSet<String>(); @SuppressWarnings("unchecked") ThreadContextDescript...
public class class_name { @Override public <T> T createContextualProxy(T instance, Map<String, String> executionProperties, final Class<T> intf) { Set<String> internalPropNames = executionProperties == null ? null : new HashSet<String>(); @SuppressWarnings("unchecked") ThreadContextDescript...
public class class_name { public static byte[] decodeLines(String s) { char[] buf = new char[s.length()]; int p = 0; for (int ip = 0; ip < s.length(); ip++) { char c = s.charAt(ip); if (c != ' ' && c != '\r' && c != '\n' && c != '\t') { buf[p++] = c; } } return decode(buf,...
public class class_name { public static byte[] decodeLines(String s) { char[] buf = new char[s.length()]; int p = 0; for (int ip = 0; ip < s.length(); ip++) { char c = s.charAt(ip); if (c != ' ' && c != '\r' && c != '\n' && c != '\t') { buf[p++] = c; // depends on control dependency: [i...
public class class_name { public String range(ThresholdRangeCondition condition) { String description; if (condition.getContext() != null && condition.getContext().get(CONTEXT_PROPERTY_DESCRIPTION) != null) { description = condition.getContext().get(CONTEXT_PROPERTY_DESCRIPTION); } ...
public class class_name { public String range(ThresholdRangeCondition condition) { String description; if (condition.getContext() != null && condition.getContext().get(CONTEXT_PROPERTY_DESCRIPTION) != null) { description = condition.getContext().get(CONTEXT_PROPERTY_DESCRIPTION); // depends...
public class class_name { protected void createGetProfileCMPMethods( Collection<GetProfileCMPMethodDescriptor> cmpProfiles) { if (cmpProfiles == null) { if (logger.isTraceEnabled()) { logger.trace("no CMP Profile method implementation to generate."); } return; } for (GetProfileCMPMethodD...
public class class_name { protected void createGetProfileCMPMethods( Collection<GetProfileCMPMethodDescriptor> cmpProfiles) { if (cmpProfiles == null) { if (logger.isTraceEnabled()) { logger.trace("no CMP Profile method implementation to generate."); // depends on control dependency: [if], data = ...
public class class_name { public void setSegVersion(int version) { if (version < 1) { log.warn("tried to change segment version for task " + this.jobName + " explicit, but no version given"); return; } // Wenn sich die Versionsnummer nicht geaendert hat, muessen wir die...
public class class_name { public void setSegVersion(int version) { if (version < 1) { log.warn("tried to change segment version for task " + this.jobName + " explicit, but no version given"); // depends on control dependency: [if], data = [none] return; // depends on control dependency:...
public class class_name { public static void close(final AutoCloseable closeable) { try { if (null != closeable) { closeable.close(); } } catch (final Exception e) { LangUtil.rethrowUnchecked(e); } }...
public class class_name { public static void close(final AutoCloseable closeable) { try { if (null != closeable) { closeable.close(); // depends on control dependency: [if], data = [none] } } catch (final Exception e) { ...
public class class_name { public void marshall(S3Location s3Location, ProtocolMarshaller protocolMarshaller) { if (s3Location == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(s3Location.getBucket()...
public class class_name { public void marshall(S3Location s3Location, ProtocolMarshaller protocolMarshaller) { if (s3Location == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(s3Location.getBucket()...
public class class_name { public static final void toLongestString(final List<Object> objects) { if (objects == null) { return; } int maxsize = 0; int tint = 0; String tmp; int stop = objects.size(); for (int i = 0; i < stop; i++) { StringUtil.arrayToString(objects.get(i)); ...
public class class_name { public static final void toLongestString(final List<Object> objects) { if (objects == null) { return; // depends on control dependency: [if], data = [none] } int maxsize = 0; int tint = 0; String tmp; int stop = objects.size(); for (int i = 0; i < stop; i++) ...
public class class_name { public void setAutomaticLayout(boolean enable) { if (enable) { this.setAutomaticLayout(AutomaticLayout.RankDirection.TopBottom, 300, 600, 200, false); } else { this.automaticLayout = null; } } }
public class class_name { public void setAutomaticLayout(boolean enable) { if (enable) { this.setAutomaticLayout(AutomaticLayout.RankDirection.TopBottom, 300, 600, 200, false); // depends on control dependency: [if], data = [none] } else { this.automaticLayout = null; // depends...
public class class_name { private boolean deserializeRequestCommand(RemotingContext ctx, RpcRequestCommand cmd, int level) { boolean result; try { cmd.deserialize(level); result = true; } catch (DeserializationException e) { logger .error( ...
public class class_name { private boolean deserializeRequestCommand(RemotingContext ctx, RpcRequestCommand cmd, int level) { boolean result; try { cmd.deserialize(level); // depends on control dependency: [try], data = [none] result = true; // depends on control dependency: [try...
public class class_name { @Override public void stopRecording() { super.stopRecording(); mSentBroadcastLiveEvent = false; if (mStream != null) { if (VERBOSE) Log.i(TAG, "Stopping Stream"); mKickflip.stopStream(mStream, new KickflipCallback() { @Overri...
public class class_name { @Override public void stopRecording() { super.stopRecording(); mSentBroadcastLiveEvent = false; if (mStream != null) { if (VERBOSE) Log.i(TAG, "Stopping Stream"); mKickflip.stopStream(mStream, new KickflipCallback() { @Overri...
public class class_name { public Observable<ServiceResponseWithHeaders<OutputInner, OutputsCreateOrReplaceHeaders>> createOrReplaceWithServiceResponseAsync(String resourceGroupName, String jobName, String outputName, OutputInner output, String ifMatch, String ifNoneMatch) { if (this.client.subscriptionId() == ...
public class class_name { public Observable<ServiceResponseWithHeaders<OutputInner, OutputsCreateOrReplaceHeaders>> createOrReplaceWithServiceResponseAsync(String resourceGroupName, String jobName, String outputName, OutputInner output, String ifMatch, String ifNoneMatch) { if (this.client.subscriptionId() == ...
public class class_name { public Set<HierarchicalProperty> getProperties(boolean namesOnly) throws RepositoryException { Set<HierarchicalProperty> props = new HashSet<HierarchicalProperty>(); Iterator<QName> propIter = PRESET_PROP.iterator(); while (propIter.hasNext()) { QNa...
public class class_name { public Set<HierarchicalProperty> getProperties(boolean namesOnly) throws RepositoryException { Set<HierarchicalProperty> props = new HashSet<HierarchicalProperty>(); Iterator<QName> propIter = PRESET_PROP.iterator(); while (propIter.hasNext()) { QNa...
public class class_name { public void parse(final TagVisitor visitor) { tag.init(config.caseSensitive); this.parsingTime = System.currentTimeMillis(); this.visitor = visitor; visitor.start(); parsing = true; while (parsing) { state.parse(); } emitText(); visitor.end(); this.parsingTime =...
public class class_name { public void parse(final TagVisitor visitor) { tag.init(config.caseSensitive); this.parsingTime = System.currentTimeMillis(); this.visitor = visitor; visitor.start(); parsing = true; while (parsing) { state.parse(); // depends on control dependency: [while], data = [none] ...
public class class_name { @Override public EClass getPluginBundleVersion() { if (pluginBundleVersionEClass == null) { pluginBundleVersionEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(StorePackage.eNS_URI).getEClassifiers().get(103); } return pluginBundleVersionEClass; } }
public class class_name { @Override public EClass getPluginBundleVersion() { if (pluginBundleVersionEClass == null) { pluginBundleVersionEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(StorePackage.eNS_URI).getEClassifiers().get(103); // depends on control dependency: [if], data = [none] } retu...
public class class_name { public int execute() { loadTimestampFile(); String scriptPathes = System.getProperty(SYSPROP_TESTS_SCRIPT_PATH); if (StringUtils.isNotEmpty(scriptPathes)) { for (String path : scriptPathes.split(",")) { generate(new File(path), "."); ...
public class class_name { public int execute() { loadTimestampFile(); String scriptPathes = System.getProperty(SYSPROP_TESTS_SCRIPT_PATH); if (StringUtils.isNotEmpty(scriptPathes)) { for (String path : scriptPathes.split(",")) { generate(new File(path), "."); ...
public class class_name { private void render(List<T> data) { List<Widget> widgets = new ArrayList<>(); for (T model : data) { Widget widget = renderer.render(model); widget.getElement().setId("item-" + itemCount); add(widget); widgets.add(widget); ...
public class class_name { private void render(List<T> data) { List<Widget> widgets = new ArrayList<>(); for (T model : data) { Widget widget = renderer.render(model); widget.getElement().setId("item-" + itemCount); // depends on control dependency: [for], data = [none] ...
public class class_name { public final AutoBuffer writeJSON_impl(AutoBuffer ab) { boolean isOut = direction == API.Direction.OUTPUT; ab.putJSONStr("name", name); ab.put1(','); ab.putJSONStr("type", type); ab.put1(','); ab.putJSON...
public class class_name { public final AutoBuffer writeJSON_impl(AutoBuffer ab) { boolean isOut = direction == API.Direction.OUTPUT; ab.putJSONStr("name", name); ab.put1(','); ab.putJSONStr("type", type); ab.put1(','); ab.putJSON...
public class class_name { public static Object waitForJavascriptCallback(JavascriptExecutor jse, String statementPattern, Object... parameters) { Object result; String script = "var callback = arguments[arguments.length - 1];" + String.format(statementPattern, parameters); if (s...
public class class_name { public static Object waitForJavascriptCallback(JavascriptExecutor jse, String statementPattern, Object... parameters) { Object result; String script = "var callback = arguments[arguments.length - 1];" + String.format(statementPattern, parameters); if (s...
public class class_name { public static double quickRatio(final String paramFirst, final String paramSecond) { if (paramFirst == null || paramSecond == null) { return 1; } double matches = 0; // Use a sparse array to reduce the memory usage // for unicode characters...
public class class_name { public static double quickRatio(final String paramFirst, final String paramSecond) { if (paramFirst == null || paramSecond == null) { return 1; // depends on control dependency: [if], data = [none] } double matches = 0; // Use a sparse array to red...
public class class_name { @Override public void unregisterMBean(ObjectName name) throws InstanceNotFoundException, MBeanRegistrationException, IOException { final String sourceMethod = "unregisterMBean"; checkConnection(); if (name == null) throw new RuntimeOperationsException(n...
public class class_name { @Override public void unregisterMBean(ObjectName name) throws InstanceNotFoundException, MBeanRegistrationException, IOException { final String sourceMethod = "unregisterMBean"; checkConnection(); if (name == null) throw new RuntimeOperationsException(n...
public class class_name { public String getTags() { Set<String> setOfTags = getTagsAsSet(); if (setOfTags.isEmpty()) { return ""; } StringBuilder buf = new StringBuilder(); for (String tag : setOfTags) { buf.append(tag); buf.append(","); ...
public class class_name { public String getTags() { Set<String> setOfTags = getTagsAsSet(); if (setOfTags.isEmpty()) { return ""; // depends on control dependency: [if], data = [none] } StringBuilder buf = new StringBuilder(); for (String tag : setOfTags) { ...
public class class_name { public void setUnsuccessfulFleetRequests(java.util.Collection<CancelSpotFleetRequestsErrorItem> unsuccessfulFleetRequests) { if (unsuccessfulFleetRequests == null) { this.unsuccessfulFleetRequests = null; return; } this.unsuccessfulFleetRequest...
public class class_name { public void setUnsuccessfulFleetRequests(java.util.Collection<CancelSpotFleetRequestsErrorItem> unsuccessfulFleetRequests) { if (unsuccessfulFleetRequests == null) { this.unsuccessfulFleetRequests = null; // depends on control dependency: [if], data = [none] re...
public class class_name { @Pure public DoubleProperty x2Property() { if (this.p2.x == null) { this.p2.x = new SimpleDoubleProperty(this, MathFXAttributeNames.X2); } return this.p2.x; } }
public class class_name { @Pure public DoubleProperty x2Property() { if (this.p2.x == null) { this.p2.x = new SimpleDoubleProperty(this, MathFXAttributeNames.X2); // depends on control dependency: [if], data = [none] } return this.p2.x; } }
public class class_name { @Override public String[] getjavaVMs() { final String methodName = "getjavaVMs"; final boolean trace = TraceComponent.isAnyTracingEnabled(); if (trace && tc.isEntryEnabled()) Tr.entry(tc, methodName, this); ArrayList<String> jvmArrayList = new ...
public class class_name { @Override public String[] getjavaVMs() { final String methodName = "getjavaVMs"; final boolean trace = TraceComponent.isAnyTracingEnabled(); if (trace && tc.isEntryEnabled()) Tr.entry(tc, methodName, this); ArrayList<String> jvmArrayList = new ...
public class class_name { public com.google.cloud.datalabeling.v1beta1.BoundingPolyOrBuilder getBoundingPolyOrBuilder() { if (boundedAreaCase_ == 2) { return (com.google.cloud.datalabeling.v1beta1.BoundingPoly) boundedArea_; } return com.google.cloud.datalabeling.v1beta1.BoundingPoly.getDefaultInstan...
public class class_name { public com.google.cloud.datalabeling.v1beta1.BoundingPolyOrBuilder getBoundingPolyOrBuilder() { if (boundedAreaCase_ == 2) { return (com.google.cloud.datalabeling.v1beta1.BoundingPoly) boundedArea_; // depends on control dependency: [if], data = [none] } return com.google.cl...
public class class_name { public static void transferValues( CmsEntity original, CmsEntity target, List<String> transferAttributes, Map<String, CmsType> entityTypes, Map<String, CmsAttributeConfiguration> attributeConfigurations, boolean considerDefaults) { ...
public class class_name { public static void transferValues( CmsEntity original, CmsEntity target, List<String> transferAttributes, Map<String, CmsType> entityTypes, Map<String, CmsAttributeConfiguration> attributeConfigurations, boolean considerDefaults) { ...
public class class_name { public short nextShort(int radix) { // Check cached result if ((typeCache != null) && (typeCache instanceof Short) && this.radix == radix) { short val = ((Short)typeCache).shortValue(); useTypeCache(); return val; } ...
public class class_name { public short nextShort(int radix) { // Check cached result if ((typeCache != null) && (typeCache instanceof Short) && this.radix == radix) { short val = ((Short)typeCache).shortValue(); useTypeCache(); // depends on control dependency: [if],...
public class class_name { public Iterator iterator() { return new Iterator() { private LeftTupleSinkNode currentNode = null; private LeftTupleSinkNode nextNode = getFirst(); public boolean hasNext() { return (this.nextNode != null); } ...
public class class_name { public Iterator iterator() { return new Iterator() { private LeftTupleSinkNode currentNode = null; private LeftTupleSinkNode nextNode = getFirst(); public boolean hasNext() { return (this.nextNode != null); } ...
public class class_name { public short[] interpolate(int oldSampleRate, int newSampleRate, short[] samples) { if (oldSampleRate == newSampleRate) { return samples; } int newLength = Math.round(((float) samples.length / oldSampleRate * newSampleRate)); float lengthMultiplie...
public class class_name { public short[] interpolate(int oldSampleRate, int newSampleRate, short[] samples) { if (oldSampleRate == newSampleRate) { return samples; // depends on control dependency: [if], data = [none] } int newLength = Math.round(((float) samples.length / oldSampl...
public class class_name { @SuppressWarnings("unchecked") public <T> T convert(Object value, Class<T> toType) { for (ConverterDescriptor descriptor : getRegistry().keySet()) { Converter converter = descriptor.getConverter(); if (converter.canConvert(value, toType)) { if (descriptor.isExactC...
public class class_name { @SuppressWarnings("unchecked") public <T> T convert(Object value, Class<T> toType) { for (ConverterDescriptor descriptor : getRegistry().keySet()) { Converter converter = descriptor.getConverter(); if (converter.canConvert(value, toType)) { if (descriptor.isExactC...
public class class_name { public ArgumentBuilder withNamedArgument(final String name, final String value) { // Check sanity Validate.notEmpty(name, "name"); // Only add a named argument if the value is non-empty. if (value != null && !value.trim().isEmpty()) { withNamedArg...
public class class_name { public ArgumentBuilder withNamedArgument(final String name, final String value) { // Check sanity Validate.notEmpty(name, "name"); // Only add a named argument if the value is non-empty. if (value != null && !value.trim().isEmpty()) { withNamedArg...
public class class_name { private void select(String[] resultList, int resultIndex, List<String[]> result) { int resultLen = resultList.length; if (resultIndex >= resultLen) { // 全部选择完时,输出排列结果 result.add(Arrays.copyOf(resultList, resultList.length)); return; } // 递归选择下一个 for (int i = 0; i < da...
public class class_name { private void select(String[] resultList, int resultIndex, List<String[]> result) { int resultLen = resultList.length; if (resultIndex >= resultLen) { // 全部选择完时,输出排列结果 result.add(Arrays.copyOf(resultList, resultList.length)); // depends on control dependency: [if], data = [none] ...
public class class_name { @Override public boolean getCloseWaiting() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "getCloseWaiting returning: " + this.closeWaiting); } return this.closeWaiting; } }
public class class_name { @Override public boolean getCloseWaiting() { if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) { Tr.debug(tc, "getCloseWaiting returning: " + this.closeWaiting); // depends on control dependency: [if], data = [none] } return this.closeWai...
public class class_name { public void setText(CharSequence text, boolean animate) { if (view != null) { ((TextView) view).setText(text); } } }
public class class_name { public void setText(CharSequence text, boolean animate) { if (view != null) { ((TextView) view).setText(text); // depends on control dependency: [if], data = [none] } } }
public class class_name { public Object getProperty(String property) { if(ExpandoMetaClass.isValidExpandoProperty(property)) { if(property.equals(ExpandoMetaClass.STATIC_QUALIFIER) || property.equals(ExpandoMetaClass.CONSTRUCTOR) || myMetaClass.hasProperty(this, proper...
public class class_name { public Object getProperty(String property) { if(ExpandoMetaClass.isValidExpandoProperty(property)) { if(property.equals(ExpandoMetaClass.STATIC_QUALIFIER) || property.equals(ExpandoMetaClass.CONSTRUCTOR) || myMetaClass.hasProperty(this, proper...
public class class_name { public Result<GetPolyWallSegmentsResult> getPolyWallSegments(long ref, boolean storePortals, QueryFilter filter) { Result<Tupple2<MeshTile, Poly>> tileAndPoly = m_nav.getTileAndPolyByRef(ref); if (tileAndPoly.failed()) { return Result.of(tileAndPoly.status, tileAnd...
public class class_name { public Result<GetPolyWallSegmentsResult> getPolyWallSegments(long ref, boolean storePortals, QueryFilter filter) { Result<Tupple2<MeshTile, Poly>> tileAndPoly = m_nav.getTileAndPolyByRef(ref); if (tileAndPoly.failed()) { return Result.of(tileAndPoly.status, tileAnd...
public class class_name { @Override public List<FoxHttpAuthorization> getAuthorization(URLConnection connection, FoxHttpAuthorizationScope foxHttpAuthorizationScope, FoxHttpClient foxHttpClient) { ArrayList<FoxHttpAuthorization> foxHttpAuthorizationList = new ArrayList<>(); for (Map.Entry<String, ...
public class class_name { @Override public List<FoxHttpAuthorization> getAuthorization(URLConnection connection, FoxHttpAuthorizationScope foxHttpAuthorizationScope, FoxHttpClient foxHttpClient) { ArrayList<FoxHttpAuthorization> foxHttpAuthorizationList = new ArrayList<>(); for (Map.Entry<String, ...
public class class_name { private MemberId getNextMemberId(String topicName) { InternalTopic topic = topics.get(topicName); if (topic == null) { return null; } TopicIterator iterator = topic.iterator(); if (iterator.hasNext()) { return iterator.next().memberId(); } return null;...
public class class_name { private MemberId getNextMemberId(String topicName) { InternalTopic topic = topics.get(topicName); if (topic == null) { return null; // depends on control dependency: [if], data = [none] } TopicIterator iterator = topic.iterator(); if (iterator.hasNext()) { ret...
public class class_name { private static void updateVolume(DataLine dataLine, int volume) { if (dataLine.isControlSupported(Type.MASTER_GAIN)) { final FloatControl gainControl = (FloatControl) dataLine.getControl(Type.MASTER_GAIN); final double gain = UtilMath.clamp(volume /...
public class class_name { private static void updateVolume(DataLine dataLine, int volume) { if (dataLine.isControlSupported(Type.MASTER_GAIN)) { final FloatControl gainControl = (FloatControl) dataLine.getControl(Type.MASTER_GAIN); final double gain = UtilMath.clamp(volume /...
public class class_name { public void marshall(CreateTagsRequest createTagsRequest, ProtocolMarshaller protocolMarshaller) { if (createTagsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(c...
public class class_name { public void marshall(CreateTagsRequest createTagsRequest, ProtocolMarshaller protocolMarshaller) { if (createTagsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(c...
public class class_name { @FunctionName("EventHubTriggerJava") public void run( @EventHubTrigger(name = "message", eventHubName = "trigger", connection = "CIEventHubConnection", consumerGroup = "$Default") String message, @EventHubOutput(name = "result", eventHubName = "output", connection ...
public class class_name { @FunctionName("EventHubTriggerJava") public void run( @EventHubTrigger(name = "message", eventHubName = "trigger", connection = "CIEventHubConnection", consumerGroup = "$Default") String message, @EventHubOutput(name = "result", eventHubName = "output", connection ...
public class class_name { public void setDoesContainIBMSessionListener(boolean value) { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_CORE.logp(Level.FINE, methodClassName, "setDoesContainIBMSessionLi...
public class class_name { public void setDoesContainIBMSessionListener(boolean value) { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_CORE.logp(Level.FINE, methodClassName, "setDoesContainIBMSessionLi...
public class class_name { protected DecimalWithUoM eval(final Object... _values) throws SQLException { final DecimalWithUoM ret; if (_values == null || _values.length < 2) { ret = null; } else { final BigDecimal value; if (_values[0] instanceof...
public class class_name { protected DecimalWithUoM eval(final Object... _values) throws SQLException { final DecimalWithUoM ret; if (_values == null || _values.length < 2) { ret = null; // depends on control dependency: [if], data = [none] } else { final B...
public class class_name { public final BaseDescr inExpression() throws RecognitionException { BaseDescr result = null; BaseDescr left =null; ParserRuleReturnScope e1 =null; ParserRuleReturnScope e2 =null; ConstraintConnectiveDescr descr = null; BaseDescr leftDescr = null; BindingDescr binding = null; ...
public class class_name { public final BaseDescr inExpression() throws RecognitionException { BaseDescr result = null; BaseDescr left =null; ParserRuleReturnScope e1 =null; ParserRuleReturnScope e2 =null; ConstraintConnectiveDescr descr = null; BaseDescr leftDescr = null; BindingDescr binding = null; ...
public class class_name { protected void setGroups(List<CmsPublishGroup> groups, boolean newData) { m_model = new CmsPublishDataModel(groups, this); m_model.setSelectionChangeAction(new Runnable() { public void run() { onChangePublishSelection(); } });...
public class class_name { protected void setGroups(List<CmsPublishGroup> groups, boolean newData) { m_model = new CmsPublishDataModel(groups, this); m_model.setSelectionChangeAction(new Runnable() { public void run() { onChangePublishSelection(); } });...
public class class_name { public void writeDirect( byte[] b, int off, int len, int flags ) throws IOException { if( len <= 0 ) { return; } if( tmp == null ) { throw new IOException( "Bad file descriptor" ); } ensureOpen(); if( file.log.level >= ...
public class class_name { public void writeDirect( byte[] b, int off, int len, int flags ) throws IOException { if( len <= 0 ) { return; } if( tmp == null ) { throw new IOException( "Bad file descriptor" ); } ensureOpen(); if( file.log.level >= ...
public class class_name { @NonNull public TransitionSet addTransition(@Nullable Transition transition) { if (transition != null) { addTransitionInternal(transition); if (mDuration >= 0) { transition.setDuration(mDuration); } if (mInterpolator ...
public class class_name { @NonNull public TransitionSet addTransition(@Nullable Transition transition) { if (transition != null) { addTransitionInternal(transition); // depends on control dependency: [if], data = [(transition] if (mDuration >= 0) { transition.setDura...
public class class_name { public EClass getIfcElementType() { if (ifcElementTypeEClass == null) { ifcElementTypeEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(201); } return ifcElementTypeEClass; } }
public class class_name { public EClass getIfcElementType() { if (ifcElementTypeEClass == null) { ifcElementTypeEClass = (EClass) EPackage.Registry.INSTANCE.getEPackage(Ifc2x3tc1Package.eNS_URI) .getEClassifiers().get(201); // depends on control dependency: [if], data = [none] } return ifcElementTyp...
public class class_name { protected void appendAppId(ApplicationId appId, Message m) { if (appId == null) { return; } // check if any application-id avp is already present. // we could use m.getApplicationIdAvps().size() > 0 but this should spare a few cpu cycles for (Avp avp : m.getA...
public class class_name { protected void appendAppId(ApplicationId appId, Message m) { if (appId == null) { return; // depends on control dependency: [if], data = [none] } // check if any application-id avp is already present. // we could use m.getApplicationIdAvps().size() > 0 but this sh...
public class class_name { private boolean mustStopScanToPreventAndroidNScanTimeout() { long timeOfNextScanCycleEnd = SystemClock.elapsedRealtime() + mBetweenScanPeriod + mScanPeriod; boolean timeoutAtRisk = android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.N && mC...
public class class_name { private boolean mustStopScanToPreventAndroidNScanTimeout() { long timeOfNextScanCycleEnd = SystemClock.elapsedRealtime() + mBetweenScanPeriod + mScanPeriod; boolean timeoutAtRisk = android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.N && mC...
public class class_name { public void marshall(ResourceServerType resourceServerType, ProtocolMarshaller protocolMarshaller) { if (resourceServerType == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { public void marshall(ResourceServerType resourceServerType, ProtocolMarshaller protocolMarshaller) { if (resourceServerType == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { private String[] resolvePermissions(ContainerRequest request) { String[] values = _permissions; if (_substitutions.isEmpty()) { return values; } String[] permissions = new String[values.length]; System.arraycopy(values, 0, permissions, 0, ...
public class class_name { private String[] resolvePermissions(ContainerRequest request) { String[] values = _permissions; if (_substitutions.isEmpty()) { return values; // depends on control dependency: [if], data = [none] } String[] permissions = new String[values.length]...
public class class_name { public Map<Object, Object> getSwappableData() { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_CORE.entering(methodClassName, methodNames[GET_SWAPPABLE_DATA], appNameAndIdStri...
public class class_name { public Map<Object, Object> getSwappableData() { if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINE)) { LoggingUtil.SESSION_LOGGER_CORE.entering(methodClassName, methodNames[GET_SWAPPABLE_DATA], appNameAndIdStri...
public class class_name { public static boolean load(String path, Nature defaultNature, TreeMap<String, CoreDictionary.Attribute> map, LinkedHashSet<Nature> customNatureCollector) { try { String splitter = "\\s"; if (path.endsWith(".csv")) { split...
public class class_name { public static boolean load(String path, Nature defaultNature, TreeMap<String, CoreDictionary.Attribute> map, LinkedHashSet<Nature> customNatureCollector) { try { String splitter = "\\s"; if (path.endsWith(".csv")) { split...
public class class_name { private static String caseFormatWithDelimiter(String str, String delimiter, boolean isAllUpper, boolean isAllLower) { StringBuilder builder = new StringBuilder(str.length()); String[] tokens = NOT_ALPHANUMERIC_REGEX.split(str); boolean shouldAddDelimiter = StringUtils.isNotEmpty(delimit...
public class class_name { private static String caseFormatWithDelimiter(String str, String delimiter, boolean isAllUpper, boolean isAllLower) { StringBuilder builder = new StringBuilder(str.length()); String[] tokens = NOT_ALPHANUMERIC_REGEX.split(str); boolean shouldAddDelimiter = StringUtils.isNotEmpty(delimit...
public class class_name { public static Atom[] duplicateCA2(Atom[] ca2) { // we don't want to rotate input atoms, do we? Atom[] ca2clone = new Atom[ca2.length * 2]; int pos = 0; Chain c = null; String prevChainId = ""; for (Atom a : ca2) { Group g = (Group) a.getGroup().clone(); // works because each ...
public class class_name { public static Atom[] duplicateCA2(Atom[] ca2) { // we don't want to rotate input atoms, do we? Atom[] ca2clone = new Atom[ca2.length * 2]; int pos = 0; Chain c = null; String prevChainId = ""; for (Atom a : ca2) { Group g = (Group) a.getGroup().clone(); // works because each ...
public class class_name { public boolean isAvailable() { // The channel is available is is connected boolean available = this.rtpChannel != null && this.rtpChannel.isConnected(); // In case of WebRTC calls the DTLS handshake must be completed if(this.isWebRtc) { available = available && this.webRtcHandler.i...
public class class_name { public boolean isAvailable() { // The channel is available is is connected boolean available = this.rtpChannel != null && this.rtpChannel.isConnected(); // In case of WebRTC calls the DTLS handshake must be completed if(this.isWebRtc) { available = available && this.webRtcHandler.i...
public class class_name { @Nullable private String _parseQuotedToken (final char cTerminator) { char ch; m_nIndex1 = m_nPos; m_nIndex2 = m_nPos; boolean bQuoted = false; boolean bCharEscaped = false; while (_hasChar ()) { ch = m_aChars[m_nPos]; if (!bQuoted && cTerminator ==...
public class class_name { @Nullable private String _parseQuotedToken (final char cTerminator) { char ch; m_nIndex1 = m_nPos; m_nIndex2 = m_nPos; boolean bQuoted = false; boolean bCharEscaped = false; while (_hasChar ()) { ch = m_aChars[m_nPos]; // depends on control dependency: [w...
public class class_name { void findHandlers(ListIterator<PathElement> iterator, String value, Notification notification, Collection<NotificationHandler> handlers) { NotificationHandlerNodeRegistry registry = childRegistries.get(value); if (registry != null) { registry.findEntries(iterator, ...
public class class_name { void findHandlers(ListIterator<PathElement> iterator, String value, Notification notification, Collection<NotificationHandler> handlers) { NotificationHandlerNodeRegistry registry = childRegistries.get(value); if (registry != null) { registry.findEntries(iterator, ...
public class class_name { @Override public EClass getIfcMaterialClassificationRelationship() { if (ifcMaterialClassificationRelationshipEClass == null) { ifcMaterialClassificationRelationshipEClass = (EClass) EPackage.Registry.INSTANCE .getEPackage(Ifc4Package.eNS_URI).getEClassifiers().get(357); } ...
public class class_name { @Override public EClass getIfcMaterialClassificationRelationship() { if (ifcMaterialClassificationRelationshipEClass == null) { ifcMaterialClassificationRelationshipEClass = (EClass) EPackage.Registry.INSTANCE .getEPackage(Ifc4Package.eNS_URI).getEClassifiers().get(357); // de...
public class class_name { public void marshall(RealtimeEndpointInfo realtimeEndpointInfo, ProtocolMarshaller protocolMarshaller) { if (realtimeEndpointInfo == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.m...
public class class_name { public void marshall(RealtimeEndpointInfo realtimeEndpointInfo, ProtocolMarshaller protocolMarshaller) { if (realtimeEndpointInfo == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.m...
public class class_name { public void marshall(StopAutomationExecutionRequest stopAutomationExecutionRequest, ProtocolMarshaller protocolMarshaller) { if (stopAutomationExecutionRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public void marshall(StopAutomationExecutionRequest stopAutomationExecutionRequest, ProtocolMarshaller protocolMarshaller) { if (stopAutomationExecutionRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public void uploadNewBundleFromInstances(List<BundleContentGenerator> generators, BundleType bundleType) throws IOException { // Generate bundle SupportBundle bundle = generateNewBundleFromInstances(generators, bundleType); boolean enabled = configuration.get(Constants.UPLOAD_ENA...
public class class_name { public void uploadNewBundleFromInstances(List<BundleContentGenerator> generators, BundleType bundleType) throws IOException { // Generate bundle SupportBundle bundle = generateNewBundleFromInstances(generators, bundleType); boolean enabled = configuration.get(Constants.UPLOAD_ENA...
public class class_name { public static void rcvXACommit(CommsByteBuffer request, Conversation conversation, int requestNumber, boolean allocatedFromBufferPool, boolean partOfExchange...
public class class_name { public static void rcvXACommit(CommsByteBuffer request, Conversation conversation, int requestNumber, boolean allocatedFromBufferPool, boolean partOfExchange...
public class class_name { private static int finalizeConverter( char c, String pattern, int i, final StringBuffer currentLiteral, final ExtrasFormattingInfo formattingInfo, final Map converterRegistry, final Map rules, final List patternConverters, final List formattingInfos) { StringBuffer convBuf...
public class class_name { private static int finalizeConverter( char c, String pattern, int i, final StringBuffer currentLiteral, final ExtrasFormattingInfo formattingInfo, final Map converterRegistry, final Map rules, final List patternConverters, final List formattingInfos) { StringBuffer convBuf...
public class class_name { public static boolean validateValidWhen( Object bean, ValidatorAction va, Field field, ActionMessages errors, HttpServletRequest request, ServletContext servletContext ) { String value; if ( isString( bean ) ) ...
public class class_name { public static boolean validateValidWhen( Object bean, ValidatorAction va, Field field, ActionMessages errors, HttpServletRequest request, ServletContext servletContext ) { String value; if ( isString( bean ) ) ...
public class class_name { private static void parse(final Reader r) throws IOException { final BufferedReader br = new BufferedReader(r); String line; final ArrayList<String> sequence = new ArrayList<String>(); line = br.readLine(); while (true) { if (line == null) { break; } line = line.trim()...
public class class_name { private static void parse(final Reader r) throws IOException { final BufferedReader br = new BufferedReader(r); String line; final ArrayList<String> sequence = new ArrayList<String>(); line = br.readLine(); while (true) { if (line == null) { break; } line = line.trim()...
public class class_name { public static String getAsString(Type type) { String result = null; if(isSimple(type)) { result = ((Class<?>)type).getCanonicalName(); } else if(isGeneric(type)) { StringBuilder buffer = new StringBuilder(); // grab the name of the container class (e.g. List, Map...) ...
public class class_name { public static String getAsString(Type type) { String result = null; if(isSimple(type)) { result = ((Class<?>)type).getCanonicalName(); // depends on control dependency: [if], data = [none] } else if(isGeneric(type)) { StringBuilder buffer = new StringBuilder(); // gra...