code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public EClass getTLE() { if (tleEClass == null) { tleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(320); } return tleEClass; } }
public class class_name { public EClass getTLE() { if (tleEClass == null) { tleEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(320); // depends on control dependency: [if], data = [none] } return tleEClass; } }
public class class_name { public JcsegServer initFromGlobalConfig(JSONObject globalConfig) throws CloneNotSupportedException, JcsegException { /* * parse and initialize the server according to the global config */ if ( globalConfig.has("server_config") ) { ...
public class class_name { public JcsegServer initFromGlobalConfig(JSONObject globalConfig) throws CloneNotSupportedException, JcsegException { /* * parse and initialize the server according to the global config */ if ( globalConfig.has("server_config") ) { ...
public class class_name { public PointList copy(int from, int end) { if (from > end) throw new IllegalArgumentException("from must be smaller or equal to end"); if (from < 0 || end > getSize()) throw new IllegalArgumentException("Illegal interval: " + from + ", " + end + ", size...
public class class_name { public PointList copy(int from, int end) { if (from > end) throw new IllegalArgumentException("from must be smaller or equal to end"); if (from < 0 || end > getSize()) throw new IllegalArgumentException("Illegal interval: " + from + ", " + end + ", size...
public class class_name { private static boolean isNameCase(String str) { if (str.length() < 2) { return false; } if (!(Character.isUpperCase(str.charAt(0)) || Character.isTitleCase(str.charAt(0)))) { return false; } for (int i = 1; i < str.length(); i++) { if (Character.i...
public class class_name { private static boolean isNameCase(String str) { if (str.length() < 2) { return false; // depends on control dependency: [if], data = [none] } if (!(Character.isUpperCase(str.charAt(0)) || Character.isTitleCase(str.charAt(0)))) { return false; // depends on contro...
public class class_name { public EClass getEAG() { if (eagEClass == null) { eagEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(233); } return eagEClass; } }
public class class_name { public EClass getEAG() { if (eagEClass == null) { eagEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(233); // depends on control dependency: [if], data = [none] } return eagEClass; } }
public class class_name { public synchronized void start(boolean android, boolean secure) { isAndroid = android; mIsSecure = secure; // Cancel any thread attempting to make a connection if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} // Cancel any t...
public class class_name { public synchronized void start(boolean android, boolean secure) { isAndroid = android; mIsSecure = secure; // Cancel any thread attempting to make a connection if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} // depends on control d...
public class class_name { public void marshall(Http http, ProtocolMarshaller protocolMarshaller) { if (http == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(http.getHttpURL(), HTTPURL_BINDING); ...
public class class_name { public void marshall(Http http, ProtocolMarshaller protocolMarshaller) { if (http == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(http.getHttpURL(), HTTPURL_BINDING); // ...
public class class_name { private void sawMethodOpcode(int seen) { boolean isSyncCollection = false; try { stack.mergeJumps(this); isSyncCollection = isSyncCollectionCreation(seen); switch (seen) { case Const.INVOKEVIRTUAL: case Const...
public class class_name { private void sawMethodOpcode(int seen) { boolean isSyncCollection = false; try { stack.mergeJumps(this); // depends on control dependency: [try], data = [none] isSyncCollection = isSyncCollectionCreation(seen); // depends on control dependency: [try], d...
public class class_name { protected void updateApiVersion(HasMetadata hasMetadata) { String version = getApiVersion(); if (hasMetadata != null && version != null && version.length() > 0) { String current = hasMetadata.getApiVersion(); // lets overwrite the api version if its currently missing, the ...
public class class_name { protected void updateApiVersion(HasMetadata hasMetadata) { String version = getApiVersion(); if (hasMetadata != null && version != null && version.length() > 0) { String current = hasMetadata.getApiVersion(); // lets overwrite the api version if its currently missing, the ...
public class class_name { DirContextAdapter constructAdapterFromName(Attributes attrs, Name name, String nameInNamespace) { String nameString; String referralUrl = ""; if (name instanceof CompositeName) { // Which it most certainly will be, and therein lies the // problem. CompositeName.toString() complet...
public class class_name { DirContextAdapter constructAdapterFromName(Attributes attrs, Name name, String nameInNamespace) { String nameString; String referralUrl = ""; if (name instanceof CompositeName) { // Which it most certainly will be, and therein lies the // problem. CompositeName.toString() complet...
public class class_name { public DescribeFleetCapacityResult withFleetCapacity(FleetCapacity... fleetCapacity) { if (this.fleetCapacity == null) { setFleetCapacity(new java.util.ArrayList<FleetCapacity>(fleetCapacity.length)); } for (FleetCapacity ele : fleetCapacity) { ...
public class class_name { public DescribeFleetCapacityResult withFleetCapacity(FleetCapacity... fleetCapacity) { if (this.fleetCapacity == null) { setFleetCapacity(new java.util.ArrayList<FleetCapacity>(fleetCapacity.length)); // depends on control dependency: [if], data = [none] } ...
public class class_name { static Method getMethodUnchecked( Class<?> type, String methodName, Class<?>... parameterTypes) { try { return type.getMethod(methodName, parameterTypes); } catch (SecurityException e) { throw new IllegalArg...
public class class_name { static Method getMethodUnchecked( Class<?> type, String methodName, Class<?>... parameterTypes) { try { return type.getMethod(methodName, parameterTypes); // depends on control dependency: [try], data = [none] } catch (SecurityEx...
public class class_name { public DBCluster withDBClusterMembers(DBClusterMember... dBClusterMembers) { if (this.dBClusterMembers == null) { setDBClusterMembers(new com.amazonaws.internal.SdkInternalList<DBClusterMember>(dBClusterMembers.length)); } for (DBClusterMember ele : dBClust...
public class class_name { public DBCluster withDBClusterMembers(DBClusterMember... dBClusterMembers) { if (this.dBClusterMembers == null) { setDBClusterMembers(new com.amazonaws.internal.SdkInternalList<DBClusterMember>(dBClusterMembers.length)); // depends on control dependency: [if], data = [none...
public class class_name { @Override public void writeBytes(byte[] bytes, int start, int len) throws IOException { for (int i = start; i < start + len; ++i) { if (bytes[i] == 0x00) { out.write(0); out.write(1); } else { out.write((int) bytes[i]); } } out.write(0);...
public class class_name { @Override public void writeBytes(byte[] bytes, int start, int len) throws IOException { for (int i = start; i < start + len; ++i) { if (bytes[i] == 0x00) { out.write(0); // depends on control dependency: [if], data = [none] out.write(1); // depends on control depen...
public class class_name { @Override public void start() { super.start(); logger.finer("-> start method"); try { startSimulation(); } catch (ShanksException e) { logger.severe("ShanksException: " + e.getMessage()); e.printStackTrace(); } ...
public class class_name { @Override public void start() { super.start(); logger.finer("-> start method"); try { startSimulation(); // depends on control dependency: [try], data = [none] } catch (ShanksException e) { logger.severe("ShanksException: " + e.getMe...
public class class_name { private Matrix calculateEdgeSimMatrix( final List<Edge> edgeList, final SparseMatrix sm) { final int numEdges = edgeList.size(); final Matrix edgeSimMatrix = new SparseSymmetricMatrix( new SparseHashMatrix(numEdges, numEdges)); ...
public class class_name { private Matrix calculateEdgeSimMatrix( final List<Edge> edgeList, final SparseMatrix sm) { final int numEdges = edgeList.size(); final Matrix edgeSimMatrix = new SparseSymmetricMatrix( new SparseHashMatrix(numEdges, numEdges)); ...
public class class_name { public boolean runCopyTrans(final String zanataId, boolean waitForFinish) { log.debug("Running Zanata CopyTrans for " + zanataId); try { final CopyTransResource copyTransResource = proxyFactory.getCopyTransResource(); copyTransResource.startCopyTrans(d...
public class class_name { public boolean runCopyTrans(final String zanataId, boolean waitForFinish) { log.debug("Running Zanata CopyTrans for " + zanataId); try { final CopyTransResource copyTransResource = proxyFactory.getCopyTransResource(); copyTransResource.startCopyTrans(d...
public class class_name { public String generateCodeForTable(final TableModel table, final boolean enableVisualizationSupport) { final ST template = this.stGroup.getInstanceOf("tableClass"); LOG.debug("Filling template..."); template.add("table", table); LOG.debug("Package is {} | C...
public class class_name { public String generateCodeForTable(final TableModel table, final boolean enableVisualizationSupport) { final ST template = this.stGroup.getInstanceOf("tableClass"); LOG.debug("Filling template..."); template.add("table", table); LOG.debug("Package is {} | C...
public class class_name { public void merge(final ByteRange range) { // always use copies of objects ByteRange newRange = new ByteRange(range); logger.debug( this.toFtpCmdArgument() + " + " + newRange.toString()); int oldSize = vector.size(); int index = 0; final int NOT_YET = -1; int merged = NOT_YET; if (ol...
public class class_name { public void merge(final ByteRange range) { // always use copies of objects ByteRange newRange = new ByteRange(range); logger.debug( this.toFtpCmdArgument() + " + " + newRange.toString()); int oldSize = vector.size(); int index = 0; final int NOT_YET = -1; int merged = NOT_YET; if (ol...
public class class_name { public void marshall(DeletePortfolioRequest deletePortfolioRequest, ProtocolMarshaller protocolMarshaller) { if (deletePortfolioRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarsha...
public class class_name { public void marshall(DeletePortfolioRequest deletePortfolioRequest, ProtocolMarshaller protocolMarshaller) { if (deletePortfolioRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarsha...
public class class_name { public Object getValue(byte[] bs, Charset charset) { if (String.class == field.getType()) { if (isDynamicField()) { return (new String(bs, offsize, bs.length - offsize, charset)).trim(); } return (new String(bs, offsize, size, charse...
public class class_name { public Object getValue(byte[] bs, Charset charset) { if (String.class == field.getType()) { if (isDynamicField()) { return (new String(bs, offsize, bs.length - offsize, charset)).trim(); // depends on control dependency: [if], data = [none] } ...
public class class_name { public final Session getSession (final Configuration initConfiguration, final String initTargetName, final InetSocketAddress inetAddress) { try { // Create a new Session final Session newSession = new Session(this, initConfiguration, initTargetName, inetAddres...
public class class_name { public final Session getSession (final Configuration initConfiguration, final String initTargetName, final InetSocketAddress inetAddress) { try { // Create a new Session final Session newSession = new Session(this, initConfiguration, initTargetName, inetAddres...
public class class_name { public void setCurrentObject(Object obj) { if (((obj == null) && (this.nullString != null)) || this.requiredType.isInstance(obj) || (obj instanceof String) || (obj instanceof File) || ((obj instanceof Task) && this.requir...
public class class_name { public void setCurrentObject(Object obj) { if (((obj == null) && (this.nullString != null)) || this.requiredType.isInstance(obj) || (obj instanceof String) || (obj instanceof File) || ((obj instanceof Task) && this.requir...
public class class_name { public void marshall(ModifyWorkspacePropertiesRequest modifyWorkspacePropertiesRequest, ProtocolMarshaller protocolMarshaller) { if (modifyWorkspacePropertiesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } tr...
public class class_name { public void marshall(ModifyWorkspacePropertiesRequest modifyWorkspacePropertiesRequest, ProtocolMarshaller protocolMarshaller) { if (modifyWorkspacePropertiesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } tr...
public class class_name { public static base_responses delete(nitro_service client, String fieldname[]) throws Exception { base_responses result = null; if (fieldname != null && fieldname.length > 0) { appfwconfidfield deleteresources[] = new appfwconfidfield[fieldname.length]; for (int i=0;i<fieldname.lengt...
public class class_name { public static base_responses delete(nitro_service client, String fieldname[]) throws Exception { base_responses result = null; if (fieldname != null && fieldname.length > 0) { appfwconfidfield deleteresources[] = new appfwconfidfield[fieldname.length]; for (int i=0;i<fieldname.lengt...
public class class_name { @SuppressWarnings("all") public static <T> List<T> toTypedList(Object data, Class<T> type) { List<T> listResult = new ArrayList<>(); if (data == null) { return listResult; } if (data instanceof Collection) { Collection collection = (...
public class class_name { @SuppressWarnings("all") public static <T> List<T> toTypedList(Object data, Class<T> type) { List<T> listResult = new ArrayList<>(); if (data == null) { return listResult; // depends on control dependency: [if], data = [none] } if (data instance...
public class class_name { @Override public HTable getTable(String tableName) { logger.debug("NATIVE Begin of getTable for " + tableName); HTable table = tableNameHandleMap.get(tableName); if (table != null) { logger.debug("NATIVE Found a cached handle for table " + tableName); ...
public class class_name { @Override public HTable getTable(String tableName) { logger.debug("NATIVE Begin of getTable for " + tableName); HTable table = tableNameHandleMap.get(tableName); if (table != null) { logger.debug("NATIVE Found a cached handle for table " + tableName); // depen...
public class class_name { AsteriskQueueMemberImpl getMemberByLocation(String location) { AsteriskQueueMemberImpl member; synchronized (members) { member = members.get(location); } if (member == null) { logger.error("Requested member at locatio...
public class class_name { AsteriskQueueMemberImpl getMemberByLocation(String location) { AsteriskQueueMemberImpl member; synchronized (members) { member = members.get(location); } if (member == null) { logger.error("Requested member at locatio...
public class class_name { private List<InvPair> createInvarLabel(IAtomContainer atomContainer) { Iterator<IAtom> atoms = atomContainer.atoms().iterator(); IAtom a; StringBuffer inv; List<InvPair> vect = new ArrayList<InvPair>(); while (atoms.hasNext()) { a = (IAtom) ...
public class class_name { private List<InvPair> createInvarLabel(IAtomContainer atomContainer) { Iterator<IAtom> atoms = atomContainer.atoms().iterator(); IAtom a; StringBuffer inv; List<InvPair> vect = new ArrayList<InvPair>(); while (atoms.hasNext()) { a = (IAtom) ...
public class class_name { @Override public ScheduledFuture<?> scheduleAtFixedRate(Runnable task, long period) { ScheduledExecutorService executor = getScheduledExecutor(); try { return executor.scheduleAtFixedRate(errorHandlingTask(task, true), 0, period, TimeUnit.MILLISECONDS); ...
public class class_name { @Override public ScheduledFuture<?> scheduleAtFixedRate(Runnable task, long period) { ScheduledExecutorService executor = getScheduledExecutor(); try { return executor.scheduleAtFixedRate(errorHandlingTask(task, true), 0, period, TimeUnit.MILLISECONDS); // depe...
public class class_name { public void updateMode(ConnectionMode connectionMode) { switch (connectionMode) { case SEND_ONLY: this.rtpHandler.setReceivable(false); this.rtpHandler.setLoopable(false); audioComponent.updateMode(false, true); ...
public class class_name { public void updateMode(ConnectionMode connectionMode) { switch (connectionMode) { case SEND_ONLY: this.rtpHandler.setReceivable(false); this.rtpHandler.setLoopable(false); audioComponent.updateMode(false, true); ...
public class class_name { public void marshall(SecurityGroupMembership securityGroupMembership, ProtocolMarshaller protocolMarshaller) { if (securityGroupMembership == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public void marshall(SecurityGroupMembership securityGroupMembership, ProtocolMarshaller protocolMarshaller) { if (securityGroupMembership == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public static MemberSummaryBuilder getInstance( ClassWriter classWriter, Context context) { MemberSummaryBuilder builder = new MemberSummaryBuilder(context, classWriter.getTypeElement()); WriterFactory wf = context.configuration.getWriterFactory(); ...
public class class_name { public static MemberSummaryBuilder getInstance( ClassWriter classWriter, Context context) { MemberSummaryBuilder builder = new MemberSummaryBuilder(context, classWriter.getTypeElement()); WriterFactory wf = context.configuration.getWriterFactory(); ...
public class class_name { private void genOptTypeArguments(List<? extends TypeMirror> typeArguments, StringBuilder sb) { if (!typeArguments.isEmpty()) { sb.append('<'); for (TypeMirror typeParam : typeArguments) { genTypeSignature(typeParam, sb); } sb.append('>'); } } }
public class class_name { private void genOptTypeArguments(List<? extends TypeMirror> typeArguments, StringBuilder sb) { if (!typeArguments.isEmpty()) { sb.append('<'); // depends on control dependency: [if], data = [none] for (TypeMirror typeParam : typeArguments) { genTypeSignature(typeParam,...
public class class_name { public Boolean getApplicationExceptionRollback(Throwable t) // F743-14982 { Class<?> klass = t.getClass(); ApplicationException ae = getApplicationException(klass); Boolean rollback = null; if (ae != null) { rollback = ae.rollback(); ...
public class class_name { public Boolean getApplicationExceptionRollback(Throwable t) // F743-14982 { Class<?> klass = t.getClass(); ApplicationException ae = getApplicationException(klass); Boolean rollback = null; if (ae != null) { rollback = ae.rollback(); //...
public class class_name { public AsImpl getAs(int dpc, int opc, short si) { for (FastList.Node<DPCNode> n = dpcList.head(), end = dpcList.tail(); (n = n.getNext()) != end;) { DPCNode dpcNode = n.getValue(); if (dpcNode.dpc == dpc) { return dpcNode.getAs(opc, si); ...
public class class_name { public AsImpl getAs(int dpc, int opc, short si) { for (FastList.Node<DPCNode> n = dpcList.head(), end = dpcList.tail(); (n = n.getNext()) != end;) { DPCNode dpcNode = n.getValue(); if (dpcNode.dpc == dpc) { return dpcNode.getAs(opc, si); // depe...
public class class_name { public void setSqlValuesFormatter(final SQLValuesFormatter sqlValuesFormatter) { if (entities.size() > 0) { throw new IllegalStateException("The SQL values formatter cannot be changed after an entity was generated!"); } if (sqlValuesFormatter == null) {...
public class class_name { public void setSqlValuesFormatter(final SQLValuesFormatter sqlValuesFormatter) { if (entities.size() > 0) { throw new IllegalStateException("The SQL values formatter cannot be changed after an entity was generated!"); } if (sqlValuesFormatter == null) {...
public class class_name { String getTableName() { if (opType == OpTypes.MULTICOLUMN) { return tableName; } if (opType == OpTypes.COLUMN) { if (rangeVariable == null) { return tableName; } return rangeVariable.getTable().getName()....
public class class_name { String getTableName() { if (opType == OpTypes.MULTICOLUMN) { return tableName; // depends on control dependency: [if], data = [none] } if (opType == OpTypes.COLUMN) { if (rangeVariable == null) { return tableName; // depends on ...
public class class_name { public void marshall(S3Action s3Action, ProtocolMarshaller protocolMarshaller) { if (s3Action == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(s3Action.getRoleArn(), ROLEA...
public class class_name { public void marshall(S3Action s3Action, ProtocolMarshaller protocolMarshaller) { if (s3Action == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(s3Action.getRoleArn(), ROLEA...
public class class_name { public Set<String> serviceNames() { Set<String> result = new LinkedHashSet<>(); for (V1Annotation a : annotations) { if (a.endpoint == null) continue; if (a.endpoint.serviceName() == null) continue; result.add(a.endpoint.serviceName()); } for (V1BinaryAnnotat...
public class class_name { public Set<String> serviceNames() { Set<String> result = new LinkedHashSet<>(); for (V1Annotation a : annotations) { if (a.endpoint == null) continue; if (a.endpoint.serviceName() == null) continue; result.add(a.endpoint.serviceName()); // depends on control dependen...
public class class_name { public static DecimalType inferRoundType(int precision, int scale, int r) { if (r >= scale) { return new DecimalType(precision, scale); } else if (r < 0) { return new DecimalType(Math.min(38, 1 + precision - scale), 0); } else { // 0 <= r < s return new DecimalType(1 + precisio...
public class class_name { public static DecimalType inferRoundType(int precision, int scale, int r) { if (r >= scale) { return new DecimalType(precision, scale); // depends on control dependency: [if], data = [none] } else if (r < 0) { return new DecimalType(Math.min(38, 1 + precision - scale), 0); // depend...
public class class_name { public ListResourceDataSyncResult withResourceDataSyncItems(ResourceDataSyncItem... resourceDataSyncItems) { if (this.resourceDataSyncItems == null) { setResourceDataSyncItems(new com.amazonaws.internal.SdkInternalList<ResourceDataSyncItem>(resourceDataSyncItems.length)); ...
public class class_name { public ListResourceDataSyncResult withResourceDataSyncItems(ResourceDataSyncItem... resourceDataSyncItems) { if (this.resourceDataSyncItems == null) { setResourceDataSyncItems(new com.amazonaws.internal.SdkInternalList<ResourceDataSyncItem>(resourceDataSyncItems.length)); ...
public class class_name { public static JapaneseEra valueOf(String japaneseEra) { Jdk8Methods.requireNonNull(japaneseEra, "japaneseEra"); JapaneseEra[] known = KNOWN_ERAS.get(); for (JapaneseEra era : known) { if (japaneseEra.equals(era.name)) { return era; ...
public class class_name { public static JapaneseEra valueOf(String japaneseEra) { Jdk8Methods.requireNonNull(japaneseEra, "japaneseEra"); JapaneseEra[] known = KNOWN_ERAS.get(); for (JapaneseEra era : known) { if (japaneseEra.equals(era.name)) { return era; // depend...
public class class_name { private static double hslaHue(double h, double m1, double m2) { h = h < 0 ? h + 1 : (h > 1 ? h - 1 : h); if (h * 6 < 1) { return m1 + (m2 - m1) * h * 6; } else if (h * 2 < 1) { return m2; } else if (h * 3 < 2) { return m1 + (m2 - m1) * (2F/3 - h) * 6; } ...
public class class_name { private static double hslaHue(double h, double m1, double m2) { h = h < 0 ? h + 1 : (h > 1 ? h - 1 : h); if (h * 6 < 1) { return m1 + (m2 - m1) * h * 6; } // depends on control dependency: [if], data = [1)] else if (h * 2 < 1) { return m2; } // depends on control ...
public class class_name { static @Nullable LogMonitorSession readSessionFromJWT(String token) { try { final Jwt jwt = Jwt.decode(token); JSONObject payload = jwt.getPayload(); LogMonitorSession config = new LogMonitorSession(); // recipients JSONArray recipientsJson = payload.optJSONArray("recipient...
public class class_name { static @Nullable LogMonitorSession readSessionFromJWT(String token) { try { final Jwt jwt = Jwt.decode(token); JSONObject payload = jwt.getPayload(); LogMonitorSession config = new LogMonitorSession(); // recipients JSONArray recipientsJson = payload.optJSONArray("recipient...
public class class_name { public boolean isConnectionAllowed(IConnection conn) { if (log.isDebugEnabled()) { log.debug("isConnectionAllowed: {}", conn); } if (securityHandlers != null) { if (log.isDebugEnabled()) { log.debug("securityHandlers: {}", ...
public class class_name { public boolean isConnectionAllowed(IConnection conn) { if (log.isDebugEnabled()) { log.debug("isConnectionAllowed: {}", conn); // depends on control dependency: [if], data = [none] } if (securityHandlers != null) { if (log.isDebugEnabled())...
public class class_name { protected String build(Response response) { StringBuilder sb = new StringBuilder(); sb.append("<div class='container'>"); sb.append("<div class='row-fluid'>"); sb.append("<div class='span12'>"); sb.append(buildJSONResponseBox(response)); if( response._status == Respons...
public class class_name { protected String build(Response response) { StringBuilder sb = new StringBuilder(); sb.append("<div class='container'>"); sb.append("<div class='row-fluid'>"); sb.append("<div class='span12'>"); sb.append(buildJSONResponseBox(response)); if( response._status == Respons...
public class class_name { private void uninstallMouseListeners() { if (mouseListener != null) { getComponent().removeMouseListener(mouseListener); getComponent().removeMouseMotionListener(mouseListener); mouseListener = null; } } }
public class class_name { private void uninstallMouseListeners() { if (mouseListener != null) { getComponent().removeMouseListener(mouseListener); // depends on control dependency: [if], data = [(mouseListener] getComponent().removeMouseMotionListener(mouseListener); // depends on contr...
public class class_name { public boolean getBooleanValue(String name, boolean defaultValue) { String value = getValue(name); if (value == null) { return defaultValue; } else { return value.equals("true"); } } }
public class class_name { public boolean getBooleanValue(String name, boolean defaultValue) { String value = getValue(name); if (value == null) { return defaultValue; // depends on control dependency: [if], data = [none] } else { return value.equals("true"); // depends...
public class class_name { private int skipDigits() { char ch; int i = 0; while (index < format.length()) { if (Character.isDigit(ch = format.charAt(index))) { index++; i = i * 10 + Character.digit(ch, 10); } else { break; ...
public class class_name { private int skipDigits() { char ch; int i = 0; while (index < format.length()) { if (Character.isDigit(ch = format.charAt(index))) { index++; // depends on control dependency: [if], data = [none] i = i * 10 + Character.digit...
public class class_name { @SuppressWarnings("unchecked") public static <T> Optional<Key<T>> resolveDefaultQualifier(Map<Key<?>, Class<?>> bindings, ClassConfiguration<?> classConfiguration, String property, Class<?> qualifiedClass, TypeLiteral<T> genericInterface) { Key<T> key = nul...
public class class_name { @SuppressWarnings("unchecked") public static <T> Optional<Key<T>> resolveDefaultQualifier(Map<Key<?>, Class<?>> bindings, ClassConfiguration<?> classConfiguration, String property, Class<?> qualifiedClass, TypeLiteral<T> genericInterface) { Key<T> key = nul...
public class class_name { @Override public String initValues(final FieldCase ca) { if (ca != null) { /* * If a FieldCase is given all fields will be generated anew, independent of the case * combination. */ for (Constraint c : constraints) { c.resetValues(); } } for (Constrai...
public class class_name { @Override public String initValues(final FieldCase ca) { if (ca != null) { /* * If a FieldCase is given all fields will be generated anew, independent of the case * combination. */ for (Constraint c : constraints) { c.resetValues(); // depends on control depe...
public class class_name { public static boolean isEncoded (final HttpEntity entity) { Header h = entity.getContentType(); if (h != null) { HeaderElement[] elems = h.getElements(); if (elems.length > 0) { String contentType = elems[0].getName(); re...
public class class_name { public static boolean isEncoded (final HttpEntity entity) { Header h = entity.getContentType(); if (h != null) { HeaderElement[] elems = h.getElements(); if (elems.length > 0) { String contentType = elems[0].getName(); re...
public class class_name { private void initWriteBufferWaterMark() { int lowWaterMark = this.netty_buffer_low_watermark(); int highWaterMark = this.netty_buffer_high_watermark(); if (lowWaterMark > highWaterMark) { throw new IllegalArgumentException( String ...
public class class_name { private void initWriteBufferWaterMark() { int lowWaterMark = this.netty_buffer_low_watermark(); int highWaterMark = this.netty_buffer_high_watermark(); if (lowWaterMark > highWaterMark) { throw new IllegalArgumentException( String ...
public class class_name { private void insertSpan(TokenImageSpan tokenSpan) { CharSequence ssb = tokenizer.wrapTokenValue(tokenToString(tokenSpan.token)); Editable editable = getText(); if (editable == null) return; // If we haven't hidden any objects yet, we can try adding it ...
public class class_name { private void insertSpan(TokenImageSpan tokenSpan) { CharSequence ssb = tokenizer.wrapTokenValue(tokenToString(tokenSpan.token)); Editable editable = getText(); if (editable == null) return; // If we haven't hidden any objects yet, we can try adding it ...
public class class_name { public static Dialect guessDialect(DataSource dataSource) { Dialect result = dataSourceDialectCache.get(dataSource); if (result != null) return result; Connection con = null; try { con = dataSource.getConnection(); result = guessDialect(con); if (result == null) return...
public class class_name { public static Dialect guessDialect(DataSource dataSource) { Dialect result = dataSourceDialectCache.get(dataSource); if (result != null) return result; Connection con = null; try { con = dataSource.getConnection(); // depends on control dependency: [try], data = [none] result...
public class class_name { protected void runAllStepsInLoop(List<GherkinConditionedLoopedStep> loopedSteps) throws TechnicalException { for (final GherkinConditionedLoopedStep loopedStep : loopedSteps) { final List<GherkinStepCondition> stepConditions = new ArrayList<>(); final String...
public class class_name { protected void runAllStepsInLoop(List<GherkinConditionedLoopedStep> loopedSteps) throws TechnicalException { for (final GherkinConditionedLoopedStep loopedStep : loopedSteps) { final List<GherkinStepCondition> stepConditions = new ArrayList<>(); final String...
public class class_name { public void createObjectPool(final ProfileTableImpl profileTable, final SleeTransactionManager sleeTransactionManager) { if (logger.isTraceEnabled()) { logger.trace("Creating Pool for " + profileTable); } createObjectPool(profileTable); if (sleeTransactionManager != ...
public class class_name { public void createObjectPool(final ProfileTableImpl profileTable, final SleeTransactionManager sleeTransactionManager) { if (logger.isTraceEnabled()) { logger.trace("Creating Pool for " + profileTable); // depends on control dependency: [if], data = [none] } createObjec...
public class class_name { public PlatformTransactionManager getPlatformTransactionManager() { if (transactionManager != null) { return transactionManager; } transactionManager = (PlatformTransactionManager) ContainerManager.getComponent("transactionManager"); return transact...
public class class_name { public PlatformTransactionManager getPlatformTransactionManager() { if (transactionManager != null) { return transactionManager; // depends on control dependency: [if], data = [none] } transactionManager = (PlatformTransactionManager) ContainerManager.getCo...
public class class_name { private String getElementID(final String relativePath) { final String fragment = getFragment(relativePath); if (fragment != null) { if (fragment.lastIndexOf(SLASH) != -1) { return fragment.substring(fragment.lastIndexOf(SLASH) + 1); } el...
public class class_name { private String getElementID(final String relativePath) { final String fragment = getFragment(relativePath); if (fragment != null) { if (fragment.lastIndexOf(SLASH) != -1) { return fragment.substring(fragment.lastIndexOf(SLASH) + 1); // depends on co...
public class class_name { public String getHeader(String name) { HeaderField f = getHeaderField(name); if (f != null) { return f.getStringValue(); } else { return null; } } }
public class class_name { public String getHeader(String name) { HeaderField f = getHeaderField(name); if (f != null) { return f.getStringValue(); // depends on control dependency: [if], data = [none] } else { return null; // depends on contro...
public class class_name { public void setLedColor(final Color COLOR) { if (null == ledColor) { _ledColor = null == COLOR ? Color.RED : COLOR; fireUpdateEvent(REDRAW_EVENT); } else { ledColor.set(COLOR); } } }
public class class_name { public void setLedColor(final Color COLOR) { if (null == ledColor) { _ledColor = null == COLOR ? Color.RED : COLOR; // depends on control dependency: [if], data = [none] fireUpdateEvent(REDRAW_EVENT); // depends on control dependency: [if], data = [none] ...
public class class_name { private void popUIComponentClassicTagBase() { List list = (List) context.getAttributes().get(COMPONENT_TAG_STACK_ATTR); // if an exception occurred in a nested tag, //there could be a few tags left in the stack. UIComponentClassicTagBase uic = null; w...
public class class_name { private void popUIComponentClassicTagBase() { List list = (List) context.getAttributes().get(COMPONENT_TAG_STACK_ATTR); // if an exception occurred in a nested tag, //there could be a few tags left in the stack. UIComponentClassicTagBase uic = null; w...
public class class_name { public static void fill(Object entity) { final Class<?> entityClass = entity.getClass(); if (N.isEntity(entityClass) == false) { throw new IllegalArgumentException(entityClass.getCanonicalName() + " is not a valid entity class with property getter/setter metho...
public class class_name { public static void fill(Object entity) { final Class<?> entityClass = entity.getClass(); if (N.isEntity(entityClass) == false) { throw new IllegalArgumentException(entityClass.getCanonicalName() + " is not a valid entity class with property getter/setter metho...
public class class_name { @Override public void removeByCompanyId(long companyId) { for (CPDefinitionOptionRel cpDefinitionOptionRel : findByCompanyId( companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { remove(cpDefinitionOptionRel); } } }
public class class_name { @Override public void removeByCompanyId(long companyId) { for (CPDefinitionOptionRel cpDefinitionOptionRel : findByCompanyId( companyId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) { remove(cpDefinitionOptionRel); // depends on control dependency: [for], data = [cpDefinitionOptionR...
public class class_name { public void printStackTrace(PrintStream stream) { if (getRootCause() != null) { stream.println(this.getMessage()); getRootCause().printStackTrace(stream); } else { this.printStackTrace(stream); } } }
public class class_name { public void printStackTrace(PrintStream stream) { if (getRootCause() != null) { stream.println(this.getMessage()); // depends on control dependency: [if], data = [none] getRootCause().printStackTrace(stream); // depends on control dependency: [if], data = [none...
public class class_name { public @Nullable String getLinkRootPath(@NotNull Page page, @NotNull String linkTypeId) { if (StringUtils.equals(linkTypeId, InternalLinkType.ID)) { // inside an experience fragment it does not make sense to use a site root path if (Path.isExperienceFragmentPath(page.getPath()...
public class class_name { public @Nullable String getLinkRootPath(@NotNull Page page, @NotNull String linkTypeId) { if (StringUtils.equals(linkTypeId, InternalLinkType.ID)) { // inside an experience fragment it does not make sense to use a site root path if (Path.isExperienceFragmentPath(page.getPath()...
public class class_name { public alluxio.grpc.Chunk getChunk() { if (valueCase_ == 2) { return (alluxio.grpc.Chunk) value_; } return alluxio.grpc.Chunk.getDefaultInstance(); } }
public class class_name { public alluxio.grpc.Chunk getChunk() { if (valueCase_ == 2) { return (alluxio.grpc.Chunk) value_; // depends on control dependency: [if], data = [none] } return alluxio.grpc.Chunk.getDefaultInstance(); } }
public class class_name { void performCleanUp(@Nullable Runnable task) { evictionLock.lock(); try { maintenance(task); } finally { evictionLock.unlock(); } if ((drainStatus() == REQUIRED) && (executor == ForkJoinPool.commonPool())) { scheduleDrainBuffers(); } } }
public class class_name { void performCleanUp(@Nullable Runnable task) { evictionLock.lock(); try { maintenance(task); // depends on control dependency: [try], data = [none] } finally { evictionLock.unlock(); } if ((drainStatus() == REQUIRED) && (executor == ForkJoinPool.commonPool())) ...
public class class_name { @Override public Xid[] recover(int flag) throws XAException { // Check preconditions if (flag != TMSTARTRSCAN && flag != TMENDRSCAN && flag != TMNOFLAGS && flag != (TMSTARTRSCAN | TMENDRSCAN)) { throw new CloudSpannerXAException(CloudSpannerXAException.INVALID_FLA...
public class class_name { @Override public Xid[] recover(int flag) throws XAException { // Check preconditions if (flag != TMSTARTRSCAN && flag != TMENDRSCAN && flag != TMNOFLAGS && flag != (TMSTARTRSCAN | TMENDRSCAN)) { throw new CloudSpannerXAException(CloudSpannerXAException.INVALID_FLA...
public class class_name { public static <T> T newInstance(Class<T> clazz) throws SofaRpcRuntimeException { if (clazz.isPrimitive()) { return (T) getDefaultPrimitiveValue(clazz); } T t = getDefaultWrapperValue(clazz); if (t != null) { return t; } ...
public class class_name { public static <T> T newInstance(Class<T> clazz) throws SofaRpcRuntimeException { if (clazz.isPrimitive()) { return (T) getDefaultPrimitiveValue(clazz); } T t = getDefaultWrapperValue(clazz); if (t != null) { return t; } ...
public class class_name { protected boolean prevalidate(String component, BitSet disallowed) { // prevalidate the given component by disallowed characters if (component == null) { return false; // undefined } char[] target = component.toCharArray(); for (int i = 0; i...
public class class_name { protected boolean prevalidate(String component, BitSet disallowed) { // prevalidate the given component by disallowed characters if (component == null) { return false; // undefined // depends on control dependency: [if], data = [none] } char[] targe...
public class class_name { public FieldDescriptor[] getNonPkFields() { if (m_nonPkFieldDescriptors == null) { // 1. collect all Primary Key fields from Field list Vector vec = new Vector(); for (int i = 0; i < m_FieldDescriptions.length; i++) { ...
public class class_name { public FieldDescriptor[] getNonPkFields() { if (m_nonPkFieldDescriptors == null) { // 1. collect all Primary Key fields from Field list Vector vec = new Vector(); for (int i = 0; i < m_FieldDescriptions.length; i++) { ...
public class class_name { public void writeHtmlDescription(Formatter out, Dataset ds, boolean complete, boolean isServer, boolean datasetEvents, boolean catrefEvents, boolean resolveRelativeUrls) { if (ds == n...
public class class_name { public void writeHtmlDescription(Formatter out, Dataset ds, boolean complete, boolean isServer, boolean datasetEvents, boolean catrefEvents, boolean resolveRelativeUrls) { if (ds == n...
public class class_name { public void marshall(RegisterOnPremisesInstanceRequest registerOnPremisesInstanceRequest, ProtocolMarshaller protocolMarshaller) { if (registerOnPremisesInstanceRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } ...
public class class_name { public void marshall(RegisterOnPremisesInstanceRequest registerOnPremisesInstanceRequest, ProtocolMarshaller protocolMarshaller) { if (registerOnPremisesInstanceRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } ...
public class class_name { public static byte[] gzip(String input) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); GZIPOutputStream gzos = null; try { gzos = new GZIPOutputStream(baos); gzos.write(input.getBytes("UTF-8")); } catch (IOException e) { ...
public class class_name { public static byte[] gzip(String input) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); GZIPOutputStream gzos = null; try { gzos = new GZIPOutputStream(baos); // depends on control dependency: [try], data = [none] gzos.write(input.g...
public class class_name { public static Set<MediaType> set(String... types) { Set<MediaType> set = new HashSet<MediaType>(); for (String type : types) { MediaType mt = parse(type); if (mt != null) { set.add(mt); } } return Collections....
public class class_name { public static Set<MediaType> set(String... types) { Set<MediaType> set = new HashSet<MediaType>(); for (String type : types) { MediaType mt = parse(type); if (mt != null) { set.add(mt); // depends on control dependency: [if], data = [(mt...
public class class_name { static Set<DagNode<JobExecutionPlan>> getNext(Dag<JobExecutionPlan> dag) { Set<DagNode<JobExecutionPlan>> nextNodesToExecute = new HashSet<>(); LinkedList<DagNode<JobExecutionPlan>> nodesToExpand = Lists.newLinkedList(dag.getStartNodes()); FailureOption failureOption = getFailureO...
public class class_name { static Set<DagNode<JobExecutionPlan>> getNext(Dag<JobExecutionPlan> dag) { Set<DagNode<JobExecutionPlan>> nextNodesToExecute = new HashSet<>(); LinkedList<DagNode<JobExecutionPlan>> nodesToExpand = Lists.newLinkedList(dag.getStartNodes()); FailureOption failureOption = getFailureO...
public class class_name { public synchronized String requestBlock(String name) { if (blocks.isEmpty()) { return "exit"; } remainingBlocks.decrementAndGet(); return blocks.poll().createResponse(); } }
public class class_name { public synchronized String requestBlock(String name) { if (blocks.isEmpty()) { return "exit"; // depends on control dependency: [if], data = [none] } remainingBlocks.decrementAndGet(); return blocks.poll().createResponse(); } }
public class class_name { public long get(K key) { if (key == null) return _nullValue; int hash = key.hashCode() & _mask; while (true) { K mapKey = _keys[hash]; if (mapKey == key) return _values[hash]; else if (mapKey == null) { if ((_flags[hash] & DELETED) == 0...
public class class_name { public long get(K key) { if (key == null) return _nullValue; int hash = key.hashCode() & _mask; while (true) { K mapKey = _keys[hash]; if (mapKey == key) return _values[hash]; else if (mapKey == null) { if ((_flags[hash] & DELETED) == 0...
public class class_name { public DescribeRegionsResult withRegions(Region... regions) { if (this.regions == null) { setRegions(new com.amazonaws.internal.SdkInternalList<Region>(regions.length)); } for (Region ele : regions) { this.regions.add(ele); } ret...
public class class_name { public DescribeRegionsResult withRegions(Region... regions) { if (this.regions == null) { setRegions(new com.amazonaws.internal.SdkInternalList<Region>(regions.length)); // depends on control dependency: [if], data = [none] } for (Region ele : regions) { ...
public class class_name { public String print(GraphQLSchema schema) { StringWriter sw = new StringWriter(); PrintWriter out = new PrintWriter(sw); GraphqlFieldVisibility visibility = schema.getCodeRegistry().getFieldVisibility(); printer(schema.getClass()).print(out, schema, visibilit...
public class class_name { public String print(GraphQLSchema schema) { StringWriter sw = new StringWriter(); PrintWriter out = new PrintWriter(sw); GraphqlFieldVisibility visibility = schema.getCodeRegistry().getFieldVisibility(); printer(schema.getClass()).print(out, schema, visibilit...
public class class_name { public JSONObject wordSimEmbedding(String word1, String word2, HashMap<String, Object> options) { AipRequest request = new AipRequest(); preOperation(request); request.addBody("word_1", word1); request.addBody("word_2", word2); ...
public class class_name { public JSONObject wordSimEmbedding(String word1, String word2, HashMap<String, Object> options) { AipRequest request = new AipRequest(); preOperation(request); request.addBody("word_1", word1); request.addBody("word_2", word2); ...
public class class_name { public static boolean isEmptyCollectionOrMap(Object obj) { if (obj instanceof Collection) { return ((Collection) obj).isEmpty(); } return (obj instanceof Map && ((Map) obj).isEmpty()); } }
public class class_name { public static boolean isEmptyCollectionOrMap(Object obj) { if (obj instanceof Collection) { return ((Collection) obj).isEmpty(); // depends on control dependency: [if], data = [none] } return (obj instanceof Map && ((Map) obj).isEmpty()); } }
public class class_name { public Optional<Long> maybeGetFileOffsetFor(DataDirectoryKey dataDirKey) { Optional<DataDirEntry> dataDir = optHeader .maybeGetDataDirEntry(dataDirKey); if (dataDir.isPresent()) { long rva = dataDir.get().getVirtualAddress(); return Opti...
public class class_name { public Optional<Long> maybeGetFileOffsetFor(DataDirectoryKey dataDirKey) { Optional<DataDirEntry> dataDir = optHeader .maybeGetDataDirEntry(dataDirKey); if (dataDir.isPresent()) { long rva = dataDir.get().getVirtualAddress(); return Opti...
public class class_name { protected CmsJlanNetworkFile nextFile() { if (!hasMoreFiles()) { return null; } CmsJlanNetworkFile file = m_files.get(m_position); m_position += 1; return file; } }
public class class_name { protected CmsJlanNetworkFile nextFile() { if (!hasMoreFiles()) { return null; // depends on control dependency: [if], data = [none] } CmsJlanNetworkFile file = m_files.get(m_position); m_position += 1; return file; } }
public class class_name { public void shutdown(boolean clear) { if (executionQueue != null) { executionQueue.shutdownNow(); } if (joynrInjector != null) { // switch to lp receiver and call servlet shutdown to be able to receive responses ServletMessageReceiv...
public class class_name { public void shutdown(boolean clear) { if (executionQueue != null) { executionQueue.shutdownNow(); // depends on control dependency: [if], data = [none] } if (joynrInjector != null) { // switch to lp receiver and call servlet shutdown to be able...
public class class_name { public void marshall(PresignedUrlConfig presignedUrlConfig, ProtocolMarshaller protocolMarshaller) { if (presignedUrlConfig == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { public void marshall(PresignedUrlConfig presignedUrlConfig, ProtocolMarshaller protocolMarshaller) { if (presignedUrlConfig == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshal...
public class class_name { public static Path decodePathFromReference(CheckpointStorageLocationReference reference) { if (reference.isDefaultReference()) { throw new IllegalArgumentException("Cannot decode default reference"); } final byte[] bytes = reference.getReferenceBytes(); final int headerLen = REFER...
public class class_name { public static Path decodePathFromReference(CheckpointStorageLocationReference reference) { if (reference.isDefaultReference()) { throw new IllegalArgumentException("Cannot decode default reference"); } final byte[] bytes = reference.getReferenceBytes(); final int headerLen = REFER...
public class class_name { protected void logError(Exception e, boolean logToErrorChannel) { if (logToErrorChannel) { LOG.error(e.getLocalizedMessage(), e); } else { LOG.info(e.getLocalizedMessage(), e); } // if an error was logged make sure that the flag ...
public class class_name { protected void logError(Exception e, boolean logToErrorChannel) { if (logToErrorChannel) { LOG.error(e.getLocalizedMessage(), e); // depends on control dependency: [if], data = [none] } else { LOG.info(e.getLocalizedMessage(), e); // depends on c...
public class class_name { public void exhaust(Long pipelineId) { Assert.notNull(pipelineId); TerminMonitor terminMonitor = ArbitrateFactory.getInstance(pipelineId, TerminMonitor.class); int size = terminMonitor.size(); try { for (int i = 0; i < size; i++) { L...
public class class_name { public void exhaust(Long pipelineId) { Assert.notNull(pipelineId); TerminMonitor terminMonitor = ArbitrateFactory.getInstance(pipelineId, TerminMonitor.class); int size = terminMonitor.size(); try { for (int i = 0; i < size; i++) { L...
public class class_name { public String getCanonicalTypeName(Object object) { ensureNotNull("object", object); for (TypeDetector typeDetector : typeDetectors) { if (typeDetector.canHandle(object)) { return typeDetector.detectType(object); } } throw LOG.unableToDetectCanonicalType(...
public class class_name { public String getCanonicalTypeName(Object object) { ensureNotNull("object", object); for (TypeDetector typeDetector : typeDetectors) { if (typeDetector.canHandle(object)) { return typeDetector.detectType(object); // depends on control dependency: [if], data = [none] ...
public class class_name { public Vector3 findClosePoint(Vector3 pointToDelete) { Triangle triangle = find(pointToDelete); Vector3 p1 = triangle.p1(); Vector3 p2 = triangle.p2(); double d1 = distanceXY(p1, pointToDelete); double d2 = distanceXY(p2, pointToDelete); if(triangle.isHalfplane()) { if(d...
public class class_name { public Vector3 findClosePoint(Vector3 pointToDelete) { Triangle triangle = find(pointToDelete); Vector3 p1 = triangle.p1(); Vector3 p2 = triangle.p2(); double d1 = distanceXY(p1, pointToDelete); double d2 = distanceXY(p2, pointToDelete); if(triangle.isHalfplane()) { if(d...
public class class_name { public static Map<String, Set<InetAddress>> getNetworkInterfaceAddresses(boolean includeLoopback) { //JVM returns interfaces in a non-predictable order, so to make this more predictable //let's have them sort by interface name (by using a TreeMap). Map<String, Set<Inet...
public class class_name { public static Map<String, Set<InetAddress>> getNetworkInterfaceAddresses(boolean includeLoopback) { //JVM returns interfaces in a non-predictable order, so to make this more predictable //let's have them sort by interface name (by using a TreeMap). Map<String, Set<Inet...
public class class_name { protected void processPackage(PackageDoc doc) { // (#1) Set foundDoc to false if possible. // foundDoc will be set to true when setRawCommentText() is called, if the method // is called again, JavaDoc will issue a warning about multiple sources for the // packa...
public class class_name { protected void processPackage(PackageDoc doc) { // (#1) Set foundDoc to false if possible. // foundDoc will be set to true when setRawCommentText() is called, if the method // is called again, JavaDoc will issue a warning about multiple sources for the // packa...
public class class_name { public void marshall(ScriptBootstrapActionConfig scriptBootstrapActionConfig, ProtocolMarshaller protocolMarshaller) { if (scriptBootstrapActionConfig == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { public void marshall(ScriptBootstrapActionConfig scriptBootstrapActionConfig, ProtocolMarshaller protocolMarshaller) { if (scriptBootstrapActionConfig == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { ...
public class class_name { protected void setCurrentLedImage(final BufferedImage CURRENT_LED_IMAGE) { if (currentLedImage != null) { currentLedImage.flush(); } currentLedImage = CURRENT_LED_IMAGE; repaint(getInnerBounds()); } }
public class class_name { protected void setCurrentLedImage(final BufferedImage CURRENT_LED_IMAGE) { if (currentLedImage != null) { currentLedImage.flush(); // depends on control dependency: [if], data = [none] } currentLedImage = CURRENT_LED_IMAGE; repaint(getInnerBounds())...
public class class_name { private static void maskOutWord(int[] array, int index, int from, int to) { if (from == to) { return; } int word = wordAt(array, index); if (word == 0) { return; } int mask; if (from != 0) { mask = 0xffffffff >>> (32 - from); } else { ...
public class class_name { private static void maskOutWord(int[] array, int index, int from, int to) { if (from == to) { return; // depends on control dependency: [if], data = [none] } int word = wordAt(array, index); if (word == 0) { return; // depends on control dependency: [if], data = [...
public class class_name { protected LinkedList<APIParameter> parseCustomizedParameters(MethodDoc methodDoc) { Tag[] tags = methodDoc.tags(WRParamTaglet.NAME); LinkedList<APIParameter> result = new LinkedList<APIParameter>(); for (int i = 0; i < tags.length; i++) { result.add(WRParamTaglet.parse(tags[i].text()...
public class class_name { protected LinkedList<APIParameter> parseCustomizedParameters(MethodDoc methodDoc) { Tag[] tags = methodDoc.tags(WRParamTaglet.NAME); LinkedList<APIParameter> result = new LinkedList<APIParameter>(); for (int i = 0; i < tags.length; i++) { result.add(WRParamTaglet.parse(tags[i].text()...
public class class_name { @Override public void decode(FacesContext context, UIComponent component) { Slider2 slider = (Slider2) component; if (slider.isDisabled() || slider.isReadonly()) { return; } decodeBehaviors(context, slider); String clientId = slider.getClientId(context); Number submittedVal...
public class class_name { @Override public void decode(FacesContext context, UIComponent component) { Slider2 slider = (Slider2) component; if (slider.isDisabled() || slider.isReadonly()) { return; // depends on control dependency: [if], data = [none] } decodeBehaviors(context, slider); String clientI...