signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class AmazonIdentityManagementClient { /** * Lists the instance profiles that have the specified associated IAM role . If there are none , the operation returns
* an empty list . For more information about instance profiles , go to < a
* href = " https : / / docs . aws . amazon . com / IAM / latest / UserGui... | request = beforeClientExecution ( request ) ; return executeListInstanceProfilesForRole ( request ) ; |
public class ConvertBufferedImage { /** * Converts a buffered image into an image of the specified type .
* @ param src Input BufferedImage which is to be converted
* @ param dst The image which it is being converted into
* @ param orderRgb If applicable , should it adjust the ordering of each color band to maint... | if ( dst instanceof ImageGray ) { ImageGray sb = ( ImageGray ) dst ; convertFromSingle ( src , sb , ( Class < ImageGray > ) sb . getClass ( ) ) ; } else if ( dst instanceof Planar ) { Planar ms = ( Planar ) dst ; convertFromPlanar ( src , ms , orderRgb , ms . getBandType ( ) ) ; } else if ( dst instanceof ImageInterlea... |
public class JKDefaultTableModel { /** * Returns an attribute value for the cell at < code > row < / code > and
* < code > column < / code > .
* @ param row the row whose value is to be queried
* @ param column the column whose value is to be queried
* @ return the value Object at the specified cell
* @ excep... | final Vector rowVector = ( Vector ) this . dataVector . elementAt ( row ) ; return rowVector . elementAt ( column ) ; |
public class KeyVaultClientCustomImpl { /** * List certificates in the specified vault .
* @ param vaultBaseUrl
* The vault name , e . g . https : / / myvault . vault . azure . net
* @ param maxresults
* Maximum number of results to return in a page . If not specified
* the service will return up to 25 result... | return getCertificates ( vaultBaseUrl , maxresults ) ; |
public class AeshCommandPopulator { /** * Will parse the input line and populate the fields in the instance object specified by
* the given annotations .
* The instance object must be annotated with the CommandDefinition annotation @ see CommandDefinition
* Any parser errors will throw an exception
* @ param in... | try { Field field = getField ( instance . getClass ( ) , fieldName ) ; if ( ! Modifier . isPublic ( field . getModifiers ( ) ) ) field . setAccessible ( true ) ; if ( field . getType ( ) . isPrimitive ( ) ) { if ( boolean . class . isAssignableFrom ( field . getType ( ) ) ) field . set ( instance , false ) ; else if ( ... |
public class SecurityPolicyClient { /** * Gets a rule at the specified priority .
* < p > Sample code :
* < pre > < code >
* try ( SecurityPolicyClient securityPolicyClient = SecurityPolicyClient . create ( ) ) {
* Integer priority = 0;
* ProjectGlobalSecurityPolicyName securityPolicy = ProjectGlobalSecurityP... | GetRuleSecurityPolicyHttpRequest request = GetRuleSecurityPolicyHttpRequest . newBuilder ( ) . setPriority ( priority ) . setSecurityPolicy ( securityPolicy ) . build ( ) ; return getRuleSecurityPolicy ( request ) ; |
public class LRImporter { /** * Get a result from an obtain request
* @ param resumptionToken the " resumption _ token " value to use for this request
* @ return the result from this request */
public LRResult getObtainJSONData ( String resumptionToken ) throws LRException { } } | return getObtainJSONData ( null , null , null , null , resumptionToken ) ; |
public class LinkedServersInner { /** * Adds a linked server to the Redis cache ( requires Premium SKU ) .
* @ param resourceGroupName The name of the resource group .
* @ param name The name of the Redis cache .
* @ param linkedServerName The name of the linked server that is being added to the Redis cache .
*... | return ServiceFuture . fromResponse ( createWithServiceResponseAsync ( resourceGroupName , name , linkedServerName , parameters ) , serviceCallback ) ; |
public class ResourcePageImpl { /** * Makes a request to the service to retrieve the next page of resources
* in the collection .
* @ param extractor an optional result extractor object
* @ return the next page of results */
public ResourcePageImpl nextPage ( ResultCapture < Object > extractor ) { } } | if ( getNextToken ( ) == null ) { throw new NoSuchElementException ( "There is no next page" ) ; } ActionResult result = ActionUtils . perform ( context , listActionModel , request , extractor , getNextToken ( ) ) ; return new ResourcePageImpl ( context , listActionModel , request , result ) ; |
public class RepositoryTrigger { /** * The branches that will be included in the trigger configuration . If you specify an empty array , the trigger will
* apply to all branches .
* < note >
* While no content is required in the array , you must include the array itself .
* < / note >
* < b > NOTE : < / b > T... | if ( this . branches == null ) { setBranches ( new java . util . ArrayList < String > ( branches . length ) ) ; } for ( String ele : branches ) { this . branches . add ( ele ) ; } return this ; |
public class ColorServlet { /** * Renders the 1 x 1 single color PNG to the response .
* @ see ColorServlet class description
* @ param pRequest the request
* @ param pResponse the response
* @ throws IOException
* @ throws ServletException */
public void service ( ServletRequest pRequest , ServletResponse pR... | int red = 0 ; int green = 0 ; int blue = 0 ; // Get color parameter and parse color
String rgb = pRequest . getParameter ( RGB_PARAME ) ; if ( rgb != null && rgb . length ( ) >= 6 && rgb . length ( ) <= 7 ) { int index = 0 ; // If the hash ( ' # ' ) character is included , skip it .
if ( rgb . length ( ) == 7 ) { index... |
public class CalendarRecordItem { /** * Get the icon ( opt ) . Not implemented .
* @ return The icon . */
public Object getIcon ( int iIconType ) { } } | if ( m_iIconField == - 1 ) return null ; Object data = this . getFieldData ( m_iIconField ) ; if ( data instanceof PortableImage ) return ( ( PortableImage ) data ) . getImage ( ) ; // Make sure you cache this
else // if ( data instanceof ImageIcon )
return this . getFieldData ( m_iIconField ) ; // else
// return null ... |
public class TrelloImpl { /** * / * Organizations */
@ Override public List < Board > getOrganizationBoards ( String organizationId , Argument ... args ) { } } | return asList ( ( ) -> get ( createUrl ( GET_ORGANIZATION_BOARD ) . params ( args ) . asString ( ) , Board [ ] . class , organizationId ) ) ; |
public class RPCParameter { /** * Returns the type of data contained in the parameter .
* @ return Type of data . */
public HasData hasData ( ) { } } | boolean scalar = values . containsKey ( "" ) ; boolean vector = scalar ? getCount ( ) > 1 : getCount ( ) > 0 ; return scalar && vector ? HasData . BOTH : scalar ? HasData . SCALAR : vector ? HasData . VECTOR : HasData . NONE ; |
public class RegistryConfig { /** * Sets parameters .
* @ param parameters the parameters
* @ return the RegistryConfig */
public RegistryConfig setParameters ( Map < String , String > parameters ) { } } | if ( this . parameters == null ) { this . parameters = new ConcurrentHashMap < String , String > ( ) ; this . parameters . putAll ( parameters ) ; } return this ; |
public class ContactType { /** * Get the table name . */
public String getTableNames ( boolean bAddQuotes ) { } } | return ( m_tableName == null ) ? Record . formatTableNames ( CONTACT_TYPE_FILE , bAddQuotes ) : super . getTableNames ( bAddQuotes ) ; |
public class CloudSchedulerClient { /** * Creates a job .
* < p > Sample code :
* < pre > < code >
* try ( CloudSchedulerClient cloudSchedulerClient = CloudSchedulerClient . create ( ) ) {
* LocationName parent = LocationName . of ( " [ PROJECT ] " , " [ LOCATION ] " ) ;
* Job job = Job . newBuilder ( ) . bui... | CreateJobRequest request = CreateJobRequest . newBuilder ( ) . setParent ( parent ) . setJob ( job ) . build ( ) ; return createJob ( request ) ; |
public class DrawerUIUtils { /** * helper to create a colorStateList for the text
* @ param text _ color
* @ param selected _ text _ color
* @ return */
public static ColorStateList getTextColorStateList ( int text_color , int selected_text_color ) { } } | return new ColorStateList ( new int [ ] [ ] { new int [ ] { android . R . attr . state_selected } , new int [ ] { } } , new int [ ] { selected_text_color , text_color } ) ; |
public class ByteBufQueue { /** * Returns the ByteBuf of the given index relatively to the { @ code first }
* index ( head ) of the queue .
* @ param n index of the ByteBuf to return ( relatively to the head of the queue )
* @ return a ByteBuf of the given index */
@ NotNull @ Contract ( pure = true ) public Byte... | assert n <= remainingBufs ( ) ; int i = first + n ; if ( i >= bufs . length ) i -= bufs . length ; return bufs [ i ] ; |
public class TitlePaneMaximizeButtonPainter { /** * Paint the background of the button using the specified colors .
* @ param g the Graphics2D context to paint with .
* @ param c the component .
* @ param width the width of the component .
* @ param height the height of the component .
* @ param colors the co... | g . setRenderingHint ( RenderingHints . KEY_ANTIALIASING , RenderingHints . VALUE_ANTIALIAS_OFF ) ; g . setColor ( colors . top ) ; g . drawLine ( 0 , 0 , width - 2 , 0 ) ; g . setColor ( colors . left ) ; g . drawLine ( 0 , 1 , 0 , height - 3 ) ; g . setColor ( colors . edge ) ; g . drawLine ( width - 1 , 0 , width - ... |
public class AbstractPojoPropertyAccessorBuilder { /** * This method gets the according { @ link net . sf . mmm . util . pojo . descriptor . api . PojoPropertyDescriptor # getName ( )
* property - name } for the given { @ code methodName } . < br >
* This is the un - capitalized substring of the { @ code methodName... | int len = methodName . length ( ) ; int end = len - suffixLength ; if ( prefixLength < end ) { String methodSuffix = methodName . substring ( prefixLength , end ) ; StringBuffer sb = new StringBuffer ( methodSuffix ) ; sb . setCharAt ( 0 , Character . toLowerCase ( methodSuffix . charAt ( 0 ) ) ) ; return sb . toString... |
public class HttpSender { /** * Send a file full of events to the collector . This does zero - bytes - copy by default ( the async - http - client does
* it for us ) .
* @ param file File to send
* @ param handler callback handler for the serialization - writer library */
@ Override public void send ( final File ... | log . info ( "Sending local file to collector: {}" , file . getAbsolutePath ( ) ) ; final long startTime = System . nanoTime ( ) ; final AsyncCompletionHandler < Response > asyncCompletionHandler = new AsyncCompletionHandler < Response > ( ) { @ Override public Response onCompleted ( final Response response ) { activeR... |
public class SubscriptionIndex { /** * Get number of durable subscriptions .
* @ return number of durable subscriptions . */
public synchronized int getDurableSubscriptions ( ) { } } | if ( tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "getDurableSubscriptions" ) ; if ( tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "getDurableSubscriptions" , new Integer ( durableSubscriptions ) ) ; return durableSubscriptions ; |
public class SpecTopic { /** * Gets the list of Topic Relationships for this topic whose type is " NEXT " .
* @ return A list of next topic relationships */
public List < TopicRelationship > getNextTopicRelationships ( ) { } } | ArrayList < TopicRelationship > relationships = new ArrayList < TopicRelationship > ( ) ; for ( TopicRelationship relationship : topicRelationships ) { if ( relationship . getType ( ) == RelationshipType . NEXT ) { relationships . add ( relationship ) ; } } for ( TargetRelationship relationship : topicTargetRelationshi... |
public class ICalComponent { /** * Gets the first property of a given class .
* @ param clazz the property class
* @ param < T > the property class
* @ return the property or null if not found */
public < T extends ICalProperty > T getProperty ( Class < T > clazz ) { } } | return clazz . cast ( properties . first ( clazz ) ) ; |
public class Throwables { /** * Returns the Throwable ' s cause chain as a list . The first entry is the Throwable followed by the cause chain .
* @ param throwable The Throwable
* @ return The Throwable and its cause chain */
public static List < Throwable > getCausalChain ( final Throwable throwable ) { } } | if ( throwable == null ) { throw new NullPointerException ( "Throwable is null" ) ; } List < Throwable > causes = new ArrayList < Throwable > ( ) ; causes . add ( throwable ) ; Throwable cause = throwable . getCause ( ) ; while ( ( cause != null ) && ( ! causes . contains ( cause ) ) ) { causes . add ( cause ) ; cause ... |
public class GenericBoJdbcDao { /** * Create / Persist a new BO to storage .
* @ param conn
* @ param bo
* @ return
* @ since 0.8.1 */
protected DaoResult create ( Connection conn , T bo ) { } } | if ( bo == null ) { return null ; } Savepoint savepoint = null ; try { try { savepoint = conn . getAutoCommit ( ) ? null : conn . setSavepoint ( ) ; int numRows = execute ( conn , calcSqlInsert ( bo ) , rowMapper . valuesForColumns ( bo , rowMapper . getInsertColumns ( ) ) ) ; DaoResult result = numRows > 0 ? new DaoRe... |
public class JXLCellFormatter { /** * ロケールを指定してセルの値をフォーマットする 。
* @ since 0.3
* @ param cell フォーマット対象のセル
* @ param locale フォーマットしたロケール 。 nullでも可能 。
* ロケールに依存する場合 、 指定したロケールにより自動的に切り替わります 。
* @ param isStartDate1904 ファイルの設定が1904年始まりかどうか 。
* { @ link JXLUtils # isDateStart1904 ( jxl . Sheet ) } で値を調べます 。 ... | ArgUtils . notNull ( cell , "cell" ) ; final Locale runtimeLocale = locale != null ? locale : Locale . getDefault ( ) ; final CellType cellType = cell . getType ( ) ; if ( cellType == CellType . EMPTY ) { final CellFormatResult result = new CellFormatResult ( ) ; result . setCellType ( FormatCellType . Blank ) ; result... |
public class MineBugHistory { /** * This is how dump ( ) was implemented up to and including version 0.9.5. */
public void dumpXml ( PrintStream out ) { } } | out . println ( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" ) ; out . println ( "<history>" ) ; String startData = " <data " ; String stop = "/>" ; for ( int i = 0 ; i < versionList . length ; ++ i ) { Version version = versionList [ i ] ; AppVersion appVersion = sequenceToAppVersionMap . get ( version . getSequenc... |
public class CPDefinitionOptionRelPersistenceImpl { /** * Clears the cache for the cp definition option rel .
* The { @ link EntityCache } and { @ link FinderCache } are both cleared by this method . */
@ Override public void clearCache ( CPDefinitionOptionRel cpDefinitionOptionRel ) { } } | entityCache . removeResult ( CPDefinitionOptionRelModelImpl . ENTITY_CACHE_ENABLED , CPDefinitionOptionRelImpl . class , cpDefinitionOptionRel . getPrimaryKey ( ) ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITH_PAGINATION ) ; finderCache . clearCache ( FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION ) ; clearUniqu... |
public class AVIMConversation { /** * 设置当前聊天对话的属性
* @ param attr
* @ since 3.0 */
public void setAttributes ( Map < String , Object > attr ) { } } | pendingAttributes . clear ( ) ; pendingAttributes . putAll ( attr ) ; |
public class MonitorAndManagementSettings { /** * Creates a new instance of MonitorAndManagementSettings from a classpath
* resource xml settings file .
* @ param settingsXml Path of a classpath resource xml settings file
* @ return a new instance of { @ link # MonitorAndManagementSettings }
* @ throws java . i... | InputStream istream = MonitorAndManagementSettings . class . getResourceAsStream ( settingsXml ) ; JAXBContext ctx = JAXBContext . newInstance ( MonitorAndManagementSettings . class ) ; return ( MonitorAndManagementSettings ) ctx . createUnmarshaller ( ) . unmarshal ( istream ) ; |
public class Frame { /** * Makes the given { @ link MethodWriter } visit the input frame of this { @ link Frame } . The visit is
* done with the { @ link MethodWriter # visitFrameStart } , { @ link MethodWriter # visitAbstractType } and
* { @ link MethodWriter # visitFrameEnd } methods .
* @ param methodWriter th... | // Compute the number of locals , ignoring TOP types that are just after a LONG or a DOUBLE , and
// all trailing TOP types .
int [ ] localTypes = inputLocals ; int nLocal = 0 ; int nTrailingTop = 0 ; int i = 0 ; while ( i < localTypes . length ) { int localType = localTypes [ i ] ; i += ( localType == LONG || localTyp... |
public class DateMath { /** * Use this instead of Instant . toString ( ) to ensure you always end up with the same pattern instead of ' smartly '
* loosing fractionals depending on what time it is .
* @ param date
* an instant
* @ return iso instant of the form " 1974-10-20T00:00:00.000Z " with 3 fractionals , ... | return CONSISTENT_ISO_INSTANT . format ( date . atZone ( ZoneOffset . UTC ) ) ; |
public class BarcodeCodabar { /** * Creates the bars .
* @ param text the text to create the bars
* @ return the bars */
public static byte [ ] getBarsCodabar ( String text ) { } } | text = text . toUpperCase ( ) ; int len = text . length ( ) ; if ( len < 2 ) throw new IllegalArgumentException ( "Codabar must have at least a start and stop character." ) ; if ( CHARS . indexOf ( text . charAt ( 0 ) ) < START_STOP_IDX || CHARS . indexOf ( text . charAt ( len - 1 ) ) < START_STOP_IDX ) throw new Illeg... |
public class OpenSSLKey { /** * Decrypts the private key with given password .
* Does nothing if the key is not encrypted .
* @ param password password to decrypt the key with .
* @ throws GeneralSecurityException whenever an error occurs during decryption . */
public void decrypt ( byte [ ] password ) throws Gen... | if ( ! isEncrypted ( ) ) { return ; } byte [ ] enc = Base64 . decode ( this . encodedKey ) ; SecretKeySpec key = getSecretKey ( password , this . initializationVector . getIV ( ) ) ; Cipher cipher = getCipher ( ) ; cipher . init ( Cipher . DECRYPT_MODE , key , this . initializationVector ) ; enc = cipher . doFinal ( en... |
public class CPAttachmentFileEntryLocalServiceBaseImpl { /** * Creates a new cp attachment file entry with the primary key . Does not add the cp attachment file entry to the database .
* @ param CPAttachmentFileEntryId the primary key for the new cp attachment file entry
* @ return the new cp attachment file entry ... | return cpAttachmentFileEntryPersistence . create ( CPAttachmentFileEntryId ) ; |
public class RungeKuttaFelberg { /** * Writes ( in ascii format ) to a specified file the values of the function described by
* differential equations in the the intermidia steps requested to go from the Initial to the
* Final time . This method is very specific for solving equations of flow in a network . It
* p... | isAtFinalSubtimestep = false ; double intervalStartTimeInMinutes = currentTimstamp . getMillis ( ) / 1000d / 60d ; double intervalEndTimeInMinutes = intervalStartTimeInMinutes + modelTimestepInMinutes ; // the running time inside the interval
double currentTimeInMinutes = intervalStartTimeInMinutes ; // the end time in... |
public class Options { /** * Returns the given option value .
* @ param key
* the option name .
* @ return the complex option */
public IComplexOption getComplexOption ( String key ) { } } | Object object = this . options . get ( key ) ; if ( object instanceof IComplexOption ) return ( IComplexOption ) object ; return null ; |
public class WorkflowDemoNERD { /** * Sometimes , you might already be using Stanford NER elsewhere in
* your application , and you ' d like to just pass the output from
* Stanford NER directly into CLAVIN , without having to re - run the
* input through Stanford NER just to use CLAVIN . This example
* shows yo... | /* * Start with Stanford NER - - no need to get CLAVIN involved for now . */
// instantiate Stanford NER entity extractor
InputStream mpis = WorkflowDemoNERD . class . getClassLoader ( ) . getResourceAsStream ( "models/english.all.3class.distsim.prop" ) ; Properties mp = new Properties ( ) ; mp . load ( mpis ) ; Abstra... |
public class ColorPickerPalette { /** * Appends a swatch to the end of the row for even - numbered rows ( starting with row 0 ) ,
* to the beginning of a row for odd - numbered rows . */
private void addSwatchToRow ( TableRow row , View swatch , int rowNumber ) { } } | if ( rowNumber % 2 == 0 ) { row . addView ( swatch ) ; } else { row . addView ( swatch , 0 ) ; } |
public class MemberSummaryBuilder { /** * Test whether the method is a getter .
* @ param element property method documentation . Needs to be either property
* method , property getter , or property setter .
* @ return true if the given documentation belongs to a getter . */
private boolean isGetter ( Element ele... | final String pedName = element . getSimpleName ( ) . toString ( ) ; return pedName . startsWith ( "get" ) || pedName . startsWith ( "is" ) ; |
public class HashBiMap { /** * Constructs a new , empty bimap with the specified expected size .
* @ param expectedSize the expected number of entries
* @ throws IllegalArgumentException if the specified expected size is negative */
public static < K , V > HashBiMap < K , V > create ( int expectedSize ) { } } | return new HashBiMap < K , V > ( expectedSize ) ; |
public class Util { /** * Decode an X509 certificate chain .
* @ param codec The codec to do the decoding of the Any .
* @ param encodedCertChain The codec encoded byte [ ] containing the X509 certificate chain .
* @ return the X509 certificate chain
* @ throws SASException */
@ SuppressWarnings ( "unchecked" )... | X509Certificate [ ] certificateChain = null ; try { Any any = codec . decode_value ( encodedCertChain , X509CertificateChainHelper . type ( ) ) ; byte [ ] decodedCertificateChain = X509CertificateChainHelper . extract ( any ) ; CertificateFactory certificateFactory = CertificateFactory . getInstance ( "X.509" ) ; ByteA... |
public class ConvertorHelper { /** * 根据class获取对应的convertor
* @ return */
public Convertor getConvertor ( Class src , Class dest ) { } } | if ( src == dest ) { // 对相同类型的直接忽略 , 不做转换
return null ; } // 按照src - > dest来取映射
Convertor convertor = repository . getConvertor ( src , dest ) ; // 处理下Array | Collection的映射
// 如果src | dest是array类型 , 取一下Array . class的映射 , 因为默认数组处理的注册直接注册了Array . class
boolean isSrcArray = src . isArray ( ) ; boolean isDestArray = dest .... |
public class ConnectedIconsProvider { /** * Initializes the connected icons . < br >
* Fills up the { @ link # icons } array . */
protected void initializeIcons ( ) { } } | float f = 1F / 3F ; icons [ LEFT | TOP ] = part1 . copy ( ) . clip ( 0 , 0 , f , f ) ; icons [ TOP ] = part1 . copy ( ) . clip ( f , 0 , f , f ) ; icons [ RIGHT | TOP ] = part1 . copy ( ) . clip ( 2 * f , 0 , f , f ) ; icons [ LEFT ] = part1 . copy ( ) . clip ( 0 , f , f , f ) ; icons [ NONE ] = part1 . copy ( ) . clip... |
public class DescribeImagesExample { /** * Describe all available AMIs within aws - mock .
* @ return a list of AMIs */
public static List < Image > describeAllImages ( ) { } } | // pass any credentials as aws - mock does not authenticate them at all
AWSCredentials credentials = new BasicAWSCredentials ( "foo" , "bar" ) ; AmazonEC2Client amazonEC2Client = new AmazonEC2Client ( credentials ) ; // the mock endpoint for ec2 which runs on your computer
String ec2Endpoint = "http://localhost:8000/aw... |
public class LicenseClient { /** * Sets the access control policy on the specified resource . Replaces any existing policy .
* < p > Sample code :
* < pre > < code >
* try ( LicenseClient licenseClient = LicenseClient . create ( ) ) {
* ProjectGlobalLicenseResourceName resource = ProjectGlobalLicenseResourceNam... | SetIamPolicyLicenseHttpRequest request = SetIamPolicyLicenseHttpRequest . newBuilder ( ) . setResource ( resource ) . setGlobalSetPolicyRequestResource ( globalSetPolicyRequestResource ) . build ( ) ; return setIamPolicyLicense ( request ) ; |
public class SearchQuery { /** * Converts the human readable string to the proper enum
* @ param type The string to parse
* @ return The parsed enum
* @ throws IllegalArgumentException if the type is missing or wsa not
* recognized */
public static SearchType parseSearchType ( final String type ) { } } | if ( type == null || type . isEmpty ( ) ) { throw new IllegalArgumentException ( "Type provided was null or empty" ) ; } if ( type . toLowerCase ( ) . equals ( "tsmeta" ) ) { return SearchType . TSMETA ; } else if ( type . toLowerCase ( ) . equals ( "tsmeta_summary" ) ) { return SearchType . TSMETA_SUMMARY ; } else if ... |
public class MoreObjects { /** * { @ link Class # getSimpleName ( ) } is not GWT compatible yet , so we
* provide our own implementation . */
private static String simpleName ( Class < ? > clazz ) { } } | String name = clazz . getName ( ) ; // the nth anonymous class has a class name ending in " Outer $ n "
// and local inner classes have names ending in " Outer . $ 1Inner "
name = name . replaceAll ( "\\$[0-9]+" , "\\$" ) ; // we want the name of the inner class all by its lonesome
int start = name . lastIndexOf ( '$' ... |
public class BuilderFactory { /** * Return an instance of the field builder for the given class .
* @ return an instance of the field builder for the given class . */
public AbstractBuilder getFieldBuilder ( ClassWriter classWriter ) throws Exception { } } | return FieldBuilder . getInstance ( context , classWriter . getClassDoc ( ) , writerFactory . getFieldWriter ( classWriter ) ) ; |
public class NetworkUtil { /** * Convert a string URI to an object URI .
* < p > This function support the syntax " : * " for the port .
* @ param uri the string representation of the URI to parse .
* @ return the URI .
* @ throws URISyntaxException - if the given string has invalid format . */
public static UR... | final URI u = new URI ( uri ) ; // Inspired by ZeroMQ
String adr = u . getAuthority ( ) ; if ( adr == null ) { adr = u . getPath ( ) ; } if ( adr != null && adr . endsWith ( ":*" ) ) { // $ NON - NLS - 1 $
return new URI ( u . getScheme ( ) , u . getUserInfo ( ) , adr . substring ( 0 , adr . length ( ) - 2 ) , - 1 , nu... |
public class ConstructorWriterImpl { /** * { @ inheritDoc } */
public String [ ] getSummaryTableHeader ( ProgramElementDoc member ) { } } | String [ ] header ; if ( foundNonPubConstructor ) { header = new String [ ] { configuration . getText ( "doclet.Modifier" ) , configuration . getText ( "doclet.0_and_1" , configuration . getText ( "doclet.Constructor" ) , configuration . getText ( "doclet.Description" ) ) } ; } else { header = new String [ ] { configur... |
public class ConversionAnalyzer { /** * Checks for the existence of a conversion method .
* @ param destination destination field
* @ param source source field
* @ return true if the conversion method exists , false otherwise */
public boolean fieldsToCheck ( Field destination , Field source ) { } } | destinationName = destination . getName ( ) ; sourceName = source . getName ( ) ; if ( ! xml . conversionsLoad ( ) . isEmpty ( ) ) { configurationType = XML ; if ( config == DESTINATION ) { if ( existsXmlConversion ( destinationClass ) ) { membership = Membership . DESTINATION ; return true ; } if ( existsXmlConversion... |
public class AmazonIdentityManagementClient { /** * Sets the specified version of the global endpoint token as the token version used for the AWS account .
* By default , AWS Security Token Service ( STS ) is available as a global service , and all STS requests go to a
* single endpoint at < code > https : / / sts ... | request = beforeClientExecution ( request ) ; return executeSetSecurityTokenServicePreferences ( request ) ; |
public class BaasAsset { /** * Asynchronously retrieves named assets data ,
* If the named asset is a document , the document is retrieved
* otherwise attached data to the file are returned .
* @ param id the name of the asset
* @ param flags used for the request a bit or of { @ link RequestOptions } constants ... | if ( id == null ) throw new IllegalArgumentException ( "asset id cannot be null" ) ; BaasBox box = BaasBox . getDefaultChecked ( ) ; AssetDataRequest req = new AssetDataRequest ( box , id , flags , handler ) ; return box . submitAsync ( req ) ; |
public class CmsADEManager { /** * Saves the inheritance container information . < p >
* @ param cms the current cms context
* @ param pageResource the resource or parent folder
* @ param name the inheritance name
* @ param newOrder if the element have been reordered
* @ param elements the elements
* @ thro... | CmsContainerConfigurationWriter writer = new CmsContainerConfigurationWriter ( ) ; writer . save ( cms , name , newOrder , pageResource , elements ) ; // Inheritance groups are usually reloaded directly after saving them ,
// so the cache needs to be up to date after this method is called
m_offlineContainerConfiguratio... |
public class CmsDocumentDependency { /** * Adds another language version document dependency to this document . < p >
* @ param dep the language version document dependency to add */
public void addVariant ( CmsDocumentDependency dep ) { } } | // check if already exists
for ( CmsDocumentDependency lang : m_variants ) { if ( lang . getLocale ( ) . equals ( dep . getLocale ( ) ) ) { return ; } } dep . setType ( DependencyType . variant ) ; m_variants . add ( dep ) ; addDependency ( dep ) ; |
public class ProducerSessionProxy { /** * Proxies the identically named method on the server .
* Sends the msg to the Destination specified in the createProducerSessionCall .
* Optionally , a transaction may be supplied . Optionally , a QualityOfService may
* be supplied , which must be no stronger than that of t... | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "send" , new Object [ ] { msg , tran } ) ; try { closeLock . readLock ( ) . lockInterruptibly ( ) ; try { checkAlreadyClosed ( ) ; // XCT Instrumentation for SIBus
// lohith liberty change
/* if ( XctSettings . isAnyE... |
public class ExpressionsParser { /** * TODO add checks to see if an LHS that isn ' t valid for assignment shows up as a syntax error of some sort , e . g . a . b ( ) = 2; */
Rule assignmentExpression ( ) { } } | return Sequence ( assignmentLHS ( ) , set ( ) , assignmentOperator ( ) . label ( "operator" ) , group . basics . optWS ( ) , assignmentExpressionChaining ( ) . label ( "RHS" ) , set ( actions . createAssignmentExpression ( value ( ) , text ( "operator" ) , lastValue ( ) ) ) ) ; |
public class Sneaky { /** * Wrap a { @ link org . jooq . lambda . fi . util . function . CheckedBiFunction } in a { @ link BiFunction } .
* Example :
* < code > < pre >
* map . computeIfPresent ( " key " , Unchecked . biFunction ( ( k , v ) - > {
* if ( k = = null | | v = = null )
* throw new Exception ( " No... | return Unchecked . biFunction ( function , Unchecked . RETHROW_ALL ) ; |
public class AbstractXbaseCompiler { /** * / * @ Nullable */
protected String getReferenceName ( XExpression expr , ITreeAppendable b ) { } } | if ( b . hasName ( expr ) ) return b . getName ( expr ) ; if ( expr instanceof XFeatureCall ) { XFeatureCall featureCall = ( XFeatureCall ) expr ; if ( b . hasName ( featureCall . getFeature ( ) ) ) return b . getName ( featureCall . getFeature ( ) ) ; } return null ; |
public class SourceMapConsumerV3 { /** * Parses the given contents containing a source map . */
@ Override public void parse ( String contents ) throws SourceMapParseException { } } | SourceMapObject sourceMapObject = SourceMapObjectParser . parse ( contents ) ; parse ( sourceMapObject , null ) ; |
public class JDBCWorkspaceDataContainer { /** * { @ inheritDoc } */
public Long getNodesCount ( ) throws RepositoryException { } } | WorkspaceStorageConnection conn = connFactory . openConnection ( ) ; try { return conn . getNodesCount ( ) ; } finally { conn . close ( ) ; } |
public class GrailsASTUtils { /** * Adds a static method to the given class node that delegates to the given method
* and resolves the object to invoke the method on from the given expression .
* @ param expression The expression
* @ param classNode The class node
* @ param delegateMethod The delegate method
... | return addDelegateStaticMethod ( expression , classNode , delegateMethod , null , null , true ) ; |
public class ParagraphVectors { /** * This method predicts label of the document .
* Computes a similarity wrt the mean of the
* representation of words in the document
* @ param document the document
* @ return the word distances for each label */
public String predict ( List < VocabWord > document ) { } } | /* This code was transferred from original ParagraphVectors DL4j implementation , and yet to be tested */
if ( document . isEmpty ( ) ) throw new IllegalStateException ( "Document has no words inside" ) ; /* INDArray arr = Nd4j . create ( document . size ( ) , this . layerSize ) ;
for ( int i = 0 ; i < document . siz... |
public class UserService { /** * This method expects absolute DNs of group members . In order to find the actual users
* the DNs need to have the base LDAP path removed .
* @ param absoluteIds
* @ return */
public Set < User > findAllMembers ( Iterable < Name > absoluteIds ) { } } | return Sets . newLinkedHashSet ( userRepo . findAll ( toRelativeIds ( absoluteIds ) ) ) ; |
public class WebDriverWaitUtils { /** * Waits until the current page ' s title contains a case - sensitive substring of the given title .
* @ param pageTitle
* title of page expected to appear */
public static void waitUntilPageTitleContains ( final String pageTitle ) { } } | logger . entering ( pageTitle ) ; Preconditions . checkArgument ( StringUtils . isNotEmpty ( pageTitle ) , "Expected Page title cannot be null (or) empty." ) ; ExpectedCondition < Boolean > condition = ExpectedConditions . titleContains ( pageTitle ) ; waitForCondition ( condition ) ; logger . exiting ( ) ; |
public class MapEventPublisherImpl { /** * Hook for actions to perform after any of { @ link # publishEvent }
* methods is executed and if there were any registrations for
* the event . This method will be invoked once per unique { @ link
* EntryEventData } generated by { @ code publishEvent } , regardless
* of... | // publish event data of interest to query caches ; since query cache listener registrations
// include values ( as these are required to properly filter according to the query cache ' s predicate ) ,
// we do not take into account eventDataExcludingValues , if any were generated
if ( eventDataIncludingValues != null )... |
public class SMSSenderOlmImpl { /** * / * ( non - Javadoc )
* @ see org . esupportail . smsuapi . services . sms . ISMSSender
* # sendMessage ( org . esupportail . smsuapi . domain . beans . sms . SMSMessage ) */
public void sendMessage ( final SMSBroker sms ) { } } | final int smsId = sms . getId ( ) ; final String smsRecipient = sms . getRecipient ( ) ; final String smsMessage = sms . getMessage ( ) ; if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Entering into send message with parameter : " ) ; logger . debug ( " - message id : " + smsId ) ; logger . debug ( " - mess... |
public class ModelRegistry { /** * Registers date converters ( Date - > String - > java . sql . Date ) for specified model attributes . */
void dateFormat ( DateFormat format , String ... attributes ) { } } | convertWith ( new DateToStringConverter ( format ) , attributes ) ; convertWith ( new StringToSqlDateConverter ( format ) , attributes ) ; |
public class CommerceDiscountRulePersistenceImpl { /** * Returns the first commerce discount rule in the ordered set where commerceDiscountId = & # 63 ; .
* @ param commerceDiscountId the commerce discount ID
* @ param orderByComparator the comparator to order the set by ( optionally < code > null < / code > )
* ... | CommerceDiscountRule commerceDiscountRule = fetchByCommerceDiscountId_First ( commerceDiscountId , orderByComparator ) ; if ( commerceDiscountRule != null ) { return commerceDiscountRule ; } StringBundler msg = new StringBundler ( 4 ) ; msg . append ( _NO_SUCH_ENTITY_WITH_KEY ) ; msg . append ( "commerceDiscountId=" ) ... |
public class Model { /** * Get attribute of mysql type : time */
public java . sql . Time getTime ( String attr ) { } } | return ( java . sql . Time ) attrs . get ( attr ) ; |
public class Plugin { /** * Controls the file where { @ link # load ( ) } and { @ link # save ( ) }
* persists data .
* This method can be also overridden if the plugin wants to
* use a custom { @ link XStream } instance to persist data .
* @ since 1.245 */
protected XmlFile getConfigXml ( ) { } } | return new XmlFile ( Jenkins . XSTREAM , new File ( Jenkins . getInstance ( ) . getRootDir ( ) , wrapper . getShortName ( ) + ".xml" ) ) ; |
public class Builder { /** * Starts an HTML tag . It has no effect on the plain text version .
* @ param tag the tag name
* @ param attributes attributes full text , like " style = ' color : red ' "
* @ return this builder */
public Builder tag ( String tag , String attributes ) { } } | ends . push ( "</" + tag + ">" ) ; html . a ( '<' ) . a ( tag ) . sp ( ) . a ( attributes ) . a ( '>' ) ; return this ; |
public class Code { /** * 查询基础代码是否具有扩展属性 , 一般供子类使用 。 */
public boolean hasExtPros ( ) { } } | Field [ ] fields = getClass ( ) . getDeclaredFields ( ) ; for ( int i = 0 ; i < fields . length ; i ++ ) { if ( ! ( Modifier . isFinal ( fields [ i ] . getModifiers ( ) ) || Modifier . isStatic ( fields [ i ] . getModifiers ( ) ) ) ) { return true ; } } return false ; |
public class TCPChannel { /** * @ see com . ibm . wsspi . channelfw . Channel # init ( ) */
@ Override public void init ( ) throws ChannelException { } } | if ( this . config . isInbound ( ) ) { // Customize the TCPChannel configuration object so that it knows
// what port to use for this chain .
this . endPoint = createEndPoint ( ) ; initializePort ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , " listening port: " + t... |
public class RemoteLockMapImpl { /** * generate a writer lock entry for transaction tx on object obj
* and write it to the persistent storage . */
public boolean setWriter ( TransactionImpl tx , Object obj ) { } } | try { LockEntry lock = new LockEntry ( new Identity ( obj , getBroker ( ) ) . toString ( ) , tx . getGUID ( ) , System . currentTimeMillis ( ) , LockStrategyFactory . getIsolationLevel ( obj ) , LockEntry . LOCK_WRITE ) ; setWriterRemote ( lock ) ; return true ; } catch ( Throwable t ) { log . error ( "Cannot set LockE... |
public class ConsistencyCheck { /** * Determine the consistency level of a key
* @ param versionNodeSetMap A map that maps version to set of PrefixNodes
* @ param replicationFactor Total replication factor for the set of clusters
* @ return ConsistencyLevel Enum */
public static ConsistencyLevel determineConsiste... | boolean fullyConsistent = true ; Value latestVersion = null ; for ( Map . Entry < Value , Set < ClusterNode > > versionNodeSetEntry : versionNodeSetMap . entrySet ( ) ) { Value value = versionNodeSetEntry . getKey ( ) ; if ( latestVersion == null ) { latestVersion = value ; } else if ( value . isTimeStampLaterThan ( la... |
public class MessageRouterConfigurator { /** * Lazy activation and retrieval of the MessageRouter . */
protected WsMessageRouterImpl getMessageRouter ( ) { } } | if ( msgRouter == null ) { // First activation .
msgRouter = MessageRouterSingleton . singleton ; // Pass the MessageRouter to the TrService via the TrConfigurator .
TrConfigurator . setMessageRouter ( msgRouter ) ; // Register this guy as a BundleListener , looking for new Bundles as they
// are added to the framework... |
public class CoordinatorAdminUtils { /** * Utility function that copies a string array except for the first element
* @ param arr Original array of strings
* @ return Copied array of strings */
public static String [ ] copyArrayCutFirst ( String [ ] arr ) { } } | if ( arr . length > 1 ) { String [ ] arrCopy = new String [ arr . length - 1 ] ; System . arraycopy ( arr , 1 , arrCopy , 0 , arrCopy . length ) ; return arrCopy ; } else { return new String [ 0 ] ; } |
public class CellStyleProxy { /** * インデントを設定する
* @ param indent インデントの値 */
public void setIndent ( final short indent ) { } } | if ( cell . getCellStyle ( ) . getIndention ( ) == indent ) { // 既にインデントが同じ値
return ; } cloneStyle ( ) ; cell . getCellStyle ( ) . setIndention ( indent ) ; |
public class StatusRepresentation { /** * Initializes the object to contain the given status .
* @ param source
* a string describing where the tweet came from
* @ param jsonString
* a string representing the Twitter status in JSON format
* @ return this object */
public StatusRepresentation init ( String sou... | if ( jsonString == null || jsonString . contains ( "{" ) ) return init ( source , null , jsonString , null ) ; // if the input doesn ' t look like a JSON string , it might be a simple
// status ID
init ( source , null , null , null ) ; _id = Long . valueOf ( jsonString . trim ( ) ) ; return this ; |
public class ServletTreeRenderSupport { /** * Errors during rendering will call through this method . During the XmlHttpRequest , these
* will just be logged and we will go on .
* @ param message
* @ param e
* @ throws JspException */
protected void registerTagError ( String message , Throwable e ) throws JspEx... | System . err . println ( "Error in rendering tree:" + message ) ; logger . error ( message , e ) ; |
public class Futures { /** * Creates a { @ link CheckedFuture } out of a normal { @ link ListenableFuture }
* and a { @ link Function } that maps from { @ link Exception } instances into the
* appropriate checked type .
* < p > The given mapping function will be applied to an
* { @ link InterruptedException } ,... | return new MappingCheckedFuture < V , X > ( checkNotNull ( future ) , mapper ) ; |
public class MapperHelper { /** * 配置属性
* @ param properties */
public void setProperties ( Properties properties ) { } } | config . setProperties ( properties ) ; // 注册解析器
if ( properties != null ) { String resolveClass = properties . getProperty ( "resolveClass" ) ; if ( StringUtil . isNotEmpty ( resolveClass ) ) { try { EntityHelper . setResolve ( ( EntityResolve ) Class . forName ( resolveClass ) . newInstance ( ) ) ; } catch ( Exceptio... |
public class PhpDependencyResolver { /** * convert phpPackage to dependencyInfo object */
private DependencyInfo createDependencyInfo ( PhpPackage phpPackage ) { } } | String groupId = getGroupIdFromName ( phpPackage ) ; String artifactId = phpPackage . getName ( ) ; String version = phpPackage . getVersion ( ) ; String commit = phpPackage . getPackageSource ( ) . getReference ( ) ; if ( StringUtils . isNotBlank ( version ) || StringUtils . isNotBlank ( commit ) ) { DependencyInfo de... |
public class HttpCommand { /** * HTTP / 1.0 200 OK
* Date : Fri , 31 Dec 1999 23:59:59 GMT
* Content - TextCommandType : text / html
* Content - Length : 1354
* @ param contentType
* @ param value */
public void setResponse ( byte [ ] contentType , byte [ ] value ) { } } | int valueSize = ( value == null ) ? 0 : value . length ; byte [ ] len = stringToBytes ( String . valueOf ( valueSize ) ) ; int size = RES_200 . length ; if ( contentType != null ) { size += CONTENT_TYPE . length ; size += contentType . length ; size += TextCommandConstants . RETURN . length ; } size += CONTENT_LENGTH .... |
public class TextCharacter { /** * Returns a copy of this TextCharacter with an SGR modifier removed . All of the currently active SGR codes
* will be carried over to the copy , except for the one specified . If the current TextCharacter doesn ' t have the
* SGR specified , it will return itself .
* @ param modif... | if ( ! modifiers . contains ( modifier ) ) { return this ; } EnumSet < SGR > newSet = EnumSet . copyOf ( this . modifiers ) ; newSet . remove ( modifier ) ; return new TextCharacter ( character , foregroundColor , backgroundColor , newSet ) ; |
public class DurableInputHandler { /** * Issue a DeleteDurable request for an existing remote durable subscription .
* The caller is blocked until we receive a reply for this request .
* @ param req The state describing the request
* @ return One of STATUS _ OK , STATUS _ SUB _ NOT _ FOUND , or STATUS _ SUB _ GEN... | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "issueDeleteDurableRequest" , new Object [ ] { MP , subName , userName , remoteMEUuid } ) ; long requestID = MP . nextTick ( ) ; ControlMessage msg = createDurableDeleteDurable ( MP , subName , userName , requestID , remoteM... |
public class PackageSummaryBuilder { /** * Build the summary for the errors in this package .
* @ param node the XML element that specifies which components to document
* @ param summaryContentTree the summary tree to which the error summary will
* be added */
public void buildErrorSummary ( XMLNode node , Conten... | String errorTableSummary = configuration . getText ( "doclet.Member_Table_Summary" , configuration . getText ( "doclet.Error_Summary" ) , configuration . getText ( "doclet.errors" ) ) ; String [ ] errorTableHeader = new String [ ] { configuration . getText ( "doclet.Error" ) , configuration . getText ( "doclet.Descript... |
public class ComponentFactoryImpl { /** * Creates a component which contains sub - components . Currently the only such component is VTIMEZONE .
* @ param name name of the component
* @ param properties a list of component properties
* @ param components a list of sub - components ( namely standard / daylight tim... | Component component ; ComponentFactory factory = getFactory ( name ) ; if ( factory != null ) { component = factory . createComponent ( properties , components ) ; } else { throw new IllegalArgumentException ( "Unsupported component [" + name + "]" ) ; } return ( T ) component ; |
public class SubscriptionDebugLogInterceptor { /** * These methods are numbered in the order that an individual
* resource would go through them , for clarity and ease of
* tracing when debugging and poring over logs .
* I don ' t know if this numbering scheme makes sense . . I ' m incrementing
* by 10 for each... | log ( EventCodeEnum . SUBS2 , "Checking resource {} (op={}) for matching subscriptions" , theMessage . getPayloadId ( ) , theMessage . getOperationType ( ) ) ; |
public class PayMchAPI { /** * 查询代金券批次
* @ param queryCouponStock queryCouponStock
* @ param key key
* @ return QueryCouponStockResult */
public static QueryCouponStockResult mmpaymkttransfersQuery_coupon_stock ( QueryCouponStock queryCouponStock , String key ) { } } | Map < String , String > map = MapUtil . objectToMap ( queryCouponStock ) ; String sign = SignatureUtil . generateSign ( map , queryCouponStock . getSign_type ( ) , key ) ; queryCouponStock . setSign ( sign ) ; String secapiPayRefundXML = XMLConverUtil . convertToXML ( queryCouponStock ) ; HttpUriRequest httpUriRequest ... |
public class TableModelSession { /** * Get the gridtable for this record ( or create one if it doesn ' t exit ) .
* @ param gridRecord The record to get / create a gridtable for .
* @ return The gridtable . */
public GridTable getGridTable ( Record gridRecord ) { } } | GridTable gridTable = super . getGridTable ( gridRecord ) ; gridTable . setCache ( true ) ; // Typically , the client is a gridscreen which caches the records ( so I don ' t have to ! )
return gridTable ; |
public class BlogsInterface { /** * Post the specified photo to a blog . Note that the Photo . title and Photo . description are used for the blog entry title and body respectively .
* @ param photo
* The photo metadata
* @ param blogId
* The blog ID
* @ param blogPassword
* The blog password
* @ throws F... | Map < String , Object > parameters = new HashMap < String , Object > ( ) ; parameters . put ( "method" , METHOD_POST_PHOTO ) ; parameters . put ( "blog_id" , blogId ) ; parameters . put ( "photo_id" , photo . getId ( ) ) ; parameters . put ( "title" , photo . getTitle ( ) ) ; parameters . put ( "description" , photo . ... |
public class MessageLogGridScreen { /** * Get the command string to restore screen . */
public String getScreenURL ( ) { } } | String strURL = super . getScreenURL ( ) ; ReferenceField fldContactType = ( ReferenceField ) this . getScreenRecord ( ) . getField ( MessageLogScreenRecord . CONTACT_TYPE_ID ) ; String strContactTypeParam = fldContactType . getFieldName ( ) ; if ( ! fldContactType . isNull ( ) ) { String strContactType = fldContactTyp... |
public class DropGeometryColumnGeneratorGeoDB { /** * Adds the SQL statement to drop the spatial index if it is present .
* @ param catalogName
* the catalog name .
* @ param schemaName
* the schema name .
* @ param tableName
* the table name .
* @ param database
* the database .
* @ param list
* th... | final DropSpatialIndexGeneratorGeoDB generator = new DropSpatialIndexGeneratorGeoDB ( ) ; final DropSpatialIndexStatement statement = new DropSpatialIndexStatement ( null , catalogName , schemaName , tableName ) ; list . addAll ( Arrays . asList ( generator . generateSqlIfExists ( statement , database ) ) ) ; |
public class OSchemaHelper { /** * Sets a field value for a current document
* @ param field field name
* @ param value value to set
* @ return this helper */
public OSchemaHelper field ( String field , Object value ) { } } | checkODocument ( ) ; lastDocument . field ( field , value ) ; return this ; |
public class PutEmailIdentityDkimAttributesRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( PutEmailIdentityDkimAttributesRequest putEmailIdentityDkimAttributesRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( putEmailIdentityDkimAttributesRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( putEmailIdentityDkimAttributesRequest . getEmailIdentity ( ) , EMAILIDENTITY_BINDING ) ; protocolMarshaller . marshall ( putEmailIdentityDkimAttrib... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.