code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public final void putPrimitiveDefaultAtOffset(Object copy, Class<?> type, long offset) { if (java.lang.Boolean.TYPE == type) { THE_UNSAFE.putBoolean(copy, offset, false); } else if (java.lang.Byte.TYPE == type) { THE_UNSAFE.putByte(copy, offset, (byte) 0); } else if (java.lang.Ch...
public class class_name { public final void putPrimitiveDefaultAtOffset(Object copy, Class<?> type, long offset) { if (java.lang.Boolean.TYPE == type) { THE_UNSAFE.putBoolean(copy, offset, false); // depends on control dependency: [if], data = [none] } else if (java.lang.Byte.TYPE == type) { THE_UNSAFE.putB...
public class class_name { private String getServerTlsFingerPrint() { String fingerPrint = null; Map<String, Object> serverConfig = Config.getInstance().getJsonMapConfigNoCache("server"); Map<String, Object> secretConfig = Config.getInstance().getJsonMapConfigNoCache("secret"); // load k...
public class class_name { private String getServerTlsFingerPrint() { String fingerPrint = null; Map<String, Object> serverConfig = Config.getInstance().getJsonMapConfigNoCache("server"); Map<String, Object> secretConfig = Config.getInstance().getJsonMapConfigNoCache("secret"); // load k...
public class class_name { private void detachPlot(SVGPlot oldplot) { if(oldplot == null) { return; } this.plot = null; oldplot.unsynchronizeWith(synchronizer); } }
public class class_name { private void detachPlot(SVGPlot oldplot) { if(oldplot == null) { return; // depends on control dependency: [if], data = [none] } this.plot = null; oldplot.unsynchronizeWith(synchronizer); } }
public class class_name { public static base_responses update(nitro_service client, autoscaleaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { autoscaleaction updateresources[] = new autoscaleaction[resources.length]; for (int i=0;i<resource...
public class class_name { public static base_responses update(nitro_service client, autoscaleaction resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { autoscaleaction updateresources[] = new autoscaleaction[resources.length]; for (int i=0;i<resource...
public class class_name { public void removeBinary( ByteSource key ) { checkThread(); if ( key.length() != keyLen ) throw new RuntimeException("key must have length "+keyLen); mutationCount++; long rem = index.get(key); if ( rem != 0 ) { index.remove(key)...
public class class_name { public void removeBinary( ByteSource key ) { checkThread(); if ( key.length() != keyLen ) throw new RuntimeException("key must have length "+keyLen); mutationCount++; long rem = index.get(key); if ( rem != 0 ) { index.remove(key)...
public class class_name { public synchronized boolean markFailed(int id) { boolean isSuccessful = false; SQLiteDatabase db = null; Cursor cursor = null; try { db = getWritableDatabase(); // Get number of times this record has already failed to process. ...
public class class_name { public synchronized boolean markFailed(int id) { boolean isSuccessful = false; SQLiteDatabase db = null; Cursor cursor = null; try { db = getWritableDatabase(); // depends on control dependency: [try], data = [none] // Get number of ti...
public class class_name { public java.util.List<Topic> getTopics() { if (topics == null) { topics = new com.amazonaws.internal.SdkInternalList<Topic>(); } return topics; } }
public class class_name { public java.util.List<Topic> getTopics() { if (topics == null) { topics = new com.amazonaws.internal.SdkInternalList<Topic>(); // depends on control dependency: [if], data = [none] } return topics; } }
public class class_name { public BlockProperty findPropertyBlockByName( String propertyName ) { BlockProperty result = null; for( AbstractBlock region : this.innerBlocks ) { if( region.getInstructionType() == PROPERTY && propertyName.equals(((BlockProperty) region).getName())) { result = (BlockProper...
public class class_name { public BlockProperty findPropertyBlockByName( String propertyName ) { BlockProperty result = null; for( AbstractBlock region : this.innerBlocks ) { if( region.getInstructionType() == PROPERTY && propertyName.equals(((BlockProperty) region).getName())) { result = (BlockProper...
public class class_name { private static String checkPayToPubKey(byte[] scriptPubKey) { if ((scriptPubKey.length>0) && ((scriptPubKey[scriptPubKey.length-1] & 0xFF)==0xAC)) { byte[] publicKey =Arrays.copyOfRange(scriptPubKey, 0, scriptPubKey.length-1); return "bitcoinpubkey_"+BitcoinUtil.convertByteArrayToHexStrin...
public class class_name { private static String checkPayToPubKey(byte[] scriptPubKey) { if ((scriptPubKey.length>0) && ((scriptPubKey[scriptPubKey.length-1] & 0xFF)==0xAC)) { byte[] publicKey =Arrays.copyOfRange(scriptPubKey, 0, scriptPubKey.length-1); return "bitcoinpubkey_"+BitcoinUtil.convertByteArrayToHexStrin...
public class class_name { public CyclicYear roll(int amount) { if (amount == 0) { return this; } return CyclicYear.of(MathUtils.floorModulo(MathUtils.safeAdd(this.year - 1, amount), 60) + 1); } }
public class class_name { public CyclicYear roll(int amount) { if (amount == 0) { return this; // depends on control dependency: [if], data = [none] } return CyclicYear.of(MathUtils.floorModulo(MathUtils.safeAdd(this.year - 1, amount), 60) + 1); } }
public class class_name { protected boolean enoughRequiredAttributesAvailableToProcess(final Map<String, Object> principalAttributes, final Map<String, Set<String>> requiredAttributes) { if (principalAttributes.isEmpty() && !requiredAttributes.isEmpty()) { LOGGER.debug("No principal attributes are ...
public class class_name { protected boolean enoughRequiredAttributesAvailableToProcess(final Map<String, Object> principalAttributes, final Map<String, Set<String>> requiredAttributes) { if (principalAttributes.isEmpty() && !requiredAttributes.isEmpty()) { LOGGER.debug("No principal attributes are ...
public class class_name { public String retrieveNonWildcardStem(String topic) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( tc, "retrieveNonWildcardStem", new Object[] { topic}); String stem = null; int wildMany = topic.indexOf(MatchSpace....
public class class_name { public String retrieveNonWildcardStem(String topic) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry( tc, "retrieveNonWildcardStem", new Object[] { topic}); String stem = null; int wildMany = topic.indexOf(MatchSpace....
public class class_name { public static void printMatrix(byte[][] matrix, int maxX, int maxY, PrintStream stream) { for(int i = 0; i < maxX; i++) { for(int j = 0; j < maxY; j++) { stream.print(matrix[i][j] + " "); } stream.print("\n"); } stream.println(); } }
public class class_name { public static void printMatrix(byte[][] matrix, int maxX, int maxY, PrintStream stream) { for(int i = 0; i < maxX; i++) { for(int j = 0; j < maxY; j++) { stream.print(matrix[i][j] + " "); // depends on control dependency: [for], data = [j] } stream.print("\n"); // depends on co...
public class class_name { public <T> T getPropertyValue(ElementDescriptor<T> descriptor) { PropStat propStat = mPropStatByProperty.get(descriptor); if (propStat == null) { return null; } return propStat.getPropertyValue(descriptor); } }
public class class_name { public <T> T getPropertyValue(ElementDescriptor<T> descriptor) { PropStat propStat = mPropStatByProperty.get(descriptor); if (propStat == null) { return null; // depends on control dependency: [if], data = [none] } return propStat.getPropertyValue(descriptor); } }
public class class_name { public ReportInstanceStatusRequest withReasonCodes(String... reasonCodes) { if (this.reasonCodes == null) { setReasonCodes(new com.amazonaws.internal.SdkInternalList<String>(reasonCodes.length)); } for (String ele : reasonCodes) { this.reasonCod...
public class class_name { public ReportInstanceStatusRequest withReasonCodes(String... reasonCodes) { if (this.reasonCodes == null) { setReasonCodes(new com.amazonaws.internal.SdkInternalList<String>(reasonCodes.length)); // depends on control dependency: [if], data = [none] } for (...
public class class_name { private static void printException(Exception e) { if (e instanceof InstallationCancelledException) { System.out.println("Installation cancelled."); return; } boolean recognized = false; String msg = "ERROR: "; if (e instanceof ...
public class class_name { private static void printException(Exception e) { if (e instanceof InstallationCancelledException) { System.out.println("Installation cancelled."); // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [no...
public class class_name { public static Timestamp parseTimestamp(final String date, final String format, final TimeZone timeZone) { if (N.isNullOrEmpty(date) || (date.length() == 4 && "null".equalsIgnoreCase(date))) { return null; } return createTimestamp(parse(date, format, t...
public class class_name { public static Timestamp parseTimestamp(final String date, final String format, final TimeZone timeZone) { if (N.isNullOrEmpty(date) || (date.length() == 4 && "null".equalsIgnoreCase(date))) { return null; // depends on control dependency: [if], data = [none] } ...
public class class_name { private ArrayTypeReference doTryConvertToArray(ParameterizedTypeReference typeReference, RecursionGuard<JvmTypeParameter> recursionGuard) { JvmType type = typeReference.getType(); if (recursionGuard.tryNext((JvmTypeParameter) type)) { List<LightweightTypeReference> superTypes = typeRef...
public class class_name { private ArrayTypeReference doTryConvertToArray(ParameterizedTypeReference typeReference, RecursionGuard<JvmTypeParameter> recursionGuard) { JvmType type = typeReference.getType(); if (recursionGuard.tryNext((JvmTypeParameter) type)) { List<LightweightTypeReference> superTypes = typeRef...
public class class_name { @SuppressWarnings("unchecked") public static Object getProxiedObject(Object proxy) { if(Proxy.isProxyClass(proxy.getClass())) { InvocationHandler invocationHandler = Proxy.getInvocationHandler(proxy); if(invocationHandler instanceof ObjectProxy) { ObjectP...
public class class_name { @SuppressWarnings("unchecked") public static Object getProxiedObject(Object proxy) { if(Proxy.isProxyClass(proxy.getClass())) { InvocationHandler invocationHandler = Proxy.getInvocationHandler(proxy); if(invocationHandler instanceof ObjectProxy) { ObjectP...
public class class_name { private static String[] resolveProtocols(String csv) { if (csv != null && !csv.equals("")) { return csv.split(","); } else { return null; } } }
public class class_name { private static String[] resolveProtocols(String csv) { if (csv != null && !csv.equals("")) { return csv.split(","); // depends on control dependency: [if], data = [none] } else { return null; // depends on control dependency: [if], data = [none] ...
public class class_name { public static lbmetrictable[] get(nitro_service service, String metrictable[]) throws Exception{ if (metrictable !=null && metrictable.length>0) { lbmetrictable response[] = new lbmetrictable[metrictable.length]; lbmetrictable obj[] = new lbmetrictable[metrictable.length]; for (int...
public class class_name { public static lbmetrictable[] get(nitro_service service, String metrictable[]) throws Exception{ if (metrictable !=null && metrictable.length>0) { lbmetrictable response[] = new lbmetrictable[metrictable.length]; lbmetrictable obj[] = new lbmetrictable[metrictable.length]; for (int...
public class class_name { public void marshall(InstanceInformationFilter instanceInformationFilter, ProtocolMarshaller protocolMarshaller) { if (instanceInformationFilter == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { public void marshall(InstanceInformationFilter instanceInformationFilter, ProtocolMarshaller protocolMarshaller) { if (instanceInformationFilter == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { public void exceptionOccured( Throwable t ) { if (t instanceof RuntimeException) { err.println( "An unexpected error occured" ); t.printStackTrace( err ); } else { err.println( format("Error: %s %s", t.getClass()....
public class class_name { public void exceptionOccured( Throwable t ) { if (t instanceof RuntimeException) { err.println( "An unexpected error occured" ); // depends on control dependency: [if], data = [none] t.printStackTrace( err ); // depends on control dependency: [if], ...
public class class_name { public static boolean setStringsWithGroup(String groupName,Map<String, Object> keyValueMap){ if(keyValueMap == null || keyValueMap.isEmpty())return false; String[] keysValues = new String[keyValueMap.size() * 2]; int index = 0; for (String key : keyValueMap.keySet()) { if(keyValueM...
public class class_name { public static boolean setStringsWithGroup(String groupName,Map<String, Object> keyValueMap){ if(keyValueMap == null || keyValueMap.isEmpty())return false; String[] keysValues = new String[keyValueMap.size() * 2]; int index = 0; for (String key : keyValueMap.keySet()) { if(keyValueM...
public class class_name { public static Configuration patchConfiguration(Configuration conf) { //if the fallback option is NOT set, enable it. //if it is explicitly set to anything -leave alone if (conf.get(JstormXmlConfKeys.IPC_CLIENT_FALLBACK_TO_SIMPLE_AUTH) == null) { conf.set(J...
public class class_name { public static Configuration patchConfiguration(Configuration conf) { //if the fallback option is NOT set, enable it. //if it is explicitly set to anything -leave alone if (conf.get(JstormXmlConfKeys.IPC_CLIENT_FALLBACK_TO_SIMPLE_AUTH) == null) { conf.set(J...
public class class_name { private boolean removeUDFInSchema(String functionName) { for (int idx = 0; idx < m_schema.children.size(); idx++) { VoltXMLElement func = m_schema.children.get(idx); if ("ud_function".equals(func.name)) { String fnm = func.attributes.get("name")...
public class class_name { private boolean removeUDFInSchema(String functionName) { for (int idx = 0; idx < m_schema.children.size(); idx++) { VoltXMLElement func = m_schema.children.get(idx); if ("ud_function".equals(func.name)) { String fnm = func.attributes.get("name")...
public class class_name { public String remove(String name) { String old=null; FieldInfo info=getFieldInfo(name); Field field=getField(info,true); if (field!=null) { old=field._value; while(field!=null) { field.clear(); ...
public class class_name { public String remove(String name) { String old=null; FieldInfo info=getFieldInfo(name); Field field=getField(info,true); if (field!=null) { old=field._value; // depends on control dependency: [if], data = [none] while(field!...
public class class_name { public int projectedComponents(boolean constrained) { int comp; if (constrained) { comp = ((DArray)arrayVar).isProject() ? 1 : 0; Enumeration e = mapVars.elements(); while (e.hasMoreElements()) { ...
public class class_name { public int projectedComponents(boolean constrained) { int comp; if (constrained) { comp = ((DArray)arrayVar).isProject() ? 1 : 0; // depends on control dependency: [if], data = [none] Enumeration e = mapVars.elements(); ...
public class class_name { public void deselectButton() { if (m_selectedButton != null) { if (m_selectedButton.isChecked()) { m_selectedButton.setChecked(false); } m_selectedButton = null; ValueChangeEvent.fire(this, null); } } }
public class class_name { public void deselectButton() { if (m_selectedButton != null) { if (m_selectedButton.isChecked()) { m_selectedButton.setChecked(false); // depends on control dependency: [if], data = [none] } m_selectedButton = null; // depends on co...
public class class_name { private int getCE(int sourcece) { // note for tertiary we can't use the collator->tertiaryMask, that // is a preprocessed mask that takes into account case options. since // we are only concerned with exact matches, we don't need that. sourcece &= ceMask_; ...
public class class_name { private int getCE(int sourcece) { // note for tertiary we can't use the collator->tertiaryMask, that // is a preprocessed mask that takes into account case options. since // we are only concerned with exact matches, we don't need that. sourcece &= ceMask_; ...
public class class_name { public void destroyIndexes() { InternalIndex[] indexesSnapshot = getIndexes(); indexes = EMPTY_INDEXES; compositeIndexes = EMPTY_INDEXES; indexesByName.clear(); attributeIndexRegistry.clear(); converterCache.clear(); for (InternalIndex...
public class class_name { public void destroyIndexes() { InternalIndex[] indexesSnapshot = getIndexes(); indexes = EMPTY_INDEXES; compositeIndexes = EMPTY_INDEXES; indexesByName.clear(); attributeIndexRegistry.clear(); converterCache.clear(); for (InternalIndex...
public class class_name { public Set<IConnection> getConnections(IScope scope) { if (scope == null) { return getConnections(); } Set<IClient> scopeClients = scope.getClients(); if (scopeClients.contains(this)) { for (IClient cli : scopeClients) { ...
public class class_name { public Set<IConnection> getConnections(IScope scope) { if (scope == null) { return getConnections(); // depends on control dependency: [if], data = [none] } Set<IClient> scopeClients = scope.getClients(); if (scopeClients.contains(this)) { ...
public class class_name { private static boolean isSerializable(JavaClass cls) throws ClassNotFoundException { JavaClass[] infs = cls.getAllInterfaces(); for (JavaClass inf : infs) { String clsName = inf.getClassName(); if ("java.io.Serializable".equals(clsName) || "java.io.Exte...
public class class_name { private static boolean isSerializable(JavaClass cls) throws ClassNotFoundException { JavaClass[] infs = cls.getAllInterfaces(); for (JavaClass inf : infs) { String clsName = inf.getClassName(); if ("java.io.Serializable".equals(clsName) || "java.io.Exte...
public class class_name { @Override protected UserDetails processAutoLoginCookie(String[] cookieTokens, HttpServletRequest request, HttpServletResponse response) { if (cookieTokens.length != 3) { throw new InvalidCookieException("Cookie token did not contain 3" + " tokens, but contained '" + Arrays.asLi...
public class class_name { @Override protected UserDetails processAutoLoginCookie(String[] cookieTokens, HttpServletRequest request, HttpServletResponse response) { if (cookieTokens.length != 3) { throw new InvalidCookieException("Cookie token did not contain 3" + " tokens, but contained '" + Arrays.asLi...
public class class_name { public void initConfiguration() { // simple default configuration does not need to be initialized if (LOG.isDebugEnabled()) { LOG.debug( org.opencms.configuration.Messages.get().getBundle().key( org.opencms.configuration.Message...
public class class_name { public void initConfiguration() { // simple default configuration does not need to be initialized if (LOG.isDebugEnabled()) { LOG.debug( org.opencms.configuration.Messages.get().getBundle().key( org.opencms.configuration.Message...
public class class_name { private ZooKeeperClient setupZookeeperClient(final AgentConfig config, final String id, final CountDownLatch zkRegistrationSignal) { ACLProvider aclProvider = null; List<AuthInfo> authorization = null; final String agentUser = config...
public class class_name { private ZooKeeperClient setupZookeeperClient(final AgentConfig config, final String id, final CountDownLatch zkRegistrationSignal) { ACLProvider aclProvider = null; List<AuthInfo> authorization = null; final String agentUser = config...
public class class_name { public boolean hasProperty(String name) { for (Property property : allProperties()) { if (property.getName().equals(name)) { return true; } } return false; } }
public class class_name { public boolean hasProperty(String name) { for (Property property : allProperties()) { if (property.getName().equals(name)) { return true; // depends on control dependency: [if], data = [none] } } return false; } }
public class class_name { @Override public List<TriggerFiredResult> triggersFired(List<OperableTrigger> triggers) { synchronized (lock) { List<TriggerFiredResult> results = new ArrayList<TriggerFiredResult>(); for (OperableTrigger trigger : triggers) { TriggerWrapper tw = wrappedTriggersByK...
public class class_name { @Override public List<TriggerFiredResult> triggersFired(List<OperableTrigger> triggers) { synchronized (lock) { List<TriggerFiredResult> results = new ArrayList<TriggerFiredResult>(); for (OperableTrigger trigger : triggers) { TriggerWrapper tw = wrappedTriggersByK...
public class class_name { void animateValue(float fraction) { fraction = mInterpolator.getInterpolation(fraction); mCurrentFraction = fraction; int numValues = mValues.length; for (int i = 0; i < numValues; ++i) { mValues[i].calculateValue(fraction); } if (mU...
public class class_name { void animateValue(float fraction) { fraction = mInterpolator.getInterpolation(fraction); mCurrentFraction = fraction; int numValues = mValues.length; for (int i = 0; i < numValues; ++i) { mValues[i].calculateValue(fraction); // depends on control de...
public class class_name { public Address currentAddress(KeyChain.KeyPurpose purpose) { DeterministicKeyChain chain = getActiveKeyChain(); Script.ScriptType outputScriptType = chain.getOutputScriptType(); if (chain.isMarried()) { Address current = currentAddresses.get(purpose); ...
public class class_name { public Address currentAddress(KeyChain.KeyPurpose purpose) { DeterministicKeyChain chain = getActiveKeyChain(); Script.ScriptType outputScriptType = chain.getOutputScriptType(); if (chain.isMarried()) { Address current = currentAddresses.get(purpose); ...
public class class_name { void timeout() { long time = System.currentTimeMillis(); Iterator<Map.Entry<Long, ContextualFuture>> iterator = responseFutures.entrySet().iterator(); while (iterator.hasNext()) { ContextualFuture future = iterator.next().getValue(); if (future.time + requestTimeout < ...
public class class_name { void timeout() { long time = System.currentTimeMillis(); Iterator<Map.Entry<Long, ContextualFuture>> iterator = responseFutures.entrySet().iterator(); while (iterator.hasNext()) { ContextualFuture future = iterator.next().getValue(); if (future.time + requestTimeout < ...
public class class_name { @Override public boolean setProperties(Dictionary<String, String> properties) { this.properties = properties; if (this.properties != null) { if (properties.get("debug") != null) debug = Integer.parseInt(properties.get("debug")); ...
public class class_name { @Override public boolean setProperties(Dictionary<String, String> properties) { this.properties = properties; if (this.properties != null) { if (properties.get("debug") != null) debug = Integer.parseInt(properties.get("debug")); ...
public class class_name { private static boolean checkCriticalValue(double score, boolean is_twoTailed, int n1, int n2, double aLevel) { boolean rejected=false; double criticalValue= calculateCriticalValue(is_twoTailed,n1,n2,aLevel); if(score>criticalValue) { rejected=true; ...
public class class_name { private static boolean checkCriticalValue(double score, boolean is_twoTailed, int n1, int n2, double aLevel) { boolean rejected=false; double criticalValue= calculateCriticalValue(is_twoTailed,n1,n2,aLevel); if(score>criticalValue) { rejected=true; // d...
public class class_name { public void copyFileFrom(InputStream src, boolean append) throws CopyFileFromException { ChannelSftp sftp; try { sftp = alloc(); try { sftp.put(src, escape(slashPath), append ? ChannelSftp.APPEND : ChannelSftp.OVERWRITE); } ...
public class class_name { public void copyFileFrom(InputStream src, boolean append) throws CopyFileFromException { ChannelSftp sftp; try { sftp = alloc(); try { sftp.put(src, escape(slashPath), append ? ChannelSftp.APPEND : ChannelSftp.OVERWRITE); // depends on ...
public class class_name { public String getOemName() { StringBuilder b = new StringBuilder(8); for (int i = 0; i < 8; i++) { int v = get8(0x3 + i); if (v == 0) break; b.append((char) v); } return b.toString(); } }
public class class_name { public String getOemName() { StringBuilder b = new StringBuilder(8); for (int i = 0; i < 8; i++) { int v = get8(0x3 + i); if (v == 0) break; b.append((char) v); // depends on control dependency: [for], data = [none] } ...
public class class_name { private ConversionService getConversionService() { if (conversionService != null) return conversionService; try { conversionService = (ConversionService) ctx.getBean("daoConversionService"); if (conversionService != null) return conversionService; } catch (Exceptio...
public class class_name { private ConversionService getConversionService() { if (conversionService != null) return conversionService; try { conversionService = (ConversionService) ctx.getBean("daoConversionService"); // depends on control dependency: [try], data = [none] if (conversionService != nu...
public class class_name { public List<Link> getStaticRoute(NodesMap nm) { Map<Link, Boolean> route = routes.get(nm); if (route == null) { return null; } return new ArrayList<>(route.keySet()); } }
public class class_name { public List<Link> getStaticRoute(NodesMap nm) { Map<Link, Boolean> route = routes.get(nm); if (route == null) { return null; // depends on control dependency: [if], data = [none] } return new ArrayList<>(route.keySet()); } }
public class class_name { VirtualConnection parseResponseMessageAsync() { VirtualConnection readVC = null; try { do { if (parseMessage()) { // finished parsing the message return getVC(); } if (TraceCom...
public class class_name { VirtualConnection parseResponseMessageAsync() { VirtualConnection readVC = null; try { do { if (parseMessage()) { // finished parsing the message return getVC(); // depends on control dependency: [if], data =...
public class class_name { public static Collection<? extends Artifact> filter(Collection<Artifact> artifacts) { LinkedHashSet<Artifact> set = new LinkedHashSet<>(); for (Artifact artifact : artifacts) { if (MavenArtifact.isValid(artifact)) { set.add(artifact); } ...
public class class_name { public static Collection<? extends Artifact> filter(Collection<Artifact> artifacts) { LinkedHashSet<Artifact> set = new LinkedHashSet<>(); for (Artifact artifact : artifacts) { if (MavenArtifact.isValid(artifact)) { set.add(artifact); // depends on ...
public class class_name { private static <S, L> void updateBlockReferences(Block<S, L> block) { UnorderedCollection<State<S, L>> states = block.getStates(); for (ElementReference ref : states.references()) { State<S, L> state = states.get(ref); state.setBlockReference(ref); ...
public class class_name { private static <S, L> void updateBlockReferences(Block<S, L> block) { UnorderedCollection<State<S, L>> states = block.getStates(); for (ElementReference ref : states.references()) { State<S, L> state = states.get(ref); state.setBlockReference(ref); // d...
public class class_name { private static IVarDef asVarDef( String varName, String varType, Annotated groupAnnotations, JsonObject json) { try { validIdentifier( varName); AbstractVarDef varDef = json.containsKey( MEMBERS_KEY) ? new VarSet( varName) : new VarDef( varNa...
public class class_name { private static IVarDef asVarDef( String varName, String varType, Annotated groupAnnotations, JsonObject json) { try { validIdentifier( varName); // depends on control dependency: [try], data = [none] AbstractVarDef varDef = json.containsKey( MEMBERS_KEY) ...
public class class_name { private void populateLeaf(String parentName, Row row, Task task) { if (row.getInteger("TASKID") != null) { populateTask(row, task); } else { populateMilestone(row, task); } String name = task.getName(); if (name == null || ...
public class class_name { private void populateLeaf(String parentName, Row row, Task task) { if (row.getInteger("TASKID") != null) { populateTask(row, task); // depends on control dependency: [if], data = [none] } else { populateMilestone(row, task); // depends on con...
public class class_name { @Override Map<String, Object> serialize() { final Map<String, Object> map = super.serialize(); if (datePattern != null) { map.put(JsonSchema.KEY_DATE_PATTERN, datePattern); } return map; } }
public class class_name { @Override Map<String, Object> serialize() { final Map<String, Object> map = super.serialize(); if (datePattern != null) { map.put(JsonSchema.KEY_DATE_PATTERN, datePattern); // depends on control dependency: [if], data = [none] } return map; } }
public class class_name { public void setLanguages(java.util.Collection<DominantLanguage> languages) { if (languages == null) { this.languages = null; return; } this.languages = new java.util.ArrayList<DominantLanguage>(languages); } }
public class class_name { public void setLanguages(java.util.Collection<DominantLanguage> languages) { if (languages == null) { this.languages = null; // depends on control dependency: [if], data = [none] return; // depends on control dependency: [if], data = [none] } t...
public class class_name { public static boolean inSubNetwork(RightInputAdapterNode riaNode, LeftTupleSource leftTupleSource) { LeftTupleSource startTupleSource = riaNode.getStartTupleSource(); LeftTupleSource parent = riaNode.getLeftTupleSource(); while (parent != startTupleSource) { ...
public class class_name { public static boolean inSubNetwork(RightInputAdapterNode riaNode, LeftTupleSource leftTupleSource) { LeftTupleSource startTupleSource = riaNode.getStartTupleSource(); LeftTupleSource parent = riaNode.getLeftTupleSource(); while (parent != startTupleSource) { ...
public class class_name { public WyalFile translate(WyilFile wyilFile) { for (WyilFile.Decl.Unit unit : wyilFile.getModule().getUnits()) { translate(unit); } for (WyilFile.Decl.Unit unit : wyilFile.getModule().getExterns()) { translate(unit); } return wyalFile; } }
public class class_name { public WyalFile translate(WyilFile wyilFile) { for (WyilFile.Decl.Unit unit : wyilFile.getModule().getUnits()) { translate(unit); // depends on control dependency: [for], data = [unit] } for (WyilFile.Decl.Unit unit : wyilFile.getModule().getExterns()) { translate(unit); // depend...
public class class_name { public static byte[] getGlobalSegment(RandomAccessFileOrArray ra ) { try { JBIG2SegmentReader sr = new JBIG2SegmentReader(ra); sr.read(); return sr.getGlobal(true); } catch (Exception e) { return null; } } }
public class class_name { public static byte[] getGlobalSegment(RandomAccessFileOrArray ra ) { try { JBIG2SegmentReader sr = new JBIG2SegmentReader(ra); sr.read(); // depends on control dependency: [try], data = [none] return sr.getGlobal(true); // depends on control dependency: [try], data = [none] ...
public class class_name { private void writeEntry(JarEntry entry, EntryWriter entryWriter) throws IOException { String parent = entry.getName(); if (parent.endsWith("/")) { parent = parent.substring(0, parent.length() - 1); } if (parent.lastIndexOf("/") != -1) { ...
public class class_name { private void writeEntry(JarEntry entry, EntryWriter entryWriter) throws IOException { String parent = entry.getName(); if (parent.endsWith("/")) { parent = parent.substring(0, parent.length() - 1); } if (parent.lastIndexOf("/") != -1) { ...
public class class_name { public void doMutation(PermutationSolution<T> solution) { int permutationLength ; permutationLength = solution.getNumberOfVariables() ; if ((permutationLength != 0) && (permutationLength != 1)) { if (mutationRandomGenerator.getRandomValue() < mutationProbability) { ...
public class class_name { public void doMutation(PermutationSolution<T> solution) { int permutationLength ; permutationLength = solution.getNumberOfVariables() ; if ((permutationLength != 0) && (permutationLength != 1)) { if (mutationRandomGenerator.getRandomValue() < mutationProbability) { ...
public class class_name { InternalProvisionException addSource(Object source) { if (source == SourceProvider.UNKNOWN_SOURCE) { return this; } int sz = sourcesToPrepend.size(); if (sz > 0 && sourcesToPrepend.get(sz - 1) == source) { // This is for when there are two identical sources added i...
public class class_name { InternalProvisionException addSource(Object source) { if (source == SourceProvider.UNKNOWN_SOURCE) { return this; // depends on control dependency: [if], data = [none] } int sz = sourcesToPrepend.size(); if (sz > 0 && sourcesToPrepend.get(sz - 1) == source) { // Th...
public class class_name { private CharSequence getCharSequenceFromIntent(@NonNull final Intent intent, @NonNull final String name) { CharSequence charSequence = intent.getCharSequenceExtra(name); if (charSequence == null) { int resourceId ...
public class class_name { private CharSequence getCharSequenceFromIntent(@NonNull final Intent intent, @NonNull final String name) { CharSequence charSequence = intent.getCharSequenceExtra(name); if (charSequence == null) { int resourceId ...
public class class_name { @NonNull public List<Span> getSpans(int start, int end) { final int length = length(); if (!isPositionValid(length, start, end)) { // we might as well throw here return Collections.emptyList(); } // all requested if (start...
public class class_name { @NonNull public List<Span> getSpans(int start, int end) { final int length = length(); if (!isPositionValid(length, start, end)) { // we might as well throw here return Collections.emptyList(); // depends on control dependency: [if], data = [none]...
public class class_name { public void wipeInMemorySettings() { this.waitUntilInitialized(); syncLock.lock(); try { this.instanceChangeStreamListener.stop(); if (instancesColl.find().first() == null) { throw new IllegalStateException("expected to find instance configuration"); } ...
public class class_name { public void wipeInMemorySettings() { this.waitUntilInitialized(); syncLock.lock(); try { this.instanceChangeStreamListener.stop(); // depends on control dependency: [try], data = [none] if (instancesColl.find().first() == null) { throw new IllegalStateExceptio...
public class class_name { public Message editMessageText(String chatId, Long messageId, String text, ParseMode parseMode, boolean disableWebPagePreview, InlineReplyMarkup inlineReplyMarkup) { if(chatId != null && messageId != null && text != null) { JSONObject jsonResponse = this.editMessageText(...
public class class_name { public Message editMessageText(String chatId, Long messageId, String text, ParseMode parseMode, boolean disableWebPagePreview, InlineReplyMarkup inlineReplyMarkup) { if(chatId != null && messageId != null && text != null) { JSONObject jsonResponse = this.editMessageText(...
public class class_name { public <T extends View> ArrayList<T> getFilteredViews(Class<T> classToFilterBy) { ArrayList<T> filteredViews = new ArrayList<T>(); List<View> allViews = this.getViews(); for(View view : allViews){ if (view != null && classToFilterBy.isAssignableFrom(view.getClass())) { filteredVi...
public class class_name { public <T extends View> ArrayList<T> getFilteredViews(Class<T> classToFilterBy) { ArrayList<T> filteredViews = new ArrayList<T>(); List<View> allViews = this.getViews(); for(View view : allViews){ if (view != null && classToFilterBy.isAssignableFrom(view.getClass())) { filteredVi...
public class class_name { public void printParts() { if (parts == null) { return; } for (int i = 0; i < parts.size(); i++) { System.out.println("\nParts[" + i + "]:"); System.out.println(parts.get(i)); } } }
public class class_name { public void printParts() { if (parts == null) { return; // depends on control dependency: [if], data = [none] } for (int i = 0; i < parts.size(); i++) { System.out.println("\nParts[" + i + "]:"); // depends on control dependency: [for], data = [i] System.out.prin...
public class class_name { @Override protected HashMap<String, String> childValue( HashMap<String, String> parentValue) { if (parentValue == null) { return null; } else { return new HashMap<String, String>(parentValue); } } }
public class class_name { @Override protected HashMap<String, String> childValue( HashMap<String, String> parentValue) { if (parentValue == null) { return null; // depends on control dependency: [if], data = [none] } else { return new HashMap<String, String>(parentValue); // depends on cont...
public class class_name { private void addQueryParams(final Request request) { if (recurring != null) { request.addQueryParam("Recurring", recurring.toString()); } if (triggerBy != null) { request.addQueryParam("TriggerBy", triggerBy.toString()); } if (...
public class class_name { private void addQueryParams(final Request request) { if (recurring != null) { request.addQueryParam("Recurring", recurring.toString()); // depends on control dependency: [if], data = [none] } if (triggerBy != null) { request.addQueryParam("Trig...
public class class_name { private void update() { synchronized (lock) { if (!observing) { return; } try { Log.i(DOMAIN, "%s: Querying...", this); final ResultSet oldResultSet = resultSet; final ResultSet newResultSet = (oldResultSet == nu...
public class class_name { private void update() { synchronized (lock) { if (!observing) { return; } // depends on control dependency: [if], data = [none] try { Log.i(DOMAIN, "%s: Querying...", this); // depends on control dependency: [try], data = [none] ...
public class class_name { public void marshall(AudioLanguageSelection audioLanguageSelection, ProtocolMarshaller protocolMarshaller) { if (audioLanguageSelection == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarsha...
public class class_name { public void marshall(AudioLanguageSelection audioLanguageSelection, ProtocolMarshaller protocolMarshaller) { if (audioLanguageSelection == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarsha...
public class class_name { private List<String> listFiles( final File dir, final String parentName ) { final List<String> fileNames = new ArrayList<String>(); File[] files = null; if( dir.canRead() ) { files = dir.listFiles(); } if( files != null ) ...
public class class_name { private List<String> listFiles( final File dir, final String parentName ) { final List<String> fileNames = new ArrayList<String>(); File[] files = null; if( dir.canRead() ) { files = dir.listFiles(); // depends on control dependency: [if], data ...
public class class_name { public void reloadCollection(String collectionName) { CollectionMetaData cmd = cmdMap.get(collectionName); cmd.getCollectionLock().writeLock().lock(); try { File collectionFile = fileObjectsRef.get().get(collectionName); if(null == collectionFile) { // Lets cre...
public class class_name { public void reloadCollection(String collectionName) { CollectionMetaData cmd = cmdMap.get(collectionName); cmd.getCollectionLock().writeLock().lock(); try { File collectionFile = fileObjectsRef.get().get(collectionName); if(null == collectionFile) { // Lets cre...
public class class_name { private void saveToSession(HttpServletRequest req, String reqURL, Map params) { HttpSession postparamsession = req.getSession(true); if (postparamsession != null && params != null && !params.isEmpty()) { postparamsession.setAttribute(INITIAL_URL, reqURL); postparamsession.setAttribu...
public class class_name { private void saveToSession(HttpServletRequest req, String reqURL, Map params) { HttpSession postparamsession = req.getSession(true); if (postparamsession != null && params != null && !params.isEmpty()) { postparamsession.setAttribute(INITIAL_URL, reqURL); // depends on control dependen...
public class class_name { protected void triggerSessionClosed(String reason) { // for (ContentNegotiator contentNegotiator : contentNegotiators) { // // contentNegotiator.stopJingleMediaSession(); // // for (TransportCandidate candidate : contentNego...
public class class_name { protected void triggerSessionClosed(String reason) { // for (ContentNegotiator contentNegotiator : contentNegotiators) { // // contentNegotiator.stopJingleMediaSession(); // // for (TransportCandidate candidate : contentNego...
public class class_name { public static Graph<String, String> loadUndirectedGraphEdgeListFile(String path, int numVertices, String delim, boolean allowMultipleEdges) throws IOException { Graph<String, String> graph = new Graph<>(numVertices, allowMultipleEdges, new StringVertexFactory()); ...
public class class_name { public static Graph<String, String> loadUndirectedGraphEdgeListFile(String path, int numVertices, String delim, boolean allowMultipleEdges) throws IOException { Graph<String, String> graph = new Graph<>(numVertices, allowMultipleEdges, new StringVertexFactory()); ...
public class class_name { @Override public int spanQuickCheckYes(CharSequence s) { UnicodeSet.SpanCondition spanCondition=UnicodeSet.SpanCondition.SIMPLE; for(int prevSpanLimit=0; prevSpanLimit<s.length();) { int spanLimit=set.span(s, prevSpanLimit, spanCondition); if(spanCo...
public class class_name { @Override public int spanQuickCheckYes(CharSequence s) { UnicodeSet.SpanCondition spanCondition=UnicodeSet.SpanCondition.SIMPLE; for(int prevSpanLimit=0; prevSpanLimit<s.length();) { int spanLimit=set.span(s, prevSpanLimit, spanCondition); if(spanCo...
public class class_name { public void marshall(EnabledServicePrincipal enabledServicePrincipal, ProtocolMarshaller protocolMarshaller) { if (enabledServicePrincipal == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public void marshall(EnabledServicePrincipal enabledServicePrincipal, ProtocolMarshaller protocolMarshaller) { if (enabledServicePrincipal == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public boolean hasUnqualifiedStarSelectItem() { for (SelectItem each : items) { if (each instanceof StarSelectItem && !((StarSelectItem) each).getOwner().isPresent()) { return true; } } return false; } }
public class class_name { public boolean hasUnqualifiedStarSelectItem() { for (SelectItem each : items) { if (each instanceof StarSelectItem && !((StarSelectItem) each).getOwner().isPresent()) { return true; // depends on control dependency: [if], data = [none] } ...
public class class_name { public static <T> FromStringBasedConverter<T> getIfEligible(Class<T> clazz) { try { final Method method = clazz.getMethod(FROM_STRING, String.class); if (Modifier.isStatic(method.getModifiers())) { if (!method.isAccessible()) { ...
public class class_name { public static <T> FromStringBasedConverter<T> getIfEligible(Class<T> clazz) { try { final Method method = clazz.getMethod(FROM_STRING, String.class); if (Modifier.isStatic(method.getModifiers())) { if (!method.isAccessible()) { ...
public class class_name { public static final void setGroup(String name, Path... files) throws IOException { if (supports("posix")) { for (Path file : files) { FileSystem fs = file.getFileSystem(); UserPrincipalLookupService upls = fs.g...
public class class_name { public static final void setGroup(String name, Path... files) throws IOException { if (supports("posix")) { for (Path file : files) { FileSystem fs = file.getFileSystem(); UserPrincipalLookupService upls = fs.g...
public class class_name { @Override public boolean onTouchEvent(MotionEvent ev) { try { if (ev == null || getAdapter() == null || getAdapter().getCount() == 0) { return false; } return super.onTouchEvent(ev); } catch (RuntimeException e) { ...
public class class_name { @Override public boolean onTouchEvent(MotionEvent ev) { try { if (ev == null || getAdapter() == null || getAdapter().getCount() == 0) { return false; // depends on control dependency: [if], data = [none] } return super.onTouchEve...
public class class_name { public PrepareResult executeBatch() throws SQLException { int paramCount = getParamCount(); if (binaryProtocol) { if (readPrepareStmtResult) { parameterTypeHeader = new ColumnType[paramCount]; if (prepareResult == null && protocol.getOptions().cachePr...
public class class_name { public PrepareResult executeBatch() throws SQLException { int paramCount = getParamCount(); if (binaryProtocol) { if (readPrepareStmtResult) { parameterTypeHeader = new ColumnType[paramCount]; // depends on control dependency: [if], data = [none] if (prepareResul...
public class class_name { public static String encode(byte[] data) { StringBuilder builder = new StringBuilder(); for (int position = 0; position < data.length; position += 3) { builder.append(encodeGroup(data, position)); } return builder.toString(); } }
public class class_name { public static String encode(byte[] data) { StringBuilder builder = new StringBuilder(); for (int position = 0; position < data.length; position += 3) { builder.append(encodeGroup(data, position)); // depends on control dependency: [for], data = [position] } return builder.toString();...
public class class_name { public static String getMessage (Throwable ex) { String msg = DEFAULT_ERROR_MSG; for (int i = 0; i < _keys.size(); i++) { Class<?> cl = _keys.get(i); if (cl.isInstance(ex)) { msg = _values.get(i); break; }...
public class class_name { public static String getMessage (Throwable ex) { String msg = DEFAULT_ERROR_MSG; for (int i = 0; i < _keys.size(); i++) { Class<?> cl = _keys.get(i); if (cl.isInstance(ex)) { msg = _values.get(i); // depends on control dependency: [i...
public class class_name { private static DimFilter doSimplify(final List<DimFilter> children, boolean disjunction) { // Copy children list final List<DimFilter> newChildren = Lists.newArrayList(children); // Group Bound filters by dimension, extractionFn, and comparator and compute a RangeSet for each o...
public class class_name { private static DimFilter doSimplify(final List<DimFilter> children, boolean disjunction) { // Copy children list final List<DimFilter> newChildren = Lists.newArrayList(children); // Group Bound filters by dimension, extractionFn, and comparator and compute a RangeSet for each o...
public class class_name { void commit(long index) { if (event != null && event.eventIndex == index) { events.add(event); sendEvent(event); } } }
public class class_name { void commit(long index) { if (event != null && event.eventIndex == index) { events.add(event); // depends on control dependency: [if], data = [none] sendEvent(event); // depends on control dependency: [if], data = [none] } } }
public class class_name { protected void consumeStack(Instruction ins) { ConstantPoolGen cpg = getCPG(); TypeFrame frame = getFrame(); int numWordsConsumed = ins.consumeStack(cpg); if (numWordsConsumed == Const.UNPREDICTABLE) { throw new InvalidBytecodeException("Unpredicta...
public class class_name { protected void consumeStack(Instruction ins) { ConstantPoolGen cpg = getCPG(); TypeFrame frame = getFrame(); int numWordsConsumed = ins.consumeStack(cpg); if (numWordsConsumed == Const.UNPREDICTABLE) { throw new InvalidBytecodeException("Unpredicta...
public class class_name { public Field updateFieldParagraphTextPlain(Field formFieldParam) { if(formFieldParam != null && this.serviceTicket != null) { formFieldParam.setServiceTicket(this.serviceTicket); } if(formFieldParam != null) { formFieldParam...
public class class_name { public Field updateFieldParagraphTextPlain(Field formFieldParam) { if(formFieldParam != null && this.serviceTicket != null) { formFieldParam.setServiceTicket(this.serviceTicket); // depends on control dependency: [if], data = [none] } if(formFi...
public class class_name { private ValidationReport validateBondOrderSum(IAtom atom, IAtomContainer molecule) { ValidationReport report = new ValidationReport(); ValidationTest checkBondSum = new ValidationTest(atom, "The atom's total bond order is too high."); try { AtomTypeFactory ...
public class class_name { private ValidationReport validateBondOrderSum(IAtom atom, IAtomContainer molecule) { ValidationReport report = new ValidationReport(); ValidationTest checkBondSum = new ValidationTest(atom, "The atom's total bond order is too high."); try { AtomTypeFactory ...
public class class_name { public void initAllLoadedPlugins() throws PluginException { LOGGER.debug("Initializig all loaded plugins"); for (Class<? extends Plugin> pluginClass : implementations.keySet()) { Set<PluginContext> set = implementations.get(pluginClass); for (PluginContext pluginContext : set) { ...
public class class_name { public void initAllLoadedPlugins() throws PluginException { LOGGER.debug("Initializig all loaded plugins"); for (Class<? extends Plugin> pluginClass : implementations.keySet()) { Set<PluginContext> set = implementations.get(pluginClass); for (PluginContext pluginContext : set) { ...
public class class_name { @Override protected void valueCreate(String[] strings, Value value) { for (int i = 0; i < strings.length; i++) { value.addPrimitiveValue(labels[i], strings[i]); } } }
public class class_name { @Override protected void valueCreate(String[] strings, Value value) { for (int i = 0; i < strings.length; i++) { value.addPrimitiveValue(labels[i], strings[i]); // depends on control dependency: [for], data = [i] } } }
public class class_name { public String resolve() { notNull(buildDirectory, "Build directory cannot be null!"); notNull(log, "Logger cannot be null!"); String result = null; final File cssTargetFolder = cssDestinationFolder == null ? destinationFolder : cssDestinationFolder; File rootFolder = null;...
public class class_name { public String resolve() { notNull(buildDirectory, "Build directory cannot be null!"); notNull(log, "Logger cannot be null!"); String result = null; final File cssTargetFolder = cssDestinationFolder == null ? destinationFolder : cssDestinationFolder; File rootFolder = null;...
public class class_name { protected Object convertUserDefinedValueType(Object object, Class<?> type) { if (type.isAssignableFrom(object.getClass())) { return object; } else if (object instanceof String) { try { Constructor<?> constructor = type.getConstructor(String.class); return constructor.newInst...
public class class_name { protected Object convertUserDefinedValueType(Object object, Class<?> type) { if (type.isAssignableFrom(object.getClass())) { return object; // depends on control dependency: [if], data = [none] } else if (object instanceof String) { try { Constructor<?> constructor = type.getCon...
public class class_name { public SqlInfo buildTextSqlParams(String valueText) { // 获取value值,判断是否为空,若为空,则直接退出本方法 Object obj = ParseHelper.parseExpressWithException(valueText, context); obj = obj == null ? new Object(){} : obj; Object[] values = this.convertToArray(obj); for (Obj...
public class class_name { public SqlInfo buildTextSqlParams(String valueText) { // 获取value值,判断是否为空,若为空,则直接退出本方法 Object obj = ParseHelper.parseExpressWithException(valueText, context); obj = obj == null ? new Object(){} : obj; Object[] values = this.convertToArray(obj); for (Obj...
public class class_name { public static Map<String, FieldAccess> getFieldsFromObject( Object object ) { try { Map<String, FieldAccess> fields; if ( object instanceof Map ) { fields = getFieldsFromMap( ( Map<String, Object> ) object ); } else { ...
public class class_name { public static Map<String, FieldAccess> getFieldsFromObject( Object object ) { try { Map<String, FieldAccess> fields; if ( object instanceof Map ) { fields = getFieldsFromMap( ( Map<String, Object> ) object ); // depends on control dependency: ...
public class class_name { public EJSRemoteWrapper keyToObject(byte[] key) throws RemoteException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) Tr.entry(tc, "keyToObject"); EJSWrapperCommon wc = null; EJSRemoteWrapper wrapper = null; ...
public class class_name { public EJSRemoteWrapper keyToObject(byte[] key) throws RemoteException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) Tr.entry(tc, "keyToObject"); EJSWrapperCommon wc = null; EJSRemoteWrapper wrapper = null; ...
public class class_name { public Observable<ServiceResponse<Void>> logTrackingEventsWithServiceResponseAsync(String resourceGroupName, String integrationAccountName, TrackingEventsDefinition logTrackingEvents) { if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Paramet...
public class class_name { public Observable<ServiceResponse<Void>> logTrackingEventsWithServiceResponseAsync(String resourceGroupName, String integrationAccountName, TrackingEventsDefinition logTrackingEvents) { if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Paramet...
public class class_name { public String getName() { if (CmsStringUtil.isEmptyOrWhitespaceOnly(m_path)) { return ""; } String result = CmsResource.getName(m_path); // remove trailing slash as categories are not displayed like folders if (CmsResource.isFolder(result))...
public class class_name { public String getName() { if (CmsStringUtil.isEmptyOrWhitespaceOnly(m_path)) { return ""; // depends on control dependency: [if], data = [none] } String result = CmsResource.getName(m_path); // remove trailing slash as categories are not displayed ...
public class class_name { @Override public void setErrorHandlerType(ErrorHandlerType type) { if (errorHandler != null) { errorHandler.cleanup(); } errorHandlerType = type == null ? ErrorHandlerType.DEFAULT : type; switch (errorHandlerType) { case NONE: ...
public class class_name { @Override public void setErrorHandlerType(ErrorHandlerType type) { if (errorHandler != null) { errorHandler.cleanup(); // depends on control dependency: [if], data = [none] } errorHandlerType = type == null ? ErrorHandlerType.DEFAULT : type; swi...
public class class_name { public void notifyServiceToGui(@NonNull String notificationType, @Nullable WiFiP2pService service) { Intent intent = new Intent(); if (service != null) { intent.putExtra(SERVICE_NAME, service.getDevice().deviceName); intent.putExtra(SERVICE_ADDRESS, ser...
public class class_name { public void notifyServiceToGui(@NonNull String notificationType, @Nullable WiFiP2pService service) { Intent intent = new Intent(); if (service != null) { intent.putExtra(SERVICE_NAME, service.getDevice().deviceName); // depends on control dependency: [if], data = [...