signature
stringlengths
43
39.1k
implementation
stringlengths
0
450k
public class UIDMeta { /** * Convenience overload of { @ code getUIDMeta ( TSDB , UniqueIdType , byte [ ] ) } * @ param tsdb The TSDB to use for storage access * @ param type The type of UID to fetch * @ param uid The ID of the meta to fetch * @ return A UIDMeta from storage or a default * @ throws HBaseExcep...
return getUIDMeta ( tsdb , type , UniqueId . stringToUid ( uid ) ) ;
public class DisplayUtil { /** * Converts an { @ link Integer } value , which is measured in pixels , into a value , which is * measured in dp . * @ param context * The context , which should be used , as an instance of the class { @ link Context } . The * context may not be null * @ param pixels * The pixe...
Condition . INSTANCE . ensureNotNull ( context , "The context may not be null" ) ; DisplayMetrics displayMetrics = context . getResources ( ) . getDisplayMetrics ( ) ; return Math . round ( pixels / ( displayMetrics . densityDpi / PIXEL_DP_RATIO ) ) ;
public class ConvertDMatrixStruct { /** * Converts { @ link DMatrixRBlock } into { @ link DMatrixRMaj } * @ param src Input matrix . * @ param dst Output matrix . If null a new matrix will be declared . * @ return Converted matrix . */ public static DMatrixRMaj convert ( DMatrixRBlock src , DMatrixRMaj dst ) { } ...
if ( dst != null ) { dst . reshape ( src . getNumRows ( ) , src . getNumCols ( ) ) ; } else { dst = new DMatrixRMaj ( src . numRows , src . numCols ) ; } for ( int i = 0 ; i < src . numRows ; i += src . blockLength ) { int blockHeight = Math . min ( src . blockLength , src . numRows - i ) ; for ( int j = 0 ; j < src . ...
public class SecurityPhaseListener { /** * Inspect the annotations in the ViewConfigStore , enforcing any restrictions applicable to this phase * @ param event * @ param phaseIdType */ private void performObservation ( PhaseEvent event , PhaseIdType phaseIdType ) { } }
UIViewRoot viewRoot = ( UIViewRoot ) event . getFacesContext ( ) . getViewRoot ( ) ; List < ? extends Annotation > restrictionsForPhase = getRestrictionsForPhase ( phaseIdType , viewRoot . getViewId ( ) ) ; if ( restrictionsForPhase != null ) { log . debugf ( "Enforcing on phase %s" , phaseIdType ) ; enforce ( event . ...
public class ScanningQueryEngine { /** * Determine whether this column and the other are < i > union - compatible < / i > ( that is , having the same columns ) . * @ param results1 the first result set ; may not be null * @ param results2 the second result set ; may not be null * @ param context the query executi...
if ( results1 == results2 ) return true ; if ( results1 == null || results2 == null ) return false ; if ( results1 . hasFullTextSearchScores ( ) != results2 . hasFullTextSearchScores ( ) ) { // The query is not compatible context . getProblems ( ) . addError ( JcrI18n . setQueryContainsResultSetsWithDifferentFullTextSe...
public class TokenCachingStrategy { /** * Gets the cached enum indicating the source of the token from the Bundle . * @ param bundle * A Bundle in which the enum was stored . * @ return enum indicating the source of the token * @ throws NullPointerException if the passed in Bundle is null */ public static Acces...
Validate . notNull ( bundle , "bundle" ) ; if ( bundle . containsKey ( TokenCachingStrategy . TOKEN_SOURCE_KEY ) ) { return ( AccessTokenSource ) bundle . getSerializable ( TokenCachingStrategy . TOKEN_SOURCE_KEY ) ; } else { boolean isSSO = bundle . getBoolean ( TokenCachingStrategy . IS_SSO_KEY ) ; return isSSO ? Acc...
public class ScriptingEngines { /** * Loads the given script engine by language name . Will throw an exception if no script engine can be loaded for the given language name . * @ param language the name of the script language to lookup an implementation for * @ return the script engine * @ throws ProcessEngineExc...
if ( language != null ) { language = language . toLowerCase ( ) ; } ProcessApplicationReference pa = Context . getCurrentProcessApplication ( ) ; ProcessEngineConfigurationImpl config = Context . getProcessEngineConfiguration ( ) ; ScriptEngine engine = null ; if ( config . isEnableFetchScriptEngineFromProcessApplicati...
public class FilePrinter { /** * Clean log files if should clean follow strategy */ private void cleanLogFilesIfNecessary ( ) { } }
File logDir = new File ( folderPath ) ; File [ ] files = logDir . listFiles ( ) ; if ( files == null ) { return ; } for ( File file : files ) { if ( cleanStrategy . shouldClean ( file ) ) { file . delete ( ) ; } }
public class TextUICommandLine { /** * Parse the argument as auxclasspath entries and add them * @ param argument */ private void addAuxClassPathEntries ( String argument ) { } }
StringTokenizer tok = new StringTokenizer ( argument , File . pathSeparator ) ; while ( tok . hasMoreTokens ( ) ) { project . addAuxClasspathEntry ( tok . nextToken ( ) ) ; }
public class JobExecution { /** * Appends a log message to the execution log . The first time the log exceeds MAX _ LOG _ LENGTH , it * gets truncated and the TRUNCATION _ BANNER gets added . Subsequent calls to appendLog will be * ignored . * @ param formattedMessage The formatted message to append to the log . ...
if ( logTruncated ) return ; String combined = join ( getLog ( ) , formattedMessage ) ; if ( combined . length ( ) > MAX_LOG_LENGTH ) { String truncated = abbreviate ( combined , MAX_LOG_LENGTH - TRUNCATION_BANNER . length ( ) * 2 - 2 ) ; combined = join ( new String [ ] { TRUNCATION_BANNER , truncated , TRUNCATION_BAN...
public class ServletContainer { /** * Registers a filter . * @ param filterClass filter class to be registered . This class must be annotated with { @ linkplain WebFilter } . * @ return this . */ public final SC registerFilter ( Class < ? extends Filter > filterClass ) { } }
WebFilter webFilter = filterClass . getAnnotation ( WebFilter . class ) ; if ( webFilter == null ) throw new IllegalArgumentException ( String . format ( "Missing annotation '%s' for class '%s'" , WebFilter . class . getName ( ) , filterClass . getName ( ) ) ) ; String [ ] urlPatterns = webFilter . value ( ) ; if ( url...
public class FlowPreparer { /** * Update last modified time of the file if it exists . * @ param path path to the target file */ @ VisibleForTesting void updateLastModifiedTime ( final Path path ) { } }
try { Files . setLastModifiedTime ( path , FileTime . fromMillis ( System . currentTimeMillis ( ) ) ) ; } catch ( final IOException ex ) { log . warn ( "Error when updating last modified time for {}" , path , ex ) ; }
public class CmsToolManager { /** * Called by the < code > { @ link org . opencms . workplace . CmsWorkplaceManager # initialize ( CmsObject ) } < / code > method . < p > * @ param cms the admin cms context */ public void configure ( CmsObject cms ) { } }
if ( CmsLog . INIT . isInfoEnabled ( ) ) { CmsLog . INIT . info ( Messages . get ( ) . getBundle ( ) . key ( Messages . INIT_TOOLMANAGER_CREATED_0 ) ) ; } if ( m_roots . getObject ( ROOTKEY_DEFAULT ) == null ) { CmsToolRootHandler defToolRoot = new CmsToolRootHandler ( ) ; defToolRoot . setKey ( ROOTKEY_DEFAULT ) ; def...
public class StringArrayWrapper { /** * This method is used for unit test purposes to simulate the creation of a * StringArrayWrapper whose destinations are all on the local bus . * The individual strings of the first parameter may be of the following form ; * destName - just the destination name to be used . *...
int size = 0 ; if ( data != null ) size = data . length ; List fakedFullMsgPath = new ArrayList ( size + 1 ) ; if ( size > 0 ) { for ( int i = 0 ; i < size ; i ++ ) { // Create the appropriate List element . String destName = data [ i ] ; String busName = null ; SIDestinationAddress sida ; // If this is of the form des...
public class NodeSetDTM { /** * Return the last fetched node . Needed to support the UnionPathIterator . * @ return the last fetched node . * @ throws RuntimeException thrown if this NodeSetDTM is not of * a cached type , and thus doesn ' t permit indexed access . */ public int getCurrentNode ( ) { } }
if ( ! m_cacheNodes ) throw new RuntimeException ( "This NodeSetDTM can not do indexing or counting functions!" ) ; int saved = m_next ; // because nextNode always increments // But watch out for copy29 , where the root iterator didn ' t // have nextNode called on it . int current = ( m_next > 0 ) ? m_next - 1 : m_next...
public class PollForActivityTaskRequestMarshaller { /** * Marshall the given parameter object . */ public void marshall ( PollForActivityTaskRequest pollForActivityTaskRequest , ProtocolMarshaller protocolMarshaller ) { } }
if ( pollForActivityTaskRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( pollForActivityTaskRequest . getDomain ( ) , DOMAIN_BINDING ) ; protocolMarshaller . marshall ( pollForActivityTaskRequest . getTaskList ( ) , TASKLIST_BINDIN...
public class TypeConversion { /** * A utility method to convert an int into bytes in an array . * @ param value * An int . * @ param bytes * The byte array to which the int should be copied . * @ param offset * The index where the int should start . */ public static void intToBytes ( int value , byte [ ] by...
bytes [ offset + 3 ] = ( byte ) ( value >>> 0 ) ; bytes [ offset + 2 ] = ( byte ) ( value >>> 8 ) ; bytes [ offset + 1 ] = ( byte ) ( value >>> 16 ) ; bytes [ offset + 0 ] = ( byte ) ( value >>> 24 ) ;
public class Signer { /** * Returns a parsed Date . * @ param date a date in the AWS format yyyyMMdd ' T ' HHmmss ' Z ' * @ return a date */ public static Date parseAWSDate ( String date ) { } }
if ( date == null ) { return null ; } return TIME_FORMATTER . parseDateTime ( date ) . toDate ( ) ;
public class SameDiff { /** * Convert the specified variables to VARIABLE type SDVariables . < br > * This can only be done for constants and placeholders , not ARRAY type variables ( which are usually network activations ) . * As variables , this variable will modified during any subsequent training . < br > * S...
if ( constants . size ( ) == 0 ) return ; boolean allConst = true ; for ( SDVariable variable : constants ) { if ( variable . getVariableType ( ) != VariableType . VARIABLE ) { allConst = false ; } Preconditions . checkState ( variable . getVariableType ( ) != VariableType . ARRAY , "Cannot convert variable of type ARR...
public class AmazonRedshiftClient { /** * Allows you to purchase reserved nodes . Amazon Redshift offers a predefined set of reserved node offerings . You * can purchase one or more of the offerings . You can call the < a > DescribeReservedNodeOfferings < / a > API to obtain * the available reserved node offerings ...
request = beforeClientExecution ( request ) ; return executePurchaseReservedNodeOffering ( request ) ;
public class NavigationHandlerImpl { /** * Performs the algorithm specified in 7.4.2 for situations where no navigation cases are defined and instead * the navigation case is to be determined from the outcome . * TODO : cache results ? */ private NavigationCase getOutcomeNavigationCase ( FacesContext facesContext ,...
String implicitViewId = null ; boolean includeViewParams = false ; int index ; boolean isRedirect = false ; String queryString = null ; NavigationCase result = null ; String viewId = facesContext . getViewRoot ( ) != null ? facesContext . getViewRoot ( ) . getViewId ( ) : null ; // String viewIdToTest = outcome ; Strin...
public class Spliterators { /** * Creates a { @ code Spliterator } covering a range of elements of a given * array , using a customized set of spliterator characteristics . * < p > This method is provided as an implementation convenience for * Spliterators which store portions of their elements in arrays , and ne...
checkFromToBounds ( Objects . requireNonNull ( array ) . length , fromIndex , toIndex ) ; return new ArraySpliterator < > ( array , fromIndex , toIndex , additionalCharacteristics ) ;
public class CssScanner { /** * HASHNAME " # " { name } name { nmchar } + [ _ a - z0-9 - ] | { nonascii } | { escape } * @ throws CssException */ private void _hashname ( ) throws IOException , CssException { } }
if ( debug ) { checkState ( reader . curChar == '#' ) ; checkState ( NMCHAR . matches ( ( char ) reader . peek ( ) ) || isNextEscape ( ) ) ; } builder . type = Type . HASHNAME ; builder . append ( '#' ) ; append ( NMCHAR ) ;
public class DevicesInner { /** * Gets all the data box edge / gateway devices in a resource group . * @ param resourceGroupName The resource group name . * @ param expand Specify $ expand = details to populate additional fields related to the resource or Specify $ skipToken = & lt ; token & gt ; to populate the ne...
return listByResourceGroupWithServiceResponseAsync ( resourceGroupName , expand ) . map ( new Func1 < ServiceResponse < Page < DataBoxEdgeDeviceInner > > , Page < DataBoxEdgeDeviceInner > > ( ) { @ Override public Page < DataBoxEdgeDeviceInner > call ( ServiceResponse < Page < DataBoxEdgeDeviceInner > > response ) { re...
public class EvictionPolicyEvaluatorProvider { /** * Gets the { @ link EvictionPolicyEvaluator } implementation specified with { @ code evictionPolicy } . * @ param evictionConfig { @ link EvictionConfiguration } for requested { @ link EvictionPolicyEvaluator } implementation * @ param classLoader the { @ link java...
checkNotNull ( evictionConfig ) ; EvictionPolicyComparator evictionPolicyComparator ; String evictionPolicyComparatorClassName = evictionConfig . getComparatorClassName ( ) ; if ( ! isNullOrEmpty ( evictionPolicyComparatorClassName ) ) { try { evictionPolicyComparator = ClassLoaderUtil . newInstance ( classLoader , evi...
public class ProcessAnnotatedTypeImpl { /** * Call this method after all observer methods of this event have been invoked to get the final value of this { @ link AnnotatedType } . * @ return the resulting annotated type */ public SlimAnnotatedType < X > getResultingAnnotatedType ( ) { } }
if ( isDirty ( ) ) { return ClassTransformer . instance ( manager ) . getUnbackedAnnotatedType ( originalAnnotatedType , annotatedType ) ; } else { return originalAnnotatedType ; }
public class FTPClient { /** * Performs third - party transfer between two servers . * @ param remoteSrcFile source filename * @ param destination another client connected to destination server * @ param remoteDstFile destination filename * @ param append enables append mode ; if true , * data will be appened...
session . matches ( destination . session ) ; // if transfer modes have not been defined , // set this ( source ) as active if ( session . serverMode == Session . SERVER_DEFAULT ) { HostPort hp = destination . setPassive ( ) ; setActive ( hp ) ; } destination . controlChannel . write ( new Command ( ( append ) ? "APPE"...
public class UcsApi { /** * Search for contacts . If ‘ sortCriteria ’ or ‘ startIndex ’ is specified , the query is based on SQL , otherwise on Lucene * @ param luceneSearchData ( required ) * @ return ApiResponse & lt ; ApiSuccessResponse & gt ; * @ throws ApiException If fail to call the API , e . g . server er...
com . squareup . okhttp . Call call = searchContactsValidateBeforeCall ( luceneSearchData , null , null ) ; Type localVarReturnType = new TypeToken < ApiSuccessResponse > ( ) { } . getType ( ) ; return apiClient . execute ( call , localVarReturnType ) ;
public class RefocusNotifier { /** * Sends an Refocus sample . * @ param aspectPath The Refocus aspect path . * @ param fired If the trigger is fired or not . */ private void sendMessage ( String aspectPath , boolean fired ) { } }
if ( Boolean . valueOf ( _config . getValue ( SystemConfiguration . Property . REFOCUS_ENABLED ) ) ) { int refreshMaxTimes = Integer . parseInt ( _config . getValue ( Property . REFOCUS_CONNECTION_REFRESH_MAX_TIMES . getName ( ) , Property . REFOCUS_CONNECTION_REFRESH_MAX_TIMES . getDefaultValue ( ) ) ) ; try { // TODO...
public class Task { /** * Runs a continuation when a task completes successfully , forwarding along * { @ link java . lang . Exception } s or cancellation . */ public < TContinuationResult > Task < TContinuationResult > onSuccessTask ( final Continuation < TResult , Task < TContinuationResult > > continuation , Execu...
return continueWithTask ( new Continuation < TResult , Task < TContinuationResult > > ( ) { @ Override public Task < TContinuationResult > then ( Task < TResult > task ) { if ( ct != null && ct . isCancellationRequested ( ) ) { return Task . cancelled ( ) ; } if ( task . isFaulted ( ) ) { return Task . forError ( task ...
public class TaxinvoiceServiceImp { /** * / * ( non - Javadoc ) * @ see com . popbill . api . TaxinvoiceService # getInfo ( java . lang . String , com . popbill . api . taxinvoice . MgtKeyType , java . lang . String ) */ @ Override public TaxinvoiceInfo getInfo ( String CorpNum , MgtKeyType KeyType , String MgtKey ) ...
if ( KeyType == null ) throw new PopbillException ( - 99999999 , "관리번호형태가 입력되지 않았습니다." ) ; if ( MgtKey == null || MgtKey . isEmpty ( ) ) throw new PopbillException ( - 99999999 , "관리번호가 입력되지 않았습니다." ) ; return httpget ( "/Taxinvoice/" + KeyType . name ( ) + "/" + MgtKey , CorpNum , null , TaxinvoiceInfo . class ) ;
public class Actor { /** * < p > INTERNAL API < / p > * Initialization of actor * @ param path path of actor * @ param context context of actor * @ param mailbox mailbox of actor */ public final void initActor ( String path , ActorContext context , Mailbox mailbox ) { } }
this . path = path ; this . context = context ; this . mailbox = mailbox ;
public class IncrementalDFADAGBuilder { /** * Creates a suffix state sequence , i . e . , a linear sequence of states connected by transitions labeled by the * letters of the given suffix word . * @ param suffix * the suffix word * @ param acc * the acceptance status of the final state * @ return the first ...
StateSignature sig = new StateSignature ( alphabetSize , acc ) ; sig . updateHashCode ( ) ; State last = replaceOrRegister ( sig ) ; int len = suffix . length ( ) ; for ( int i = len - 1 ; i >= 0 ; i -- ) { sig = new StateSignature ( alphabetSize , Acceptance . DONT_KNOW ) ; I sym = suffix . getSymbol ( i ) ; int idx =...
public class Library { /** * Sets the locale for the complete Logdoc library . * @ param newLocale * the new locale , cannot be < code > null < / code > . * @ throws UnsupportedLocaleException * if the specified locale is not supported by < em > all < / em > registered < code > Log < / code > * classes . */ p...
Preconditions . checkArgument ( newLocale == null , "newLocale == null" ) ; if ( ! newLocale . equals ( CURRENT_LOCALE ) ) { LogCentral . setLocale ( newLocale ) ; CURRENT_LOCALE = newLocale ; }
public class Input { /** * One of two methods to set layer input values . This one is for raw double data , e . g . for scoring * @ param seed For seeding the RNG inside ( for input dropout ) * @ param data Data ( training columns and responses ) to extract the training columns * from to be mapped into the input ...
// Log . info ( " Data : " + ArrayUtils . toString ( data ) ) ; assert ( _dinfo != null ) ; double [ ] nums = MemoryManager . malloc8d ( _dinfo . _nums ) ; // a bit wasteful - reallocated each time int [ ] cats = MemoryManager . malloc4 ( _dinfo . _cats ) ; // a bit wasteful - reallocated each time int i = 0 , ncats = ...
public class Matrix { /** * Set a submatrix . * @ param i0 Initial row index * @ param i1 Final row index * @ param c Array of column indices . * @ param X A ( i0 : i1 , c ( : ) ) * @ throws ArrayIndexOutOfBoundsException Submatrix indices */ public void setMatrix ( int i0 , int i1 , int [ ] c , Matrix X ) { ...
try { for ( int i = i0 ; i <= i1 ; i ++ ) { for ( int j = 0 ; j < c . length ; j ++ ) { A [ i ] [ c [ j ] ] = X . get ( i - i0 , j ) ; } } } catch ( ArrayIndexOutOfBoundsException e ) { throw new ArrayIndexOutOfBoundsException ( "Submatrix indices" ) ; }
public class Duration { @ Override public List < TemporalUnit > getUnits ( ) { } }
return Collections . < TemporalUnit > unmodifiableList ( Arrays . asList ( SECONDS , NANOS ) ) ;
public class NetUtils { /** * Get local Ip address . */ public static InetAddress getLocalIPAddress ( ) { } }
Enumeration < NetworkInterface > enumeration = null ; try { enumeration = NetworkInterface . getNetworkInterfaces ( ) ; } catch ( SocketException e ) { e . printStackTrace ( ) ; } if ( enumeration != null ) { while ( enumeration . hasMoreElements ( ) ) { NetworkInterface nif = enumeration . nextElement ( ) ; Enumeratio...
public class SolrIndexer { /** * Initialize the plugin * @ param jsonString * The JSON configuration to use as a string * @ throws IndexerException * if errors occur during initialization */ @ Override public void init ( String jsonString ) throws IndexerException { } }
try { config = new JsonSimpleConfig ( jsonString ) ; init ( ) ; } catch ( IOException e ) { throw new IndexerException ( e ) ; }
public class SnippetMaps { /** * Compute the set of imports to prepend to a snippet * @ return a stream of the import needed */ private Stream < ImportSnippet > importSnippets ( ) { } }
return state . keyMap . importKeys ( ) . map ( key -> ( ImportSnippet ) getSnippet ( key ) ) . filter ( sn -> sn != null && state . status ( sn ) . isDefined ( ) ) ;
public class BomParser { /** * Verifies a CycloneDX BoM conforms to the specification through XML validation . * @ param file the CycloneDX BoM file to validate * @ param schemaVersion the schema version to validate against * @ return a List of SAXParseExceptions . If the size of the list is 0 , validation was su...
final Source xmlFile = new StreamSource ( file ) ; final List < SAXParseException > exceptions = new LinkedList < > ( ) ; try { final Schema schema = getXmlSchema ( schemaVersion ) ; final Validator validator = schema . newValidator ( ) ; validator . setErrorHandler ( new ErrorHandler ( ) { @ Override public void warni...
public class AbstractLimitHandler { /** * Some dialect - specific LIMIT clauses require the maximum last row number ( aka , first _ row _ number + total _ row _ count ) , * while others require the maximum returned row count ( the total maximum number of rows to return ) . * @ param selection the selection criteria...
final int firstRow = convertToFirstRowValue ( LimitHelper . getFirstRow ( selection ) ) ; final int lastRow = selection . getMaxRows ( ) ; return useMaxForLimit ( ) ? lastRow + firstRow : lastRow ;
public class AbstractConfigurableRemote { /** * { @ inheritDoc } * @ param config { @ inheritDoc } * @ return { @ inheritDoc } * @ throws CouldNotPerformException { @ inheritDoc } * @ throws InterruptedException { @ inheritDoc } */ @ Override public CONFIG applyConfigUpdate ( final CONFIG config ) throws CouldN...
synchronized ( CONFIG_LOCK ) { try { this . config = config ; configObservable . notifyObservers ( config ) ; // detect scope change if instance is already active and reinit if needed . try { if ( isActive ( ) && ! currentScope . equals ( detectScope ( config ) ) ) { currentScope = detectScope ( ) ; reinit ( currentSco...
public class LoggingAdvisingAppendable { /** * An implementation that only delegates { @ link # append } calls . This has the effect of coercing * the content to a string by dropping all the strict content directives . */ public static LoggingAdvisingAppendable stringCoercing ( LoggingAdvisingAppendable delegate ) { ...
return new ForwardingLoggingAdvisingAppendable ( delegate ) { @ Override protected void notifyContentDirectionality ( @ Nullable Dir contentDir ) { } @ Override public LoggingAdvisingAppendable enterLoggableElement ( LogStatement statement ) { return this ; } @ Override public LoggingAdvisingAppendable exitLoggableElem...
public class Executors { /** * Returns a { @ link Callable } object that , when * called , runs the given task and returns the given result . This * can be useful when applying methods requiring a * { @ code Callable } to an otherwise resultless action . * @ param task the task to run * @ param result the res...
if ( task == null ) throw new NullPointerException ( ) ; return new RunnableAdapter < T > ( task , result ) ;
public class AbstractFax4JClientSpi { /** * This function polls the new statues for the provided fax jobs . * @ param faxJobs * The fax jobs to poll * @ return The fax job statues */ public final FaxJobStatus [ ] pollForFaxJobStatues ( FaxJob [ ] faxJobs ) { } }
FaxJobStatus [ ] faxJobStatuses = null ; if ( ( faxJobs != null ) && ( faxJobs . length > 0 ) && ( this . isFaxMonitorEventsSupported ( ) ) ) { faxJobStatuses = this . pollForFaxJobStatuesImpl ( faxJobs ) ; } return faxJobStatuses ;
public class ChecksumFileSystem { /** * Return true iff file is a checksum file name . */ public static boolean isChecksumFile ( Path file ) { } }
String name = file . getName ( ) ; return name . startsWith ( "." ) && name . endsWith ( ".crc" ) ;
public class GenericCollectionTypeResolver { /** * Determine the generic element type of the given Collection field . * @ param collectionField the collection field to introspect * @ param nestingLevel the nesting level of the target type * ( typically 1 ; e . g . in case of a List of Lists , 1 would indicate the...
return ResolvableType . forField ( collectionField ) . getNested ( nestingLevel , typeIndexesPerLevel ) . asCollection ( ) . resolveGeneric ( ) ;
public class UserResource { /** * Change current users username . * The username must be unique * @ param usernameRequest new username * @ return 200 if success * 409 if username is not unique */ @ POST @ Path ( "me/username" ) @ RolesAllowed ( { } }
"ROLE_ADMIN" , "ROLE_USER" } ) public Response changeUsername ( @ Context HttpServletRequest request , UsernameRequest usernameRequest ) { Long userId = ( Long ) request . getAttribute ( OAuth2Filter . NAME_USER_ID ) ; return changeUsername ( userId , usernameRequest ) ;
public class BsBadWordCB { public BadWordCB acceptPK ( String id ) { } }
assertObjectNotNull ( "id" , id ) ; BsBadWordCB cb = this ; cb . query ( ) . docMeta ( ) . setId_Equal ( id ) ; return ( BadWordCB ) this ;
public class InetAddresses { /** * Returns the IPv4 address embedded in a 6to4 address . * @ param ip { @ link Inet6Address } to be examined for embedded IPv4 in 6to4 address * @ return { @ link Inet4Address } of embedded IPv4 in 6to4 address * @ throws IllegalArgumentException if the argument is not a valid IPv6...
Preconditions . checkArgument ( is6to4Address ( ip ) , "Address '%s' is not a 6to4 address." , toAddrString ( ip ) ) ; return getInet4Address ( Arrays . copyOfRange ( ip . getAddress ( ) , 2 , 6 ) ) ;
public class MultiPolylineMarkers { /** * Is it valid * @ return */ public boolean isValid ( ) { } }
boolean valid = true ; for ( PolylineMarkers polyline : polylineMarkers ) { valid = polyline . isValid ( ) ; if ( ! valid ) { break ; } } return valid ;
public class GsonMessageReaderWriterProvider { /** * Taken from com . fasterxml . jackson . jaxrs . json . JacksonJsonProvider */ protected boolean isJsonType ( MediaType mediaType ) { } }
/* * As suggested by Stephen D , there are 2 ways to check : either being as inclusive as possible ( if subtype is " json " ) , or exclusive * ( major type " application " , minor type " json " ) . Let ' s start with inclusive one , hard to know which major types we should cover * aside from " application " . */ if...
public class RiakClient { /** * Static factory method to create a new client instance . * This method produces a client connected to the supplied addresses on * the default ( protocol buffers ) port ( 8087 ) . * @ param remoteAddresses a list of IP addresses or hostnames * @ return a new client instance * @ t...
return newClient ( RiakNode . Builder . DEFAULT_REMOTE_PORT , remoteAddresses ) ;
public class MultiLayerFeaturesList { /** * Feed a map of features to the widget , so it can be built . * @ param featureMap feature map */ public void setFeatures ( Map < String , List < org . geomajas . layer . feature . Feature > > featureMap ) { } }
MapModel mapModel = mapWidget . getMapModel ( ) ; for ( Entry < String , List < org . geomajas . layer . feature . Feature > > clientLayerId : featureMap . entrySet ( ) ) { Layer < ? > layer = mapModel . getLayer ( clientLayerId . getKey ( ) ) ; if ( null != layer ) { List < org . geomajas . layer . feature . Feature >...
public class ProcessDefinitionManager { /** * Deletes the timer start events for the given process definition . * @ param processDefinition the process definition */ protected void deleteTimerStartEventsForProcessDefinition ( ProcessDefinition processDefinition ) { } }
List < JobEntity > timerStartJobs = getJobManager ( ) . findJobsByConfiguration ( TimerStartEventJobHandler . TYPE , processDefinition . getKey ( ) , processDefinition . getTenantId ( ) ) ; ProcessDefinitionEntity latestVersion = getProcessDefinitionManager ( ) . findLatestProcessDefinitionByKeyAndTenantId ( processDef...
public class NettyClientHandler { /** * Handler for the Channel shutting down . */ @ Override public void channelInactive ( ChannelHandlerContext ctx ) throws Exception { } }
try { logger . fine ( "Network channel is closed" ) ; Status status = Status . UNAVAILABLE . withDescription ( "Network closed for unknown reason" ) ; lifecycleManager . notifyShutdown ( status ) ; try { cancelPing ( lifecycleManager . getShutdownThrowable ( ) ) ; // Report status to the application layer for any open ...
public class CallLogUtil { /** * returns true if call log of specified number exists */ public static boolean containsLogFromNumber ( List < CallLogEntry > logs , String number ) { } }
for ( CallLogEntry log : logs ) { if ( log . number . equals ( number ) ) { return true ; } } return false ;
public class Documents { /** * Will set the id property on the document IF a mutator exists . Otherwise * nothing happens . * @ param document * @ param id */ public static void setId ( Object document , String id ) { } }
DocumentAccessor d = getAccessor ( document ) ; if ( d . hasIdMutator ( ) ) { d . setId ( document , id ) ; }
public class AWSOpsWorksClient { /** * Starts a specified instance . For more information , see < a * href = " http : / / docs . aws . amazon . com / opsworks / latest / userguide / workinginstances - starting . html " > Starting , Stopping , * and Rebooting Instances < / a > . * < b > Required Permissions < / b ...
request = beforeClientExecution ( request ) ; return executeStartInstance ( request ) ;
public class Configuration { /** * Adds a set of deprecated keys to the global deprecations . * This method is lockless . It works by means of creating a new * DeprecationContext based on the old one , and then atomically swapping in * the new context . If someone else updated the context in between us reading ...
DeprecationContext prev , next ; do { prev = deprecationContext . get ( ) ; next = new DeprecationContext ( prev , deltas ) ; } while ( ! deprecationContext . compareAndSet ( prev , next ) ) ;
public class SmartObjectMapper { /** * This method behaves similarly to the < code > writeValueAsString ( Object value ) < / code > method * except that it includes an indentation prefix that will be prepended to each line of the * resulting string ( except the first line ) . * @ param value The smart object to b...
PrettyPrinter printer = new BetterPrettyPrinter ( indentation ) . withArrayIndenter ( new DefaultIndenter ( ) ) ; return writer ( printer ) . writeValueAsString ( value ) ;
public class CmsLock { /** * Returns a set of locked unpublished related resources . < p > * @ param resName the resource to check the related resources for * @ param filter the lock filter to use * @ param lockedResources a set of site relative paths , of locked resources to exclude */ private void addLockedRela...
try { // get and iterate over all related resources Iterator < CmsRelation > itRelations = getCms ( ) . getRelationsForResource ( resName , CmsRelationFilter . TARGETS . filterStrong ( ) . filterIncludeChildren ( ) ) . iterator ( ) ; while ( itRelations . hasNext ( ) ) { CmsRelation relation = itRelations . next ( ) ; ...
public class BooleanUtils { /** * < p > Performs an and on an array of Booleans . < / p > * < pre > * BooleanUtils . and ( Boolean . TRUE , Boolean . TRUE ) = Boolean . TRUE * BooleanUtils . and ( Boolean . FALSE , Boolean . FALSE ) = Boolean . FALSE * BooleanUtils . and ( Boolean . TRUE , Boolean . FALSE ) = B...
if ( array == null ) { throw new IllegalArgumentException ( "The Array must not be null" ) ; } if ( array . length == 0 ) { throw new IllegalArgumentException ( "Array is empty" ) ; } try { final boolean [ ] primitive = ArrayUtils . toPrimitive ( array ) ; return and ( primitive ) ? Boolean . TRUE : Boolean . FALSE ; }...
public class MSPDIWriter { /** * Writes task baseline data . * @ param xmlTask MSPDI task * @ param mpxjTask MPXJ task */ private void writeTaskBaselines ( Project . Tasks . Task xmlTask , Task mpxjTask ) { } }
Project . Tasks . Task . Baseline baseline = m_factory . createProjectTasksTaskBaseline ( ) ; boolean populated = false ; Number cost = mpxjTask . getBaselineCost ( ) ; if ( cost != null && cost . intValue ( ) != 0 ) { populated = true ; baseline . setCost ( DatatypeConverter . printCurrency ( cost ) ) ; } Duration dur...
public class ValidatorUtil { /** * 验证方法参数是否符合规则 * @ param instance 方法所在的类的实例 * @ param method 方法实例 * @ param params 参数 */ public static void validateParameters ( Object instance , Method method , Object [ ] params ) { } }
Assert . notNull ( instance , "instance不能为null" ) ; Assert . notNull ( method , "method不能为null" ) ; Set < ConstraintViolation < Object > > constraintViolations = executableValidator . validateParameters ( instance , method , params ) ; check ( constraintViolations ) ;
public class FieldPredicates { /** * Create a predicate to check that a field is annotated with one of the given annotations . * @ param annotations present on the field * @ return Predicate to check that a field is annotated with one of the given annotations . */ public static Predicate < Field > isAnnotatedWith (...
return field -> { for ( Class < ? extends Annotation > annotation : annotations ) { if ( field . isAnnotationPresent ( annotation ) ) { return true ; } } return false ; } ;
public class RadialMenuItem { /** * Renders this menu item at the specified location . */ public void render ( Component host , RadialMenu menu , Graphics2D gfx , int x , int y ) { } }
paint ( gfx , x , y , menu ) ;
public class VisualizeStereoDisparity { /** * Removes distortion and rectifies images . */ private void rectifyInputImages ( ) { } }
// get intrinsic camera calibration matrices DMatrixRMaj K1 = PerspectiveOps . pinholeToMatrix ( calib . left , ( DMatrixRMaj ) null ) ; DMatrixRMaj K2 = PerspectiveOps . pinholeToMatrix ( calib . right , ( DMatrixRMaj ) null ) ; // compute rectification matrices rectifyAlg . process ( K1 , new Se3_F64 ( ) , K2 , calib...
public class LifecycleChaincodePackage { /** * Lifecycle chaincode package as bytes * @ return Lifecycle chaincode package as bytes . */ public byte [ ] getAsBytes ( ) { } }
byte [ ] ret = new byte [ pBytes . length ] ; System . arraycopy ( pBytes , 0 , ret , 0 , pBytes . length ) ; // make sure we keep our own copy . return ret ;
public class EfficientViewHolder { /** * Helper for { @ link EfficientCacheView # findViewByIdEfficient ( int , int ) } */ @ Nullable public < T extends View > T findViewByIdEfficient ( int parentId , int id ) { } }
return mCacheView . findViewByIdEfficient ( parentId , id ) ;
public class Comparator { /** * https : / / stackoverflow . com / questions / 6701948 / efficient - way - to - compare - version - strings - in - java * Compares two version strings . * Use this instead of String . compareTo ( ) for a non - lexicographical * comparison that works for version strings . e . g . " 1...
String [ ] vals1 = str1 . split ( "\\." ) ; String [ ] vals2 = str2 . split ( "\\." ) ; int i = 0 ; // set index to first non - equal ordinal or length of shortest version string while ( i < vals1 . length && i < vals2 . length && vals1 [ i ] . equals ( vals2 [ i ] ) ) { i ++ ; } try { // compare first non - equal ordi...
public class FSNamesystem { /** * Modify ( block - - > datanode ) map . Remove block from set of * needed replications if this takes care of the problem . * @ return the block that is stored in blockMap . * @ throws IOException */ final boolean addStoredBlockInternal ( Block block , DatanodeDescriptor node , Data...
InjectionHandler . processEvent ( InjectionEvent . FSNAMESYSTEM_ADDSTORED_BLOCK , node ) ; // either this is a direct call protected by writeLock , or // this is parallel initial block report assert ( hasWriteLock ( ) || ( worker != null ) ) ; // the call is invoked by the initial block report worker thread final boole...
public class PrefHelper { /** * Set the given Branch Key to preference . Clears the preference data if the key is a new key . * @ param key A { @ link String } representing Branch Key . * @ return A { @ link Boolean } which is true if the key set is a new key . On Setting a new key need to clear all preference item...
Branch_Key = key ; String currentBranchKey = getString ( KEY_BRANCH_KEY ) ; if ( key == null || currentBranchKey == null || ! currentBranchKey . equals ( key ) ) { clearPrefOnBranchKeyChange ( ) ; setString ( KEY_BRANCH_KEY , key ) ; return true ; } return false ;
public class JavaIoFileSystemAccess { /** * { @ inheritDoc } */ @ Override public boolean isFile ( String path , String outputConfigurationName ) throws RuntimeIOException { } }
File file = getFile ( path , outputConfigurationName ) ; return file != null && file . exists ( ) && file . isFile ( ) ;
public class SarlAnnotationTypeBuilderImpl { /** * Initialize the Ecore element when inner type declaration . */ public void eInit ( XtendTypeDeclaration container , String name , IJvmTypeProvider context ) { } }
if ( this . sarlAnnotationType == null ) { this . container = container ; this . sarlAnnotationType = SarlFactory . eINSTANCE . createSarlAnnotationType ( ) ; container . getMembers ( ) . add ( this . sarlAnnotationType ) ; if ( ! Strings . isEmpty ( name ) ) { this . sarlAnnotationType . setName ( name ) ; } }
public class ConstCheck { /** * Reports a reassigned constant error . */ void reportError ( Node n , Var var , String name ) { } }
JSDocInfo info = NodeUtil . getBestJSDocInfo ( n ) ; if ( info == null || ! info . getSuppressions ( ) . contains ( "const" ) ) { Node declNode = var . getNode ( ) ; String declaredPosition = declNode . getSourceFileName ( ) + ":" + declNode . getLineno ( ) ; compiler . report ( JSError . make ( n , CONST_REASSIGNED_VA...
public class CertificateCreator { /** * Convenience method for the most common case of certificate duplication . * This method will not add any custom extensions and won ' t copy the extensions 2.5.29.8 : Issuer Alternative Name , * 2.5.29.18 : Issuer Alternative Name 2 , 2.5.29.31 : CRL Distribution Point or 1.3.6...
return mitmDuplicateCertificate ( originalCert , newPubKey , caCert , caPrivateKey , clientCertDefaultOidsNotToCopy ) ;
public class Application { /** * Return the singleton < code > ELResolver < / code > instance to be used for all EL resolution . This is actually an * instance of < code > CompositeELResolver < / code > that must contain the following ELResolver instances in the * following order : * < ul > * < li > < code > EL...
Application application = getMyfacesApplicationInstance ( ) ; if ( application != null ) { return application . getELResolver ( ) ; } throw new UnsupportedOperationException ( ) ;
public class EJBOperations { /** * Creates a new { @ link JavaResource } in the specified project . If no project is available , use * { @ link EJBOperations # newEntity ( DirectoryResource , String , String , GenerationType ) } * @ param project the current project in which to create the bean . Must not be null ...
final JavaSourceFacet java = project . getFacet ( JavaSourceFacet . class ) ; JavaClassSource javaClass = createJavaClass ( ejbName , targetPackage , ejbType , serializable ) ; return java . saveJavaSource ( javaClass ) ;
public class WsLocationAdminImpl { /** * ( non - Javadoc ) * @ see com . ibm . wsspi . kernel . service . location . WsLocationAdmin # addLocation ( java . lang . String , java . lang . String ) */ @ Override public WsResource addLocation ( String fileName , String symbolicName ) { } }
return new SymbolicRootResource ( fileName , symbolicName , commonRoot ) ;
public class FactorTemplateList { /** * Gets the number of observation function features . */ public int getNumObsFeats ( ) { } }
int count = 0 ; for ( FactorTemplate ft : fts ) { count += ft . getAlphabet ( ) . size ( ) ; } return count ;
public class JdbcEndpointConfigurationParser { /** * Parse endpoint configuration . * @ param endpointConfiguration * @ param element */ public void parseEndpointConfiguration ( BeanDefinitionBuilder endpointConfiguration , Element element ) { } }
JdbcServerConfiguration serverConfiguration = new JdbcServerConfiguration ( ) ; if ( element . hasAttribute ( "host" ) ) { serverConfiguration . setHost ( element . getAttribute ( "host" ) ) ; } if ( element . hasAttribute ( "port" ) ) { serverConfiguration . setPort ( Integer . valueOf ( element . getAttribute ( "port...
public class Path { private static void transport ( Grammar grammar , Attribute seed , int move , IntBitSet rawBorder , IntBitSet targetSymbols , List < AgBuffer > resultBuffers ) { } }
AgBuffer commulated ; IntBitSet border ; boolean down ; List < Attribute > attrs ; int i ; int max ; Attribute dest ; AgBuffer tmp ; int card ; AgBuffer buffer ; Attribute attr ; Occurrence occ ; if ( move == Path . DOWN || move == Path . UP ) { border = new IntBitSet ( ) ; grammar . getSymbols ( border ) ; } else { bo...
public class CodeAttribute { /** * Returns the exceptions . */ public void addException ( ClassConstant type , int start , int end , int handler ) { } }
_exceptions . add ( new ExceptionItem ( type . getIndex ( ) , start , end , handler ) ) ;
public class HorizontalRecordsProcessor { /** * ネストしたレコードの親のセルを結合する * @ param sheet シート * @ param mergedSize 結合するセルのサイズ * @ param valueCellPositions 結合する開始位置のセルのアドレス */ private void processSavingNestedMergedRecord ( final Sheet sheet , final int mergedSize , final List < CellPosition > valueCellPositions ) { }...
if ( mergedSize <= 1 ) { return ; } // ネストした場合 、 上のセルのスタイルをコピーして 、 結合する for ( CellPosition position : valueCellPositions ) { Cell valueCell = POIUtils . getCell ( sheet , position ) ; if ( valueCell == null ) { continue ; } final CellStyle style = valueCell . getCellStyle ( ) ; // 結合するセルに対して 、 上のセルのスタイルをコピーする 。 // 行を...
public class HistoryFilterPlusDialog { /** * This method initializes jPanel2 * @ return javax . swing . JPanel */ private JPanel getJPanel2 ( ) { } }
if ( jPanel2 == null ) { jPanel2 = new JPanel ( ) ; jPanel2 . setLayout ( new GridBagLayout ( ) ) ; GridBagConstraints gbc00 = LayoutHelper . getGBC ( 0 , 0 , 1 , 1.0 , stdInset ( ) ) ; GridBagConstraints gbc01 = LayoutHelper . getGBC ( 1 , 0 , 1 , 1.0 , stdInset ( ) ) ; GridBagConstraints gbc02 = LayoutHelper . getGBC...
public class ApiOvhOrder { /** * List all the items of a cart * REST : GET / order / cart / { cartId } / item * @ param cartId [ required ] Cart identifier */ public ArrayList < Long > cart_cartId_item_GET ( String cartId ) throws IOException { } }
String qPath = "/order/cart/{cartId}/item" ; StringBuilder sb = path ( qPath , cartId ) ; String resp = execN ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , t5 ) ;
public class Lifecycle { /** * Removes a listener . */ public void removeListener ( LifecycleListener listener ) { } }
synchronized ( this ) { if ( _listeners == null ) return ; for ( int i = _listeners . size ( ) - 1 ; i >= 0 ; i -- ) { LifecycleListener oldListener = _listeners . get ( i ) . get ( ) ; if ( listener == oldListener ) { _listeners . remove ( i ) ; return ; } else if ( oldListener == null ) _listeners . remove ( i ) ; } ...
public class Strings { /** * Checks if a CharSequence is whitespace , empty ( " " ) or null . * < pre > * isBlank ( null ) = true * isBlank ( " " ) = true * isBlank ( " " ) = true * isBlank ( " bob " ) = false * isBlank ( " bob " ) = false * < / pre > * @ param cs * the CharSequence to check , may be ...
int strLen ; if ( cs == null || ( strLen = cs . length ( ) ) == 0 ) { return true ; } for ( int i = 0 ; i < strLen ; i ++ ) { if ( Character . isWhitespace ( cs . charAt ( i ) ) == false ) { return false ; } } return true ;
public class RaftSession { /** * Registers a session result . * Results are stored in memory on all servers in order to provide linearizable semantics . When a command * is applied to the state machine , the command ' s return value is stored with the sequence number . Once the * client acknowledges receipt of th...
setRequestSequence ( sequence ) ; results . put ( sequence , result ) ;
public class HtmlGame { /** * TODO ( fredsa ) : consider adding an onerror page handler , for non - GWT * originated exceptions */ @ Override public final void onModuleLoad ( ) { } }
GWT . setUncaughtExceptionHandler ( new UncaughtExceptionHandler ( ) { @ Override public void onUncaughtException ( Throwable e ) { HtmlPlatform . log . error ( "Uncaught Exception: " , e ) ; } } ) ; // Need to do everything else in a deferred command , so that // the uncaught exception handler has taken effect Schedul...
public class MybatisRepository { /** * Given a base id , pass back the fully qualified version , for instance : < br / > * < br / > * & lt ; mapper namespace = " Person " & gt ; < br / > * & nbsp ; & nbsp ; & lt ; select id = " findByName " . . . & gt ; < br / > * & lt ; / mapper & gt ; < br / > * < br / > ...
final String simpleName = entityClass . getSimpleName ( ) ; return simpleName + "." + baseMapId ;
public class Matrix4f { /** * Set only the translation components < code > ( m30 , m31 , m32 ) < / code > of this matrix to the given values < code > ( x , y , z ) < / code > . * Note that this will only work properly for orthogonal matrices ( without any perspective ) . * To build a translation matrix instead , us...
this . _m30 ( x ) ; this . _m31 ( y ) ; this . _m32 ( z ) ; properties &= ~ ( PROPERTY_PERSPECTIVE | PROPERTY_IDENTITY ) ; return this ;
public class CmsUserInfoDialog { /** * Get Message for show last login information . < p > * @ param inacTime time since last login in milli sec * @ return HTML String */ private String getLastLoginMessage ( Long inacTime ) { } }
int days = ( int ) ( inacTime . longValue ( ) / ( 1000 * 60 * 60 * 24 ) ) ; if ( days == 0 ) { return CmsVaadinUtils . getMessageText ( Messages . GUI_USER_INFO_LAST_LOGIN_LESS_A_DAY_0 ) ; } if ( days == 1 ) { return CmsVaadinUtils . getMessageText ( Messages . GUI_USER_INFO_LAST_LOGIN_YESTERDAY_0 ) ; } return CmsVaadi...
public class CommerceAddressRestrictionUtil { /** * Returns the first commerce address restriction in the ordered set where commerceCountryId = & # 63 ; . * @ param commerceCountryId the commerce country ID * @ param orderByComparator the comparator to order the set by ( optionally < code > null < / code > ) * @ ...
return getPersistence ( ) . findByCommerceCountryId_First ( commerceCountryId , orderByComparator ) ;
public class GobblinTaskRunner { /** * Helix participant cannot pre - configure tags before it connects to ZK . So this method can only be invoked after * { @ link HelixManager # connect ( ) } . However this will still work because tagged jobs won ' t be sent to a non - tagged instance . Hence * the job with EXAMPL...
List < String > tags = ConfigUtils . getStringList ( this . config , GobblinClusterConfigurationKeys . HELIX_INSTANCE_TAGS_KEY ) ; HelixManager receiverManager = getReceiverManager ( ) ; if ( receiverManager . isConnected ( ) ) { if ( ! tags . isEmpty ( ) ) { logger . info ( "Adding tags binding " + tags ) ; tags . for...
public class SessionBeanTypeImpl { /** * If not already created , a new < code > around - timeout < / code > element will be created and returned . * Otherwise , the first existing < code > around - timeout < / code > element will be returned . * @ return the instance defined for the element < code > around - timeo...
List < Node > nodeList = childNode . get ( "around-timeout" ) ; if ( nodeList != null && nodeList . size ( ) > 0 ) { return new AroundTimeoutTypeImpl < SessionBeanType < T > > ( this , "around-timeout" , childNode , nodeList . get ( 0 ) ) ; } return createAroundTimeout ( ) ;
public class JmsJcaSessionImpl { /** * A convenience method that returns the core connection associated with * this session ' s connection . * @ return the core connection * @ throws IllegalStateException * if this session has been closed or invalidated */ public SICoreConnection getSICoreConnection ( ) throws ...
if ( TraceComponent . isAnyTracingEnabled ( ) && TRACE . isEntryEnabled ( ) ) { SibTr . entry ( this , TRACE , "getSICoreConnection" ) ; } if ( _sessionClosed ) { throw new IllegalStateException ( NLS . getFormattedMessage ( ( "ILLEGAL_STATE_CWSJR1123" ) , new Object [ ] { "getSICoreConnection" } , null ) ) ; } if ( _s...
public class SeaGlassStyleWrapper { /** * { @ inheritDoc } */ @ Override public Insets getInsets ( SynthContext ctx , Insets in ) { } }
return style . getInsets ( ctx , in ) ;