buggy_function
stringlengths
1
391k
fixed_function
stringlengths
0
392k
public static long getFailureCount(String repository) { long failureCount = 0; for (RepositoriesService repositoriesService : cluster().getInstances(RepositoriesService.class)) { MockRepository mockRepository = (MockRepository) repositoriesService.repository(repository); fail...
public static long getFailureCount(String repository) { long failureCount = 0; for (RepositoriesService repositoriesService : cluster().getDataNodeInstances(RepositoriesService.class)) { MockRepository mockRepository = (MockRepository) repositoriesService.repository(repository); ...
public void throttlingTest() throws Exception { Client client = client(); logger.info("--> creating repository"); File repositoryLocation = newTempDir(LifecycleScope.SUITE); boolean throttleSnapshot = randomBoolean(); boolean throttleRestore = randomBoolean(); asser...
public void throttlingTest() throws Exception { Client client = client(); logger.info("--> creating repository"); File repositoryLocation = newTempDir(LifecycleScope.SUITE); boolean throttleSnapshot = randomBoolean(); boolean throttleRestore = randomBoolean(); asser...
public void execute(SearchContext searchContext) throws QueryPhaseExecutionException { try { searchContext.queryResult().from(searchContext.from()); searchContext.queryResult().size(searchContext.size()); Query query = searchContext.query(); if (searchContext...
public void execute(SearchContext searchContext) throws QueryPhaseExecutionException { try { searchContext.queryResult().from(searchContext.from()); searchContext.queryResult().size(searchContext.size()); Query query = searchContext.query(); if (searchContext...
public void execute(SearchContext context) { FieldSelector fieldSelector = buildFieldSelectors(context); SearchHit[] hits = new SearchHit[context.docIdsToLoad().length]; int index = 0; for (int docId : context.docIdsToLoad()) { Document doc = loadDocument(context, fieldS...
public void execute(SearchContext context) { FieldSelector fieldSelector = buildFieldSelectors(context); SearchHit[] hits = new SearchHit[context.docIdsToLoad().length]; int index = 0; for (int docId : context.docIdsToLoad()) { Document doc = loadDocument(context, fieldS...
public void setInputProcessor (InputProcessor processor) { synchronized (this) { this.processor = processor; } } void processEvents () { InputProcessor processor; synchronized (this) { processor = this.processor; } if (processor != null) { KeyEvent e; while ((e = keyEvents.poll()) != null) ...
public void setInputProcessor (InputProcessor processor) { synchronized (this) { this.processor = processor; } } void processEvents () { InputProcessor processor; synchronized (this) { processor = this.processor; } if (processor != null) { KeyEvent e; while ((e = keyEvents.poll()) != null) ...
public SearchRequest extraSource(Map extraSource) { try { XContentBuilder builder = XContentFactory.contentBuilder(Requests.CONTENT_TYPE); builder.map(extraSource); return extraSource(builder); } catch (IOException e) { throw new ElasticsearchGeneratio...
public SearchRequest extraSource(Map extraSource) { try { XContentBuilder builder = XContentFactory.contentBuilder(Requests.CONTENT_TYPE); builder.map(extraSource); return extraSource(builder); } catch (IOException e) { throw new ElasticsearchGeneratio...
public void updateViewFor(User user) { nameText.setText(user.getLogin()); avatarView.setBackgroundDrawable(null); avatarHelper.bind(avatarView, user); } }
public void updateViewFor(final User user) { nameText.setText(user.getLogin()); avatarView.setBackgroundDrawable(null); avatarHelper.bind(avatarView, user); } }
public CheckBox (String text, CheckBoxStyle style) { super(text, style); clear(); add(image = new Image(style.checkboxOff)); Label label = getLabel(); add(label); label.setAlignment(Align.LEFT); setWidth(getPrefWidth()); setHeight(getPrefHeight()); }
public CheckBox (String text, CheckBoxStyle style) { super(text, style); clear(); add(image = new Image(style.checkboxOff)); Label label = getLabel(); add(label); label.setAlignment(Align.left); setWidth(getPrefWidth()); setHeight(getPrefHeight()); }
public TextButton (String text, TextButtonStyle style) { super(style); this.style = style; label = new Label(text, new LabelStyle(style.font, style.fontColor)); label.setAlignment(Align.CENTER); add(label).expand().fill(); setWidth(getPrefWidth()); setHeight(getPrefHeight()); }
public TextButton (String text, TextButtonStyle style) { super(style); this.style = style; label = new Label(text, new LabelStyle(style.font, style.fontColor)); label.setAlignment(Align.center); add(label).expand().fill(); setWidth(getPrefWidth()); setHeight(getPrefHeight()); }
public CullableActor (String name, Texture texture, OrthographicCamera camera) { super(new TextureRegion(texture)); setAlign(Align.CENTER); setScaling(Scaling.none); this.camera = camera; }
public CullableActor (String name, Texture texture, OrthographicCamera camera) { super(new TextureRegion(texture)); setAlign(Align.center); setScaling(Scaling.none); this.camera = camera; }
public static void main( String[] argv ) { new JoglApplication( new com.badlogic.gdx.tests.TileTest(), "Debug Test", 480, 320, false ); }
public static void main( String[] argv ) { new JoglApplication( new com.badlogic.gdx.tests.IsometricTileTest(), "Debug Test", 480, 320, false ); }
public LwjglApplication (ApplicationListener listener) { this(listener, listener.getClass().getSimpleName(), 640, 480, false); }
public LwjglApplication (ApplicationListener listener) { this(listener, new LwjglApplicationConfiguration()); }
public void draw (SpriteBatch batch, float parentAlpha) { final BitmapFont font = style.font; final Color fontColor = disabled ? style.disabledFontColor : style.fontColor; final Drawable selection = style.selection; final Drawable cursorPatch = style.cursor; final Drawable background = style.background; C...
public void draw (SpriteBatch batch, float parentAlpha) { final BitmapFont font = style.font; final Color fontColor = disabled ? style.disabledFontColor : style.fontColor; final Drawable selection = style.selection; final Drawable cursorPatch = style.cursor; final Drawable background = style.background; C...
public JglfwTestStarter () throws HeadlessException { super("JGLFW libgdx Tests"); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setContentPane(new TestList()); pack(); setSize(getWidth(), 600); setLocationRelativeTo(null); setVisible(true); }
public JglfwTestStarter () throws HeadlessException { super("libgdx Tests"); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setContentPane(new TestList()); pack(); setSize(getWidth(), 600); setLocationRelativeTo(null); setVisible(true); }
public ClusterHealthStatus ensureYellow() { ClusterHealthResponse actionGet = client().admin().cluster() .health(Requests.clusterHealthRequest().waitForYellowStatus().waitForEvents(Priority.LANGUID)).actionGet(); assertThat(actionGet.isTimedOut(), equalTo(false)); return acti...
public ClusterHealthStatus ensureYellow() { ClusterHealthResponse actionGet = client().admin().cluster() .health(Requests.clusterHealthRequest().waitForRelocatingShards(0).waitForYellowStatus().waitForEvents(Priority.LANGUID)).actionGet(); assertThat(actionGet.isTimedOut(), equalTo(f...
public static String VERSION = "0.9.5"; }
public static String VERSION = "0.9.7"; }
public String create () { ClassSourceFileComposerFactory composer = new ClassSourceFileComposerFactory(packageName, simpleName); composer.addImplementedInterface("com.badlogic.gwtref.client.IReflectionCache"); imports(composer); PrintWriter printWriter = context.tryCreate(logger, packageName, simpleName); if...
public String create () { ClassSourceFileComposerFactory composer = new ClassSourceFileComposerFactory(packageName, simpleName); composer.addImplementedInterface("com.badlogic.gwtref.client.IReflectionCache"); imports(composer); PrintWriter printWriter = context.tryCreate(logger, packageName, simpleName); if...
protected Shader createShader(final Renderable renderable) { Gdx.app.log("DefaultShaderProvider", "Creating new shader"); if (Gdx.graphics.isGL20Available()) return new DefaultShader(renderable.material, renderable.mesh.getVertexAttributes(), renderable.lights != null, 2, 5, 3, renderable.bones == null ? 0 : 12...
protected Shader createShader(final Renderable renderable) { Gdx.app.log("DefaultShaderProvider", "Creating new shader"); if (Gdx.graphics.isGL20Available()) return new DefaultShader(renderable.material, renderable.mesh.getVertexAttributes(), renderable.lights != null, renderable.lights.directionalLights.size, ...
public void tick () { for (int i = 0; i < buttons.length; i++) { oldButtons[i] = buttons[i]; } if (Gdx.app.getType() == ApplicationType.Android) { boolean left = false; boolean right = false; boolean z = false; boolean s = false; for (int i = 0; i < 2; i++) { int x = (int)((Gdx.input.getX...
public void tick () { for (int i = 0; i < buttons.length; i++) { oldButtons[i] = buttons[i]; } if (Gdx.app.getType() == ApplicationType.Android) { boolean left = false; boolean right = false; boolean z = false; boolean s = false; for (int i = 0; i < 2; i++) { int x = (int)(Gdx.input.getX(...
protected ShardStatus shardOperation(IndexShardStatusRequest request) throws ElasticSearchException { InternalIndexService indexService = (InternalIndexService) indicesService.indexServiceSafe(request.index()); InternalIndexShard indexShard = (InternalIndexShard) indexService.shardSafe(request.shard...
protected ShardStatus shardOperation(IndexShardStatusRequest request) throws ElasticSearchException { InternalIndexService indexService = (InternalIndexService) indicesService.indexServiceSafe(request.index()); InternalIndexShard indexShard = (InternalIndexShard) indexService.shardSafe(request.shard...
protected ShardValidateQueryResponse shardOperation(ShardValidateQueryRequest request) throws ElasticSearchException { IndexQueryParserService queryParserService = indicesService.indexServiceSafe(request.index()).queryParserService(); IndexService indexService = indicesService.indexServiceSafe(reque...
protected ShardValidateQueryResponse shardOperation(ShardValidateQueryRequest request) throws ElasticSearchException { IndexQueryParserService queryParserService = indicesService.indexServiceSafe(request.index()).queryParserService(); IndexService indexService = indicesService.indexServiceSafe(reque...
protected ShardCountResponse shardOperation(ShardCountRequest request) throws ElasticSearchException { IndexService indexService = indicesService.indexServiceSafe(request.index()); IndexShard indexShard = indexService.shardSafe(request.shardId()); SearchShardTarget shardTarget = new SearchS...
protected ShardCountResponse shardOperation(ShardCountRequest request) throws ElasticSearchException { IndexService indexService = indicesService.indexServiceSafe(request.index()); IndexShard indexShard = indexService.shardSafe(request.shardId()); SearchShardTarget shardTarget = new SearchS...
protected ShardSuggestResponse shardOperation(ShardSuggestRequest request) throws ElasticSearchException { IndexService indexService = indicesService.indexServiceSafe(request.index()); IndexShard indexShard = indexService.shardSafe(request.shardId()); final Engine.Searcher searcher = indexSh...
protected ShardSuggestResponse shardOperation(ShardSuggestRequest request) throws ElasticSearchException { IndexService indexService = indicesService.indexServiceSafe(request.index()); IndexShard indexShard = indexService.shardSafe(request.shardId()); final Engine.Searcher searcher = indexSh...
private void loadQueries(IndexShard shard) { try { shard.refresh(new Engine.Refresh().force(true).source("percolator_load_queries")); Engine.Searcher searcher = shard.acquireSearcher(); try { Query query = new XConstantScoreQuery( ...
private void loadQueries(IndexShard shard) { try { shard.refresh(new Engine.Refresh().force(true).source("percolator_load_queries")); Engine.Searcher searcher = shard.acquireSearcher("percolator_load_queries"); try { Query query = n...
public TermVectorResponse getTermVector(TermVectorRequest request) { final Engine.Searcher searcher = indexShard.acquireSearcher(); IndexReader topLevelReader = searcher.reader(); final TermVectorResponse termVectorResponse = new TermVectorResponse(request.index(), request.type(), request.id...
public TermVectorResponse getTermVector(TermVectorRequest request) { final Engine.Searcher searcher = indexShard.acquireSearcher("term_vector"); IndexReader topLevelReader = searcher.reader(); final TermVectorResponse termVectorResponse = new TermVectorResponse(request.index(), request.type(...
private void purgeShards(List<IndexShard> shardsToPurge) { for (IndexShard shardToPurge : shardsToPurge) { Query query = NumericRangeQuery.newLongRange(TTLFieldMapper.NAME, null, System.currentTimeMillis(), false, true); Engine.Searcher searcher = shardToPurge.acquireSearcher(); ...
private void purgeShards(List<IndexShard> shardsToPurge) { for (IndexShard shardToPurge : shardsToPurge) { Query query = NumericRangeQuery.newLongRange(TTLFieldMapper.NAME, null, System.currentTimeMillis(), false, true); Engine.Searcher searcher = shardToPurge.acquireSearcher("indice...
private SearchContext findContext(long id) throws SearchContextMissingException { SearchContext context = activeContexts.get(id); if (context == null) { throw new SearchContextMissingException(id); } SearchContext.setCurrent(context); return context; } Se...
private SearchContext findContext(long id) throws SearchContextMissingException { SearchContext context = activeContexts.get(id); if (context == null) { throw new SearchContextMissingException(id); } SearchContext.setCurrent(context); return context; } Se...
private void testLoad(boolean fullRecovery) { startNode("server1"); logger.info("Running Cluster Health (waiting for node to startup properly)"); ClusterHealthResponse clusterHealth = client("server1").admin().cluster().health(clusterHealthRequest().waitForGreenStatus()).actionGet(); ...
private void testLoad(boolean fullRecovery) { startNode("server1"); logger.info("Running Cluster Health (waiting for node to startup properly)"); ClusterHealthResponse clusterHealth = client("server1").admin().cluster().health(clusterHealthRequest().waitForGreenStatus()).actionGet(); ...
public static XContentBuilder yamlBuilder() throws IOException { return contentBuilder(XContentType.SMILE); }
public static XContentBuilder yamlBuilder() throws IOException { return contentBuilder(XContentType.YAML); }
private BytesRef longToPrefixCoded(long val) { BytesRef bytesRef = new BytesRef(); NumericUtils.longToPrefixCoded(val, 0, bytesRef); return bytesRef; }
private BytesRef longToPrefixCoded(long val) { BytesRef bytesRef = new BytesRef(); NumericUtils.longToPrefixCoded(val, NumericUtils.PRECISION_STEP_DEFAULT, bytesRef); return bytesRef; }
public static void main (String[] argv) { // this is only here for me to debug native code faster new SharedLibraryLoader("../../extensions/gdx-audio/libs/gdx-audio-natives.jar").load("gdx-audio"); new SharedLibraryLoader("../../extensions/gdx-image/libs/gdx-image-natives.jar").load("gdx-image"); new SharedLib...
public static void main (String[] argv) { // this is only here for me to debug native code faster new SharedLibraryLoader("../../extensions/gdx-audio/libs/gdx-audio-natives.jar").load("gdx-audio"); new SharedLibraryLoader("../../extensions/gdx-image/libs/gdx-image-natives.jar").load("gdx-image"); new SharedLib...
public interface ElasticsearchWrapperException { /* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apach...
public interface ElasticsearchWrapperException { /* * Licensed to ElasticSearch and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. ElasticSearch licenses this * file to you under the Apach...
private static final ImmutableMap<String, PreBuiltPostingsFormatProvider.Factory> builtInPostingFormats; static { MapBuilder<String, PreBuiltPostingsFormatProvider.Factory> buildInPostingFormatsX = MapBuilder.newMapBuilder(); // add defaults ones for (String luceneName : PostingsFormat....
private static final ImmutableMap<String, PreBuiltPostingsFormatProvider.Factory> builtInPostingFormats; static { MapBuilder<String, PreBuiltPostingsFormatProvider.Factory> buildInPostingFormatsX = MapBuilder.newMapBuilder(); // add defaults ones for (String luceneName : PostingsFormat....
public void testIndexActions() throws Exception { createIndex(); logger.info("Running Cluster Health"); ClusterHealthResponse clusterHealth = client1.admin().cluster().health(clusterHealthRequest().waitForGreenStatus()).actionGet(); logger.info("Done Cluster Health, status " + cluste...
public void testIndexActions() throws Exception { createIndex(); logger.info("Running Cluster Health"); ClusterHealthResponse clusterHealth = client1.admin().cluster().health(clusterHealthRequest().waitForGreenStatus()).actionGet(); logger.info("Done Cluster Health, status " + cluste...
public void parse(ParseContext context) throws IOException { try { Field field = parseCreateField(context); if (field == null) { return; } if (!customBoost()) { field.setBoost(boost); } if (context.listen...
public void parse(ParseContext context) throws IOException { try { Field field = parseCreateField(context); if (field == null) { return; } if (!customBoost()) { field.setBoost(boost); } if (context.listen...
public boolean needsGL20 () { return true; }
public boolean needsGL20 () { return false; }
public void create () { // copy an internal mp3 to the external storage FileHandle src = Gdx.files.internal("data/8.12.mp3"); FileHandle dst = Gdx.files.external("8.12.mp3"); src.copyTo(dst); // create a music instance and start playback Music music = Gdx.audio.newMusic(dst); music.play(); }
public void create () { // copy an internal mp3 to the external storage FileHandle src = Gdx.files.internal("data/iron.mp3"); FileHandle dst = Gdx.files.external("8.12.mp3"); src.copyTo(dst); // create a music instance and start playback Music music = Gdx.audio.newMusic(dst); music.play(); }
public void create () { JsonModelLoader loader = new JsonModelLoader(); model = new Model(loader.parseModel(Gdx.files.internal("data/g3d/cubes.g3dj"), null)); instance = new ModelInstance(model); modelBatch = new ModelBatch(); TestShader.ignoreUnimplemented = true; shapeRenderer = new ShapeRenderer(); ...
public void create () { JsonModelLoader loader = new JsonModelLoader(); model = new Model(loader.parseModel(Gdx.files.internal("data/g3d/cubes.g3dj"))); instance = new ModelInstance(model); modelBatch = new ModelBatch(); TestShader.ignoreUnimplemented = true; shapeRenderer = new ShapeRenderer(); cam =...
public void updateViewFor(Issue issue) { titleText.setText(issue.getTitle()); String body = issue.getBodyHtml(); if (body != null && body.length() > 0) { bodyViewer.setHtml(body); bodyViewer.getView().setVisibility(VISIBLE); } else bodyViewer.getVi...
public void updateViewFor(Issue issue) { titleText.setText(issue.getTitle()); String body = issue.getBodyHtml(); if (body != null && body.length() > 0) { bodyViewer.setHtml(body); bodyViewer.getView().setVisibility(VISIBLE); } else bodyViewer.getVi...
public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); setEmptyText(getString(string.no_gists)); ListViewUtils.configure(getActivity(), getListView(), true); }
public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); setEmptyText(getString(string.no_gists)); ListViewUtils.configure(getActivity(), getListView()); }
public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); filterData = (Map<String, String>) getArguments().getSerializable(ARG_FILTER); ListViewUtils.configure(getActivity(), getListView(), true); }
public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); filterData = (Map<String, String>) getArguments().getSerializable(ARG_FILTER); ListViewUtils.configure(getActivity(), getListView()); }
public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); ListViewUtils.configure(getActivity(), getListView(), true); setEmptyText(getString(string.no_filters)); }
public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); ListViewUtils.configure(getActivity(), getListView()); setEmptyText(getString(string.no_filters)); }
public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); setEmptyText(getString(string.no_issues)); ListViewUtils.configure(getActivity(), getListView(), true); }
public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); setEmptyText(getString(string.no_issues)); ListViewUtils.configure(getActivity(), getListView()); }
public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); setEmptyText(getString(string.no_repositories)); ListViewUtils.configure(getActivity(), getListView(), true); }
public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); setEmptyText(getString(string.no_repositories)); ListViewUtils.configure(getActivity(), getListView()); }
public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); setEmptyText(getString(string.no_members)); ListViewUtils.configure(getActivity(), getListView(), true); }
public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); setEmptyText(getString(string.no_members)); ListViewUtils.configure(getActivity(), getListView()); }
public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); ListViewUtils.configure(getActivity(), getListView(), true); }
public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); ListViewUtils.configure(getActivity(), getListView()); }
public static void main (String[] argv) { new JoglApplication(new com.badlogic.gdx.tests.UITest(), "Debug Test", 480, 320, false); }
public static void main (String[] argv) { new JoglApplication(new com.badlogic.gdx.tests.ActionTest(), "Debug Test", 480, 320, false); }
@Override public XContentDocumentMapper parse(@Nullable String type, String source, String defaultSource) throws MapperParsingException { Map<String, Object> mapping = null; if (source != null) { Tuple<String, Map<String, Object>> t = extractMapping(type, source); type = t.v1...
@Override public XContentDocumentMapper parse(@Nullable String type, String source, String defaultSource) throws MapperParsingException { Map<String, Object> mapping = null; if (source != null) { Tuple<String, Map<String, Object>> t = extractMapping(type, source); type = t.v1...
@Test public void simpleChildQuery() throws Exception { try { client.admin().indices().prepareDelete("test").execute().actionGet(); } catch (Exception e) { // ignore } client.admin().indices().prepareCreate("test").setSettings(ImmutableSettings.settingsBuilder...
@Test public void simpleChildQuery() throws Exception { try { client.admin().indices().prepareDelete("test").execute().actionGet(); } catch (Exception e) { // ignore } client.admin().indices().prepareCreate("test").setSettings(ImmutableSettings.settingsBuilder...
private void verifySource(Boolean compress) throws IOException { try { client.admin().indices().prepareDelete("test").execute().actionGet(); } catch (Exception e) { // ignore } client.admin().indices().prepareCreate("test").execute().actionGet(); clien...
private void verifySource(Boolean compress) throws IOException { try { client.admin().indices().prepareDelete("test").execute().actionGet(); } catch (Exception e) { // ignore } client.admin().indices().prepareCreate("test").execute().actionGet(); clien...
public void set(final MeshPart meshPart) { if (meshPart.primitiveType != com.badlogic.gdx.graphics.GL10.GL_TRIANGLES) throw new com.badlogic.gdx.utils.GdxRuntimeException("Mesh must be indexed and triangulated"); set(meshPart.mesh, meshPart.indexOffset, meshPart.numVertices); this.meshPart = meshPart; }
public void set(final MeshPart meshPart) { if (meshPart.primitiveType != com.badlogic.gdx.graphics.GL20.GL_TRIANGLES) throw new com.badlogic.gdx.utils.GdxRuntimeException("Mesh must be indexed and triangulated"); set(meshPart.mesh, meshPart.indexOffset, meshPart.numVertices); this.meshPart = meshPart; }
public void create () { super.create(); world.add("ground", 0f, 0f, 0f) .color.set(0.25f + 0.5f * (float)Math.random(), 0.25f + 0.5f * (float)Math.random(), 0.25f + 0.5f * (float)Math.random(), 1f); float x0 = -2f, y0 = 6f, z0 = -2f; float x1 = 8f, y1 = 6f, z1 = 8f; Vector3 patch00 = new Vector3(x0, ...
public void create () { super.create(); world.add("ground", 0f, 0f, 0f) .getColor().set(0.25f + 0.5f * (float)Math.random(), 0.25f + 0.5f * (float)Math.random(), 0.25f + 0.5f * (float)Math.random(), 1f); float x0 = -2f, y0 = 6f, z0 = -2f; float x1 = 8f, y1 = 6f, z1 = 8f; Vector3 patch00 = new Vector3...
public void testClusterUpdateSettingsNoAcknowledgement() { client().admin().indices().prepareCreate("test") .setSettings(settingsBuilder() .put("number_of_shards", between(cluster().size(), DEFAULT_MAX_NUM_SHARDS)) .put("number_of_replicas", 0)...
public void testClusterUpdateSettingsNoAcknowledgement() { client().admin().indices().prepareCreate("test") .setSettings(settingsBuilder() .put("number_of_shards", between(cluster().dataNodes(), DEFAULT_MAX_NUM_SHARDS)) .put("number_of_replicas...
private int addBlock (int[][] layer, int layerNum, int blockRow, int blockCol, boolean blended) { int tile; AtlasRegion region; cache.beginCache(); int firstCol = blockCol * tilesPerBlockX; int firstRow = blockRow * tilesPerBlockY; int lastCol = firstCol + tilesPerBlockX; int lastRow = firstRow + tilesP...
private int addBlock (int[][] layer, int layerNum, int blockRow, int blockCol, boolean blended) { int tile; AtlasRegion region; cache.beginCache(); int firstCol = blockCol * tilesPerBlockX; int firstRow = blockRow * tilesPerBlockY; int lastCol = firstCol + tilesPerBlockX; int lastRow = firstRow + tilesP...
public int first () { if (hasZeroValue) return 0; int[] keyTable = this.keyTable; for (int i = 0, n = capacity + stashSize; i < n;) if (keyTable[i] != EMPTY) return keyTable[i]; throw new IllegalStateException("IntSet is empty."); }
public int first () { if (hasZeroValue) return 0; int[] keyTable = this.keyTable; for (int i = 0, n = capacity + stashSize; i < n; i++) if (keyTable[i] != EMPTY) return keyTable[i]; throw new IllegalStateException("IntSet is empty."); }
public T first () { T[] keyTable = this.keyTable; for (int i = 0, n = capacity + stashSize; i < n;) if (keyTable[i] != null) return keyTable[i]; throw new IllegalStateException("IntSet is empty."); }
public T first () { T[] keyTable = this.keyTable; for (int i = 0, n = capacity + stashSize; i < n; i++) if (keyTable[i] != null) return keyTable[i]; throw new IllegalStateException("IntSet is empty."); }
public static void main (String[] argv) { new JoglApplication(new com.badlogic.gdx.tests.Box2DTest(), "Debug Test", 480, 320, false); }
public static void main (String[] argv) { new JoglApplication(new com.badlogic.gdx.tests.MusicTest(), "Debug Test", 480, 320, false); }
public void onItemClick(AdapterView<?> parent, View view, int position, long id) { Object item = parent.getItemAtPosition(position); if (item instanceof GistFile) startActivity(ViewGistFilesActivity.createIntent(gist, position - 1)); }
public void onItemClick(AdapterView<?> parent, View view, int position, long id) { Object item = parent.getItemAtPosition(position); if (item instanceof GistFile) startActivity(GistFilesViewActivity.createIntent(gist, position - 1)); }
public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case android.R.id.home: Intent intent = ViewFiltersActivity.createIntent(); intent.addFlags(FLAG_ACTIVITY_CLEAR_TOP | FLAG_ACTIVITY_SINGLE_TOP); startActivity(intent); re...
public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case android.R.id.home: Intent intent = FiltersViewActivity.createIntent(); intent.addFlags(FLAG_ACTIVITY_CLEAR_TOP | FLAG_ACTIVITY_SINGLE_TOP); startActivity(intent); re...
public HunspellTokenFilterFactory(Index index, @IndexSettings Settings indexSettings, @Assisted String name, @Assisted Settings settings, HunspellService hunspellService) { super(index, indexSettings, name, settings); String locale = settings.get("locale", settings.get("language", settings.get("lan...
public HunspellTokenFilterFactory(Index index, @IndexSettings Settings indexSettings, @Assisted String name, @Assisted Settings settings, HunspellService hunspellService) { super(index, indexSettings, name, settings); String locale = settings.get("locale", settings.get("language", settings.get("lan...
@Override public Filter parse(QueryParseContext parseContext) throws IOException, QueryParsingException { XContentParser parser = parseContext.parser(); boolean cache = false; String fieldName = null; String value = null; String filterName = null; String currentFiel...
@Override public Filter parse(QueryParseContext parseContext) throws IOException, QueryParsingException { XContentParser parser = parseContext.parser(); boolean cache = true; // since usually term filter is on repeating terms, cache it by default String fieldName = null; String valu...
protected AnalyzeResponse shardOperation(AnalyzeRequest request, int shardId) throws ElasticSearchException { IndexService indexService = null; if (request.index() != null) { indexService = indicesService.indexServiceSafe(request.index()); } Analyzer analyzer = null; ...
protected AnalyzeResponse shardOperation(AnalyzeRequest request, int shardId) throws ElasticSearchException { IndexService indexService = null; if (request.index() != null) { indexService = indicesService.indexServiceSafe(request.index()); } Analyzer analyzer = null; ...
protected PrimaryResponse<BulkShardResponse, BulkShardRequest> shardOperationOnPrimary(ClusterState clusterState, PrimaryOperationRequest shardRequest) { final BulkShardRequest request = shardRequest.request; IndexShard indexShard = indicesService.indexServiceSafe(shardRequest.request.index()).shard...
protected PrimaryResponse<BulkShardResponse, BulkShardRequest> shardOperationOnPrimary(ClusterState clusterState, PrimaryOperationRequest shardRequest) { final BulkShardRequest request = shardRequest.request; IndexShard indexShard = indicesService.indexServiceSafe(shardRequest.request.index()).shard...
protected PrimaryResponse<IndexResponse, IndexRequest> shardOperationOnPrimary(ClusterState clusterState, PrimaryOperationRequest shardRequest) { final IndexRequest request = shardRequest.request; // validate, if routing is required, that we got routing MappingMetaData mappingMd = clusterSt...
protected PrimaryResponse<IndexResponse, IndexRequest> shardOperationOnPrimary(ClusterState clusterState, PrimaryOperationRequest shardRequest) { final IndexRequest request = shardRequest.request; // validate, if routing is required, that we got routing MappingMetaData mappingMd = clusterSt...
@Override public String toString() { long bytes = bytes(); double value = bytes; String suffix = ""; if (bytes >= ByteSizeUnit.C3) { value = gbFrac(); suffix = "gb"; } else if (bytes >= ByteSizeUnit.C2) { value = mbFrac(); suffi...
@Override public String toString() { long bytes = bytes(); double value = bytes; String suffix = "b"; if (bytes >= ByteSizeUnit.C3) { value = gbFrac(); suffix = "gb"; } else if (bytes >= ByteSizeUnit.C2) { value = mbFrac(); suff...
public String toString() { return new String(buf, 0, count); }
public String toString() { return new String(buf, 0, count, Streams.UTF8); }
public String resolveConfigAndLoadToString(String path) throws FailedToResolveConfigException, IOException { return Streams.copyToString(new InputStreamReader(resolveConfig(path).openStream(), "UTF-8")); }
public String resolveConfigAndLoadToString(String path) throws FailedToResolveConfigException, IOException { return Streams.copyToString(new InputStreamReader(resolveConfig(path).openStream(), Streams.UTF8)); }
private void processScriptsDirectory(String prefix, File dir) { for (File file : dir.listFiles()) { if (file.isDirectory()) { processScriptsDirectory(prefix + file.getName() + "_", file); } else { int extIndex = file.getName().lastIndexOf('.'); ...
private void processScriptsDirectory(String prefix, File dir) { for (File file : dir.listFiles()) { if (file.isDirectory()) { processScriptsDirectory(prefix + file.getName() + "_", file); } else { int extIndex = file.getName().lastIndexOf('.'); ...
public void testTermFacet_stringFields() throws Throwable { client.admin().indices().prepareDelete().execute().actionGet(); client.admin().indices().prepareCreate("test") .addMapping("type1", jsonBuilder().startObject() .startObject("type1") ...
public void testTermFacet_stringFields() throws Throwable { client.admin().indices().prepareDelete().execute().actionGet(); client.admin().indices().prepareCreate("test") .addMapping("type1", jsonBuilder().startObject() .startObject("type1") ...
public void testDateTypesConversion() throws Exception { Date date = new Date(); String expectedDate = XContentBuilder.defaultDatePrinter.print(date.getTime()); Calendar calendar = new GregorianCalendar(); String expectedCalendar = XContentBuilder.defaultDatePrinter.print(calendar.ge...
public void testDateTypesConversion() throws Exception { Date date = new Date(); String expectedDate = XContentBuilder.defaultDatePrinter.print(date.getTime()); Calendar calendar = new GregorianCalendar(TimeZone.getTimeZone("UTC"), Locale.ROOT); String expectedCalendar = XContentBuil...
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(layout.gist_view_content_item, null); }
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(layout.gist_file_view, null); }
private void loadMarkdown() { ViewUtils.setGone(loadingBar, false); ViewUtils.setGone(codeView, true); String markdown = new String( EncodingUtils.fromBase64(blob.getContent())); Bundle args = new Bundle(); args.putCharSequence(ARG_TEXT, markdown); if...
private void loadMarkdown() { ViewUtils.setGone(loadingBar, false); ViewUtils.setGone(codeView, true); String markdown = new String( EncodingUtils.fromBase64(blob.getContent())); Bundle args = new Bundle(); args.putCharSequence(ARG_TEXT, markdown); if...
public SearchRequestBuilder setHighlighterPostTags(String... postTags) { highlightBuilder().preTags(postTags); return this; }
public SearchRequestBuilder setHighlighterPostTags(String... postTags) { highlightBuilder().postTags(postTags); return this; }
import org.elasticsearch.util.inject.Module; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apache ...
import org.elasticsearch.util.inject.Module; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apache ...
import org.elasticsearch.util.inject.BindingAnnotation; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under ...
import org.elasticsearch.util.inject.BindingAnnotation; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under ...
import org.elasticsearch.util.inject.Provider; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apach...
import org.elasticsearch.util.inject.Provider; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apach...
import org.elasticsearch.util.inject.BindingAnnotation; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under ...
import org.elasticsearch.util.inject.BindingAnnotation; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under ...
import org.elasticsearch.util.inject.Injector; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apach...
import org.elasticsearch.util.inject.Injector; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apach...
import org.elasticsearch.util.inject.BindingAnnotation; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under ...
import org.elasticsearch.util.inject.BindingAnnotation; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under ...
import org.elasticsearch.util.inject.Provider; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apach...
import org.elasticsearch.util.inject.Provider; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apach...
import org.elasticsearch.util.inject.Module; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apache ...
import org.elasticsearch.util.inject.Module; /* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apache ...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
package org.elasticsearch.util.inject; /* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
package org.elasticsearch.util.inject.assistedinject; /** * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2...
package org.elasticsearch.util.inject.assistedinject; /** * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2...
package org.elasticsearch.util.inject.binder; /* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
package org.elasticsearch.util.inject.binder; /* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
package org.elasticsearch.util.inject.internal; /* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
package org.elasticsearch.util.inject.internal; /* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
package org.elasticsearch.util.inject.internal; /* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
package org.elasticsearch.util.inject.internal; /* * Copyright (C) 2007 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
package org.elasticsearch.util.inject.matcher; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
package org.elasticsearch.util.inject.matcher; /** * Copyright (C) 2006 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
package org.elasticsearch.util.inject.spi; /* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
package org.elasticsearch.util.inject.spi; /* * Copyright (C) 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...