signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class ComponentImpl { /** * public Object setEL ( PageContext pc , String name , Object value ) { try { return set ( pc , name ,
* value ) ; } catch ( PageException e ) { return null ; } } */
@ Override public Object setEL ( PageContext pc , Collection . Key name , Object value ) { } } | try { return set ( pc , name , value ) ; } catch ( PageException e ) { return null ; } |
public class MasterReplica { /** * Open a new connection to a Redis Master - Replica server / servers using the supplied { @ link RedisURI } and the supplied
* { @ link RedisCodec codec } to encode / decode keys .
* This { @ link MasterReplica } performs auto - discovery of nodes if the URI is a Redis Sentinel URI ... | return new MasterReplicaConnectionWrapper < > ( MasterSlave . connect ( redisClient , codec , redisURIs ) ) ; |
public class ClassUseMapper { /** * Map the AnnotationType to the ProgramElementDocs that use them as
* type parameters .
* @ param map the map the insert the information into .
* @ param doc the doc whose type parameters are being checked .
* @ param holder the holder that owns the type parameters . */
private... | for ( AnnotationDesc annotation : doc . annotations ( ) ) { AnnotationTypeDoc annotationDoc = annotation . annotationType ( ) ; refList ( map , annotationDoc ) . add ( holder ) ; } |
public class PostgreSqlExceptionTranslator { /** * Package private for testability
* @ param pSqlException PostgreSQL exception
* @ return translated validation exception */
MolgenisValidationException translateReadonlyViolation ( PSQLException pSqlException ) { } } | Matcher matcher = Pattern . compile ( "Updating read-only column \"?(.*?)\"? of table \"?(.*?)\"? with id \\[(.*?)] is not allowed" ) . matcher ( pSqlException . getServerErrorMessage ( ) . getMessage ( ) ) ; boolean matches = matcher . matches ( ) ; if ( ! matches ) { LOG . error ( ERROR_TRANSLATING_POSTGRES_EXC_MSG ,... |
public class BuildAndPushMapper { /** * Create the voldemort key and value from the input key and value and map
* it out for each of the responsible voldemort nodes
* The output key is the md5 of the serialized key returned by makeKey ( ) .
* The output value is the node _ id & partition _ id of the responsible n... | // Compress key and values if required
if ( keySerializerDefinition . hasCompression ( ) ) { keyBytes = keyCompressor . deflate ( keyBytes ) ; } if ( valueSerializerDefinition . hasCompression ( ) ) { valBytes = valueCompressor . deflate ( valBytes ) ; } // Get the output byte arrays ready to populate
byte [ ] outputVa... |
public class VirtualABoxStatistics { /** * Returns one triple count from a particular mapping .
* @ param datasourceId
* The data source identifier .
* @ param mappingId
* The mapping identifier .
* @ return The number of triples . */
public int getStatistics ( String datasourceId , String mappingId ) { } } | final HashMap < String , Integer > mappingStat = getStatistics ( datasourceId ) ; int triplesCount = mappingStat . get ( mappingId ) . intValue ( ) ; return triplesCount ; |
public class ClientSideHandlerScriptRequestHandler { /** * Determines whether a response should get a 304 response and empty body ,
* according to etags and if - modified - since headers .
* @ param request
* @ param scriptEtag
* @ return */
private boolean useNotModifiedHeader ( HttpServletRequest request , St... | long modifiedHeader = - 1 ; try { modifiedHeader = request . getDateHeader ( HEADER_IF_MODIFIED ) ; if ( modifiedHeader != - 1 ) modifiedHeader -= modifiedHeader % 1000 ; } catch ( RuntimeException ex ) { } String eTag = request . getHeader ( HEADER_IF_NONE ) ; if ( modifiedHeader == - 1 ) { return scriptEtag . equals ... |
public class AntClassLoader { /** * Get the manifest from the given jar , if it is indeed a jar and it has a
* manifest
* @ param container the File from which a manifest is required .
* @ return the jar ' s manifest or null is the container is not a jar or it
* has no manifest .
* @ exception IOException if ... | if ( container . isDirectory ( ) ) { return null ; } JarFile jarFile = ( JarFile ) jarFiles . get ( container ) ; if ( jarFile == null ) { return null ; } return jarFile . getManifest ( ) ; |
public class InternalScanner { /** * Finds matches in a physical directory on a filesystem . Examines all
* files within a directory - if the File object is not a directory , and ends with < i > . class < / i >
* the file is loaded and tested to see if it is acceptable according to the Test . Operates
* recursive... | log . debug ( "Scanning directory " + location . getAbsolutePath ( ) + " parent: '" + parent + "'." ) ; File [ ] files = location . listFiles ( ) ; List < String > localClsssOrPkgs = new ArrayList < String > ( ) ; for ( File file : files ) { final String packageOrClass ; if ( parent == null || parent . length ( ) == 0 ... |
public class CmsResourceUtil { /** * Returns the the lock for the given resource . < p >
* @ return the lock the given resource */
public CmsLock getLock ( ) { } } | if ( m_lock == null ) { try { m_lock = getCms ( ) . getLock ( m_resource ) ; } catch ( Throwable e ) { m_lock = CmsLock . getNullLock ( ) ; LOG . error ( e . getLocalizedMessage ( ) , e ) ; } } return m_lock ; |
public class ForkJoinTask { /** * Completes this task , and if not already aborted or cancelled ,
* returning the given value as the result of subsequent
* invocations of { @ code join } and related operations . This method
* may be used to provide results for asynchronous tasks , or to
* provide alternative ha... | try { setRawResult ( value ) ; } catch ( Throwable rex ) { setExceptionalCompletion ( rex ) ; return ; } setCompletion ( NORMAL ) ; |
public class FilePath { /** * Gets the system ' s user dir ( pwd ) and convert it to the server ' s format . */
public static String getPwd ( ) { } } | String path = getUserDir ( ) ; path = path . replace ( getFileSeparatorChar ( ) , '/' ) ; if ( isWindows ( ) ) { path = convertFromWindowsPath ( path ) ; } return path ; |
public class Check { /** * Checks to see if a vulnerability has been identified with a CVSS score
* that is above the threshold set in the configuration .
* @ param dependencies the list of dependency objects
* @ throws BuildException thrown if a CVSS score is found that is higher
* than the threshold set */
pr... | final StringBuilder ids = new StringBuilder ( ) ; for ( Dependency d : dependencies ) { for ( Vulnerability v : d . getVulnerabilities ( ) ) { if ( ( v . getCvssV2 ( ) != null && v . getCvssV2 ( ) . getScore ( ) >= failBuildOnCVSS ) || ( v . getCvssV3 ( ) != null && v . getCvssV3 ( ) . getBaseScore ( ) >= failBuildOnCV... |
public class ColumnDatapointIterator { /** * Copy this value to the output and advance to the next one .
* @ param compQualifier
* @ param compValue
* @ return true if there is more data left in this column */
public void writeToBuffers ( ByteBufferList compQualifier , ByteBufferList compValue ) { } } | compQualifier . add ( qualifier , qualifier_offset , current_qual_length ) ; compValue . add ( value , value_offset , current_val_length ) ; |
public class TextUtility { /** * 把表示数字含义的字符串转成整形
* @ param str 要转换的字符串
* @ return 如果是有意义的整数 , 则返回此整数值 。 否则 , 返回 - 1。 */
public static int cint ( String str ) { } } | if ( str != null ) try { int i = new Integer ( str ) . intValue ( ) ; return i ; } catch ( NumberFormatException e ) { } return - 1 ; |
public class CmsJlanDiskInterface { /** * Converts a CIFS path to an OpenCms path by converting backslashes to slashes and translating special characters in the file name . < p >
* @ param path the path to transform
* @ return the OpenCms path for the given path */
protected static String getCmsPath ( String path )... | String slashPath = path . replace ( '\\' , '/' ) ; // split path into components , translate each of them separately , then combine them again at the end
String [ ] segments = slashPath . split ( "/" ) ; List < String > nonEmptySegments = new ArrayList < String > ( ) ; for ( String segment : segments ) { if ( segment .... |
public class DefaultProcedureManager { /** * Create a statement like :
* " update < table > set { < each - column = ? > . . . } where { < pkey - column = ? > . . . }
* for a replicated table . */
private static String generateCrudReplicatedUpdate ( Table table , Constraint pkey ) { } } | StringBuilder sb = new StringBuilder ( ) ; sb . append ( "UPDATE " + table . getTypeName ( ) + " SET " ) ; generateCrudExpressionColumns ( table , sb ) ; generateCrudPKeyWhereClause ( null , pkey , sb ) ; sb . append ( ';' ) ; return sb . toString ( ) ; |
public class GetObjectRequest { /** * Sets the optional progress listener for receiving updates about object
* download status , and returns this updated object so that additional method
* calls can be chained together .
* @ param progressListener
* The legacy progress listener that is used exclusively for Amaz... | setProgressListener ( progressListener ) ; return this ; |
public class DeepCopy { /** * Returns a copy of the object , or null if the object cannot
* be serialized .
* @ param orig an < code > Object < / code > value
* @ return a deep copy of that Object
* @ exception NotSerializableException if an error occurs */
public static Object copy ( Object orig ) throws NotSe... | Object obj = null ; try { // Write the object out to a byte array
ByteArrayOutputStream bos = new ByteArrayOutputStream ( ) ; ObjectOutputStream out = new ObjectOutputStream ( bos ) ; out . writeObject ( orig ) ; out . flush ( ) ; out . close ( ) ; // Make an input stream from the byte array and read
// a copy of the o... |
public class Matrix3d { /** * Extract the Euler angles from the rotation represented by < code > this < / code > matrix and store the extracted Euler angles in < code > dest < / code > .
* This method assumes that < code > this < / code > matrix only represents a rotation without scaling .
* Note that the returned ... | dest . x = ( float ) Math . atan2 ( m12 , m22 ) ; dest . y = ( float ) Math . atan2 ( - m02 , Math . sqrt ( m12 * m12 + m22 * m22 ) ) ; dest . z = ( float ) Math . atan2 ( m01 , m00 ) ; return dest ; |
public class Whitelist { /** * Test if the supplied attribute is allowed by this whitelist for this tag
* @ param tagName tag to consider allowing the attribute in
* @ param el element under test , to confirm protocol
* @ param attr attribute under test
* @ return true if allowed */
protected boolean isSafeAttr... | TagName tag = TagName . valueOf ( tagName ) ; AttributeKey key = AttributeKey . valueOf ( attr . getKey ( ) ) ; Set < AttributeKey > okSet = attributes . get ( tag ) ; if ( okSet != null && okSet . contains ( key ) ) { if ( protocols . containsKey ( tag ) ) { Map < AttributeKey , Set < Protocol > > attrProts = protocol... |
public class CDownloadRequest { /** * Get the HTTP headers to be used for download request .
* Default implementation only handles Range header .
* @ return The headers */
public Headers getHttpHeaders ( ) { } } | Headers headers = new Headers ( ) ; if ( byteRange != null ) { StringBuilder rangeBuilder = new StringBuilder ( "bytes=" ) ; long start ; if ( byteRange . offset >= 0 ) { rangeBuilder . append ( byteRange . offset ) ; start = byteRange . offset ; } else { start = 1 ; } rangeBuilder . append ( "-" ) ; if ( byteRange . l... |
public class NodeUtil { /** * Returns the immediately enclosing target node for a given target node , or null if none found .
* @ see # getRootTarget ( Node ) for examples
* @ param targetNode */
@ Nullable private static Node getEnclosingTarget ( Node targetNode ) { } } | checkState ( checkNotNull ( targetNode ) . isValidAssignmentTarget ( ) , targetNode ) ; Node parent = checkNotNull ( targetNode . getParent ( ) , targetNode ) ; boolean targetIsFirstChild = parent . getFirstChild ( ) == targetNode ; if ( parent . isDefaultValue ( ) || parent . isRest ( ) ) { // in ` ( [ something = tar... |
public class ParsedAddressGrouping { /** * Across an address prefixes are :
* IPv6 : ( null ) : . . . : ( null ) : ( 1 to 16 ) : ( 0 ) : . . . : ( 0)
* or IPv4 : . . . ( null ) . ( 1 to 8 ) . ( 0 ) . . . */
public static Integer getSegmentPrefixLength ( int bitsPerSegment , Integer prefixLength , int segmentIndex )... | if ( prefixLength != null ) { return getPrefixedSegmentPrefixLength ( bitsPerSegment , prefixLength , segmentIndex ) ; } return null ; |
public class Funcs { /** * Returns a function that adds its argument to a map , using a supplied function to determine the key .
* @ param map The map to modify
* @ param keyBuilder A function to determine a key for each value
* @ return A new function that adds its argument to < code > map < / code > by using
... | return new Function < T , Void > ( ) { public Void apply ( T arg ) { map . put ( keyMaker . apply ( arg ) , arg ) ; return null ; } } ; |
public class Assistant { /** * Create user input example .
* Add a new user input example to an intent .
* This operation is limited to 1000 requests per 30 minutes . For more information , see * * Rate limiting * * .
* @ param createExampleOptions the { @ link CreateExampleOptions } containing the options for th... | Validator . notNull ( createExampleOptions , "createExampleOptions cannot be null" ) ; String [ ] pathSegments = { "v1/workspaces" , "intents" , "examples" } ; String [ ] pathParameters = { createExampleOptions . workspaceId ( ) , createExampleOptions . intent ( ) } ; RequestBuilder builder = RequestBuilder . post ( Re... |
public class ReferenceCache { /** * Create a reference factory of the given type .
* @ param type type of reference factory
* @ return a reference factory */
private final ReferenceFactory < K , V > toFactory ( Type type ) { } } | switch ( type ) { case Hard : return new HardReferenceFactory ( ) ; case Weak : return new WeakReferenceFactory ( ) ; case Soft : return new SoftReferenceFactory ( ) ; default : return null ; } |
public class Signatures { /** * Finds the best method for the given arguments .
* @ param clazz
* @ param name
* @ param args
* @ return method
* @ throws AmbiguousSignatureMatchException if multiple methods match equally */
public static Method bestMethod ( Class < ? > clazz , String name , Object [ ] args )... | return bestMethod ( collectMethods ( clazz , name ) , args ) ; |
public class ImportApiKeysRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( ImportApiKeysRequest importApiKeysRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( importApiKeysRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( importApiKeysRequest . getBody ( ) , BODY_BINDING ) ; protocolMarshaller . marshall ( importApiKeysRequest . getFormat ( ) , FORMAT_BINDING ) ; protocolMarshaller .... |
public class UriEscaper { /** * Escapes a string as a URI
* @ param url the path to escape
* @ param strict whether or not to do strict escaping
* @ return the escaped string */
public static String escape ( final String url , final boolean strict ) { } } | return ( strict ? STRICT_ESCAPER : ESCAPER ) . escape ( url ) ; |
public class SDMath { /** * see { @ link # eye ( String , int , int , DataType , int . . . ) } */
public SDVariable eye ( int rows , int cols , DataType dataType , int ... batchDimension ) { } } | return eye ( null , rows , cols , dataType , batchDimension ) ; |
public class WRadioButtonSelectExample { /** * Make a simple editable example without a frame . */
private void makeFramelessExample ( ) { } } | add ( new WHeading ( HeadingLevel . H3 , "WRadioButtonSelect without its frame" ) ) ; add ( new ExplanatoryText ( "When a WRadioButtonSelect is frameless it loses some of its coherence, especially when its WLabel is hidden or " + "replaced by a toolTip. Using a frameless WRadioButtonSelect is useful within an existing ... |
public class JDBCConnection { /** * # ifdef JAVA4 */
public synchronized PreparedStatement prepareStatement ( String sql , int resultSetType , int resultSetConcurrency , int resultSetHoldability ) throws SQLException { } } | checkClosed ( ) ; try { return new JDBCPreparedStatement ( this , sql , resultSetType , resultSetConcurrency , resultSetHoldability , ResultConstants . RETURN_NO_GENERATED_KEYS , null , null ) ; } catch ( HsqlException e ) { throw Util . sqlException ( e ) ; } |
public class PathNormalizer { /** * Removes leading and trailing separators from a path , and removes double
* separators ( / / is replaced by / ) .
* @ param path
* the path to normalize
* @ return the normalized path */
public static final String normalizePath ( String path ) { } } | String normalizedPath = path . replaceAll ( "//" , JawrConstant . URL_SEPARATOR ) ; StringTokenizer tk = new StringTokenizer ( normalizedPath , JawrConstant . URL_SEPARATOR ) ; StringBuilder sb = new StringBuilder ( ) ; while ( tk . hasMoreTokens ( ) ) { sb . append ( tk . nextToken ( ) ) ; if ( tk . hasMoreTokens ( ) ... |
public class PseudoNthSpecifierChecker { /** * Add { @ code nth - last - of - type } elements .
* @ see < a href = " http : / / www . w3 . org / TR / css3 - selectors / # nth - last - of - type - pseudo " > < code > : nth - last - of - type < / code > pseudo - class < / a > */
private void addNthLastOfType ( ) { } } | for ( Node node : nodes ) { int count = 1 ; Node n = DOMHelper . getNextSiblingElement ( node ) ; while ( n != null ) { if ( DOMHelper . getNodeName ( n ) . equals ( DOMHelper . getNodeName ( node ) ) ) { count ++ ; } n = DOMHelper . getNextSiblingElement ( n ) ; } if ( specifier . isMatch ( count ) ) { result . add ( ... |
public class LongIntSortedVector { /** * Sets all values in this vector to those in the other vector . */
public void set ( LongIntSortedVector other ) { } } | this . used = other . used ; this . indices = LongArrays . copyOf ( other . indices ) ; this . values = IntArrays . copyOf ( other . values ) ; |
public class StringIterate { /** * Transform the int code point elements to a new string using the specified function { @ code function } .
* @ since 7.0 */
public static String collectCodePoint ( String string , CodePointFunction function ) { } } | int size = string . length ( ) ; StringBuilder builder = new StringBuilder ( size ) ; for ( int i = 0 ; i < size ; ) { int codePoint = string . codePointAt ( i ) ; builder . appendCodePoint ( function . valueOf ( codePoint ) ) ; i += Character . charCount ( codePoint ) ; } return builder . toString ( ) ; |
public class DockerAgentUtils { /** * Retrieves from all the Jenkins agents all the docker images , which have been registered for a specific build - info ID
* Only images for which manifests have been captured are returned .
* @ param buildInfoId
* @ return
* @ throws IOException
* @ throws InterruptedExcept... | List < DockerImage > dockerImages = new ArrayList < DockerImage > ( ) ; // Collect images from the master :
dockerImages . addAll ( getAndDiscardImagesByBuildId ( buildInfoId ) ) ; // Collect images from all the agents :
List < Node > nodes = Jenkins . getInstance ( ) . getNodes ( ) ; for ( Node node : nodes ) { if ( n... |
public class X509Utils { /** * Creates a new client certificate PKCS # 12 and PEM store . Any existing
* stores are destroyed .
* @ param clientMetadata a container for dynamic parameters needed for generation
* @ param caPrivateKey
* @ param caCert
* @ param targetFolder
* @ return */
public static X509Cer... | try { KeyPair pair = newKeyPair ( ) ; X500Name userDN = buildDistinguishedName ( clientMetadata ) ; X500Name issuerDN = new X500Name ( PrincipalUtil . getIssuerX509Principal ( caCert ) . getName ( ) ) ; // create a new certificate signed by the Fathom CA certificate
X509v3CertificateBuilder certBuilder = new JcaX509v3C... |
public class JdbcUtil { /** * Safely closes resources and logs errors .
* @ param stmt Statement to close */
public static void close ( Statement stmt ) { } } | if ( stmt != null ) { try { stmt . close ( ) ; } catch ( SQLException ex ) { logger . error ( "" , ex ) ; } } |
public class DateOfBirthTypeImpl { /** * { @ inheritDoc } */
@ Override public void setDate ( int year , int month , int dayOfMonth ) { } } | this . setDate ( new LocalDate ( year , month , dayOfMonth ) ) ; |
public class NetworkWatchersInner { /** * Get the last completed troubleshooting result on a specified resource .
* @ param resourceGroupName The name of the resource group .
* @ param networkWatcherName The name of the network watcher resource .
* @ param targetResourceId The target resource ID to query the trou... | return beginGetTroubleshootingResultWithServiceResponseAsync ( resourceGroupName , networkWatcherName , targetResourceId ) . toBlocking ( ) . single ( ) . body ( ) ; |
public class GroupProcessor { /** * @ see org . newdawn . slick . svg . inkscape . ElementProcessor # process ( org . newdawn . slick . svg . Loader , org . w3c . dom . Element , org . newdawn . slick . svg . Diagram , org . newdawn . slick . geom . Transform ) */
public void process ( Loader loader , Element element ,... | Transform transform = Util . getTransform ( element ) ; transform = new Transform ( t , transform ) ; loader . loadChildren ( element , transform ) ; |
public class LogAnalyticsDataClientImpl { /** * Execute an Analytics query .
* Executes an Analytics query for data . [ Here ] ( https : / / dev . loganalytics . io / documentation / Using - the - API ) is an example for using POST with an Analytics query .
* @ param workspaceId ID of the workspace . This is Worksp... | return queryWithServiceResponseAsync ( workspaceId , body ) . map ( new Func1 < ServiceResponse < QueryResults > , QueryResults > ( ) { @ Override public QueryResults call ( ServiceResponse < QueryResults > response ) { return response . body ( ) ; } } ) ; |
public class ArrayHeap { /** * On the assumption that
* leftChild ( entry ) and rightChild ( entry ) satisfy the heap property ,
* make sure that the heap at entry satisfies this property by possibly
* percolating the element o downwards . I ' ve replaced the obvious
* recursive formulation with an iterative on... | // int size = size ( ) ;
HeapEntry < E > currentEntry = entry ; HeapEntry < E > minEntry ; // = null ;
do { minEntry = currentEntry ; HeapEntry < E > leftEntry = leftChild ( currentEntry ) ; if ( leftEntry != null ) { if ( compare ( minEntry , leftEntry ) > 0 ) { minEntry = leftEntry ; } } HeapEntry < E > rightEntry = ... |
public class FeatureExpressions { /** * Decorate a boolean feature to make it more expressive . */
public static < S > Feature < S , Boolean > is ( final Feature < ? super S , Boolean > feature ) { } } | return new Feature < S , Boolean > ( ) { @ Override public Boolean of ( S object ) { return feature . of ( object ) ; } @ Override public void describeTo ( Description description ) { description . appendText ( "is " ) . appendDescriptionOf ( feature ) ; } } ; |
public class ResourceUtils { /** * Resolve the given resource location to a { @ code java . net . URL } .
* < p > Does not check whether the URL actually exists ; simply returns
* the URL that the given location would correspond to .
* @ param resourceLocation the resource location to resolve : either a
* " cla... | Assert . notNull ( resourceLocation , "Resource location must not be null" ) ; if ( resourceLocation . startsWith ( CLASSPATH_URL_PREFIX ) ) { String path = resourceLocation . substring ( CLASSPATH_URL_PREFIX . length ( ) ) ; ClassLoader cl = ClassUtils . getDefaultClassLoader ( ) ; URL url = ( cl != null ? cl . getRes... |
public class Utils { /** * Escape the given literal < tt > value < / tt > and append it to the string builder < tt > sbuf < / tt > . If
* < tt > sbuf < / tt > is < tt > null < / tt > , a new StringBuilder will be returned . The argument
* < tt > standardConformingStrings < / tt > defines whether the backend expects... | if ( sbuf == null ) { sbuf = new StringBuilder ( ( value . length ( ) + 10 ) / 10 * 11 ) ; // Add 10 % for escaping .
} doAppendEscapedLiteral ( sbuf , value , standardConformingStrings ) ; return sbuf ; |
public class AWSGlobalAcceleratorClient { /** * Update a listener .
* @ param updateListenerRequest
* @ return Result of the UpdateListener operation returned by the service .
* @ throws InvalidArgumentException
* An argument that you specified is invalid .
* @ throws InvalidPortRangeException
* The port nu... | request = beforeClientExecution ( request ) ; return executeUpdateListener ( request ) ; |
public class OutHamp { /** * Sends a message to a given address */
public void queryResult ( OutputStream os , HeadersAmp headers , String address , long qId , Object value ) throws IOException { } } | init ( os ) ; OutH3 out = _out ; if ( out == null ) { return ; } if ( log . isLoggable ( _level ) ) { log . log ( _level , "hamp-query-result-w " + value + " (in " + this + ")" + "\n {id:" + qId + " to:" + address + ", " + headers + "," + os + "}" ) ; } try { out . writeLong ( MessageTypeHamp . QUERY_RESULT . ordinal ... |
public class EndpointHandler { /** * Handles GET requests by calling response updater based on uri pattern .
* @ param request HTTP request
* @ param response HTTP response
* @ throws HttpException in case of HTTP related issue
* @ throws IOException in case of IO related issue */
public void handleGet ( HttpRe... | String uri = request . getRequestLine ( ) . getUri ( ) ; LOG . debug ( "uri {}" , uri ) ; try { ResponseUpdater ru = this . findResponseUpdater ( request ) ; LOG . debug ( "request updater {}" , ru ) ; ru . update ( response ) ; } catch ( IllegalStateException t ) { LOG . error ( "Cannot handle request" , t ) ; throw n... |
public class MimeHeaders { /** * Replaces the current value of the first header entry whose name matches
* the given name with the given value , adding a new header if no existing header
* name matches . This method also removes all matching headers after the first one .
* Note that RFC822 headers can contain onl... | boolean found = false ; if ( ( name == null ) || name . equals ( "" ) ) throw new IllegalArgumentException ( "Illegal MimeHeader name" ) ; for ( int i = 0 ; i < headers . size ( ) ; i ++ ) { MimeHeader hdr = ( MimeHeader ) headers . elementAt ( i ) ; if ( hdr . getName ( ) . equalsIgnoreCase ( name ) ) { if ( ! found )... |
public class Context { /** * Return the value of a name , else fail . If the name is not present , a { @ link ContextException } is thrown .
* @ param name
* The name to look for .
* @ return The value of the name . */
public Value lookup ( ILexNameToken name ) { } } | Value v = check ( name ) ; if ( v == null ) { VdmRuntimeError . abort ( name . getLocation ( ) , 4034 , "Name '" + name + "' not in scope" , this ) ; } return v ; |
public class RegisterTaskDefinitionRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( RegisterTaskDefinitionRequest registerTaskDefinitionRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( registerTaskDefinitionRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( registerTaskDefinitionRequest . getFamily ( ) , FAMILY_BINDING ) ; protocolMarshaller . marshall ( registerTaskDefinitionRequest . getTaskRoleArn ( ) , TAS... |
public class ArrayBasedStrategy { /** * - - - GET ALL ENDPOINTS - - - */
@ SuppressWarnings ( "unchecked" ) @ Override public List < T > getAllEndpoints ( ) { } } | ArrayList < T > list = new ArrayList < > ( endpoints . length ) ; for ( int i = 0 ; i < endpoints . length ; i ++ ) { list . add ( ( T ) endpoints [ i ] ) ; } return list ; |
public class ConcatVectorNamespace { /** * This adds a sparse feature to a vector , setting the appropriate component of the given vector to the passed in
* value .
* @ param vector the vector
* @ param featureName the feature whose value to set
* @ param index the index of the one - hot vector to set , as a st... | vector . setSparseComponent ( ensureFeature ( featureName ) , ensureSparseFeature ( featureName , index ) , value ) ; |
public class JSQLParserAdapter { /** * To make ddal - jsqlparser work well , JSqlParser should include the feature of ' support getting jdbc parameter index ' .
* And this feature is provided on the version of { @ link < a href = " https : / / github . com / JSQLParser / JSqlParser / releases / tag / jsqlparser - 0.9... | CCJSqlParserManager parserManager = new CCJSqlParserManager ( ) ; String sql = "SELECT * FROM tab_1 WHERE tab_1.col_1 = ? AND col_2 IN (SELECT DISTINCT col_2 FROM tab_2 WHERE col_3 LIKE ? AND col_4 > ?) LIMIT ?, ?" ; Select select = ( Select ) parserManager . parse ( new StringReader ( sql ) ) ; PlainSelect selectBody ... |
public class Logging { /** * Configures the logging environment to use the first available config file in the list , printing an error if none of the
* files
* are suitable
* @ param files */
public static void configureFiles ( Iterable < File > files ) { } } | for ( File file : files ) { if ( file != null && file . exists ( ) && file . canRead ( ) ) { setup ( file ) ; return ; } } System . out . println ( "(No suitable log config file found)" ) ; |
public class BlobVault { /** * Returns string content of blob identified by specified blob handle . String contents cache is used .
* @ param blobHandle blob handle
* @ param txn { @ linkplain Transaction } instance
* @ return string content of blob identified by specified blob handle
* @ throws IOException if ... | String result ; result = stringContentCache . tryKey ( this , blobHandle ) ; if ( result == null ) { final InputStream content = getContent ( blobHandle , txn ) ; if ( content == null ) { logger . error ( "Blob string not found: " + getBlobLocation ( blobHandle ) , new FileNotFoundException ( ) ) ; } result = content =... |
public class AmazonPinpointEmailClient { /** * Specify a custom domain to use for open and click tracking elements in email that you send using Amazon Pinpoint .
* @ param putConfigurationSetTrackingOptionsRequest
* A request to add a custom domain for tracking open and click events to a configuration set .
* @ r... | request = beforeClientExecution ( request ) ; return executePutConfigurationSetTrackingOptions ( request ) ; |
public class DatePicker { /** * Clears the date picker . Some browsers require clicking on an element outside of the date picker field to properly
* reset the calendar to today ' s date . */
public void reset ( ) { } } | this . getElement ( ) . clear ( ) ; Grid . driver ( ) . findElement ( By . tagName ( "body" ) ) . click ( ) ; this . calendar = Calendar . getInstance ( ) ; this . getElement ( ) . click ( ) ; |
public class Iterables { /** * Combines multiple iterables into a single iterable . The returned iterable
* has an iterator that traverses the elements of each iterable in
* { @ code inputs } . The input iterators are not polled until necessary .
* < p > The returned iterable ' s iterator supports { @ code remove... | return concat ( ImmutableList . copyOf ( inputs ) ) ; |
public class WaterMarkEventGenerator { /** * Computes the min ts across all streams . */
private long computeWaterMarkTs ( ) { } } | long ts = 0 ; // only if some data has arrived on each input stream
if ( streamToTs . size ( ) >= inputStreams . size ( ) ) { ts = Long . MAX_VALUE ; for ( Map . Entry < GlobalStreamId , Long > entry : streamToTs . entrySet ( ) ) { ts = Math . min ( ts , entry . getValue ( ) ) ; } } return ts - eventTsLag ; |
public class PermutationGroup { /** * Starts with an incomplete set of group generators in ` permutations ` and
* expands it to include all possible combinations .
* Ways to complete group :
* - combinations of permutations pi x pj
* - combinations with itself p ^ k */
public void completeGroup ( ) { } } | // Copy initial set to allow permutations to grow
List < List < Integer > > gens = new ArrayList < List < Integer > > ( permutations ) ; // Keep HashSet version of permutations for fast lookup .
Set < List < Integer > > known = new HashSet < List < Integer > > ( permutations ) ; // breadth - first search through the ma... |
public class InternalSARLLexer { /** * $ ANTLR start " RULE _ RICH _ TEXT _ START " */
public final void mRULE_RICH_TEXT_START ( ) throws RecognitionException { } } | try { int _type = RULE_RICH_TEXT_START ; int _channel = DEFAULT_TOKEN_CHANNEL ; // InternalSARL . g : 16906:22 : ( ' \ \ ' \ \ ' \ \ ' ' ( RULE _ IN _ RICH _ STRING ) * ( ' \ \ ' ' ( ' \ \ ' ' ) ? ) ? ' \ \ uFFFD ' )
// InternalSARL . g : 16906:24 : ' \ \ ' \ \ ' \ \ ' ' ( RULE _ IN _ RICH _ STRING ) * ( ' \ \ ' ' ( ' ... |
public class BaseMessageHeader { /** * Add this name / value pair to this matrix .
* Note : Be careful as the matrix is updated by this method . . . If the matrix was the
* properties matrix , there would be no way to know where the old tree entry was .
* @ param mxString Source matrix ( or null if new ) .
* @ ... | if ( strName == null ) return mxString ; if ( strValue == null ) return mxString ; if ( mxString == null ) mxString = new Object [ 1 ] [ 2 ] ; else { for ( int i = 0 ; i < mxString . length ; i ++ ) { // If it is already there , replace the value .
if ( strName . equalsIgnoreCase ( ( String ) mxString [ i ] [ MessageCo... |
public class TwiML { /** * Convert TwiML object to URL .
* @ return URL string of TwiML object
* @ throws TwiMLException if cannot generate URL */
public String toUrl ( ) throws TwiMLException { } } | try { return URLEncoder . encode ( toXml ( ) , "UTF-8" ) ; } catch ( UnsupportedEncodingException e ) { throw new TwiMLException ( e . getMessage ( ) ) ; } |
public class StatisticsJDBCStorageConnection { /** * { @ inheritDoc } */
public long getNodeDataSize ( String parentId ) throws RepositoryException { } } | Statistics s = ALL_STATISTICS . get ( GET_NODE_DATA_SIZE ) ; try { s . begin ( ) ; return wcs . getWorkspaceDataSize ( ) ; } finally { s . end ( ) ; } |
public class WhiteboxImpl { /** * Get an array of { @ link Method } ' s that matches the method name and whose
* argument types are assignable from { @ code expectedTypes } . Both
* instance and static methods are taken into account .
* @ param clazz The class that should contain the methods .
* @ param methodN... | List < Method > matchingArgumentTypes = new LinkedList < Method > ( ) ; Method [ ] methods = getMethods ( clazz , methodName ) ; for ( Method method : methods ) { final Class < ? > [ ] parameterTypes = method . getParameterTypes ( ) ; if ( checkIfParameterTypesAreSame ( method . isVarArgs ( ) , expectedTypes , paramete... |
public class ELTools { /** * Which annotations are given to an object displayed by a JSF component ?
* @ param p _ component
* the component
* @ return null if there are no annotations , or if they cannot be accessed */
public static Annotation [ ] readAnnotations ( UIComponent p_component ) { } } | ValueExpression valueExpression = p_component . getValueExpression ( "value" ) ; if ( valueExpression != null && valueExpression . getExpressionString ( ) != null && valueExpression . getExpressionString ( ) . length ( ) > 0 ) { return readAnnotations ( valueExpression , p_component ) ; } return null ; |
public class ULocale { /** * Create a tag string from the supplied parameters . The lang , script and region
* parameters may be null references . If the lang parameter is an empty string , the
* default value for an unknown language is written to the output buffer .
* @ param lang The language tag to use .
* @... | return createTagString ( lang , script , region , trailing , null ) ; |
public class InternalSARLLexer { /** * $ ANTLR start " RULE _ ML _ COMMENT " */
public final void mRULE_ML_COMMENT ( ) throws RecognitionException { } } | try { int _type = RULE_ML_COMMENT ; int _channel = DEFAULT_TOKEN_CHANNEL ; // InternalSARL . g : 48797:17 : ( ' / * ' ( options { greedy = false ; } : . ) * ' * / ' )
// InternalSARL . g : 48797:19 : ' / * ' ( options { greedy = false ; } : . ) * ' * / '
{ match ( "/*" ) ; // InternalSARL . g : 48797:24 : ( options { g... |
public class FullscreenVideoLayout { /** * Onclick action
* Controls play button and fullscreen button .
* @ param v View defined in XML */
@ Override public void onClick ( View v ) { } } | if ( v . getId ( ) == R . id . vcv_img_play ) { if ( isPlaying ( ) ) { pause ( ) ; } else { start ( ) ; } } else { setFullscreen ( ! isFullscreen ( ) ) ; } |
public class ZonedDateTime { /** * Obtains an instance of { @ code ZonedDateTime } from a local date - time
* using the preferred offset if possible .
* The local date - time is resolved to a single instant on the time - line .
* This is achieved by finding a valid offset from UTC / Greenwich for the local
* da... | Objects . requireNonNull ( localDateTime , "localDateTime" ) ; Objects . requireNonNull ( zone , "zone" ) ; if ( zone instanceof ZoneOffset ) { return new ZonedDateTime ( localDateTime , ( ZoneOffset ) zone , zone ) ; } ZoneRules rules = zone . getRules ( ) ; List < ZoneOffset > validOffsets = rules . getValidOffsets (... |
public class TCAbortMessageImpl { /** * ( non - Javadoc )
* @ see org . restcomm . protocols . ss7 . tcap . asn . Encodable # encode ( org . mobicents . protocols . asn . AsnOutputStream ) */
public void encode ( AsnOutputStream aos ) throws EncodeException { } } | if ( this . destinationTransactionId == null || this . destinationTransactionId . length != 4 ) throw new EncodeException ( "Error while encoding TCAbortMessage: destinationTransactionId is not defined or has not a length 4" ) ; if ( this . pAbortCause == null && ( this . dp == null && this . userAbortInformation == nu... |
public class DateTimeBrowser { /** * go This method reads the file , creates the table to display ,
* the window to display it in , and displays the window .
* @ param fileName the name of the file to read .
* @ param tryLines An estimate of the number of lines in
* the file . */
private void go ( String [ ] ar... | mainArgs = args ; setDefaultTimeZone ( ) ; // let user override if needed
// setDefaultCloseOperation ( JFrame . EXIT _ ON _ CLOSE ) ;
setDefaultCloseOperation ( WindowConstants . DISPOSE_ON_CLOSE ) ; JMenuBar menuBar = new JMenuBar ( ) ; setJMenuBar ( menuBar ) ; addMenus ( menuBar ) ; /* * Add a fast close listener *... |
public class SeleniumCommand { /** * { @ inheritDoc } */
@ Override public String send ( String ... args ) throws Exception { } } | return commandProcessor . doCommand ( commandName , args ) ; |
public class MappingCache { /** * Return a new or cached mapper
* @ param clazz
* class for the mapper
* @ param annotationSet
* annotation set for the mapper
* @ return mapper */
@ SuppressWarnings ( { } } | "unchecked" } ) public < T > Mapping < T > getMapping ( Class < T > clazz , AnnotationSet < ? , ? > annotationSet , boolean includeParentFields ) { Mapping < T > mapping = ( Mapping < T > ) cache . get ( clazz ) ; // cast is safe as
// this instance is
// the one adding to
// the map
if ( mapping == null ) { // multipl... |
public class FileUtil { /** * if file doesn ' t exist , it returns the same file . otherwize , it will find free
* file as follows :
* if given file name is test . txt , then it searches for non existing file in order :
* test2 . txt , test3 . txt , test4 . txt and so on
* if given file name is test ( i , e wit... | if ( ! file . exists ( ) ) return file ; String parts [ ] = split ( file . getName ( ) ) ; String pattern = parts [ 1 ] == null ? parts [ 0 ] + "${i}" : parts [ 0 ] + "${i}." + parts [ 1 ] ; return findFreeFile ( file . getParentFile ( ) , pattern , true ) ; |
public class YearPicker { /** * Set the selected year .
* @ param year The selected year value . */
public void setYear ( int year ) { } } | if ( mAdapter . getYear ( ) == year ) return ; mAdapter . setYear ( year ) ; goTo ( year ) ; |
public class LaContainerImpl { @ Override public LaContainer findChild ( String namespace ) { } } | for ( LaContainer child : children ) { if ( namespace . equals ( child . getNamespace ( ) ) ) { return child ; } } for ( LaContainer child : children ) { final LaContainer nestedFound = child . findChild ( namespace ) ; if ( nestedFound != null ) { return nestedFound ; } } return null ; |
public class MapModel { /** * Move a vector layer up ( = front ) one place . Note that at any time , all raster layers will always lie behind all
* vector layers . This means that position 0 for a vector layer is the first ( = back ) vector layer to be drawn AFTER
* all raster layers have already been drawn .
* @... | int position = getLayerPosition ( layer ) ; return position >= 0 && moveVectorLayer ( layer , position + 1 ) ; |
public class GisModelCurveCalculator { /** * This method calculates an array of Point2D that represents a ellipse . The distance
* between it points is 1 angular unit
* @ param center Point2D that represents the center of the ellipse
* @ param majorAxisVector Point2D that represents the vector for the major axis ... | Point2D majorPoint = new Point2D . Double ( center . getX ( ) + majorAxisVector . getX ( ) , center . getY ( ) + majorAxisVector . getY ( ) ) ; double orientation = Math . atan ( majorAxisVector . getY ( ) / majorAxisVector . getX ( ) ) ; double semiMajorAxisLength = center . distance ( majorPoint ) ; double semiMinorA... |
public class Record { /** * Get value { @ link Text } value
* @ param label target label
* @ return { @ link Text } value of the label . If it is not null . */
public Text getValueText ( String label ) { } } | HadoopObject o = getHadoopObject ( VALUE , label , ObjectUtil . STRING , "String" ) ; if ( o == null ) { return null ; } return ( Text ) o . getObject ( ) ; |
public class Session { /** * Returns true if the session is empty ,
* e . g . does not contain anything else than the timestamp */
public boolean isEmpty ( ) { } } | for ( String key : data . keySet ( ) ) { if ( ! TS_KEY . equals ( key ) ) { return false ; } } return true ; |
public class BigtableDataClient { /** * Convenience method for asynchronously reading a single row . If the row does not exist , the
* future ' s value will be null .
* < p > Sample code :
* < pre > { @ code
* try ( BigtableDataClient bigtableDataClient = BigtableDataClient . create ( " [ PROJECT ] " , " [ INST... | Query query = Query . create ( tableId ) . rowKey ( rowKey ) ; if ( filter != null ) { query = query . filter ( filter ) ; } return readRowCallable ( ) . futureCall ( query ) ; |
public class PasswordUtil { /** * Decode the provided string . The string should consist of the algorithm to be used for decoding and encoded string .
* For example , { xor } CDo9Hgw = .
* @ param encoded _ string the string to be decoded .
* @ return The decoded string , null if there is any failure during decod... | /* * check input :
* - - encoded _ string : any string , any length , cannot be null ,
* may start with valid ( supported ) crypto algorithm tag */
if ( encoded_string == null ) { // don ' t accept null password
return null ; } String crypto_algorithm = getCryptoAlgorithm ( encoded_string ) ; if ( crypto_algorithm ... |
public class MCMPHandler { /** * Process a command targeting an application .
* @ param exchange the http server exchange
* @ param requestData the request data
* @ param action the mgmt action
* @ return
* @ throws IOException */
void processAppCommand ( final HttpServerExchange exchange , final RequestData ... | final String contextPath = requestData . getFirst ( CONTEXT ) ; final String jvmRoute = requestData . getFirst ( JVMROUTE ) ; final String aliases = requestData . getFirst ( ALIAS ) ; if ( contextPath == null || jvmRoute == null || aliases == null ) { processError ( TYPESYNTAX , SMISFLD , exchange ) ; return ; } final ... |
public class MethodExpressionImpl { /** * Evaluates the expression relative to the provided context , invokes the
* method that was found using the supplied parameters , and returns the
* result of the method invocation .
* @ param context
* The context of this evaluation .
* @ param params
* The parameters... | EvaluationContext ctx = new EvaluationContext ( context , this . fnMapper , this . varMapper ) ; ctx . notifyBeforeEvaluation ( getExpressionString ( ) ) ; Object result = this . getNode ( ) . invoke ( ctx , this . paramTypes , params ) ; ctx . notifyAfterEvaluation ( getExpressionString ( ) ) ; return result ; |
public class CmsMoveResourceTypeDialog { /** * Update the resource type . < p >
* @ param window */
protected void updateResourceType ( Window window ) { } } | if ( ! ( ( CmsModuleRow ) m_table . getValue ( ) ) . equals ( new CmsModuleRow ( OpenCms . getModuleManager ( ) . getModule ( m_type . getModuleName ( ) ) ) ) ) { CmsModule newModule = ( ( CmsModuleRow ) m_table . getValue ( ) ) . getModule ( ) . clone ( ) ; CmsModule oldModule = OpenCms . getModuleManager ( ) . getMod... |
public class SimplifyExprVisitor { /** * collections */
@ Override protected void visitItemAccessNode ( ItemAccessNode node ) { } } | // simplify children first
visitChildren ( node ) ; ExprNode baseExpr = node . getChild ( 0 ) ; ExprNode keyExpr = node . getChild ( 1 ) ; if ( baseExpr instanceof ListLiteralNode && keyExpr instanceof IntegerNode ) { ListLiteralNode listLiteral = ( ListLiteralNode ) baseExpr ; long index = ( ( IntegerNode ) keyExpr ) ... |
public class CollectionInterpreter { /** * < p > executeRow . < / p >
* @ param valuesRow a { @ link com . greenpepper . Example } object .
* @ param headers a { @ link com . greenpepper . Example } object .
* @ param rowFixtureAdapter a { @ link com . greenpepper . reflect . Fixture } object . */
private void ex... | valuesRow . annotate ( Annotations . right ( ) ) ; Statistics rowStats = new Statistics ( ) ; for ( int i = 0 ; i != valuesRow . remainings ( ) ; ++ i ) { Example cell = valuesRow . at ( i ) ; if ( i < headers . remainings ( ) ) { // We can do the cast because # parseColumn returns an ExpectedColumn
ExpectedColumn colu... |
public class PmcNxmlHelper { /** * Iterates recursively over all objects of this article , and tries to
* extract its text
* @ param article
* @ return the extracted text from this article */
public static String extractText ( Article article ) { } } | StringBuilder sb = new StringBuilder ( ) ; // extract abstract
List < Abstract > abstracts = article . getFront ( ) . getArticleMeta ( ) . getAbstract ( ) ; for ( Abstract abstrct : abstracts ) { for ( Sec sec : abstrct . getSec ( ) ) { processTextContent ( sec . getAddressOrAlternativesOrArray ( ) , sb , true ) ; } } ... |
public class Cron4jTask { public < RESULT > OptionalThing < RESULT > syncRunningCall ( Function < TaskRunningState , RESULT > oneArgLambda ) { } } | synchronized ( runningState ) { if ( runningState . getBeginTime ( ) . isPresent ( ) ) { return OptionalThing . ofNullable ( oneArgLambda . apply ( runningState ) , ( ) -> { throw new IllegalStateException ( "Not found the result from your scope: " + jobType ) ; } ) ; } else { return OptionalThing . ofNullable ( null ,... |
public class ChangeListenerMap { /** * Returns the list of listeners for the specified property .
* @ param name the name of the property
* @ return the corresponding list of listeners */
public final synchronized L [ ] get ( String name ) { } } | return ( this . map != null ) ? this . map . get ( name ) : null ; |
public class StatefulBeanO { /** * Passivate this < code > SessionBeanO < / code > and its
* associated enterprise bean . < p >
* @ exception RemoteException thrown if
* this < code > BeanO < / code > instance cannot be activated < p > */
@ Override public final synchronized void passivate ( ) throws RemoteExcept... | final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; if ( isTraceOn && tc . isEntryEnabled ( ) ) // d144064
Tr . entry ( tc , "passivate: " + this ) ; if ( isTraceOn && tc . isDebugEnabled ( ) ) // d468174
{ Tr . debug ( tc , "extended persistence context bindID = " + ivExPcContext ) ; } long pmiCookie ... |
public class Util { /** * Check whether a connection should alive or not .
* @ param keepAliveConfig of the connection
* @ param outboundRequestMsg of this particular transaction
* @ return true if the connection should be kept alive
* @ throws ConfigurationException for invalid configurations */
public static ... | switch ( keepAliveConfig ) { case AUTO : return Float . valueOf ( ( String ) outboundRequestMsg . getProperty ( Constants . HTTP_VERSION ) ) > Constants . HTTP_1_0 ; case ALWAYS : return true ; case NEVER : return false ; default : // The execution will never reach here . In case execution reach here means it should be... |
public class IntervalRegistry { /** * This method retrieves an Interval with the given name . If no one could be found it will
* create a new Interval with given name - the length will be a guess .
* TODO : This method should be renamed to " getOrCreateInterval " or something like that
* TODO : This method MUST b... | Interval interval = intervalsByName . get ( aName ) ; if ( interval == null ) { interval = createInterval ( aName , IntervalNameParser . guessLengthFromName ( aName ) ) ; } return interval ; |
public class Console { /** * Displays node for the given repository , workspace and path .
* @ param repository the name of the repository .
* @ param workspace the name of workspace .
* @ param path the path to the node .
* @ param changeHistory store changes in browser history . */
public void displayContent ... | contents . show ( repository , workspace , path , changeHistory ) ; displayRepository ( repository ) ; display ( contents ) ; changeRepositoryInURL ( repository , changeHistory ) ; |
public class ComponentProxy { /** * Return the component node for a component that is represented
* by a proxy in the tree .
* @ param component the component
* @ param componentChannel the component ' s channel
* @ return the node representing the component in the tree */
@ SuppressWarnings ( { } } | "PMD.DataflowAnomalyAnalysis" } ) /* default */
static ComponentVertex getComponentProxy ( ComponentType component , Channel componentChannel ) { ComponentProxy componentProxy = null ; try { Field field = getManagerField ( component . getClass ( ) ) ; synchronized ( component ) { if ( ! field . isAccessible ( ) ) { // ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.