signature
stringlengths
43
39.1k
implementation
stringlengths
0
450k
public class DeIdentifyUtil { /** * Deidentify middle . * @ param str the str * @ param start the start * @ param end the end * @ return the string * @ since 2.0.0 */ public static String deidentifyMiddle ( String str , int start , int end ) { } }
int repeat ; if ( end - start > str . length ( ) ) { repeat = str . length ( ) ; } else { repeat = ( str . length ( ) - end ) - start ; } return StringUtils . overlay ( str , StringUtils . repeat ( '*' , repeat ) , start , str . length ( ) - end ) ;
public class JobDetailImpl { /** * Set the instance of < code > Job < / code > that will be executed . * @ exception IllegalArgumentException if jobClass is null or the class is not a < code > Job < / code > . */ public void setJobClass ( Class < ? extends Job > jobClass ) { } }
if ( jobClass == null ) { throw new IllegalArgumentException ( "Job class cannot be null." ) ; } if ( ! Job . class . isAssignableFrom ( jobClass ) ) { throw new IllegalArgumentException ( "Job class must implement the Job interface." ) ; } this . jobClass = jobClass ;
public class PennTreebankHeadRules { /** * Writes the head rules to the writer in a format suitable for loading the * head rules again with the constructor . The encoding must be taken into * account while working with the writer and reader . * After the entries have been written , the writer is flushed . The wri...
for ( final String type : this . headRules . keySet ( ) ) { final HeadRule headRule = this . headRules . get ( type ) ; // write num of tags writer . write ( Integer . toString ( headRule . getTags ( ) . length + 2 ) ) ; writer . write ( ' ' ) ; // write type writer . write ( type ) ; writer . write ( ' ' ) ; // write ...
public class FctBnTradeEntitiesProcessors { /** * < p > Get PrcSettingsAddSave ( create and put into map ) . < / p > * @ param pAddParam additional param * @ return requested PrcSettingsAddSave * @ throws Exception - an exception */ protected final PrcSettingsAddSave < RS > lazyGetPrcSettingsAddSave ( final Map <...
String beanName = PrcSettingsAddSave . class . getSimpleName ( ) ; @ SuppressWarnings ( "unchecked" ) PrcSettingsAddSave < RS > proc = ( PrcSettingsAddSave < RS > ) this . processorsMap . get ( beanName ) ; if ( proc == null ) { proc = new PrcSettingsAddSave < RS > ( ) ; proc . setSrvSettingsAdd ( getSrvSettingsAdd ( )...
public class CommerceTierPriceEntryPersistenceImpl { /** * Returns the commerce tier price entry where companyId = & # 63 ; and externalReferenceCode = & # 63 ; or returns < code > null < / code > if it could not be found . Uses the finder cache . * @ param companyId the company ID * @ param externalReferenceCode t...
return fetchByC_ERC ( companyId , externalReferenceCode , true ) ;
public class OpenAPIModelFilterAdapter { /** * { @ inheritDoc } */ @ Override public PathItem visitPathItem ( Context context , String key , PathItem item ) { } }
visitor . visitPathItem ( context , key , item ) ; return item ;
public class BundleInstanceRequest { /** * This method is intended for internal use only . Returns the marshaled request configured with additional * parameters to enable operation dry - run . */ @ Override public Request < BundleInstanceRequest > getDryRunRequest ( ) { } }
Request < BundleInstanceRequest > request = new BundleInstanceRequestMarshaller ( ) . marshall ( this ) ; request . addParameter ( "DryRun" , Boolean . toString ( true ) ) ; return request ;
public class PageFlowController { /** * Get a legacy PreviousPageInfo . * @ deprecated This method will be removed without replacement in the next release . */ public final PreviousPageInfo getPreviousPageInfoLegacy ( PageFlowController curJpf , HttpServletRequest request ) { } }
if ( PageFlowRequestWrapper . get ( request ) . isReturningFromNesting ( ) ) { return getCurrentPageInfo ( ) ; } else { return getPreviousPageInfo ( ) ; }
public class ProxyFilter { /** * Actually write data . Queues the data up unless it relates to the handshake or the * handshake is done . * @ param nextFilter the next filter in filter chain * @ param session the session object * @ param writeRequest the data to write * @ param isHandshakeData true if writeRe...
ProxyLogicHandler handler = getProxyHandler ( session ) ; synchronized ( handler ) { if ( handler . isHandshakeComplete ( ) ) { // Handshake is done - write data as normal nextFilter . filterWrite ( session , writeRequest ) ; } else if ( isHandshakeData ) { LOGGER . debug ( " handshake data: {}" , writeRequest . getM...
public class ThymeleafHtmlRenderer { protected void checkFormPropertyUsingReservedWord ( ActionRuntime runtime , VirtualForm virtualForm , final String propertyName ) { } }
if ( isSuppressFormPropertyUsingReservedWordCheck ( ) ) { return ; } if ( reservedWordSet . contains ( propertyName ) ) { throwThymeleafFormPropertyUsingReservedWordException ( runtime , virtualForm , propertyName ) ; }
public class PtoPInputHandler { /** * See if the condition that led to the link being blocked has been resolved . The block could have been * caused by a number of factors , such as the routing destination being full or put - disabled or the * link exception destination being full , etc , etc . * This code is cal...
if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "checkStillBlocked" ) ; // For safety , we assume that the destination is blocked ( def 244425 and 464463) int blockingReason = DestinationHandler . OUTPUT_HANDLER_NOT_FOUND ; if ( ! _isLink ) { // For non - links we want to...
public class URIBuilder { /** * Sets URI host . */ public URIBuilder setHost ( final String host ) { } }
this . host = host ; this . encodedSchemeSpecificPart = null ; this . encodedAuthority = null ; return this ;
public class HadoopKerberosKeytabAuthenticationPlugin { /** * { @ inheritDoc } */ @ Override protected void startUp ( ) throws Exception { } }
try { UserGroupInformation . setConfiguration ( _hadoopConf ) ; if ( UserGroupInformation . isSecurityEnabled ( ) ) { UserGroupInformation . loginUserFromKeytab ( _loginUser , _loginUserKeytabFile ) ; } } catch ( Throwable t ) { log . error ( "Failed to start up HadoopKerberosKeytabAuthenticationPlugin" , t ) ; throw t...
public class PathsValidator { /** * { @ inheritDoc } */ @ Override public void validate ( ValidationHelper helper , Context context , String key , Paths t ) { } }
if ( t != null ) { boolean mapContainsInvalidKey = false ; for ( String path : t . keySet ( ) ) { if ( path != null && ! path . isEmpty ( ) ) { if ( ! path . startsWith ( "/" ) ) { final String message = Tr . formatMessage ( tc , "pathsRequiresSlash" , path ) ; helper . addValidationEvent ( new ValidationEvent ( Valida...
public class ResourceLimiter { /** * Waits for a completion and then marks it as complete . * @ throws InterruptedException */ private void waitForCompletions ( long timeoutMs ) throws InterruptedException { } }
Long completedOperation = this . completedOperationIds . pollFirst ( timeoutMs , TimeUnit . MILLISECONDS ) ; if ( completedOperation != null ) { markOperationComplete ( completedOperation ) ; }
public class ZxingKit { /** * Zxing图形码生成工具 * @ param contents * 内容 * @ param barcodeFormat * BarcodeFormat对象 * @ param format * 图片格式 , 可选 [ png , jpg , bmp ] * @ param width * @ param height * @ param margin * 边框间距px * @ param saveImgFilePath * 存储图片的完整位置 , 包含文件名 * @ return { boolean } */ publi...
Boolean bool = false ; BufferedImage bufImg ; Map < EncodeHintType , Object > hints = new HashMap < EncodeHintType , Object > ( ) ; // 指定纠错等级 hints . put ( EncodeHintType . ERROR_CORRECTION , errorLevel ) ; hints . put ( EncodeHintType . MARGIN , margin ) ; hints . put ( EncodeHintType . CHARACTER_SET , "UTF-8" ) ; try...
public class TypeConverters { /** * Create a internal { @ link TypeInformation } from a { @ link InternalType } . * < p > eg : * { @ link InternalTypes # STRING } = > { @ link BinaryStringTypeInfo } . * { @ link RowType } = > { @ link BaseRowTypeInfo } . */ public static TypeInformation createInternalTypeInfoFrom...
TypeInformation typeInfo = INTERNAL_TYPE_TO_INTERNAL_TYPE_INFO . get ( type ) ; if ( typeInfo != null ) { return typeInfo ; } if ( type instanceof RowType ) { RowType rowType = ( RowType ) type ; return new BaseRowTypeInfo ( rowType . getFieldTypes ( ) , rowType . getFieldNames ( ) ) ; } else if ( type instanceof Array...
public class Require { /** * Calling this method establishes a module as being the main module of the * program to which this require ( ) instance belongs . The module will be * loaded as if require ( ) ' d and its " module " property will be set as the * " main " property of this require ( ) instance . You have ...
if ( this . mainModuleId != null ) { if ( ! this . mainModuleId . equals ( mainModuleId ) ) { throw new IllegalStateException ( "Main module already set to " + this . mainModuleId ) ; } return mainExports ; } ModuleScript moduleScript ; try { // try to get the module script to see if it is on the module path moduleScri...
public class ProcessStore { /** * Retrieves a stored process , when found . * @ return The process */ public static synchronized Process getProcess ( String applicationName , String scopedInstancePath ) { } }
return PROCESS_MAP . get ( toAgentId ( applicationName , scopedInstancePath ) ) ;
public class CarmenFeature { /** * A { @ link Point } object which represents the center point inside the { @ link # bbox ( ) } if one is * provided . * @ return a GeoJson { @ link Point } which defines the center location of this feature * @ since 1.0.0 */ @ Nullable public Point center ( ) { } }
// Store locally since rawCenter ( ) is mutable double [ ] center = rawCenter ( ) ; if ( center != null && center . length == 2 ) { return Point . fromLngLat ( center [ 0 ] , center [ 1 ] ) ; } return null ;
public class DecisionTree { /** * / * CREATE ROOT NODE */ public void createRoot ( int newNodeID , String newQuestAns , Decision decision ) { } }
rootNode = new BinTree ( newNodeID , newQuestAns , decision ) ;
public class LangProfileReader { /** * Reads a { @ link LangProfile } from a File in UTF - 8. */ public LangProfile read ( File profileFile ) throws IOException { } }
if ( ! profileFile . exists ( ) ) { throw new IOException ( "No such file: " + profileFile ) ; } else if ( ! profileFile . canRead ( ) ) { throw new IOException ( "Cannot read file: " + profileFile ) ; } try ( FileInputStream input = new FileInputStream ( profileFile ) ) { return read ( input ) ; }
public class ActionExecutionInput { /** * Configuration data for an action execution . * @ param configuration * Configuration data for an action execution . * @ return Returns a reference to this object so that method calls can be chained together . */ public ActionExecutionInput withConfiguration ( java . util ...
setConfiguration ( configuration ) ; return this ;
public class GetDevicePoolCompatibilityResult { /** * Information about incompatible devices . * @ param incompatibleDevices * Information about incompatible devices . */ public void setIncompatibleDevices ( java . util . Collection < DevicePoolCompatibilityResult > incompatibleDevices ) { } }
if ( incompatibleDevices == null ) { this . incompatibleDevices = null ; return ; } this . incompatibleDevices = new java . util . ArrayList < DevicePoolCompatibilityResult > ( incompatibleDevices ) ;
public class Label { /** * Add any attributes to the text . */ protected void addAttributes ( AttributedString text ) { } }
// add any color attributes for specific segments if ( _rawText != null ) { Matcher m = COLOR_PATTERN . matcher ( _rawText ) ; int startSeg = 0 , endSeg = 0 ; Color lastColor = null ; while ( m . find ( ) ) { // color the segment just passed endSeg += m . start ( ) ; if ( lastColor != null ) { text . addAttribute ( Tex...
public class BoUtils { /** * De - serialize a BO from JSON string . * @ param json * the JSON string obtained from { @ link # toJson ( BaseBo ) } * @ param classLoader * @ return * @ since 0.6.0.3 */ public static BaseBo fromJson ( String json , ClassLoader classLoader ) { } }
return fromJson ( json , BaseBo . class , classLoader ) ;
public class StackDumper { /** * Dumps the given message and exception stack to the system error console */ public static void dump ( String message , Throwable exception ) { } }
printEmphasized ( StringPrinter . buildString ( printer -> { printer . println ( message ) ; exception . printStackTrace ( printer . toPrintWriter ( ) ) ; } ) ) ;
public class DefaultJerseyServer { /** * Shutdown jersey server and release resources */ @ Override public void stop ( ) { } }
// Run jersey shutdown lifecycle if ( container != null ) { container . stop ( ) ; container = null ; } // Destroy the jersey service locator if ( jerseyHandler != null && jerseyHandler . getDelegate ( ) != null ) { ServiceLocatorFactory . getInstance ( ) . destroy ( jerseyHandler . getDelegate ( ) . getServiceLocator ...
public class TranscoderService { /** * Serialize the given session to a byte array . This is a shortcut for * < code > < pre > * final byte [ ] attributesData = serializeAttributes ( session , session . getAttributes ( ) ) ; * serialize ( session , attributesData ) ; * < / pre > < / code > * The returned byte...
final byte [ ] attributesData = serializeAttributes ( session , session . getAttributesInternal ( ) ) ; return serialize ( session , attributesData ) ;
public class SAIS { /** * / * byte */ public static int bwtransform ( byte [ ] T , byte [ ] U , int [ ] A , int n ) { } }
int i , pidx ; if ( ( T == null ) || ( U == null ) || ( A == null ) || ( T . length < n ) || ( U . length < n ) || ( A . length < n ) ) { return - 1 ; } if ( n <= 1 ) { if ( n == 1 ) { U [ 0 ] = T [ 0 ] ; } return n ; } pidx = SA_IS ( new ByteArray ( T , 0 ) , A , 0 , n , 256 , true ) ; U [ 0 ] = T [ n - 1 ] ; for ( i ...
public class ChatLinearLayoutManager { /** * Finds an anchor child from existing Views . Most of the time , this is the view closest to * start or end that has a valid position ( e . g . not removed ) . * If a child has focus , it is given priority . */ private boolean updateAnchorFromChildren ( RecyclerView . Stat...
if ( getChildCount ( ) == 0 ) { return false ; } final View focused = getFocusedChild ( ) ; if ( focused != null && anchorInfo . isViewValidAsAnchor ( focused , state ) ) { anchorInfo . assignFromViewAndKeepVisibleRect ( focused ) ; return true ; } /* if ( mLastStackFromEnd ! = mStackFromEnd ) { return false ; */ Vie...
public class ChannelWrapper { /** * Initialize a signature on this channel . * @ param key the private key to use in signing this data stream . * @ return reference to the new key added to the consumers * @ throws NoSuchAlgorithmException if the key algorithm is not supported * @ throws InvalidKeyException if t...
final Signature signature = Signature . getInstance ( key . getAlgorithm ( ) ) ; signature . initSign ( key ) ; final Key < byte [ ] > object = new Key < byte [ ] > ( ) ; consumers . put ( object , new Consumer < byte [ ] > ( ) { public void consume ( final ByteBuffer buffer ) { try { signature . update ( buffer ) ; } ...
public class RTreeIndexCoreExtension { /** * Create update 3 trigger * < pre > * Conditions : Update of any column * Row ID change * Non - empty geometry * Actions : Remove record from rtree for old { @ literal < i > } * Insert record into rtree for new { @ literal < i > } * < / pre > * @ param tableNam...
String sqlName = GeoPackageProperties . getProperty ( TRIGGER_PROPERTY , TRIGGER_UPDATE3_NAME ) ; executeSQL ( sqlName , tableName , geometryColumnName , idColumnName ) ;
public class SarlCompiler { /** * Replies if the given feature call has an implicit reference to the { @ code it } variable . * @ param featureCall the feature call to test . * @ return { @ code true } if the given feature call has an implicit reference to the * { @ code it } variable . * @ since 0.9 */ @ Suppr...
assert featureCall != null ; if ( ! featureCall . isTypeLiteral ( ) && ! featureCall . isPackageFragment ( ) ) { final String itKeyword = IFeatureNames . IT . getFirstSegment ( ) ; XFeatureCall theFeatureCall = featureCall ; do { final String name = theFeatureCall . getFeature ( ) . getSimpleName ( ) ; if ( Strings . e...
public class Channel { /** * Sends a message to a destination . * @ param dst * The destination address . If null , the message will be sent to all cluster nodes ( = * group members ) * @ param buf * The buffer to be sent * @ param offset * The offset into the buffer * @ param length * The length of t...
ch . send ( dst , buf , offset , length ) ;
public class MwsConnection { /** * Set the default user agent string . Called when connection first opened if * user agent is not set explicitly . */ private void setDefaultUserAgent ( ) { } }
setUserAgent ( MwsUtl . escapeAppName ( applicationName ) , MwsUtl . escapeAppVersion ( applicationVersion ) , MwsUtl . escapeAttributeValue ( "Java/" + System . getProperty ( "java.version" ) + "/" + System . getProperty ( "java.class.version" ) + "/" + System . getProperty ( "java.vendor" ) ) , MwsUtl . escapeAttribu...
public class RosterExchangeProvider { /** * Parses a RosterExchange stanza ( extension sub - packet ) . * @ param parser the XML parser , positioned at the starting element of the extension . * @ return a PacketExtension . * @ throws IOException * @ throws XmlPullParserException */ @ Override public RosterExcha...
// CHECKSTYLE : OFF RosterExchange rosterExchange = new RosterExchange ( ) ; boolean done = false ; RemoteRosterEntry remoteRosterEntry ; Jid jid = null ; String name = "" ; ArrayList < String > groupsName = new ArrayList < > ( ) ; while ( ! done ) { int eventType = parser . next ( ) ; if ( eventType == XmlPullParser ....
public class JTSDrawingPanel { public static void drawVariables ( String title , boolean [ ] empty , GeometricShapeVariable [ ] vars ) { } }
JTSDrawingPanel panel = new JTSDrawingPanel ( ) ; JFrame frame = new JFrame ( title ) ; frame . setDefaultCloseOperation ( JFrame . EXIT_ON_CLOSE ) ; frame . add ( panel ) ; frame . setSize ( 500 , 500 ) ; for ( int i = 0 ; i < vars . length ; i ++ ) { panel . emptyGeoms . put ( vars [ i ] . getID ( ) + "" , empty [ i ...
public class CommerceOrderItemLocalServiceBaseImpl { /** * Creates a new commerce order item with the primary key . Does not add the commerce order item to the database . * @ param commerceOrderItemId the primary key for the new commerce order item * @ return the new commerce order item */ @ Override @ Transactiona...
return commerceOrderItemPersistence . create ( commerceOrderItemId ) ;
public class DataRecordList { /** * This method was created by a SmartGuide . * @ return int index in table ; or - 1 if not found . * @ param bookmark java . lang . Object */ public int bookmarkToIndex ( Object bookmark , int iHandleType ) { } }
int iTargetPosition ; DataRecord thisBookmark = null ; if ( bookmark == null ) return - 1 ; // + Not found , look through the recordlist for ( iTargetPosition = 0 ; iTargetPosition < m_iRecordListEnd ; iTargetPosition += m_iRecordListStep ) { thisBookmark = ( DataRecord ) this . elementAt ( iTargetPosition ) ; if ( boo...
public class DeleteQueryBase { /** * Execute the delete statement and optionally update the entity id to null . Updating the id requires a select * query of the rows to delete so if speed is a concern use execute ( false ) instead of execute ( ) . * @ param update Whether to update the entity id . */ public void ex...
if ( update ) { final String sql = getSql ( ) . replace ( "DELETE" , "SELECT " + Model . _ID ) ; final List < T > results = QueryUtils . rawQuery ( mTable , sql , getArgs ( ) ) ; for ( T result : results ) { result . id = null ; } } super . execute ( ) ;
public class FacebookSettings { /** * Creates a { @ link Bundle } from the { @ link FacebookSettings } . * @ return the { @ link Bundle } . */ Bundle toBundle ( ) { } }
Bundle bundle = new Bundle ( ) ; bundle . putInt ( BUNDLE_KEY_DESTINATION_ID , mDestinationId ) ; bundle . putString ( BUNDLE_KEY_ACCOUNT_NAME , mAccountName ) ; bundle . putString ( BUNDLE_KEY_ALBUM_NAME , mAlbumName ) ; bundle . putString ( BUNDLE_KEY_ALBUM_GRAPH_PATH , mAlbumGraphPath ) ; if ( ! TextUtils . isEmpty ...
public class ExtensionHttpSessions { /** * Gets the http sessions for a particular site . The behaviour when a { @ link HttpSessionsSite } * does not exist is defined by the { @ code createIfNeeded } parameter . * @ param site the site . This parameter has to be formed as defined in the * { @ link ExtensionHttpSe...
// Add a default port if ( ! site . contains ( ":" ) ) { site = site + ( ":80" ) ; } synchronized ( sessionLock ) { if ( sessions == null ) { if ( ! createIfNeeded ) { return null ; } sessions = new HashMap < > ( ) ; } HttpSessionsSite hss = sessions . get ( site ) ; if ( hss == null ) { if ( ! createIfNeeded ) return ...
public class Regions { /** * Gets a list of { @ link Region } s excluding the given { @ link Region } s . * Tolerant of repeated inputs as well as < code > null < / code > items . * @ param excludedRegions { @ link Region } s to exclude * @ return list of all { @ link Region } s excluding the given list */ public...
Region [ ] regions = Regions . getRegions ( ) ; if ( excludedRegions == null || excludedRegions . length == 0 ) { return regions ; } excludedRegions = removeDuplicates ( excludedRegions ) ; int excludedLength = 0 ; for ( Region r : excludedRegions ) { if ( r != null ) { excludedLength ++ ; } } int outputLength = region...
public class MuxInputStream { /** * Reads a UTF - 8 string . * @ return the utf - 8 encoded string */ protected String readUTF ( ) throws IOException { } }
int len = ( is . read ( ) << 8 ) + is . read ( ) ; StringBuffer sb = new StringBuffer ( ) ; while ( len > 0 ) { int d1 = is . read ( ) ; if ( d1 < 0 ) return sb . toString ( ) ; else if ( d1 < 0x80 ) { len -- ; sb . append ( ( char ) d1 ) ; } else if ( ( d1 & 0xe0 ) == 0xc0 ) { len -= 2 ; sb . append ( ( ( d1 & 0x1f ) ...
public class UserManager { /** * Checks if user exists . * @ param userId the user id , which can be an email or the login . * @ return true , if user exists . */ public boolean hasUser ( String userId ) { } }
String normalized = normalizerUserName ( userId ) ; return loginToUser . containsKey ( normalized ) || emailToUser . containsKey ( normalized ) ;
public class BinaryJedis { /** * Return true if member is a member of the set stored at key , otherwise false is returned . * Time complexity O ( 1) * @ param key * @ param member * @ return Boolean reply , specifically : true if the element is a member of the set false if the element * is not a member of the...
checkIsInMultiOrPipeline ( ) ; client . sismember ( key , member ) ; return client . getIntegerReply ( ) == 1 ;
public class CommonUtils { /** * 将指定的图片字节数组进行Base64编码并返回 * @ param imageBytes 指定的图片字节数组 * @ param formatName 图片格式名 , 如gif , png , jpg , jpeg等 , 默认为jpeg * @ return 编码后的Base64字符串 */ public static String imgToBase64StrWithPrefix ( byte [ ] imageBytes , String formatName ) { } }
formatName = formatName != null ? formatName : "jpeg" ; return String . format ( "data:image/%s;base64,%s" , formatName , CommonUtils . bytesToBase64Str ( imageBytes ) ) ;
public class WriteQueue { /** * Gets a snapshot of the queue internals . * @ return The snapshot , including Queue Size , Item Fill Rate and elapsed time of the oldest item . */ synchronized QueueStats getStatistics ( ) { } }
int size = this . writes . size ( ) ; double fillRatio = calculateFillRatio ( this . totalLength , size ) ; int processingTime = this . lastDurationMillis ; if ( processingTime == 0 && size > 0 ) { // We get in here when this method is invoked prior to any operation being completed . Since lastDurationMillis // is only...
public class JcrResultSetMetaData { /** * { @ inheritDoc } * This method returns the number of digits behind the decimal point , which is assumed to be 3 if the type is * { @ link PropertyType # DOUBLE } or 0 otherwise . * @ see java . sql . ResultSetMetaData # getScale ( int ) */ @ Override public int getScale (...
JcrType typeInfo = getJcrType ( column ) ; if ( typeInfo . getJcrType ( ) == PropertyType . DOUBLE ) { return 3 ; // pulled from thin air } return 0 ;
public class AWSCertificateManagerWaiters { /** * Builds a CertificateValidated waiter by using custom parameters waiterParameters and other parameters defined in * the waiters specification , and then polls until it determines whether the resource entered the desired state or * not , where polling criteria is boun...
return new WaiterBuilder < DescribeCertificateRequest , DescribeCertificateResult > ( ) . withSdkFunction ( new DescribeCertificateFunction ( client ) ) . withAcceptors ( new CertificateValidated . IsSUCCESSMatcher ( ) , new CertificateValidated . IsPENDING_VALIDATIONMatcher ( ) , new CertificateValidated . IsFAILEDMat...
public class CacheUnitImpl { /** * This implements the method in the CacheUnit interface . * This is called by DRSNotificationService and DRSMessageListener . * A returned null indicates that the local cache should * execute it and return the result to the coordinating CacheUnit . * @ param cacheName The cache ...
if ( tc . isEntryEnabled ( ) ) Tr . entry ( tc , "getEntry: {0}" , id ) ; DCache cache = ServerCache . getCache ( cacheName ) ; CacheEntry cacheEntry = null ; if ( cache != null ) { cacheEntry = ( CacheEntry ) cache . getEntry ( id , CachePerf . REMOTE , ignoreCounting , DCacheBase . INCREMENT_REFF_COUNT ) ; } if ( tc ...
public class GraphicsDeviceExtensions { /** * Gets the available screens . * @ return the available screens */ public static GraphicsDevice [ ] getAvailableScreens ( ) { } }
final GraphicsEnvironment graphicsEnvironment = GraphicsEnvironment . getLocalGraphicsEnvironment ( ) ; final GraphicsDevice [ ] graphicsDevices = graphicsEnvironment . getScreenDevices ( ) ; return graphicsDevices ;
public class WebAppDescriptorImpl { /** * If not already created , a new < code > error - page < / code > element will be created and returned . * Otherwise , the first existing < code > error - page < / code > element will be returned . * @ return the instance defined for the element < code > error - page < / code...
List < Node > nodeList = model . get ( "error-page" ) ; if ( nodeList != null && nodeList . size ( ) > 0 ) { return new ErrorPageTypeImpl < WebAppDescriptor > ( this , "error-page" , model , nodeList . get ( 0 ) ) ; } return createErrorPage ( ) ;
public class SolutionUtils { /** * It returns the normalized solution given the minimum and maximum values for * each objective * @ param solution to be normalized * @ param minValues minimum values for each objective * @ param maxValues maximum value for each objective * @ return normalized solution */ publi...
if ( solution == null ) { throw new JMetalException ( "The solution should not be null" ) ; } if ( minValues == null || maxValues == null ) { throw new JMetalException ( "The minValues and maxValues should not be null" ) ; } if ( minValues . length == 0 || maxValues . length == 0 ) { throw new JMetalException ( "The mi...
public class GenericGradient { /** * Loads the color stops from the gunction arguments . * @ param args the comma - separated function arguments * @ param firstStop the first argument to start with * @ return the list of color stops or { @ code null } when the arguments are invalid or missing */ protected List < ...
boolean valid = true ; List < TermFunction . Gradient . ColorStop > colorStops = null ; if ( args . size ( ) > firstStop ) { colorStops = new ArrayList < > ( ) ; for ( int i = firstStop ; valid && i < args . size ( ) ; i ++ ) { List < Term < ? > > sarg = args . get ( i ) ; if ( sarg . size ( ) == 1 || sarg . size ( ) =...
public class SendLogActivityBase { /** * The log format to use . Default is " time " . Override to use a different format . * Return null to prompt for format . */ protected String getLogFormat ( ) { } }
final String [ ] formats = getResources ( ) . getStringArray ( R . array . format_list ) ; if ( mFormat >= 0 && mFormat < formats . length ) { return formats [ mFormat ] ; } return formats [ FORMAT_DEFAULT ] ;
public class ThriftCodecByteCodeGenerator { /** * Defines the constructor with a parameter for the ThriftType and the delegate codecs . The * constructor simply assigns these parameters to the class fields . */ private void defineConstructor ( ) { } }
// declare the constructor MethodDefinition constructor = new MethodDefinition ( a ( PUBLIC ) , "<init>" , type ( void . class ) , parameters . getParameters ( ) ) ; // invoke super ( Object ) constructor constructor . loadThis ( ) . invokeConstructor ( type ( Object . class ) ) ; // this . foo = foo ; for ( FieldDefin...
public class RESTMBeanServerConnection { /** * { @ inheritDoc } */ @ Override public MBeanInfo getMBeanInfo ( ObjectName name ) throws InstanceNotFoundException , IntrospectionException , ReflectionException , IOException { } }
final String sourceMethod = "getMBeanInfo" ; checkConnection ( ) ; URL mbeanURL = null ; HttpsURLConnection connection = null ; try { // Get URL for MBean mbeanURL = getMBeanURL ( name ) ; // Get connection to server connection = getConnection ( mbeanURL , HttpMethod . GET ) ; } catch ( IOException io ) { throw getRequ...
public class ContainerNamingUtil { private static String replacePlaceholders ( String containerNamePattern , String imageName , String nameAlias , Date buildTimestamp ) { } }
Map < String , FormatParameterReplacer . Lookup > lookups = new HashMap < > ( ) ; lookups . put ( "a" , ( ) -> nameAlias ) ; lookups . put ( "n" , ( ) -> cleanImageName ( imageName ) ) ; lookups . put ( "t" , ( ) -> String . valueOf ( buildTimestamp . getTime ( ) ) ) ; lookups . put ( "i" , ( ) -> INDEX_PLACEHOLDER ) ;...
public class PathOverrideService { /** * Set the groups assigned to a path * @ param groups group IDs to set * @ param pathId ID of path */ public void setGroupsForPath ( Integer [ ] groups , int pathId ) { } }
String newGroups = Arrays . toString ( groups ) ; newGroups = newGroups . substring ( 1 , newGroups . length ( ) - 1 ) . replaceAll ( "\\s" , "" ) ; logger . info ( "adding groups={}, to pathId={}" , newGroups , pathId ) ; EditService . updatePathTable ( Constants . PATH_PROFILE_GROUP_IDS , newGroups , pathId ) ;
public class JsonUtils { /** * The method reads a field from the JSON stream , and checks if the * field read is the same as the expect field . * @ param jsonParser The JsonParser instance to be used * @ param expectedFieldName The field name which is expected next * @ throws IOException */ public static void r...
readToken ( jsonParser , expectedFieldName , JsonToken . FIELD_NAME ) ; String fieldName = jsonParser . getCurrentName ( ) ; if ( ! fieldName . equals ( expectedFieldName ) ) { foundUnknownField ( fieldName , expectedFieldName ) ; }
public class CmsImageInfoDisplay { /** * Sets the focal point . < p > * @ param focalPoint the focal point */ public void setFocalPoint ( String focalPoint ) { } }
boolean visible = ( focalPoint != null ) ; if ( focalPoint == null ) { focalPoint = "" ; } m_labelPoint . setVisible ( visible ) ; m_removePoint . setVisible ( visible ) ; m_displayPoint . setText ( focalPoint ) ;
public class CompactNsContext { /** * Method called by { @ link com . ctc . wstx . evt . CompactStartElement } * to output all ' local ' namespace declarations active in current * namespace scope , if any . Local means that declaration was done in * scope of current element , not in a parent element . */ @ Overri...
String [ ] ns = mNamespaces ; for ( int i = mFirstLocalNs , len = mNsLength ; i < len ; i += 2 ) { w . write ( ' ' ) ; w . write ( XMLConstants . XMLNS_ATTRIBUTE ) ; String prefix = ns [ i ] ; if ( prefix != null && prefix . length ( ) > 0 ) { w . write ( ':' ) ; w . write ( prefix ) ; } w . write ( "=\"" ) ; w . write...
public class ModuleWebhooks { /** * Get more information about one specific call to one specific webhook , hosted by one specific * space . * @ param call A call to be get more information about . * @ return A Call Detail to be used to gather more information about this call . * @ throws IllegalArgumentExceptio...
final String spaceId = getSpaceIdOrThrow ( call , "call" ) ; final String callId = getResourceIdOrThrow ( call , "call" ) ; assertNotNull ( call . getSystem ( ) . getCreatedBy ( ) . getId ( ) , "webhook.sys.createdBy" ) ; final String webhookId = call . getSystem ( ) . getCreatedBy ( ) . getId ( ) ; return service . ca...
public class CompanyMgrImpl { /** * update */ public void update ( Company company ) { } }
if ( company . getId ( ) <= 0 || company . getId ( ) <= 0 ) { throw new RuntimeException ( "Company id invliad" ) ; } if ( ! companyMap . containsKey ( company . getId ( ) ) ) { throw new RuntimeException ( "Company id not exist" ) ; } companyMap . put ( company . getId ( ) , company ) ;
public class BeanDescriptor { /** * Gets the type for a property getter . * @ param name the name of the property * @ return the Class of the property getter * @ throws NoSuchMethodException when a getter method cannot be found */ public Class < ? > getGetterType ( String name ) throws NoSuchMethodException { } }
Class < ? > type = getterTypes . get ( name ) ; if ( type == null ) { throw new NoSuchMethodException ( "There is no READABLE property named '" + name + "' in class '" + className + "'" ) ; } return type ;
public class SystemInputs { /** * Returns the IConditional instances defined by the given function input definition . */ private static Stream < IConditional > conditionals ( FunctionInputDef function ) { } }
return toStream ( function . getVarDefs ( ) ) . flatMap ( var -> conditionals ( var ) ) ;
public class CfgParseChart { /** * Compute the expected * unnormalized * probability of every rule . */ public Factor getBinaryRuleExpectations ( ) { } }
Tensor binaryRuleWeights = binaryRuleDistribution . coerceToDiscrete ( ) . getWeights ( ) ; SparseTensor tensor = SparseTensor . copyRemovingZeros ( binaryRuleWeights , binaryRuleExpectations ) ; return new TableFactor ( binaryRuleDistribution . getVars ( ) , tensor ) ;
public class MessageFactory { /** * Create an entity scoped error message */ public static Message error ( Entity entity , String key , String ... args ) { } }
return message ( MessageType . ERROR , entity , key , args ) ;
public class PopupMenu { /** * Shows menu as given stage coordinates * @ param stage stage instance that this menu is being added to * @ param x stage x position * @ param y stage y position */ public void showMenu ( Stage stage , float x , float y ) { } }
setPosition ( x , y - getHeight ( ) ) ; if ( stage . getHeight ( ) - getY ( ) > stage . getHeight ( ) ) setY ( getY ( ) + getHeight ( ) ) ; ActorUtils . keepWithinStage ( stage , this ) ; stage . addActor ( this ) ;
public class MavenJDOMWriter { /** * Method findAndReplaceProperties . * @ param counter * @ param props * @ param name * @ param parent */ @ SuppressWarnings ( "unchecked" ) protected Element findAndReplaceProperties ( Counter counter , Element parent , String name , Map props ) { } }
boolean shouldExist = ( props != null ) && ! props . isEmpty ( ) ; Element element = updateElement ( counter , parent , name , shouldExist ) ; if ( shouldExist ) { Iterator it = props . keySet ( ) . iterator ( ) ; Counter innerCounter = new Counter ( counter . getDepth ( ) + 1 ) ; while ( it . hasNext ( ) ) { String ke...
public class DirectoryServiceClient { /** * Set user password . * @ param userName * the user name . * @ param password * the user password . */ public void setUserPassword ( String userName , String password ) { } }
ProtocolHeader header = new ProtocolHeader ( ) ; header . setType ( ProtocolType . SetUserPassword ) ; byte [ ] secret = null ; if ( password != null && ! password . isEmpty ( ) ) { secret = ObfuscatUtil . base64Encode ( password . getBytes ( ) ) ; } SetUserPasswordProtocol p = new SetUserPasswordProtocol ( userName , ...
public class CrossDomainRpcLoader { /** * Parses the request for a CrossDomainRpc . * @ param request The request to parse . * @ return The parsed RPC . * @ throws IOException If an error occurs reading from the request . * @ throws IllegalArgumentException If an occurs while parsing the request * data . */ p...
Charset encoding ; try { String enc = request . getCharacterEncoding ( ) ; encoding = Charset . forName ( enc ) ; } catch ( IllegalArgumentException | NullPointerException e ) { encoding = UTF_8 ; } // We tend to look at the input stream , rather than the reader . try ( InputStream in = request . getInputStream ( ) ; R...
public class ConcurrentIdentityHashMap { /** * { @ inheritDoc } * @ throws NullPointerException * if any of the arguments are null */ public boolean replace ( K key , V oldValue , V newValue ) { } }
if ( oldValue == null || newValue == null ) { throw new NullPointerException ( ) ; } int hash = this . hashOf ( key ) ; return this . segmentFor ( hash ) . replace ( key , hash , oldValue , newValue ) ;
public class DefaultSortStrategy { /** * Given a sort direction , get the next sort direction . This implements a simple sort machine * that cycles through the sort directions in the following order : * < pre > * SortDirection . NONE > SortDirection . ASCENDING > SortDirection . DESCENDING > repeat * < / pre > ...
if ( direction == SortDirection . NONE ) return SortDirection . ASCENDING ; else if ( direction == SortDirection . ASCENDING ) return SortDirection . DESCENDING ; else if ( direction == SortDirection . DESCENDING ) return SortDirection . NONE ; else throw new IllegalStateException ( Bundle . getErrorString ( "SortStrat...
public class VasConversionService { /** * Creates { @ code Wgs84Coordinates } based on the charging station coordinates . * @ param chargingStation charging station * @ return { @ code Wgs84Coordinates } based on the charging station coordinates . */ public Wgs84Coordinates getCoordinates ( ChargingStation charging...
Wgs84Coordinates wgs84Coordinates = new Wgs84Coordinates ( ) ; wgs84Coordinates . setLatitude ( chargingStation . getLatitude ( ) ) ; wgs84Coordinates . setLongitude ( chargingStation . getLongitude ( ) ) ; return wgs84Coordinates ;
public class OpenCmsCore { /** * Destroys this OpenCms instance , called if the servlet ( or shell ) is shut down . < p > */ protected void shutDown ( ) { } }
synchronized ( LOCK ) { if ( getRunLevel ( ) > OpenCms . RUNLEVEL_0_OFFLINE ) { System . err . println ( Messages . get ( ) . getBundle ( ) . key ( Messages . LOG_SHUTDOWN_CONSOLE_NOTE_2 , getSystemInfo ( ) . getVersionNumber ( ) , getSystemInfo ( ) . getWebApplicationName ( ) ) ) ; if ( CmsLog . INIT . isInfoEnabled (...
public class DatabaseMetaDataTreeModel { /** * Method for reporting SQLException . This is used by * the treenodes if retrieving information for a node * is not successful . * @ param message The message describing where the error occurred * @ param sqlEx The exception to be reported . */ public void reportSqlE...
StringBuffer strBufMessages = new StringBuffer ( ) ; java . sql . SQLException currentSqlEx = sqlEx ; do { strBufMessages . append ( "\n" + sqlEx . getErrorCode ( ) + ":" + sqlEx . getMessage ( ) ) ; currentSqlEx = currentSqlEx . getNextException ( ) ; } while ( currentSqlEx != null ) ; System . err . println ( message...
public class BatchDeleteImportDataResult { /** * Error messages returned for each import task that you deleted as a response for this command . * @ param errors * Error messages returned for each import task that you deleted as a response for this command . */ public void setErrors ( java . util . Collection < Batc...
if ( errors == null ) { this . errors = null ; return ; } this . errors = new java . util . ArrayList < BatchDeleteImportDataError > ( errors ) ;
public class Compiler { /** * Ensures that the number of threads in the build pool is at least as large as the number given . Because object * templates can have dependencies on each other , it is possible to deadlock the compilation with a rigidly fixed * build queue . To avoid this , allow the build queue limit t...
if ( buildThreadLimit . get ( ) < minLimit ) { synchronized ( buildThreadLock ) { buildThreadLimit . set ( minLimit ) ; ThreadPoolExecutor buildExecutor = executors . get ( TaskResult . ResultType . BUILD ) ; // Must set both the maximum and the core limits . If the core is // not set , then the thread pool will not be...
public class LTernaryOperatorBuilder { /** * One of ways of creating builder . This is possibly the least verbose way where compiler should be able to guess the generic parameters . */ @ Nonnull public static < T > LTernaryOperator < T > ternaryOperatorFrom ( Consumer < LTernaryOperatorBuilder < T > > buildingFunction ...
LTernaryOperatorBuilder builder = new LTernaryOperatorBuilder ( ) ; buildingFunction . accept ( builder ) ; return builder . build ( ) ;
public class PredictionsImpl { /** * Gets predictions for a given utterance , in the form of intents and entities . The current maximum query size is 500 characters . * @ param appId The LUIS application ID ( Guid ) . * @ param query The utterance to predict . * @ param resolveOptionalParameter the object represe...
return ServiceFuture . fromResponse ( resolveWithServiceResponseAsync ( appId , query , resolveOptionalParameter ) , serviceCallback ) ;
public class FormalParameterBuilderImpl { /** * Replies the default value of the parameter . * @ return the default value builder . */ @ Pure public IExpressionBuilder getDefaultValue ( ) { } }
if ( this . defaultValue == null ) { this . defaultValue = this . expressionProvider . get ( ) ; this . defaultValue . eInit ( this . parameter , new Procedures . Procedure1 < XExpression > ( ) { public void apply ( XExpression it ) { getSarlFormalParameter ( ) . setDefaultValue ( it ) ; } } , getTypeResolutionContext ...
public class PathDescriptorHelper { /** * Clean the provided path and split it into parts , separated by slashes . * @ param sPath * Source path . May not be < code > null < / code > . * @ return The list with all path parts . Never < code > null < / code > . */ @ Nonnull @ ReturnsMutableCopy public static ICommo...
// Remove leading and trailing whitespaces and slashes String sRealPath = StringHelper . trimStartAndEnd ( sPath . trim ( ) , "/" , "/" ) ; // Remove obscure path parts sRealPath = FilenameHelper . getCleanPath ( sRealPath ) ; // Split into pieces final ICommonsList < String > aPathParts = StringHelper . getExploded ( ...
public class BaseDfuImpl { /** * Removes the bond information for the given device . * @ return < code > true < / code > if operation succeeded , < code > false < / code > otherwise */ @ SuppressWarnings ( "UnusedReturnValue" ) boolean removeBond ( ) { } }
final BluetoothDevice device = mGatt . getDevice ( ) ; if ( device . getBondState ( ) == BluetoothDevice . BOND_NONE ) return true ; mService . sendLogBroadcast ( DfuBaseService . LOG_LEVEL_VERBOSE , "Removing bond information..." ) ; boolean result = false ; /* * There is a removeBond ( ) method in BluetoothDevice cla...
public class CmsObject { /** * Returns all file resources contained in a folder . < p > * The result is filtered according to the rules of * the < code > { @ link CmsResourceFilter # DEFAULT } < / code > filter . < p > * @ param resourcename the full current site relative path of the resource to return the child ...
return getFilesInFolder ( resourcename , CmsResourceFilter . DEFAULT ) ;
public class Int2ObjectCache { /** * { @ inheritDoc } */ public boolean containsValue ( final Object value ) { } }
boolean found = false ; if ( null != value ) { for ( final Object v : values ) { if ( value . equals ( v ) ) { found = true ; break ; } } } return found ;
public class FormatCache { /** * This must remain private , see LANG - 884 */ private F getDateTimeInstance ( final Integer dateStyle , final Integer timeStyle , final TimeZone timeZone , Locale locale ) { } }
if ( locale == null ) { locale = Locale . getDefault ( ) ; } final String pattern = getPatternForStyle ( dateStyle , timeStyle , locale ) ; return getInstance ( pattern , timeZone , locale ) ;
public class S3ProxyHandler { /** * it has unwanted millisecond precision */ private static String formatDate ( Date date ) { } }
SimpleDateFormat formatter = new SimpleDateFormat ( "yyyy-MM-dd'T'HH:mm:ss'Z'" ) ; formatter . setTimeZone ( TimeZone . getTimeZone ( "GMT" ) ) ; return formatter . format ( date ) ;
public class PackageSummaryBuilder { /** * Build the summary for the enums in this package . * @ param node the XML element that specifies which components to document * @ param summaryContentTree the summary tree to which the enum summary will * be added */ public void buildEnumSummary ( XMLNode node , Content s...
String enumTableSummary = configuration . getText ( "doclet.Member_Table_Summary" , configuration . getText ( "doclet.Enum_Summary" ) , configuration . getText ( "doclet.enums" ) ) ; String [ ] enumTableHeader = new String [ ] { configuration . getText ( "doclet.Enum" ) , configuration . getText ( "doclet.Description" ...
public class DescribeBrokerResult { /** * A list of information about allocated brokers . * @ param brokerInstances * A list of information about allocated brokers . */ public void setBrokerInstances ( java . util . Collection < BrokerInstance > brokerInstances ) { } }
if ( brokerInstances == null ) { this . brokerInstances = null ; return ; } this . brokerInstances = new java . util . ArrayList < BrokerInstance > ( brokerInstances ) ;
public class ObjectFactory { /** * Create an instance of { @ link JAXBElement } { @ code < } { @ link DirectionPropertyType } { @ code > } * @ param value * Java instance representing xml element ' s value . * @ return * the new instance of { @ link JAXBElement } { @ code < } { @ link DirectionPropertyType } { ...
return new JAXBElement < DirectionPropertyType > ( _Direction_QNAME , DirectionPropertyType . class , null , value ) ;
public class HessianURLConnection { /** * Sends the request */ public void sendRequest ( ) throws IOException { } }
if ( _conn instanceof HttpURLConnection ) { HttpURLConnection httpConn = ( HttpURLConnection ) _conn ; _statusCode = 500 ; try { _statusCode = httpConn . getResponseCode ( ) ; } catch ( Exception e ) { } parseResponseHeaders ( httpConn ) ; InputStream is = null ; if ( _statusCode != 200 ) { StringBuffer sb = new String...
public class CmsAliasList { /** * Creates a text box for entering an alias path . < p > * @ return the new text box */ protected CmsTextBox createTextBox ( ) { } }
CmsTextBox textbox = new CmsTextBox ( ) ; textbox . getElement ( ) . getStyle ( ) . setWidth ( 325 , Unit . PX ) ; textbox . getElement ( ) . getStyle ( ) . setMarginRight ( 5 , Unit . PX ) ; return textbox ;
public class ColtUtils { /** * Returns a lower and an upper bound for the condition number * < br > kp ( A ) = Norm [ A , p ] / Norm [ A ^ - 1 , p ] * < br > where * < br > Norm [ A , p ] = sup ( Norm [ A . x , p ] / Norm [ x , p ] , x ! = 0 ) * < br > for a matrix and * < br > Norm [ x , 1 ] : = Sum [ Math ....
double infLimit = Double . NEGATIVE_INFINITY ; double supLimit = Double . POSITIVE_INFINITY ; List < Double > columnNormsList = new ArrayList < Double > ( ) ; switch ( p ) { case 2 : for ( int j = 0 ; j < A . getColumnDimension ( ) ; j ++ ) { columnNormsList . add ( A . getColumnVector ( j ) . getL1Norm ( ) ) ; } Colle...
public class JDialogFactory { /** * Factory method for create a { @ link JDialog } object over the given { @ link JOptionPane } . * @ param parentComponent * the parent component * @ param pane * the pane * @ param title * the title * @ return the new { @ link JDialog } */ public static JDialog newJDialog...
return parentComponent == null ? pane . createDialog ( parentComponent , title ) : pane . createDialog ( title ) ;
public class LocalDateTime { /** * Obtains an instance of { @ code LocalDateTime } from a date and time . * @ param date the local date , not null * @ param time the local time , not null * @ return the local date - time , not null */ public static LocalDateTime of ( LocalDate date , LocalTime time ) { } }
Objects . requireNonNull ( date , "date" ) ; Objects . requireNonNull ( time , "time" ) ; return new LocalDateTime ( date , time ) ;
public class CollationBuilder { /** * Counts the tailored nodes of the given strength up to the next node * which is either stronger or has an explicit weight of this strength . */ private static int countTailoredNodes ( long [ ] nodesArray , int i , int strength ) { } }
int count = 0 ; for ( ; ; ) { if ( i == 0 ) { break ; } long node = nodesArray [ i ] ; if ( strengthFromNode ( node ) < strength ) { break ; } if ( strengthFromNode ( node ) == strength ) { if ( isTailoredNode ( node ) ) { ++ count ; } else { break ; } } i = nextIndexFromNode ( node ) ; } return count ;
public class TriggerUpdateMarshaller { /** * Marshall the given parameter object . */ public void marshall ( TriggerUpdate triggerUpdate , ProtocolMarshaller protocolMarshaller ) { } }
if ( triggerUpdate == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( triggerUpdate . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( triggerUpdate . getDescription ( ) , DESCRIPTION_BINDING ) ; protocolMarshaller . marshall (...