Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 170 for formatter (0.08 seconds)

  1. README.md

    7. Commit changes: `git commit -m 'Add amazing feature'`
    8. Push to branch: `git push origin feature/amazing-feature`
    9. Open a Pull Request
    
    ### Code Style
    
    - Use Eclipse formatter configuration (`src/config/eclipse/formatter/java.xml`)
    - Follow existing naming conventions
    - Add comprehensive JavaDoc for public APIs
    - Write unit and integration tests
    
    ## License
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Aug 31 03:31:14 GMT 2025
    - 12.1K bytes
    - Click Count (1)
  2. benchmarks/src/main/java/org/elasticsearch/common/RoundingBenchmark.java

        private long[] dates;
        private Supplier<Rounding.Prepared> rounderBuilder;
    
        @Setup
        public void buildDates() {
            String[] r = range.split(" to ");
            min = FORMATTER.parseMillis(r[0]);
            max = FORMATTER.parseMillis(r[1]);
            dates = new long[count];
            long date = min;
            long diff = (max - min) / dates.length;
            for (int i = 0; i < dates.length; i++) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 16:53:28 GMT 2021
    - 4.1K bytes
    - Click Count (0)
  3. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

    import java.time.temporal.ChronoField.SECOND_OF_MINUTE
    import java.util.logging.Formatter
    import java.util.logging.LogRecord
    
    /**
     * Is Java8 Data and Time really this bad, or is writing this on a plane from just javadocs a bad
     * idea?
     *
     * Why so much construction?
     */
    class OneLineLogFormat : Formatter() {
      private val d =
        DateTimeFormatterBuilder()
          .appendValue(HOUR_OF_DAY, 2)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.1K bytes
    - Click Count (1)
  4. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt

                // otherwise we'll use the current timestamp by default and miss
                val formatter = SimpleDateFormat("yyyyMMddHHmmssZ").apply {
                    timeZone = TimeZone.getTimeZone("UTC")
                }
                return formatter.format(Date(0L))
            }
    
            val buildTimestampFromReceipt = buildTimestampFromBuildReceipt.orNull
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 05 17:24:26 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/ErrorReportingTestListener.java

    public class ErrorReportingTestListener implements TestOutputListener, TestListener {
        private static final String REPRODUCE_WITH_PREFIX = "REPRODUCE WITH";
    
        private final TestExceptionFormatter formatter;
        private final File outputDirectory;
        private final Logger taskLogger;
        private Map<Descriptor, EventWriter> eventWriters = new ConcurrentHashMap<>();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.7K bytes
    - Click Count (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt

      fun enableHttp2() = enable(Http2::class)
    
      fun enableTaskRunner() = enable(TaskRunner::class)
    
      fun logHandler() =
        ConsoleHandler().apply {
          level = Level.FINE
          formatter =
            object : SimpleFormatter() {
              override fun format(record: LogRecord) = String.format("[%1\$tF %1\$tT] %2\$s %n", record.millis, record.message)
            }
        }
    
      fun enable(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  7. fess-crawler-opensearch/pom.xml

    				</configuration>
    			</plugin>
    			<plugin>
    				<groupId>com.mycila</groupId>
    				<artifactId>license-maven-plugin</artifactId>
    			</plugin>
    			<plugin>
    				<groupId>net.revelc.code.formatter</groupId>
    				<artifactId>formatter-maven-plugin</artifactId>
    			</plugin>
    		</plugins>
    	</build>
    	<dependencies>
    		<dependency>
    			<groupId>org.codelibs.fess</groupId>
    			<artifactId>fess-crawler</artifactId>
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Mar 05 23:30:42 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

         */
        public void importCsv(final Reader reader) {
            @SuppressWarnings("resource")
            final CsvReader csvReader = new CsvReader(reader, new CsvConfig());
            final DateFormat formatter = new SimpleDateFormat(CoreLibConstants.DATE_FORMAT_ISO_8601_EXTEND);
            try {
                List<String> list;
                csvReader.readValues(); // ignore header
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  9. pom.xml

    			<plugin>
    				<artifactId>maven-compiler-plugin</artifactId>
    			</plugin>
    			<plugin>
    				<artifactId>maven-source-plugin</artifactId>
    			</plugin>
    			<plugin>
    				<groupId>net.revelc.code.formatter</groupId>
    				<artifactId>formatter-maven-plugin</artifactId>
    			</plugin>
    			<plugin>
    				<artifactId>maven-surefire-plugin</artifactId>
    				<configuration>
    					<systemPropertyVariables>
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Apr 12 13:32:38 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/job/JsonIndexExportFormatter.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.job;
    
    import java.util.Collection;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * Formatter that outputs index documents as JSON files.
     */
    public class JsonIndexExportFormatter implements IndexExportFormatter {
    
        /**
         * Creates a new JsonIndexExportFormatter instance.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 07 10:31:36 GMT 2026
    - 4.3K bytes
    - Click Count (0)
Back to Top