This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.prestosql.client; | |
import okhttp3.Interceptor; | |
import okhttp3.Request; | |
import okhttp3.Response; | |
import java.io.IOException; | |
import static io.airlift.units.Duration.nanosSince; | |
import static java.lang.String.format; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -eu | |
CURRENT=$1 | |
git log --format='%<|(21)%cn %<|(39)%cd %<|(50)%h %s' --date=format-local:'%m-%d %H:%M:%S' $CURRENT.. | \ | |
grep -vF '[maven-release-plugin]' | sort | \ | |
awk ' | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BucketFunction | |
CatalogSchemaName | |
CatalogSchemaTableName | |
ColumnHandle | |
ColumnMetadata | |
ColumnNotFoundException | |
ConnectorHandleResolver | |
ConnectorIndex | |
ConnectorIndexHandle | |
ConnectorInsertTableHandle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ThriftStruct | |
class Foo { | |
@ThriftId(2); | |
String foo; | |
@ThriftId(3) | |
ThriftString foo; | |
@ThriftUnknown | |
Map<Short, ThriftObject> unknown; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.facebook.presto.sql.parser; | |
import org.antlr.v4.runtime.Token; | |
import org.antlr.v4.runtime.atn.ATN; | |
import org.antlr.v4.runtime.atn.ATNState; | |
import org.antlr.v4.runtime.atn.NotSetTransition; | |
import org.antlr.v4.runtime.atn.Transition; | |
import org.antlr.v4.runtime.misc.IntervalSet; | |
import org.testng.annotations.Test; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.jdbi.v3.sqlobject; | |
/** | |
* A mixin interface to expose batching methods on the SQL object. | |
*/ | |
public interface Batchable | |
{ | |
/** | |
* Begin a SQL batch that will send multiple statements to the database | |
* at once. After this is called, a single |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package javatest8; | |
import com.google.inject.Binder; | |
import com.google.inject.Guice; | |
import com.google.inject.Injector; | |
import com.google.inject.Key; | |
import com.google.inject.Module; | |
import com.google.inject.matcher.Matchers; | |
import com.google.inject.spi.Dependency; | |
import com.google.inject.spi.DependencyAndSource; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -eu | |
job=$1 | |
token=$(perl -ne '/access_token: (.*)/ && print $1' ~/.travis/config.yml) | |
curl -sS -X POST \ | |
-H "Content-Type: application/json" \ | |
-H "Accept: application/json" \ | |
-H "Travis-API-Version: 3" \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -eu | |
CURRENT=$1 | |
git log --format='%<|(21)%cn %<|(34)%ct %<|(48)%h %s' $CURRENT.. | | |
grep -vF '[maven-release-plugin]' | sort | cut -c1-21,34- | | |
awk ' | |
{ | |
if (NR > 1) { | |
name = substr($0, 1, 21) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class ClassInitializer | |
{ | |
private final String name; | |
public ClassInitializer() | |
{ | |
System.out.println(name); | |
} | |
{ |
NewerOlder