lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | apache-2.0 | 6be9c461a541a6683b21fd42500c1cbed4b08b3f | 0 | garyrussell/spring-cloud-stream,spring-cloud/spring-cloud-stream,spring-cloud/spring-cloud-stream,spring-cloud/spring-cloud-stream,garyrussell/spring-cloud-stream,garyrussell/spring-cloud-stream | /*
* Copyright 2020-2021 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | spring-cloud-stream/src/main/java/org/springframework/cloud/stream/function/StreamBridge.java | /*
* Copyright 2020-2021 the original author or authors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Ensure StreamBridge function is always wrapped
| spring-cloud-stream/src/main/java/org/springframework/cloud/stream/function/StreamBridge.java | Ensure StreamBridge function is always wrapped | <ide><path>pring-cloud-stream/src/main/java/org/springframework/cloud/stream/function/StreamBridge.java
<ide> import org.springframework.cloud.function.context.FunctionRegistration;
<ide> import org.springframework.cloud.function.context.FunctionRegistry;
<ide> import org.springframework.cloud.function.context.Function... | |
Java | mit | b661bf17ff096769d1a6f5718de1d26b22bbf8ad | 0 | bptlab/JEngine,bptlab/JEngine,bptlab/JEngine,bptlab/JEngine | package de.uni_potsdam.hpi.bpt.bp2014.jcore;
import de.uni_potsdam.hpi.bpt.bp2014.AbstractDatabaseDependentTest;
import org.apache.commons.mail.EmailException;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.jvnet.mock_javamail.Mailbox;
import javax.mail.Message;
import javax.mail... | src/test/java/de/uni_potsdam/hpi/bpt/bp2014/jcore/EmailAcceptanceTest.java | package de.uni_potsdam.hpi.bpt.bp2014.jcore;
import de.uni_potsdam.hpi.bpt.bp2014.AbstractDatabaseDependentTest;
import org.apache.commons.mail.EmailException;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.jvnet.mock_javamail.Mailbox;
import javax.mail.Message;
import javax.mail... | Added test ignorals which are present on other branches
| src/test/java/de/uni_potsdam/hpi/bpt/bp2014/jcore/EmailAcceptanceTest.java | Added test ignorals which are present on other branches | <ide><path>rc/test/java/de/uni_potsdam/hpi/bpt/bp2014/jcore/EmailAcceptanceTest.java
<ide> */
<ide> @Test @Ignore
<ide> public void testScenario146() throws MessagingException, IOException, EmailException {
<del> int scenarioID = 146;
<add> // TODO do not execute Webservice tasks after xor
<add> ... | |
Java | mit | 71186846c7eb29642bc5772389d0c70832103785 | 0 | 2014-Android-ITX4/RollingBALL,2014-Android-ITX4/RollingBALL | package com.example.rollingball.app;
import android.opengl.GLES20;
import android.util.Log;
import com.hackoeur.jglm.Mat4;
import com.hackoeur.jglm.Vec3;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.nio.ShortBuffer;
import java.util.ArrayL... | app/src/main/java/com/example/rollingball/app/ModelData.java | package com.example.rollingball.app;
import android.opengl.GLES20;
import android.util.Log;
import com.hackoeur.jglm.Mat4;
import com.hackoeur.jglm.Vec3;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import java.nio.ShortBuffer;
import java.util.ArrayL... | fix #209 フィールドが垂直に生成される問題を修正
| app/src/main/java/com/example/rollingball/app/ModelData.java | fix #209 フィールドが垂直に生成される問題を修正 | <ide><path>pp/src/main/java/com/example/rollingball/app/ModelData.java
<ide> short index_index = 0;
<ide>
<ide> Vec3[] ds =
<del> { new Vec3( -0.5f, -0.5f, 0.0f )
<del> , new Vec3( +0.5f, -0.5f, 0.0f )
<del> , new Vec3( -0.5f, +0.5f, 0.0f )
<del> , new Vec3( +0.5f, +0.5f, 0.0f )
<add> ... | |
Java | mit | 1e8c3296be652aab88af5872726d50f18b474087 | 0 | DayS/SearchIds | package net.serenity.searchids;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.logging.Logger;
import java.lang.St... | src/net/serenity/searchids/SearchIds.java | package net.serenity.searchids;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.logging.Logger;
import java.lang.St... | Update info
| src/net/serenity/searchids/SearchIds.java | Update info | <ide><path>rc/net/serenity/searchids/SearchIds.java
<ide> * @description Search for data id's in game or from the console
<ide> * @date 2011-01-16
<ide> * @author croemmich
<add>* @maintainer mrapple
<ide> */
<ide> public class SearchIds extends JavaPlugin {
<ide> | |
Java | apache-2.0 | 541452b04f03f208f1e755576bd9f817c5fc0ed8 | 0 | Thanu/stratos,pubudu538/stratos,hsbhathiya/stratos,gayangunarathne/stratos,pubudu538/stratos,gayangunarathne/stratos,dinithis/stratos,pkdevbox/stratos,dinithis/stratos,pkdevbox/stratos,pubudu538/stratos,asankasanjaya/stratos,ravihansa3000/stratos,Thanu/stratos,anuruddhal/stratos,pkdevbox/stratos,apache/stratos,hsbhathi... | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/clustering/DistributedObjectProvider.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | fixing Serializable issue
| components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/clustering/DistributedObjectProvider.java | fixing Serializable issue | <ide><path>omponents/org.apache.stratos.common/src/main/java/org/apache/stratos/common/clustering/DistributedObjectProvider.java
<ide>
<ide> package org.apache.stratos.common.clustering;
<ide>
<add>import java.io.Serializable;
<ide> import java.util.List;
<ide> import java.util.Map;
<ide>
<ide> /**
<ide> * Distribu... | |
Java | apache-2.0 | 4f38f9d0571dc71bbe22e6fdee066669ce548a55 | 0 | Massiv-IO/killbill,gongpu/killbill,dconcha/killbill,marksimu/killbill,kares/killbill,dconcha/killbill,aglne/killbill,killbill/killbill,aeq/killbill,gsanblas/Prueba,24671335/killbill,dconcha/killbill,24671335/killbill,gsanblas/Prueba,aglne/killbill,andrenpaes/killbill,gsanblas/Prueba,24671335/killbill,dut3062796s/killbi... | /*
* Copyright 2010-2012 Ning, Inc.
*
* Ning licenses this file to you 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 required by a... | beatrix/src/test/java/com/ning/billing/beatrix/integration/BeatrixIntegrationModule.java | /*
* Copyright 2010-2012 Ning, Inc.
*
* Ning licenses this file to you 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 required by a... | beatrix: add missing TagStoreModule module
Signed-off-by: Pierre-Alexandre Meyer <ff019a5748a52b5641624af88a54a2f0e46a9fb5@ning.com>
| beatrix/src/test/java/com/ning/billing/beatrix/integration/BeatrixIntegrationModule.java | beatrix: add missing TagStoreModule module | <ide><path>eatrix/src/test/java/com/ning/billing/beatrix/integration/BeatrixIntegrationModule.java
<ide> */
<ide>
<ide> package com.ning.billing.beatrix.integration;
<del>
<del>import static org.testng.Assert.assertNotNull;
<ide>
<ide> import java.io.IOException;
<ide> import java.net.URL;
<ide> import com.ning.bill... | |
JavaScript | apache-2.0 | 9af081b081602624bd9796eb659e6482a4214b01 | 0 | idofilin/webgl-showcase,idofilin/webgl-showcase | /*
Copyright 2016 Ido Filin
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 required by applicable law or agreed to in writing, software
distr... | src/kangas-noise.js | /*
Copyright 2016 Ido Filin
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 required by applicable law or agreed to in writing, software
distr... | texture options for kangas noise
| src/kangas-noise.js | texture options for kangas noise | <ide><path>rc/kangas-noise.js
<ide> var gl = context[nativeObjPropName];
<ide> var opts = {
<ide> name : options && typeof options.name === "string" && options.name || false,
<del> format: options && options.format || gl.RGBA,
<del> magfilter:options && options.magfilter || gl.LINEAR,
<del> minfilter:options... | |
Java | apache-2.0 | 0f494fac32de0caa6a4e0cf86e7f20b4f89b8c5f | 0 | pponec/ujorm,pponec/ujorm,pponec/ujorm | /*
* Copyright 2014, Pavel Ponec
*
* 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 required by applicable law or agreed t... | samples/wicket/src/main/java/org/ujorm/hotels/service/impl/ParamServiceCacheImpl.java | /*
* Copyright 2014, Pavel Ponec
*
* 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 required by applicable law or agreed t... | WICKET:
+ Reading a personal parameters is fixed | samples/wicket/src/main/java/org/ujorm/hotels/service/impl/ParamServiceCacheImpl.java | WICKET: + Reading a personal parameters is fixed | <ide><path>amples/wicket/src/main/java/org/ujorm/hotels/service/impl/ParamServiceCacheImpl.java
<ide> import org.springframework.cache.CacheManager;
<ide> import org.springframework.stereotype.Service;
<ide> import org.ujorm.Key;
<add>import org.ujorm.core.UjoTools;
<ide> import org.ujorm.hotels.entity.Customer;
<ide> ... | |
Java | apache-2.0 | f47d3bdca2ac9a96f1621689bd3debc1917f2fd2 | 0 | graben/aries,rotty3000/aries,graben/aries,rotty3000/aries,alien11689/aries,rotty3000/aries,alien11689/aries,alien11689/aries,alien11689/aries,graben/aries,apache/aries,graben/aries,apache/aries,apache/aries,rotty3000/aries,apache/aries | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | application/application-runtime-framework/src/main/java/org/apache/aries/application/runtime/framework/BundleFrameworkImpl.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | ARIES-381: Remove workaround.
git-svn-id: 212869a37fe990abe2323f86150f3c4d5a6279c2@986330 13f79535-47bb-0310-9956-ffa450edef68
| application/application-runtime-framework/src/main/java/org/apache/aries/application/runtime/framework/BundleFrameworkImpl.java | ARIES-381: Remove workaround. | <ide><path>pplication/application-runtime-framework/src/main/java/org/apache/aries/application/runtime/framework/BundleFrameworkImpl.java
<ide> import org.osgi.framework.Bundle;
<ide> import org.osgi.framework.BundleContext;
<ide> import org.osgi.framework.BundleException;
<del>import org.osgi.framework.ServiceReferenc... | |
JavaScript | mit | 3a84eede0a070f151f1c31b59008702a841d1302 | 0 | t9md/atom-narrow | const {Point, Range, CompositeDisposable, Emitter} = require('atom')
const {isActiveEditor, parsePromptLine} = require('./utils')
const settings = require('./settings')
const ItemIndicator = require('./item-indicator')
const PROMPT_RANGE = Object.freeze(new Range([0, 0], [0, Infinity]))
const PROMPT_ROW = 0
const ITE... | lib/item-editor.js | const {Point, Range, CompositeDisposable, Emitter} = require('atom')
const {isActiveEditor, parsePromptLine} = require('./utils')
const settings = require('./settings')
const ItemIndicator = require('./item-indicator')
const PROMPT_RANGE = Object.freeze(new Range([0, 0], [0, Infinity]))
const PROMPT_ROW = 0
const ITE... | :fire: unused
| lib/item-editor.js | :fire: unused | <ide><path>ib/item-editor.js
<ide> const direction = newRow > oldRow ? 'next' : 'previous'
<ide> const item = this.items.findPromptOrNormalItem(newRow, {direction, includeStartRow: true})
<ide> const rowToSelect = item._row
<del> const wasAtPrompt = oldRow === PROMPT_ROW
<ide>
<ide> // Whe... | |
Java | mit | aa4f372047943874b829bcd8479d4ec468f9294e | 0 | ZitaNemeckova/PMProject,ZitaNemeckova/PMProject | /*
* (c) Johannes Verwijnen, duvin@duvin.org
*/
package org.duvin.propromo2015;
import java.io.File;
import java.io.PrintWriter;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.util.Arrays;
import java.util.Locale;
import java.util.Random;
import java.util.Scanner;
/**
*
* @auth... | src/org/duvin/propromo2015/Example.java | /*
* (c) Johannes Verwijnen, duvin@duvin.org
* changed by Nidia Acosta Obscura and Zita Nemeckova
*/
package org.duvin.propromo2015;
import java.io.BufferedWriter;
import java.io.File;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;
impor... | updated probabilities
| src/org/duvin/propromo2015/Example.java | updated probabilities | <ide><path>rc/org/duvin/propromo2015/Example.java
<ide> /*
<ide> * (c) Johannes Verwijnen, duvin@duvin.org
<del> * changed by Nidia Acosta Obscura and Zita Nemeckova
<ide> */
<ide> package org.duvin.propromo2015;
<ide>
<del>import java.io.BufferedWriter;
<ide> import java.io.File;
<ide> import java.io.PrintWriter;
<... | |
Java | apache-2.0 | 5a33449c1e67a3b824ee13139a95c7d691e6a48d | 0 | researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds | /*
* Copyright 2012 Research Studios Austria Forschungsges.m.b.H.
*
* 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
*
* ... | webofneeds/won-owner/src/main/java/won/owner/camel/routes/OwnerApplicationListenerRouteBuilder.java | /*
* Copyright 2012 Research Studios Austria Forschungsges.m.b.H.
*
* 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
*
* ... | Exempt hints from checks on the owner side | webofneeds/won-owner/src/main/java/won/owner/camel/routes/OwnerApplicationListenerRouteBuilder.java | Exempt hints from checks on the owner side | <ide><path>ebofneeds/won-owner/src/main/java/won/owner/camel/routes/OwnerApplicationListenerRouteBuilder.java
<ide>
<ide> package won.owner.camel.routes;
<ide>
<add>import java.net.URI;
<add>
<ide> import org.apache.camel.CamelContext;
<add>import org.apache.camel.LoggingLevel;
<add>import org.apache.camel.builder.Pr... | |
Java | mit | b131cdaa7119c1227bbdffbcfc4399294c814842 | 0 | groupon/DotCi,groupon/DotCi,groupon/DotCi | /*
The MIT License (MIT)
Copyright (c) 2014, Groupon, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge... | src/main/java/com/groupon/jenkins/dynamic/build/DynamicProject.java | /*
The MIT License (MIT)
Copyright (c) 2014, Groupon, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge... | Toggling and returning null was causing response after commit error
| src/main/java/com/groupon/jenkins/dynamic/build/DynamicProject.java | Toggling and returning null was causing response after commit error | <ide><path>rc/main/java/com/groupon/jenkins/dynamic/build/DynamicProject.java
<ide> import hudson.Extension;
<ide> import hudson.PermalinkList;
<ide> import hudson.matrix.Combination;
<del>import hudson.model.*;
<add>import hudson.model.Descriptor;
<add>import hudson.model.DescriptorVisibilityFilter;
<add>import hudson... | |
JavaScript | apache-2.0 | b8de1dd13f1062c38354e7e2e304fb401c38309a | 0 | akuseru/zulip,littledogboy/zulip,LAndreas/zulip,wangdeshui/zulip,jackrzhang/zulip,armooo/zulip,johnnygaddarr/zulip,samatdav/zulip,shaunstanislaus/zulip,punchagan/zulip,jonesgithub/zulip,avastu/zulip,willingc/zulip,jrowan/zulip,souravbadami/zulip,aakash-cr7/zulip,hengqujushi/zulip,xuanhan863/zulip,ApsOps/zulip,jackrzhan... | var message_store = (function () {
var exports = {};
var stored_messages = {};
var load_more_enabled = true;
// If the browser hasn't scrolled away from the top of the page
// since the last time that we ran load_more_messages(), we do
// not load_more_messages().
exports.get = function get(message_id) {
return ... | static/js/message_store.js | var message_store = (function () {
var exports = {};
var stored_messages = {};
var load_more_enabled = true;
// If the browser hasn't scrolled away from the top of the page
// since the last time that we ran load_more_messages(), we do
// not load_more_messages().
exports.get = function get(message_id) {
return ... | Change narrows automatically on topic changes.
(imported from commit 7a8e606cc6fe0f2e4b5a164e1396e302ad969102)
| static/js/message_store.js | Change narrows automatically on topic changes. | <ide><path>tatic/js/message_store.js
<ide> exports.update_messages = function update_messages(events) {
<ide> var msgs_to_rerender = [];
<ide> var topic_edited = false;
<add> var changed_narrow = false;
<ide>
<ide> _.each(events, function (event) {
<ide> var msg = stored_messages[event.message_i... | |
JavaScript | mit | e079182b4612cfdccf956032f9018d7464bd25d2 | 0 | dennisdegreef/foober,jsfi/pebblejs,demophoon/Trimet-Tracker,lavinjj/pebblejs,pebble/pebblejs,carlo-colombo/dublin-bus-pebble,daduke/LMSController,ento/pebblejs,ento/pebblejs,effata/pebblejs,ishepard/TransmissionTorrent,Scoutski/pebblejs,carlo-colombo/dublin-bus-pebble,kylepotts/fooder,gwijsman/OpenRemotePebble,nickarin... | var util2 = require('util2');
var myutil = require('myutil');
var Resource = require('ui/resource');
var Accel = require('ui/accel');
var ImageService = require('ui/imageservice');
var WindowStack = require('ui/windowstack');
var Window = require('ui/window');
var Menu = require('ui/menu');
var StageElement = require('... | src/js/ui/simply-pebble.js | var util2 = require('util2');
var myutil = require('myutil');
var Resource = require('ui/resource');
var Accel = require('ui/accel');
var ImageService = require('ui/imageservice');
var WindowStack = require('ui/windowstack');
var Window = require('ui/window');
var Menu = require('ui/menu');
var StageElement = require('... | Fix nested stages by adding missing message stage clear param
| src/js/ui/simply-pebble.js | Fix nested stages by adding missing message stage clear param | <ide><path>rc/js/ui/simply-pebble.js
<ide> SimplyPebble.sendPacket(packet);
<ide> };
<ide>
<del>SimplyPebble.stage = function(stageDef) {
<add>SimplyPebble.stage = function(stageDef, clear) {
<ide> var command = commandMap.setStage;
<ide> var packet = makePacket(command, stageDef);
<add> if (clear) {
<add> c... | |
Java | apache-2.0 | a9396b6320b0fc36887e570450225eb8fbdf068f | 0 | apixandru/intellij-community,suncycheng/intellij-community,samthor/intellij-community,tmpgit/intellij-community,ryano144/intellij-community,retomerz/intellij-community,caot/intellij-community,nicolargo/intellij-community,ftomassetti/intellij-community,ryano144/intellij-community,samthor/intellij-community,jagguli/intel... | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* 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 required by applicable law or agre... | plugins/properties/properties-psi-impl/src/com/intellij/codeInspection/unused/UnusedPropertyInspection.java | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* 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 required by applicable law or agre... | unused property inspection: search in a narrow scope first
| plugins/properties/properties-psi-impl/src/com/intellij/codeInspection/unused/UnusedPropertyInspection.java | unused property inspection: search in a narrow scope first | <ide><path>lugins/properties/properties-psi-impl/src/com/intellij/codeInspection/unused/UnusedPropertyInspection.java
<ide> }
<ide>
<ide> @Nullable
<del> private static GlobalSearchScope getWidestUseScope(@Nullable String key, @NotNull Project project) {
<add> private static GlobalSearchScope getWidestUseScope(@... | |
Java | apache-2.0 | 2c80d57e420a37fc83ac63b60f55238fa1b1b83f | 0 | nssales/OG-Platform,ChinaQuants/OG-Platform,nssales/OG-Platform,jeorme/OG-Platform,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,jerome79/OG-Platform,ChinaQuants/OG-Platform,nssales/OG-Platform,codeaudit/OG-Platform,ChinaQuants/OG-Platform,jeorme/OG-Platform,DevStreet/FinanceAnalytics,jerome79/OG-Platform,jerome79... | /**
* Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.interestrate.payments.provider;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertTrue;
impor... | projects/OG-Analytics/src/test/java/com/opengamma/analytics/financial/interestrate/payments/provider/CouponIborFxResetDiscountingMethodTest.java | /**
* Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.interestrate.payments.provider;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertTrue;
impor... | [PLT-430] Added swap example
| projects/OG-Analytics/src/test/java/com/opengamma/analytics/financial/interestrate/payments/provider/CouponIborFxResetDiscountingMethodTest.java | [PLT-430] Added swap example | <ide><path>rojects/OG-Analytics/src/test/java/com/opengamma/analytics/financial/interestrate/payments/provider/CouponIborFxResetDiscountingMethodTest.java
<ide> import static org.testng.AssertJUnit.assertTrue;
<ide>
<ide> import org.testng.annotations.Test;
<add>import org.threeten.bp.LocalDate;
<ide> import org.three... | |
Java | apache-2.0 | 4d79363296d9e8526095559403db191ba7431491 | 0 | bzfoster/cas-mfa,byu-oit-appdev/cas-mfa,Unicon/cas-mfa,BYU-OIT/cas-mfa,BYU-OIT/cas-mfa,bzfoster/cas-mfa,byu-oit-appdev/cas-mfa,byu-oit-appdev/cas-mfa,Unicon/cas-mfa,BYU-OIT/cas-mfa,bzfoster/cas-mfa,Unicon/cas-mfa | package net.unicon.cas.mfa.web.support;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import static org.junit.Assert.*;
import static or... | cas-mfa-java/src/test/java/net/unicon/cas/mfa/web/support/MultiFactorAuthenticationArgumentExtractorTests.java | package net.unicon.cas.mfa.web.support;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import static org.junit.Assert.*;
import static or... | tests extraction returns null when no authn_method specified
| cas-mfa-java/src/test/java/net/unicon/cas/mfa/web/support/MultiFactorAuthenticationArgumentExtractorTests.java | tests extraction returns null when no authn_method specified | <ide><path>as-mfa-java/src/test/java/net/unicon/cas/mfa/web/support/MultiFactorAuthenticationArgumentExtractorTests.java
<ide>
<ide> @RunWith(JUnit4.class)
<ide> public class MultiFactorAuthenticationArgumentExtractorTests {
<add>
<add>
<add> /**
<add> * When login presents no authentication method, the extract... | |
JavaScript | bsd-2-clause | 68412f640f8ebf97f41b511a3f2adc259fb364f6 | 0 | smn/onadata,GeoODK/onadata,hnjamba/onaclone,kobotoolbox/kobocat,eHealthAfrica/onadata,smn/onadata,GeoODK/onadata,awemulya/fieldsight-kobocat,qlands/onadata,spatialdev/onadata,eHealthAfrica/onadata,sounay/flaminggo-test,sounay/flaminggo-test,hnjamba/onaclone,awemulya/fieldsight-kobocat,hnjamba/onaclone,smn/onadata,awemu... | (function () {
"use strict";
// Save a reference to the global object (`window` in the browser, `exports`
// on the server).
var root = this;
// Check if the `Ona` namespace already exists and create it otherwise. We'll
// attach all our exposed objects to it.
var Ona = root.Ona = root.Ona ... | onadata/apps/odk_viewer/static/js/stats_tables.js | (function () {
"use strict";
// Save a reference to the global object (`window` in the browser, `exports`
// on the server).
var root = this;
// Check if the `Ona` namespace already exists and create it otherwise. We'll
// attach all our exposed objects to it.
var Ona = root.Ona = root.Ona ... | reset summary methods whenever a new field is selected
| onadata/apps/odk_viewer/static/js/stats_tables.js | reset summary methods whenever a new field is selected | <ide><path>nadata/apps/odk_viewer/static/js/stats_tables.js
<ide> });
<ide> }, this);
<ide>
<del> // whenever any of `selected_field` or `summary_methods`, check if we need to enable the button
<add> // whenever any of `selected_field` or `summary_methods` change, chec... | |
Java | mit | 3583af7dd330e55003dc6327e787b3e0bd14fd5e | 0 | HPSoftware/hpaa-octane-dev,HPSoftware/hpaa-octane-dev,HPSoftware/hpaa-octane-dev,HPSoftware/hpaa-octane-dev,HPSoftware/hpaa-octane-dev | /*
*
* Certain versions of software and/or documents (“Material”) accessible here may contain branding from
* Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017,
* the Material is now offered by Micro Focus, a separately owned and operated company. Any referen... | src/main/java/com/microfocus/application/automation/tools/uft/utils/UftToolUtils.java | /*
*
* Certain versions of software and/or documents (“Material”) accessible here may contain branding from
* Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017,
* the Material is now offered by Micro Focus, a separately owned and operated company. Any referen... | Typo fix
| src/main/java/com/microfocus/application/automation/tools/uft/utils/UftToolUtils.java | Typo fix | <ide><path>rc/main/java/com/microfocus/application/automation/tools/uft/utils/UftToolUtils.java
<ide> return rerunSettingsModels;
<ide> }
<ide>
<del> /**mvn cl
<add> /**
<ide> * Retrieves the build tests
<ide> *
<ide> * @return an mtbx file with tests, a single test or a list of tests ... | |
Java | apache-2.0 | 583b0dd1393e7a920c9ba6c4901aba0a2108417f | 0 | marwensaid/CouchbaseMock,marwensaid/CouchbaseMock,couchbase/CouchbaseMock,Playtika/CouchbaseMock,mnunberg/CouchbaseMock,mnunberg/CouchbaseMock,Playtika/CouchbaseMock,couchbase/CouchbaseMock | /**
* Copyright 2011 Membase, 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 required by applicable ... | src/test/java/org/couchbase/mock/JMembaseTest.java | /**
* Copyright 2011 Membase, 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 required by applicable ... | Don't test with server on port 8091
Change-Id: I7c079788c5b52b49ee28bb09ab6c36debda1fe0c
Reviewed-on: http://review.couchbase.org/10904
Tested-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>
Reviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>
| src/test/java/org/couchbase/mock/JMembaseTest.java | Don't test with server on port 8091 | <ide><path>rc/test/java/org/couchbase/mock/JMembaseTest.java
<ide> super(testName);
<ide> }
<ide> CouchbaseMock instance;
<add> int port = 18091;
<ide> Thread thread;
<ide>
<ide> private boolean serverIsReady(String host, int port) {
<ide> @Override
<ide> protected void setUp() throw... | |
Java | agpl-3.0 | 4f74c6019028aa56967ee598636ac270efd2a9a1 | 0 | BloatIt/bloatit,BloatIt/bloatit,BloatIt/bloatit,BloatIt/bloatit,BloatIt/bloatit | /*
* Copyright (C) 2010 BloatIt.
*
* This file is part of BloatIt.
*
* BloatIt is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later ve... | src/main/java/com/bloatit/web/pages/ContributePage.java | /*
* Copyright (C) 2010 BloatIt.
*
* This file is part of BloatIt.
*
* BloatIt is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later ve... | Fix in contribution page
| src/main/java/com/bloatit/web/pages/ContributePage.java | Fix in contribution page | <ide><path>rc/main/java/com/bloatit/web/pages/ContributePage.java
<ide>
<ide> @Override
<ide> protected String getTitle() {
<del> return "Contribute to a project";
<add> return session.tr("Contribute to a project");
<ide> }
<ide>
<ide> @Override | |
Java | bsd-3-clause | 49bc937382be15bd6cf9e6dfcf09345e126a8d78 | 0 | tinkerpop/furnace | package com.tinkerpop.furnace;
import com.tinkerpop.blueprints.pgm.Edge;
import com.tinkerpop.blueprints.pgm.Query;
import com.tinkerpop.blueprints.pgm.Vertex;
import com.tinkerpop.blueprints.pgm.impls.BasicQuery;
import com.tinkerpop.blueprints.pgm.impls.MultiIterable;
import java.util.ArrayList;
import java.util.Li... | src/main/java/com/tinkerpop/furnace/DerivedVertex.java | package com.tinkerpop.furnace;
import com.tinkerpop.blueprints.pgm.Edge;
import com.tinkerpop.blueprints.pgm.Vertex;
import com.tinkerpop.blueprints.pgm.impls.MultiIterable;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
/**
* @author Marko A. Rodriguez (http://markorodriguez.com)
*/
publ... | Added Query interface.
| src/main/java/com/tinkerpop/furnace/DerivedVertex.java | Added Query interface. | <ide><path>rc/main/java/com/tinkerpop/furnace/DerivedVertex.java
<ide> package com.tinkerpop.furnace;
<ide>
<ide> import com.tinkerpop.blueprints.pgm.Edge;
<add>import com.tinkerpop.blueprints.pgm.Query;
<ide> import com.tinkerpop.blueprints.pgm.Vertex;
<add>import com.tinkerpop.blueprints.pgm.impls.BasicQuery;
<ide> ... | |
JavaScript | bsd-3-clause | 5b0c5e6b3223e323de8ec1013d665a8d05ec0462 | 0 | johnjbarton/Purple | // PurplePart recv message and create log
// Copyright 2011 Google Inc.
// see Purple/license.txt for BSD license
// johnjbarton@google.com
(function() {
'use strict';
var thePurple = window.purple;
var Browser = thePurple.Browser;
var Renderer = {
'debugger': function(data) {
var params = data.p... | log/log.js | // PurplePart recv message and create log
// Copyright 2011 Google Inc.
// see Purple/license.txt for BSD license
// johnjbarton@google.com
(function() {
'use strict';
var thePurple = window.purple;
var Browser = thePurple.Browser;
var Renderer = {
};
//------------------------------------------------... | Some temp logging output so we can see what we are dealing with | log/log.js | Some temp logging output so we can see what we are dealing with | <ide><path>og/log.js
<ide> var thePurple = window.purple;
<ide> var Browser = thePurple.Browser;
<ide> var Renderer = {
<add> 'debugger': function(data) {
<add> var params = data.params ? Object.keys(data.params).join(',') : "";
<add> return "debugger."+data.name+"("+params+")";
<add> },
<add> ... | |
Java | bsd-3-clause | e9ba642632cdb8a2615e0713375d4ee6df23f975 | 0 | aic-sri-international/aic-praise,aic-sri-international/aic-praise | /*
* Copyright (c) 2013, SRI International
* All rights reserved.
* Licensed under the The BSD 3-Clause License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://opensource.org/licenses/BSD-3-Clause
*
* Redistribution and use in... | src/main/java/com/sri/ai/praise/demo/Controller.java | /*
* Copyright (c) 2013, SRI International
* All rights reserved.
* Licensed under the The BSD 3-Clause License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://opensource.org/licenses/BSD-3-Clause
*
* Redistribution and use in... | Demo UI - output parse errors on the problems tab, encountered when processing the query string the user enters.
git-svn-id: https://aic-praise.googlecode.com/svn/trunk@1326 e74e62f3-1872-5a1b-a7a8-c7220c51b9cb
Former-commit-id: c20444d4cc9eb1864eac189b576872b91e62be01 | src/main/java/com/sri/ai/praise/demo/Controller.java | Demo UI - output parse errors on the problems tab, encountered when processing the query string the user enters. | <ide><path>rc/main/java/com/sri/ai/praise/demo/Controller.java
<ide> import java.awt.event.ActionEvent;
<ide> import java.awt.event.ActionListener;
<ide> import java.io.BufferedReader;
<add>import java.io.ByteArrayOutputStream;
<ide> import java.io.File;
<ide> import java.io.FileReader;
<ide> import java.io.IOException... | |
Java | apache-2.0 | eb5af2e1b1a3f617f94dc5bc7064b4b557623c59 | 0 | apache/felix-dev,apache/felix-dev,apache/felix-dev,apache/felix-dev | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | webconsole/src/main/java/org/apache/felix/webconsole/internal/core/InstallAction.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | SLING-875 Treat bundle files indicating the system.bundle symbolic
name specially.
git-svn-id: e057f57e93a604d3b43d277ae69bde5ebf332112@733696 13f79535-47bb-0310-9956-ffa450edef68
| webconsole/src/main/java/org/apache/felix/webconsole/internal/core/InstallAction.java | SLING-875 Treat bundle files indicating the system.bundle symbolic name specially. | <ide><path>ebconsole/src/main/java/org/apache/felix/webconsole/internal/core/InstallAction.java
<ide>
<ide> // check for existing bundle first
<ide> Bundle updateBundle = null;
<del> Bundle[] bundles = getBundleContext().getBundles();
<del> for ( int i = 0; i < bundles.len... | |
JavaScript | mit | 1f8030185b0a1931a2d87562502c358e7ec95834 | 0 | bixbyjs/bixby-tokens | exports = module.exports = function(container, logger) {
// Load modules.
var Decoder = require('tokens').Decoder;
var decoder = new Decoder();
var specs = container.specs()
, spec, func, type, i, len, j, jlen;
for (i = 0, len = specs.length; i < len; ++i) {
spec = specs[i];
if ((spec.... | lib/decoder.js | exports = module.exports = function(container, logger) {
// Load modules.
var Decoder = require('tokens').Decoder;
var decoder = new Decoder();
var specs = container.specs()
, spec, func, type, i, len, j, jlen;
for (i = 0, len = specs.length; i < len; ++i) {
spec = specs[i];
if ((spec.... | Correct spelling error.
| lib/decoder.js | Correct spelling error. | <ide><path>ib/decoder.js
<ide> type = [ type ];
<ide> }
<ide> for (j = 0, jlen = type.length; j < jlen; ++j) {
<del> logger.info('Registered support for decoding tokens of tyep: ' + type[j]);
<add> logger.info('Registered support for decoding tokens of type: ' + type[j]);
<ide> }... | |
Java | bsd-3-clause | 4e37a21c2175ad3b16eb291736667a2b21fdab71 | 0 | dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk | /*
* Copyright (c) 2004-2018, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of cond... | core/src/main/java/org/hisp/dhis/android/core/dataset/DataSetCompleteRegistrationCallFetcher.java | /*
* Copyright (c) 2004-2018, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of cond... | Fix Data Set completions query lenth to fit all period ids
| core/src/main/java/org/hisp/dhis/android/core/dataset/DataSetCompleteRegistrationCallFetcher.java | Fix Data Set completions query lenth to fit all period ids | <ide><path>ore/src/main/java/org/hisp/dhis/android/core/dataset/DataSetCompleteRegistrationCallFetcher.java
<ide> import org.hisp.dhis.android.core.calls.fetchers.CallFetcher;
<ide> import org.hisp.dhis.android.core.common.APICallExecutor;
<ide> import org.hisp.dhis.android.core.common.D2CallException;
<add>import org.... | |
Java | mit | 884fe9f3d662f286ff42444d8e4797e0d4e11555 | 0 | godotgildor/igv,godotgildor/igv,itenente/igv,igvteam/igv,igvteam/igv,itenente/igv,amwenger/igv,amwenger/igv,igvteam/igv,godotgildor/igv,godotgildor/igv,itenente/igv,amwenger/igv,igvteam/igv,amwenger/igv,itenente/igv,igvteam/igv,amwenger/igv,itenente/igv,godotgildor/igv | /*
* Copyright (c) 2007-2012 The Broad Institute, Inc.
* SOFTWARE COPYRIGHT NOTICE
* This software and its documentation are the copyright of the Broad Institute, Inc. All rights are reserved.
*
* This software is supplied without any warranty or guaranteed support whatsoever. The Broad Institute is not responsibl... | src/org/broad/igv/track/AbstractTrack.java | /*
* Copyright (c) 2007-2012 The Broad Institute, Inc.
* SOFTWARE COPYRIGHT NOTICE
* This software and its documentation are the copyright of the Broad Institute, Inc. All rights are reserved.
*
* This software is supplied without any warranty or guaranteed support whatsoever. The Broad Institute is not responsibl... | Fix flaw in setHeight method
| src/org/broad/igv/track/AbstractTrack.java | Fix flaw in setHeight method | <ide><path>rc/org/broad/igv/track/AbstractTrack.java
<ide> if (force) {
<ide> this.height = preferredHeight;
<ide> } else {
<del> this.height = Math.min(Math.max(getMinimumHeight(), height), getMaximumHeight());
<add> this.height = Math.min(Math.max(getMinimumHeight(), ... | |
Java | apache-2.0 | d69c90dad87c651871ccb7532048738b8cf25431 | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.plugins.newui;
import com.intellij.icons.AllIcons;
import com.intellij.ide.BrowserUtil;
import com.intellij.ide.plugins.*;
import com.intellij.openapi.ex... | platform/platform-impl/src/com/intellij/ide/plugins/newui/PluginDetailsPageComponent.java | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.plugins.newui;
import com.intellij.icons.AllIcons;
import com.intellij.ide.BrowserUtil;
import com.intellij.ide.plugins.*;
import com.intellij.openapi.ex... | IDEA-215108 Plugin manager UI - Include modification date
GitOrigin-RevId: bb87a9ade746d3369452af749dd5f4b07c48283c
| platform/platform-impl/src/com/intellij/ide/plugins/newui/PluginDetailsPageComponent.java | IDEA-215108 Plugin manager UI - Include modification date | <ide><path>latform/platform-impl/src/com/intellij/ide/plugins/newui/PluginDetailsPageComponent.java
<ide> private JTextField myVersion;
<ide> private JLabel myVersionSize;
<ide> private TagPanel myTagPanel;
<add> private JLabel myDate;
<ide> private JLabel myRating;
<ide> private JLabel myDownloads;
<ide> ... | |
Java | apache-2.0 | f2a5c16debf6551fb534b99a60473c83c07ab22a | 0 | biobankcloud/CauthRealm,biobankcloud/CauthRealm,biobankcloud/CauthRealm | package se.kth.bbc.crealm;
import com.sun.appserv.connectors.internal.api.ConnectorRuntime;
import com.sun.appserv.security.AppservRealm;
import com.sun.enterprise.security.auth.digest.api.Password;
import com.sun.enterprise.security.auth.realm.BadRealmException;
import com.sun.enterprise.security.auth.realm.IASRealm;... | src/main/java/se/kth/bbc/crealm/CustomAuthRealm.java | package se.kth.bbc.crealm;
import com.sun.appserv.connectors.internal.api.ConnectorRuntime;
import com.sun.appserv.security.AppservRealm;
import com.sun.enterprise.security.auth.digest.api.Password;
import com.sun.enterprise.security.auth.realm.BadRealmException;
import com.sun.enterprise.security.auth.realm.IASRealm;... | Yubikey authentication fixed
| src/main/java/se/kth/bbc/crealm/CustomAuthRealm.java | Yubikey authentication fixed | <ide><path>rc/main/java/se/kth/bbc/crealm/CustomAuthRealm.java
<ide> int seenHi = rs.getInt("high");
<ide>
<ide> int seenSessionUse = rs.getInt("session_use");
<del>
<add>
<ide> Token t;
<ide> t = Pof.parse(otp, hexStringToByteArray(secret));
<ide> int sessionCounter = toInt(t.getSe... | |
JavaScript | agpl-3.0 | 0b676694c267e534d8639c934b6c8e2b226e6c77 | 0 | arenaoftitans/arena-of-titans,arenaoftitans/arena-of-titans,arenaoftitans/arena-of-titans | /*
* Copyright (C) 2015-2016 by Arena of Titans Contributors.
*
* This file is part of Arena of Titans.
*
* Arena of Titans is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the Licens... | app/game/game.js | /*
* Copyright (C) 2015-2016 by Arena of Titans Contributors.
*
* This file is part of Arena of Titans.
*
* Arena of Titans is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the Licens... | fix(game): correct detection of powerup animations
Power-ups are when a trump is played on the initiator (ie player ==
target)
| app/game/game.js | fix(game): correct detection of powerup animations | <ide><path>pp/game/game.js
<ide> popupData.trumpImg = AssetSource.forTrump(trump1);
<ide> popupData.translate.messages.trumpName = message.last_action.trump.title;
<ide>
<del> if (message.last_action.target_index === this._api.me.index ) {
<add> // Power-ups are when a tru... | |
Java | epl-1.0 | 74329555c59ac2f12070a519ba439094f88a7743 | 0 | ssalonen/openhab,ssalonen/openhab,TheNetStriker/openhab,juri8/openhab,computergeek1507/openhab,falkena/openhab,TheNetStriker/openhab,falkena/openhab,openhab/openhab,idserda/openhab,ssalonen/openhab,watou/openhab,ssalonen/openhab,openhab/openhab,computergeek1507/openhab,openhab/openhab,juri8/openhab,watou/openhab,juri8/... | /**
* Copyright (c) 2010-2016 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | bundles/binding/org.openhab.binding.epsonprojector/src/main/java/org/openhab/binding/epsonprojector/connector/EpsonProjectorSerialConnector.java | /**
* Copyright (c) 2010-2016 by the respective copyright holders.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | [epson] NPE fix (#5616)
Signed-off-by: Pauli Anttila <46e7006d7cff4d963e9c971c68d15636d9388b35@gmail.com> | bundles/binding/org.openhab.binding.epsonprojector/src/main/java/org/openhab/binding/epsonprojector/connector/EpsonProjectorSerialConnector.java | [epson] NPE fix (#5616) | <ide><path>undles/binding/org.openhab.binding.epsonprojector/src/main/java/org/openhab/binding/epsonprojector/connector/EpsonProjectorSerialConnector.java
<ide> if (out != null) {
<ide> logger.debug("Close serial out stream");
<ide> IOUtils.closeQuietly(out);
<add> out = null;... | |
JavaScript | mit | 711772c5bf4d98bfb10ea06a240fad10b94da5e5 | 0 | ashleydp/spottingthefishwithwatson,ashleydp/spottingthefishwithwatson | 'use strict'
const express = require('express')
const Slapp = require('slapp')
const ConvoStore = require('slapp-convo-beepboop')
const Context = require('slapp-context-beepboop')
// use `PORT` env var on Beep Boop - default to 3000 locally
var port = process.env.PORT || 3000
var slapp = Slapp({
// Beep Boop sets ... | server.js | 'use strict'
const express = require('express')
const Slapp = require('slapp')
const ConvoStore = require('slapp-convo-beepboop')
const Context = require('slapp-context-beepboop')
// use `PORT` env var on Beep Boop - default to 3000 locally
var port = process.env.PORT || 3000
var slapp = Slapp({
// Beep Boop sets ... | Slap commands
| server.js | Slap commands | <ide><path>erver.js
<ide> context: Context()
<ide> })
<ide>
<add>
<ide> var HELP_TEXT = `
<ide> I will respond to the following messages:
<ide> \`help\` - to see this message.
<del>\`playlist\` - to demonstrate a conversation that tracks playlist request.
<add>\`hi\` - to demonstrate a conversation that tracks state... | |
JavaScript | mit | 19928eddcb279ae3e79c5c29ac62fe5ed59c2ae4 | 0 | LostNTime/Commando | const Canvas = require('canvas');
const { Command } = require('discord.js-commando');
const fs = global.Promise.promisifyAll(require('fs'));
const path = require('path');
module.exports = class BlameCommand extends Command {
constructor(client) {
super(client, {
name: 'blame',
aliases: ['bm'],
group: 'soci... | commands/social/blame.js | const Canvas = require('canvas');
const { Command } = require('discord.js-commando');
const fs = global.Promise.promisifyAll(require('fs'));
const path = require('path');
module.exports = class BlameCommand extends Command {
constructor(client) {
super(client, {
name: 'blame',
aliases: ['bm'],
group: 'soci... | Update blame.js | commands/social/blame.js | Update blame.js | <ide><path>ommands/social/blame.js
<ide>
<ide> const canvas = new Canvas(300, 300);
<ide> const ctx = canvas.getContext('2d');
<add>
<add> const base = new Image();
<ide>
<ide> const generate = () => {
<ide> // Environment Variables | |
Java | apache-2.0 | 1a334915c7e50dc8f6f9a2fa7a7d524cacb7efb2 | 0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.feed.client.impl;
import ai.vespa.feed.client.HttpResponse;
import org.apache.hc.client5.http.async.methods.SimpleHttpRequest;
import org.apache.hc.client5.http.async.methods.SimpleHttpResponse;
im... | vespa-feed-client/src/main/java/ai/vespa/feed/client/impl/ApacheCluster.java | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.feed.client.impl;
import ai.vespa.feed.client.HttpResponse;
import org.apache.hc.client5.http.async.methods.SimpleHttpRequest;
import org.apache.hc.client5.http.async.methods.SimpleHttpResponse;
im... | provide TlsDetailsFactory
| vespa-feed-client/src/main/java/ai/vespa/feed/client/impl/ApacheCluster.java | provide TlsDetailsFactory | <ide><path>espa-feed-client/src/main/java/ai/vespa/feed/client/impl/ApacheCluster.java
<ide> import org.apache.hc.core5.net.URIAuthority;
<ide> import org.apache.hc.core5.reactor.IOReactorConfig;
<ide> import org.apache.hc.core5.util.Timeout;
<add>
<add>import org.apache.hc.core5.function.Factory;
<add>import org.apach... | |
JavaScript | mit | 1623019621af32993940d1c4f0b39de9d1c0f19f | 0 | InfiniteFoundation/meta,InfiniteFoundation/meta,InfiniteFoundation/meta2d,InfiniteFoundation/meta2d,InfiniteFoundation/meta,InfiniteFoundation/meta2d,InfiniteFoundation/meta2d,tenjou/meta2d,InfiniteFoundation/meta | "use strict";
/**
* @class Entity.Geometry
* @memberof Entity
* @param [id=-1] {Number} Unique ID of entity which is set after adding it to Entity.Manager. Default value is -1.
* @param [name=""] {String} Name of the entity.
* @param [x=0] {Number} Position on x axis.
* @param [y=0] {Number} Position on y axis.
... | src/plugins/Entity/Entity.Geometry.js | "use strict";
/**
* @class Entity.Geometry
* @memberof Entity
* @param [id=-1] {Number} Unique ID of entity which is set after adding it to Entity.Manager. Default value is -1.
* @param [name=""] {String} Name of the entity.
* @param [x=0] {Number} Position on x axis.
* @param [y=0] {Number} Position on y axis.
... | Refactor/Added: All pivot changing functions now start with "pivot". entity.positionTopLeft and similar prefixed functions now only move entity from corresponding side but does not change entity pivot.
| src/plugins/Entity/Entity.Geometry.js | Refactor/Added: All pivot changing functions now start with "pivot". entity.positionTopLeft and similar prefixed functions now only move entity from corresponding side but does not change entity pivot. | <ide><path>rc/plugins/Entity/Entity.Geometry.js
<ide> {
<ide> this.id = this._entityCtrl.getUniqueID();
<ide> this.name = "entity" + this.id;
<del> this.volume = new meta.Math.AdvAABB(0, 0, 0, 0);
<add> this.volume = new meta.math.AdvAABB(0, 0, 0, 0);
<ide> this._parent = this._entityCtrl;
<ide>
<ide> this.... | |
Java | apache-2.0 | 64380ed6056decb4cacd30fd27f4b8d706a9eed9 | 0 | triceo/splitlog | package com.github.triceo.splitlog.ordering;
import java.io.File;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import org.apache.commons.io.FileUtils;
import org.assertj.core.api.Assertions;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import com.github.t... | splitlog-core/src/test/java/com/github/triceo/splitlog/ordering/MessageOrderingTest.java | package com.github.triceo.splitlog.ordering;
import java.io.File;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import org.apache.commons.io.FileUtils;
import org.assertj.core.api.Assertions;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import com.github.t... | Adapt tests to autoStart | splitlog-core/src/test/java/com/github/triceo/splitlog/ordering/MessageOrderingTest.java | Adapt tests to autoStart | <ide><path>plitlog-core/src/test/java/com/github/triceo/splitlog/ordering/MessageOrderingTest.java
<ide>
<ide> @Before
<ide> public void buildWatch() {
<del> this.watch = LogWatchBuilder.getDefault().watchedFile(this.target).buildWith(new JBossServerLogTailSplitter());
<add> this.watch = LogWatch... | |
JavaScript | bsd-3-clause | c890a2e007897139bcd9b33c660a562a80a7aa1c | 0 | janodvarko/firecookie,janodvarko/firecookie | /* See license.txt for terms of usage */
/**
* @author <a href="mailto:odvarko@gmail.com">Jan Odvarko</a>
* @namespace Holds all functionality related to the Firecookie etension.
* There are no global objects defined to avoid collisions with other
* extensions.
*/
FBL.ns(function() { with (FBL) {
// Constants
//... | chrome/content/firecookie/fireCookie.js | /* See license.txt for terms of usage */
/**
* @author <a href="mailto:odvarko@gmail.com">Jan Odvarko</a>
* @namespace Holds all functionality related to the Firecookie etension.
* There are no global objects defined to avoid collisions with other
* extensions.
*/
FBL.ns(function() { with (FBL) {
// Constants
//... | Avoid NPE | chrome/content/firecookie/fireCookie.js | Avoid NPE | <ide><path>hrome/content/firecookie/fireCookie.js
<ide> // xxxHonza not sure how to do this better if the default Firebug's "Copy"
<ide> // command (cmd_copy) shouldn't be there.
<ide> var popup = $("fbContextMenu");
<del> if (popup.firstChild.getAttribute("command") == "cmd_copy")
<add> ... | |
Java | mit | 5d8599957e187f8a398b7bc94899c23050e12ac1 | 0 | CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab | package com.ext.portlet.service.impl;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import jav... | services/plansProposalsFacade/plansProposalsFacade-portlet/src/main/java/com/ext/portlet/service/impl/ContestLocalServiceImpl.java | package com.ext.portlet.service.impl;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import jav... | add support for combined ribbon awards such as "judges & popular choice award" at the winner determination for points
| services/plansProposalsFacade/plansProposalsFacade-portlet/src/main/java/com/ext/portlet/service/impl/ContestLocalServiceImpl.java | add support for combined ribbon awards such as "judges & popular choice award" at the winner determination for points | <ide><path>ervices/plansProposalsFacade/plansProposalsFacade-portlet/src/main/java/com/ext/portlet/service/impl/ContestLocalServiceImpl.java
<ide> return null;
<ide> }
<ide> ContestPhase lastPhase = getActiveOrLastPhase(contest);
<add> //this is the winner of combined award such as judge... | |
Java | apache-2.0 | 4691c6f196d9d213d40c49bf1feea088c95ffaad | 0 | cycronix/cloudturbine,cycronix/cloudturbine,jpw-erigo/cloudturbine,jpw-erigo/cloudturbine,jpw-erigo/cloudturbine,cycronix/cloudturbine,jpw-erigo/cloudturbine,cycronix/cloudturbine | import java.io.File;
import java.io.IOException;
import cycronix.ctlib.*;
/**
* CloudTurbine stitch sessions together under a source
* Note hierarchy: CTdata/Source/Session/[Segment/]Block/Point
* Warning: Renames given source/session folders! (Manually pre-copy for no-clobber).
* <p>
* @author Matt Miller (MJ... | JavaCode/CTexample/src/main/java/CTstitch.java | import java.io.File;
import java.io.IOException;
import cycronix.ctlib.*;
/**
* CloudTurbine stitch segments together under a source
* <p>
* @author Matt Miller (MJM), Cycronix
* @version 02/22/2017
*
*/
/*******************************************************************************
* Licensed to the Apache ... | CTexample/CTstitch: clean up some comments
| JavaCode/CTexample/src/main/java/CTstitch.java | CTexample/CTstitch: clean up some comments | <ide><path>avaCode/CTexample/src/main/java/CTstitch.java
<ide> import cycronix.ctlib.*;
<ide>
<ide> /**
<del> * CloudTurbine stitch segments together under a source
<add> * CloudTurbine stitch sessions together under a source
<add> * Note hierarchy: CTdata/Source/Session/[Segment/]Block/Point
<add> * Warning: Renames... | |
JavaScript | mit | ab4ab588733e81ebe0b20cc95b7cdab4c364537f | 0 | krasimir/microjs.com,microjs/microjs.com,krasimir/microjs.com,madrobby/microjs.com,madrobby/microjs.com,chrisdavies/microjs.com,sbrl/microjs.com,microjs/microjs.com,chrisdavies/microjs.com,sbrl/microjs.com | // See the README (https://github.com/madrobby/microjs.com#readme) for details about how
// to use this file.
// Make sure you run 'make compile' to check that your library doesn't come up with
// warnings or errors. It would also be appreciated if you could check any versioned
// libraries to see if they have new rele... | data.js | // See the README (https://github.com/madrobby/microjs.com#readme) for details about how
// to use this file.
// Make sure you run 'make compile' to check that your library doesn't come up with
// warnings or errors. It would also be appreciated if you could check any versioned
// libraries to see if they have new rele... | Added Graph and Scorebook. | data.js | Added Graph and Scorebook. | <ide><path>ata.js
<ide> description: "A bit of sugar for defining JavaScript Objects and their Prototypes.",
<ide> url: "https://github.com/smelnikov/defineObject",
<ide> source: "https://raw.github.com/smelnikov/defineObject/master/defineObject.js"
<add> },
<add> {
<add> name: "Graph",
<add> tags: ... | |
JavaScript | apache-2.0 | 8873ea3312007d2c11088b22204127b0b8a2f8bd | 0 | deepforge-dev/deepforge,deepforge-dev/deepforge,deepforge-dev/deepforge,deepforge-dev/deepforge | /* globals define, WebGMEGlobal */
define([
'client/logger'
], function(
Logger
) {
const StorageClient = function(id, name, logger) {
this.id = id;
this.name = name;
if (!logger) {
let gmeConfig;
if (require.isBrowser) {
gmeConfig = WebGMEGlob... | src/common/storage/backends/StorageClient.js | /* globals define, WebGMEGlobal */
define([
'client/logger'
], function(
Logger
) {
const StorageClient = function(id, name, logger) {
this.id = id;
this.name = name;
if (!logger) {
let gmeConfig;
if (require.isBrowser) {
gmeConfig = WebGMEGlob... | Fix error message in abstract getMetadata method. Fixes #1397 (#1398)
| src/common/storage/backends/StorageClient.js | Fix error message in abstract getMetadata method. Fixes #1397 (#1398) | <ide><path>rc/common/storage/backends/StorageClient.js
<ide> };
<ide>
<ide> StorageClient.prototype.getMetadata = async function(/*dataInfo*/) {
<del> throw new Error(`getDownloadURL not implemented for ${this.name}`);
<add> throw new Error(`getMetadata not implemented for ${this.name}`);
<ide> ... | |
Java | apache-2.0 | 20335361d6fa9256df422551ca669eec40c873fa | 0 | desp0916/LearnStorm,desp0916/LearnStorm,desp0916/LearnStorm | /**
* AP Log 產生器(於 local 端執行,使用 log4j 的「Kafka appender」寫入 Kafka )
* 可以用這隻程式來做 performance benchmark
*
* enableSleep = false : running threads at full speed
* enableSleep = true : suspend threads occasionally
*/
/*
1. 先建立 indexes:
curl -XPUT 'localhost:9200/aplog_aes3g-2016.05.25/?pretty'
curl -XPUT '... | src/main/java/com/pic/ala/model/ApLogTest.java | /**
* AP Log 產生器(於 local 端執行,使用 log4j 的「Kafka appender」寫入 Kafka )
* 可以用這隻程式來做 performance benchmark
*/
/*
1. 先建立 indexes:
curl -XPUT 'localhost:9200/aplog_aes3g-2016.05.25/?pretty'
curl -XPUT 'localhost:9200/aplog_wds-2016.05.25/?pretty'
curl -XPUT 'localhost:9200/aplog_upcc-2016.05.25/?pretty'
... | Now we can run ESIndexerBolt & ESIndexBolt in asynchronous way.
| src/main/java/com/pic/ala/model/ApLogTest.java | Now we can run ESIndexerBolt & ESIndexBolt in asynchronous way. | <ide><path>rc/main/java/com/pic/ala/model/ApLogTest.java
<ide> /**
<ide> * AP Log 產生器(於 local 端執行,使用 log4j 的「Kafka appender」寫入 Kafka )
<ide> * 可以用這隻程式來做 performance benchmark
<add> *
<add> * enableSleep = false : running threads at full speed
<add> * enableSleep = true : suspend threads occasionally
<ide> */
<ide> /... | |
Java | apache-2.0 | 29f2f7d60a7c54ef3749cad1285e29ca621876f6 | 0 | Kisensum/fpai-apps,flexiblepower/fpai-apps,flexiblepower/fpai-apps,Kisensum/fpai-apps,Kisensum/fpai-apps,Kisensum/fpai-apps,flexiblepower/fpai-apps,flexiblepower/fpai-apps,flexiblepower/fpai-apps,Kisensum/fpai-apps | package org.flexiblepower.simulation.profile.uncontrolled;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.text.ParseException;
import java.text.SimpleDateForma... | flexiblepower.simulation.profile.uncontrolled/src/org/flexiblepower/simulation/profile/uncontrolled/UncontrolledProfileManager.java | package org.flexiblepower.simulation.profile.uncontrolled;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.text.ParseException;
import java.text.SimpleDateForma... | Removed debug logging | flexiblepower.simulation.profile.uncontrolled/src/org/flexiblepower/simulation/profile/uncontrolled/UncontrolledProfileManager.java | Removed debug logging | <ide><path>lexiblepower.simulation.profile.uncontrolled/src/org/flexiblepower/simulation/profile/uncontrolled/UncontrolledProfileManager.java
<ide> measurable));
<ide>
<ide> CommodityForecast forecast = createForecast(currentTime);
<del... | |
JavaScript | mit | d31957f28c6b4664797a12d64903b51f99ff781f | 0 | sustainablepace/mobipick,Kieboom-Aaron/mobipick,mujiansu/mobipick,sustainablepace/mobipick,mujiansu/mobipick,sustainablepace/mobipick,Kieboom-Aaron/mobipick,mujiansu/mobipick,Kieboom-Aaron/mobipick | /**
* Node should be a jQuery collection with a single element.
*/
function isSingleJQueryElement( node, msg ) {
var actual = {
type: typeof node.jquery,
size: node.length
};
var expected = {
type: "string",
size: 1
};
QUnit.push( QUnit.equiv( actual, expected ), actual, expected, msg );
}
/**
* Node sh... | tests/tests.js | /**
* Node should be a jQuery collection with a single element.
*/
function isSingleJQueryElement( node, msg ) {
var actual = {
type: typeof node.jquery,
size: node.length
};
var expected = {
type: "string",
size: 1
};
QUnit.push( QUnit.equiv( actual, expected ), actual, expected, msg );
}
/**
* Node sh... | test for pull 11
| tests/tests.js | test for pull 11 | <ide><path>ests/tests.js
<ide>
<ide> deepEqual(i, 0);
<ide> });
<add>test( "Pull 11", function() {
<add> var p = this.$mp.mobipick().trigger( "tap" );
<add> this.selectDatepickerItems();
<add> this.$cancel.trigger( "tap" );
<add>
<add> deepEqual( "", this.$mp.val() );
<add>}); | |
Java | apache-2.0 | fe7669d557a93f8c3ef3d6a631b49fff43a30133 | 0 | lysanderp41/CodeUSummer2017,lysanderp41/CodeUSummer2017 | // Copyright 2017 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 required by applicable law or agreed to in w... | src/codeu/chat/server/Server.java | // Copyright 2017 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 required by applicable law or agreed to in w... | added getInterests
| src/codeu/chat/server/Server.java | added getInterests | <ide><path>rc/codeu/chat/server/Server.java
<ide>
<ide> final Uuid userid = (Uuid.SERIALIZER).read(in);
<ide> final Uuid interest = (Uuid.SERIALIZER).read(in);
<del> final Interests interests = controller.newInterest(Uuid userid, Uuid interest);
<add> final Interests interests = controlle... | |
Java | apache-2.0 | 9aa4251368ed26e54c043680cc6af282008b51a6 | 0 | GoogleCloudPlatform/pubsub,GoogleCloudPlatform/pubsub,GoogleCloudPlatform/pubsub,GoogleCloudPlatform/pubsub,GoogleCloudPlatform/pubsub | /*
* Copyright 2019 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 required by applicable law or agreed to in w... | load-test-framework/src/main/java/com/google/pubsub/flic/controllers/resource_controllers/GCEComputeResourceController.java | /*
* Copyright 2019 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 required by applicable law or agreed to in w... | remove extra log messages
| load-test-framework/src/main/java/com/google/pubsub/flic/controllers/resource_controllers/GCEComputeResourceController.java | remove extra log messages | <ide><path>oad-test-framework/src/main/java/com/google/pubsub/flic/controllers/resource_controllers/GCEComputeResourceController.java
<ide> } catch (IOException e) {
<ide> numErrors++;
<ide> if (numErrors > 3) {
<del> log.error("Transient error instance inf... | |
Java | epl-1.0 | 02bf5830a0c3d0d4ba3a4017a4dcfaa0e5e3d476 | 0 | eveCSS/eveCSS,eveCSS/eveCSS | package de.ptb.epics.eve.editor.gef.figures;
import org.apache.log4j.Logger;
import org.eclipse.draw2d.ColorConstants;
import org.eclipse.draw2d.Graphics;
import org.eclipse.draw2d.Shape;
import org.eclipse.draw2d.XYAnchor;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.draw2d.geometry.Rectangle;
import ... | applications/plugins/org.csstudio.eve.editor/src/de/ptb/epics/eve/editor/gef/figures/ScanModuleFigure.java | package de.ptb.epics.eve.editor.gef.figures;
import org.apache.log4j.Logger;
import org.eclipse.draw2d.ColorConstants;
import org.eclipse.draw2d.Graphics;
import org.eclipse.draw2d.Shape;
import org.eclipse.draw2d.XYAnchor;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.draw2d.geometry.Rectangle;
import ... | fixed paint issue in GEF Editor | applications/plugins/org.csstudio.eve.editor/src/de/ptb/epics/eve/editor/gef/figures/ScanModuleFigure.java | fixed paint issue in GEF Editor | <ide><path>pplications/plugins/org.csstudio.eve.editor/src/de/ptb/epics/eve/editor/gef/figures/ScanModuleFigure.java
<ide> */
<ide> public void setAppended_feedback(boolean appended_feedback) {
<ide> this.appended_feedback = appended_feedback;
<add> this.repaint();
<ide> }
<ide>
<ide> /**
<ide> */
<ide> pub... | |
Java | apache-2.0 | 62a1d576ddbe4b10c7e806df26d9dcaf0a241f47 | 0 | whitesource/agents,whitesource/agents | package org.whitesource.agent.hash;
import org.apache.commons.io.FileUtils;
import java.io.File;
import java.io.IOException;
import java.nio.file.Paths;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;
/**
* @author philip.abed
*/
public class FileHandler {
private static String... | wss-agent-hash-calculator/src/main/java/org/whitesource/agent/hash/FileHandler.java | package org.whitesource.agent.hash;
import org.apache.commons.io.FileUtils;
import java.io.File;
import java.io.IOException;
import java.nio.file.Paths;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.UUID;
/**
* @author raz.nitzan
*/
public class FileHandler {
private static String ... | WSE - 1203 PlatformDependent temporary folder is not uniquely created.
| wss-agent-hash-calculator/src/main/java/org/whitesource/agent/hash/FileHandler.java | WSE - 1203 PlatformDependent temporary folder is not uniquely created. | <ide><path>ss-agent-hash-calculator/src/main/java/org/whitesource/agent/hash/FileHandler.java
<ide> import java.util.UUID;
<ide>
<ide> /**
<del> * @author raz.nitzan
<add> * @author philip.abed
<ide> */
<ide> public class FileHandler {
<ide> private static String EMPTY_STRING = ""; | |
Java | apache-2.0 | 75c8b20a9e5be9af8075f69f88470ed6261fd007 | 0 | korpling/ANNIS,thomaskrause/ANNIS,amir-zeldes/ANNIS,zangsir/ANNIS,zangsir/ANNIS,thomaskrause/ANNIS,zangsir/ANNIS,korpling/ANNIS,pixeldrama/ANNIS,korpling/ANNIS,korpling/ANNIS,korpling/ANNIS,amir-zeldes/ANNIS,pixeldrama/ANNIS,thomaskrause/ANNIS,amir-zeldes/ANNIS,zangsir/ANNIS,thomaskrause/ANNIS,amir-zeldes/ANNIS,zangsir... | /*
* Copyright 2010 thomas.
*
* 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 required by applicable law or agre... | Annis-Service/src/main/java/annis/dao/GraphExtractor.java | /*
* Copyright 2010 thomas.
*
* 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 required by applicable law or agre... | - go back to not view based context query and use an array as key for easier reconstruction of the match index | Annis-Service/src/main/java/annis/dao/GraphExtractor.java | - go back to not view based context query and use an array as key for easier reconstruction of the match index | <ide><path>nnis-Service/src/main/java/annis/dao/GraphExtractor.java
<ide> import annis.model.AnnotationGraph;
<ide> import annis.model.Edge;
<ide> import annis.sqlgen.TableAccessStrategy;
<add>import java.math.BigDecimal;
<add>import java.sql.Array;
<ide> import java.sql.ResultSet;
<ide> import java.sql.SQLException;
<... | |
Java | apache-2.0 | 00891ab71d2ab29b6783de7f29e4e5500ebd58f6 | 0 | OpenHFT/Chronicle-Queue,OpenHFT/Chronicle-Queue | /*
* Copyright 2016-2020 chronicle.software
*
* https://chronicle.software
*
* 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
*
* ... | src/test/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueueTest.java | /*
* Copyright 2016-2020 chronicle.software
*
* https://chronicle.software
*
* 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
*
* ... | Review failing tests and enable tests not failing https://github.com/ChronicleEnterprise/Chronicle-Queue-Enterprise/issues/310
| src/test/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueueTest.java | Review failing tests and enable tests not failing https://github.com/ChronicleEnterprise/Chronicle-Queue-Enterprise/issues/310 | <ide><path>rc/test/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueueTest.java
<ide>
<ide> assertEquals(10L, countEntries(queue, named));
<ide> }
<del> assertEquals("" +
<del> "idx: 4a0400000000\n" +
<del> "# position: 784, header:... | |
Java | apache-2.0 | 0957d65deca139b2112ed180460a37c30c12ed11 | 0 | pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus | /**
* Copyright 2007-2017 University Of Southern California
*
* 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 required b... | src/edu/isi/pegasus/planner/code/gridstart/container/impl/Docker.java | /**
* Copyright 2007-2017 University Of Southern California
*
* 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 required b... | PM-1194 the job launch script did not a have a shell set.
| src/edu/isi/pegasus/planner/code/gridstart/container/impl/Docker.java | PM-1194 the job launch script did not a have a shell set. | <ide><path>rc/edu/isi/pegasus/planner/code/gridstart/container/impl/Docker.java
<ide> */
<ide> protected static String constructContainerWorkerPackagePreamble() {
<ide> StringBuffer sb = new StringBuffer();
<add> sb.append( "#!/bin/bash" ).append( "\n" );
<ide> sb.append( "set -e" ).appe... | |
JavaScript | mit | 7a4ea37e3d81dc639b9410f2eecae939ed4153ed | 0 | ggozad/strophejs,damencho/strophejs,sualko/strophejs,minddistrict/strophejs,m800-limited/strophejs,Rom4eg/strophejs,processone/strophejs,ggozad/strophejs,sualko/strophejs,joachimlindborg/strophejs,strophe/strophejs,Rom4eg/strophejs,ggozad/strophejs,teambox/strophejs,adozenlines/strophejs,minddistrict/strophejs,Rom4eg/s... | $(document).ready(function () {
module("Builder");
test("Correct namespace (#32)", function () {
var stanzas = [new Strophe.Builder("message", {}).tree(),
$build("iq", {}).tree(),
$pres().tree()];
$.each(stanzas, function () {
equals($(t... | tests/tests.js | $(document).ready(function () {
module("Builder");
test("Correct namespace (#32)", function () {
var stanzas = [new Strophe.Builder("message", {}).tree(),
$build("iq", {}).tree(),
$pres().tree()];
$.each(stanzas, function () {
equals(Str... | Minor fixes to namespace test.
| tests/tests.js | Minor fixes to namespace test. | <ide><path>ests/tests.js
<ide> $build("iq", {}).tree(),
<ide> $pres().tree()];
<ide> $.each(stanzas, function () {
<del> equals(Strophe.NS.CLIENT, $(this).attr("xmlns"),
<del> "Namespace should be '" + Strophe.NS.CLIENT + "'.");
<add> ... | |
Java | apache-2.0 | f292bfdd74d559ddd2e6d86baed3b2d190376193 | 0 | slipstream/SlipStreamServer,slipstream/SlipStreamServer,slipstream/SlipStreamServer,slipstream/SlipStreamServer | package com.sixsq.slipstream.module;
/*
* +=================================================================+
* SlipStream Server (WAR)
* =====
* Copyright (C) 2013 SixSq Sarl (sixsq.com)
* =====
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance w... | jar-service/src/test/java/com/sixsq/slipstream/module/ModuleResourceTest.java | package com.sixsq.slipstream.module;
/*
* +=================================================================+
* SlipStream Server (WAR)
* =====
* Copyright (C) 2013 SixSq Sarl (sixsq.com)
* =====
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance w... | add debugging output
| jar-service/src/test/java/com/sixsq/slipstream/module/ModuleResourceTest.java | add debugging output | <ide><path>ar-service/src/test/java/com/sixsq/slipstream/module/ModuleResourceTest.java
<ide> Request request = createPutRequest(projectName,
<ide> form.getWebRepresentation(), anotherUser);
<ide> Response response = executeRequest(request);
<add> System.err.println(request.toString());
<ide> assertThat(resp... | |
Java | apache-2.0 | ee3dbff9f5aa999ec77a8eb580d53be8c9f07ca4 | 0 | nivanov/ignite,nivanov/ignite,nivanov/ignite,nivanov/ignite,nivanov/ignite,nivanov/ignite,nivanov/ignite,nivanov/ignite | package org.apache.ignite.math.benchmark;
import java.util.function.Function;
import org.apache.ignite.math.Vector;
import org.apache.ignite.math.impls.DenseLocalOffHeapVector;
import org.apache.ignite.math.impls.DenseLocalOnHeapVector;
import org.junit.Test;
import static org.junit.Assert.*;
/** */
public class Vec... | modules/core/src/test/java/org/apache/ignite/math/benchmark/VectorBenchmarkTest.java | package org.apache.ignite.math.benchmark;
import java.util.function.Function;
import org.apache.ignite.math.Vector;
import org.apache.ignite.math.impls.DenseLocalOffHeapVector;
import org.apache.ignite.math.impls.DenseLocalOnHeapVector;
import org.junit.Test;
import static org.junit.Assert.*;
/** */
public class Vec... | IGN-6530 wip
- benchmarks - added assign methods
-- verified with execution of benchmarks and report overview
| modules/core/src/test/java/org/apache/ignite/math/benchmark/VectorBenchmarkTest.java | IGN-6530 wip - benchmarks - added assign methods -- verified with execution of benchmarks and report overview | <ide><path>odules/core/src/test/java/org/apache/ignite/math/benchmark/VectorBenchmarkTest.java
<ide> /** */
<ide> public class VectorBenchmarkTest {
<ide> // todo add benchmarks for map and fold methods (possibly a separate one),
<del> // for assign and other methods in Vector and for other types of Vector and... | |
Java | apache-2.0 | 141923fc4cd03e192d464240525ef2dcfeb5e25d | 0 | androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/andro... | /*
* Copyright 2018 The Android Open Source Project
*
* 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 required by applica... | media2/src/main/java/androidx/media2/exoplayer/ExoPlayerWrapper.java | /*
* Copyright 2018 The Android Open Source Project
*
* 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 required by applica... | Expose video decoder input size
This is to match platform MediaPlayer behavior,
where a size is exposed even if no surface is set.
Bug: 124406141
Bug: 80232248
Test: ./gradlew media2:connectedCheck, manually verified behavior with no surface
Change-Id: I141faa1a8074a794de0644f22eec8410f3b6ef50
| media2/src/main/java/androidx/media2/exoplayer/ExoPlayerWrapper.java | Expose video decoder input size | <ide><path>edia2/src/main/java/androidx/media2/exoplayer/ExoPlayerWrapper.java
<ide> import androidx.media2.exoplayer.external.DefaultLoadControl;
<ide> import androidx.media2.exoplayer.external.ExoPlaybackException;
<ide> import androidx.media2.exoplayer.external.ExoPlayerFactory;
<add>import androidx.media2.exoplayer... | |
JavaScript | mit | e0f9f14f576e09f2760e6a62ae7ce2cd2b9075da | 0 | ArunMichaelDsouza/javascript-foundations,ArunMichaelDsouza/javascript-foundations | // Element creation and manipulation
(function(d) {
'use strict';
var LIB = {
createElement: function(element) {
var el = d.createElement(element.type);
el.innerText = element.text;
try {
Object.keys(element.styles).forEach(function(property) {
... | dom/elements.js | // Element creation and manipulation
(function(d) {
'use strict';
var LIB = {
createElement: function(element) {
var el = d.createElement(element.type);
el.innerText = element.text;
try {
Object.keys(element.styles).forEach(function(property) {
... | Dynamic attribute setting
| dom/elements.js | Dynamic attribute setting | <ide><path>om/elements.js
<ide> deletee = list,
<ide> deleteeParent = listParent;
<ide>
<add> deletor.setAttribute('id', 'remove-list');
<add>
<add> var deletor = d.querySelector('#remove-list');
<add>
<ide> deletor.addEventListener('click', LIB.removeElement.bind(null, deleteeParent, deletee... | |
Java | apache-2.0 | d42bf2e77d53329d9e95f6b6f123da3e9296aae3 | 0 | APriestman/autopsy,APriestman/autopsy,karlmortensen/autopsy,eXcomm/autopsy,APriestman/autopsy,APriestman/autopsy,maxrp/autopsy,narfindustries/autopsy,wschaeferB/autopsy,karlmortensen/autopsy,narfindustries/autopsy,APriestman/autopsy,rcordovano/autopsy,millmanorama/autopsy,raman-bt/autopsy,eXcomm/autopsy,maxrp/autopsy,e... | /*
* Autopsy Forensic Browser
*
* Copyright 2012 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* 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://ww... | KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchSettings.java | /*
* Autopsy Forensic Browser
*
* Copyright 2012 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* 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://ww... | Updated to make 5 minutes actually be default for keyword search
| KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchSettings.java | Updated to make 5 minutes actually be default for keyword search | <ide><path>eywordSearch/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchSettings.java
<ide> static final String PROPERTIES_SCRIPTS = MODULE_NAME+"_Scripts";
<ide> private static boolean skipKnown = true;
<ide> private static final Logger logger = Logger.getLogger(KeywordSearchSettings.class.getName());... | |
Java | apache-2.0 | bb7590a18b07e016db8d3b4846947a8e5030fe54 | 0 | sockeqwe/mosby,sockeqwe/mosby | /*
* Copyright 2016 Hannes Dorfmann.
*
* 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 required by applicable law or agreed to... | mvi/src/main/java/com/hannesdorfmann/mosby3/FragmentMviDelegateImpl.java | /*
* Copyright 2016 Hannes Dorfmann.
*
* 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 required by applicable law or agreed to... | FragmentMviDelegateImpl: moved presenter instantiation into onCreate()
| mvi/src/main/java/com/hannesdorfmann/mosby3/FragmentMviDelegateImpl.java | FragmentMviDelegateImpl: moved presenter instantiation into onCreate() | <ide><path>vi/src/main/java/com/hannesdorfmann/mosby3/FragmentMviDelegateImpl.java
<ide> import android.support.v4.app.BackstackAccessor;
<ide> import android.support.v4.app.Fragment;
<ide> import android.util.Log;
<del>import android.view.LayoutInflater;
<ide> import android.view.View;
<del>import android.view.ViewGro... | |
Java | apache-2.0 | 69598568a5e495b932a4c138d4d709a3756267a6 | 0 | otros-systems/OtrosJumpToCode,otros-systems/OtrosJumpToCode | /*
* Copyright 2014 otros.systems@gmail.com
*
* 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 required by applicable law o... | src/main/java/pl/otros/intellij/JumpToCode/server/JumpToCodeServlet.java | /*
* Copyright 2014 otros.systems@gmail.com
*
* 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 required by applicable law o... | Jump to logger call invocation
| src/main/java/pl/otros/intellij/JumpToCode/server/JumpToCodeServlet.java | Jump to logger call invocation | <ide><path>rc/main/java/pl/otros/intellij/JumpToCode/server/JumpToCodeServlet.java
<ide> response.addHeader("plugin-version", version);
<ide> response.addHeader("plugin-features", pluginFeatures);
<ide> String operation = getParameter(request, "operation", "o", "form");
<del> if (operation.equals("form")... | |
Java | mit | 1ab831c34a86dd3d980a41d00d6fcbaa86306588 | 0 | siosio/GradleDependenciesHelperPlugin,RyanTech/GradleDependenciesHelperPlugin | package siosio;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.Set;
import java.util.TreeSet;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ... | src/main/java/siosio/MavenFindAction.java | package siosio;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
import java.util.TreeSe... | ライブラリとバージョンそれぞれ候補で出せるように
| src/main/java/siosio/MavenFindAction.java | ライブラリとバージョンそれぞれ候補で出せるように | <ide><path>rc/main/java/siosio/MavenFindAction.java
<ide> import java.io.InputStreamReader;
<ide> import java.net.HttpURLConnection;
<ide> import java.net.URL;
<del>import java.util.Arrays;
<del>import java.util.Collections;
<del>import java.util.HashSet;
<ide> import java.util.Set;
<ide> import java.util.TreeSet;
<ide... | |
JavaScript | apache-2.0 | b1b60af7b1122e2440bb609fbdf66fce6070fe65 | 0 | mraible/generator-jhipster,xetys/generator-jhipster,dalbelap/generator-jhipster,jhipster/generator-jhipster,ctamisier/generator-jhipster,sendilkumarn/generator-jhipster,jhipster/generator-jhipster,sendilkumarn/generator-jhipster,jkutner/generator-jhipster,jkutner/generator-jhipster,sendilkumarn/generator-jhipster,baske... | 'use strict';
var path = require('path'),
util = require('util'),
_ = require('lodash'),
yeoman = require('yeoman-generator'),
chalk = require('chalk'),
jhipsterUtils = require('./util'),
Insight = require('insight'),
fs = require('fs'),
shelljs = require('shelljs'),
packagejs = requ... | generators/generator-base.js | 'use strict';
var path = require('path'),
util = require('util'),
_ = require('lodash'),
yeoman = require('yeoman-generator'),
chalk = require('chalk'),
jhipsterUtils = require('./util'),
Insight = require('insight'),
fs = require('fs'),
shelljs = require('shelljs'),
packagejs = requ... | Fix long constraintName for Oracle and MySQL
- truncate long constraintName when entityTable and relationTable are both 'noSnakeCase'
| generators/generator-base.js | Fix long constraintName for Oracle and MySQL - truncate long constraintName when entityTable and relationTable are both 'noSnakeCase' | <ide><path>enerators/generator-base.js
<ide> var halfLimit = Math.floor(limit/2),
<ide> entityTable = noSnakeCase ? entityName : this.getTableName(entityName.substring(0, halfLimit)),
<ide> relationTable = noSnakeCase ? relationshipName: this.getTableName(relationshipName.substring(0, ha... | |
Java | apache-2.0 | a67a584bb326702b0db845df44e71c1997e7ad89 | 0 | gashcrumb/fabric8,rhuss/fabric8,zmhassan/fabric8,janstey/fabric8,rhuss/fabric8,jludvice/fabric8,zmhassan/fabric8,hekonsek/fabric8,aslakknutsen/fabric8,jludvice/fabric8,avano/fabric8,mwringe/fabric8,EricWittmann/fabric8,gashcrumb/fabric8,aslakknutsen/fabric8,PhilHardwick/fabric8,punkhorn/fabric8,christian-posta/fabric8,... | package io.fabric8.gateway.servlet;
import io.fabric8.common.util.IOHelpers;
import io.fabric8.gateway.model.HttpProxyRuleBase;
import io.fabric8.gateway.servlet.support.ProxySupport;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.FileUploadException;
import org.apache.commons.file... | gateway/gateway-servlet/src/main/java/io/fabric8/gateway/servlet/ProxyServlet.java | package io.fabric8.gateway.servlet;
import io.fabric8.common.util.IOHelpers;
import io.fabric8.gateway.model.HttpProxyRuleBase;
import io.fabric8.gateway.servlet.support.ProxySupport;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.FileUploadException;
import org.apache.commons.file... | Adding HTTP PUT support to ProxyServlet.
| gateway/gateway-servlet/src/main/java/io/fabric8/gateway/servlet/ProxyServlet.java | Adding HTTP PUT support to ProxyServlet. | <ide><path>ateway/gateway-servlet/src/main/java/io/fabric8/gateway/servlet/ProxyServlet.java
<ide> import org.apache.commons.httpclient.HttpStatus;
<ide> import org.apache.commons.httpclient.NameValuePair;
<ide> import org.apache.commons.httpclient.methods.DeleteMethod;
<add>import org.apache.commons.httpclient.methods... | |
Java | agpl-3.0 | 0a26c1607ee5565d0d4b0d4c523d25919321d07e | 0 | chirino/cloudmix,chirino/cloudmix | /**************************************************************************************
* Copyright (C) 2009 Progress Software, Inc. All rights reserved. *
* http://fusesource.com *
* -----------------------------------------------------... | systests/feature-test/src/test/java/org/fusesource/cloudmix/features/osgi/FeaturesIntegrationTest.java | /**************************************************************************************
* Copyright (C) 2009 Progress Software, Inc. All rights reserved. *
* http://fusesource.com *
* -----------------------------------------------------... | Changed the test to make it fail when one or more bundles don't come up active
git-svn-id: a568a09a6707b2415012d77e49a6c5c13d2f9ed5@133 c32a53b6-b962-0410-9d7f-cad4864ec771
| systests/feature-test/src/test/java/org/fusesource/cloudmix/features/osgi/FeaturesIntegrationTest.java | Changed the test to make it fail when one or more bundles don't come up active | <ide><path>ystests/feature-test/src/test/java/org/fusesource/cloudmix/features/osgi/FeaturesIntegrationTest.java
<ide> import static org.ops4j.pax.exam.CoreOptions.*;
<ide> import static org.ops4j.pax.exam.container.def.PaxRunnerOptions.*;
<ide>
<add>import javax.print.attribute.standard.MediaSize.Other;
<add>
<ide> i... | |
Java | apache-2.0 | 7d06f01e1d1478fcf3f71e0f603a12d435d82eec | 0 | facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho | /**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... | src/main/java/com/facebook/components/ComponentsPools.java | /**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... | Lines authored by emilsj
This commit forms part of the blame-preserving initial commit suite.
| src/main/java/com/facebook/components/ComponentsPools.java | Lines authored by emilsj | <ide><path>rc/main/java/com/facebook/components/ComponentsPools.java
<ide> return diff;
<ide> }
<ide>
<add> static ComponentTree.Builder acquireComponentTreeBuilder(ComponentContext c, Component<?> root) { | |
Java | mit | cfdd53803946c9b8648cb086950c8e603704831b | 0 | desmond1121/fresco,desmond1121/fresco,facebook/fresco,s1rius/fresco,wstczlt/fresco,s1rius/fresco,desmond1121/fresco,MaTriXy/fresco,wstczlt/fresco,desmond1121/fresco,s1rius/fresco,desmond1121/fresco,xjy2061/NovaImageLoader,wstczlt/fresco,MaTriXy/fresco,MaTriXy/fresco,wstczlt/fresco,xjy2061/NovaImageLoader,xjy2061/NovaIm... | /*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com... | static-webp/src/main/java/com/facebook/imagepipeline/nativecode/WebpTranscoderImpl.java | /*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com... | WebP transcoding: throw exception directly
Summary: Instead of using a `Precondition`, we can throw an exception instead.
Reviewed By: massimocarli
Differential Revision: D3899760
fbshipit-source-id: 821e9470c5bb7217886cf2e84b53c1cc9e8e4010
| static-webp/src/main/java/com/facebook/imagepipeline/nativecode/WebpTranscoderImpl.java | WebP transcoding: throw exception directly | <ide><path>tatic-webp/src/main/java/com/facebook/imagepipeline/nativecode/WebpTranscoderImpl.java
<ide> } else if (webpFormat == DefaultImageFormats.WEBP_ANIMATED) {
<ide> return false;
<ide> }
<del> Preconditions.checkArgument(false);
<del> return false;
<add> throw new IllegalArgumentException(... | |
Java | apache-2.0 | 6f9fa2174849483943a5b4f613e5a6079b0cd50c | 0 | openbaton/NFVO,openbaton/NFVO | package org.project.openbaton.nfvo.vnfm_reg.tasks.abstracts;
import org.project.openbaton.catalogue.mano.record.Status;
import org.project.openbaton.catalogue.mano.record.VNFRecordDependency;
import org.project.openbaton.catalogue.mano.record.VirtualNetworkFunctionRecord;
import org.project.openbaton.catalogue.nfvo.Ac... | vnfm/vnfm-impl/src/main/java/org/project/openbaton/nfvo/vnfm_reg/tasks/abstracts/AbstractTask.java | package org.project.openbaton.nfvo.vnfm_reg.tasks.abstracts;
import org.project.openbaton.catalogue.mano.record.Status;
import org.project.openbaton.catalogue.mano.record.VNFRecordDependency;
import org.project.openbaton.catalogue.mano.record.VirtualNetworkFunctionRecord;
import org.project.openbaton.catalogue.nfvo.Ac... | new version of the plugin
| vnfm/vnfm-impl/src/main/java/org/project/openbaton/nfvo/vnfm_reg/tasks/abstracts/AbstractTask.java | new version of the plugin | <ide><path>nfm/vnfm-impl/src/main/java/org/project/openbaton/nfvo/vnfm_reg/tasks/abstracts/AbstractTask.java
<ide> protected VnfmRegister vnfmRegister;
<ide>
<ide> protected void saveVirtualNetworkFunctionRecord() {
<add> log.debug("ACTION is: " + action + " and the VNFR id is: " + virtualNetworkFunctio... | |
Java | apache-2.0 | 9c51fda2cb3d780de5fdf41d05919914eea00601 | 0 | FlushOut/foheart,FlushOut/foheart | package com.flushoutsolutions.foheart.appDataBase;
import android.app.Application;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteException;
import android.database.sqlite.... | mobile/Foheart/app/src/main/java/com/flushoutsolutions/foheart/appDataBase/AppDBModel.java | package com.flushoutsolutions.foheart.appDataBase;
import android.app.Application;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteException;
import android.database.sqlite.... | Error DataBase
| mobile/Foheart/app/src/main/java/com/flushoutsolutions/foheart/appDataBase/AppDBModel.java | Error DataBase | <ide><path>obile/Foheart/app/src/main/java/com/flushoutsolutions/foheart/appDataBase/AppDBModel.java
<ide> ContentValues values = new ContentValues();
<ide> try
<ide> {
<del> db = dbHelper.getWritableDatabase();
<add> if(!db.isOpen())
<add> db = dbHelper.getW... | |
Java | mit | error: pathspec 'src/tree/bottom_up/BalancedBinaryTree.java' did not match any file(s) known to git
| 668513648e850f58f9138178720ad1d9e6a83ab8 | 1 | StevenUpForever/LeetCode_Java,StevenUpForever/LeetCode_Java | package tree.bottom_up;
import public_class.TreeNode;
public class BalancedBinaryTree {
//TAG: tree
//TAG: bottom up
//difficulty: easy
/**
* 110. Balanced Binary Tree
* Given a binary tree, determine if it is height-balanced.
*
* For this problem, a height-balanced binary tree i... | src/tree/bottom_up/BalancedBinaryTree.java | 110. Balanced Binary Tree
| src/tree/bottom_up/BalancedBinaryTree.java | 110. Balanced Binary Tree | <ide><path>rc/tree/bottom_up/BalancedBinaryTree.java
<add>package tree.bottom_up;
<add>
<add>import public_class.TreeNode;
<add>
<add>public class BalancedBinaryTree {
<add>
<add> //TAG: tree
<add> //TAG: bottom up
<add> //difficulty: easy
<add>
<add> /**
<add> * 110. Balanced Binary Tree
<add> * Gi... | |
Java | apache-2.0 | 6672ca433a1b9a9828f683ba048579bc00622168 | 0 | consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* 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 required by applicable law or agre... | modules/desktop/desktop-bootstrap/src/main/java/com/intellij/ide/startup/StartupActionScriptManager.java | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* 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 required by applicable law or agre... | add loading of obsolete action start file
| modules/desktop/desktop-bootstrap/src/main/java/com/intellij/ide/startup/StartupActionScriptManager.java | add loading of obsolete action start file | <ide><path>odules/desktop/desktop-bootstrap/src/main/java/com/intellij/ide/startup/StartupActionScriptManager.java
<ide> }
<ide>
<ide> private static List<ActionCommand> loadStartActions(Logger logger) throws IOException {
<add> List<ActionCommand> actionCommands = loadObsoleteActionScriptFile(logger);
<add> ... | |
Java | mit | 5acce0e446ef93a5f774dd320ccac4f870406939 | 0 | PrinceOfAmber/CyclicMagic,PrinceOfAmber/Cyclic | package com.lothrazar.cyclicmagic;
import com.lothrazar.cyclicmagic.component.crafter.ContainerCrafter;
import com.lothrazar.cyclicmagic.component.hydrator.BlockHydrator;
import com.lothrazar.cyclicmagic.component.hydrator.GuiHydrator;
import com.lothrazar.cyclicmagic.component.hydrator.RecipeHydrate;
import com.lothra... | src/main/java/com/lothrazar/cyclicmagic/JEIPlugin.java | package com.lothrazar.cyclicmagic;
import com.lothrazar.cyclicmagic.component.crafter.ContainerCrafter;
import com.lothrazar.cyclicmagic.component.hydrator.BlockHydrator;
import com.lothrazar.cyclicmagic.component.hydrator.GuiHydrator;
import com.lothrazar.cyclicmagic.component.hydrator.RecipeHydrate;
import com.lothra... | jei description fix..but.. IDK didnt work i guess?
| src/main/java/com/lothrazar/cyclicmagic/JEIPlugin.java | jei description fix..but.. IDK didnt work i guess? | <ide><path>rc/main/java/com/lothrazar/cyclicmagic/JEIPlugin.java
<ide> import com.lothrazar.cyclicmagic.component.playerext.crafting.ContainerPlayerExtWorkbench;
<ide> import com.lothrazar.cyclicmagic.component.workbench.ContainerWorkBench;
<ide> import com.lothrazar.cyclicmagic.data.Const;
<add>import com.lothrazar.cy... | |
Java | mit | d6dba97df2dcbcfaa411b6fa8b8a229022c621fc | 0 | supagit/SteamGifts | package net.mabako.steamgifts.tasks;
import android.app.AlarmManager;
import android.content.Context;
import net.mabako.steamgifts.data.GameInfo;
import net.mabako.steamgifts.data.Giveaway;
import net.mabako.steamgifts.persistentdata.SavedGamesBlackList;
import net.mabako.steamgifts.persistentdata.SavedGamesBlackList... | core/src/main/java/net/mabako/steamgifts/tasks/AutoJoinCalculator.java | package net.mabako.steamgifts.tasks;
import android.app.AlarmManager;
import android.content.Context;
import net.mabako.steamgifts.data.GameInfo;
import net.mabako.steamgifts.data.Giveaway;
import net.mabako.steamgifts.persistentdata.SavedGamesBlackList;
import net.mabako.steamgifts.persistentdata.SavedGamesBlackList... | adjusted updating of items
| core/src/main/java/net/mabako/steamgifts/tasks/AutoJoinCalculator.java | adjusted updating of items | <ide><path>ore/src/main/java/net/mabako/steamgifts/tasks/AutoJoinCalculator.java
<ide> List<Giveaway> result = new ArrayList<>(zeroPointGiveaways);
<ide>
<ide> pointsLeft = addGiveaways(pointsLeft, urgentMustHaveListedGames, 0, 0, result);
<del> pointsLeft = addGiveaways(pointsLeft, nearMustHave... | |
Java | bsd-3-clause | ac082ae64b92c6a1144b7918d7b4197d16173e86 | 0 | EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal,EuropeanSpallationSource/openxal | /*
* Copyright (c) 2017, Open XAL Collaboration
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this l... | apps/scanner/src/main/java/xal/app/scanner/ScannerDocument.java | /*
* Copyright (c) 2017, Open XAL Collaboration
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this l... | [apps.scanner] XML string variables not static, moved initializer to constructor
| apps/scanner/src/main/java/xal/app/scanner/ScannerDocument.java | [apps.scanner] XML string variables not static, moved initializer to constructor | <ide><path>pps/scanner/src/main/java/xal/app/scanner/ScannerDocument.java
<ide> // The combination of scan points (each double[] is equal to number of writeables)
<ide> public List<double[]> combos;
<ide>
<del>
<ide> // Save/restore parameters..
<del> private static final String SCANNER_SR = "ScannerDat... | |
Java | apache-2.0 | 9d8789872533194c4d509697eb217cc4762c445c | 0 | flux-capacitor-io/flux-capacitor-client,flux-capacitor-io/flux-capacitor-client,flux-capacitor-io/flux-capacitor-client,flux-capacitor-io/flux-capacitor-client | java-client/src/main/java/io/fluxcapacitor/javaclient/tracking/handling/IllegalCommandException.java | package io.fluxcapacitor.javaclient.tracking.handling;
import io.fluxcapacitor.javaclient.common.exception.FunctionalException;
public class IllegalCommandException extends FunctionalException {
public IllegalCommandException(String message, Object command) {
super(String.format("Illegal command: %s : %s"... | Remove IllegalCommandException
| java-client/src/main/java/io/fluxcapacitor/javaclient/tracking/handling/IllegalCommandException.java | Remove IllegalCommandException | <ide><path>ava-client/src/main/java/io/fluxcapacitor/javaclient/tracking/handling/IllegalCommandException.java
<del>package io.fluxcapacitor.javaclient.tracking.handling;
<del>
<del>import io.fluxcapacitor.javaclient.common.exception.FunctionalException;
<del>
<del>public class IllegalCommandException extends Functiona... | ||
Java | apache-2.0 | bc4e664846e13489fa8ad7ff71ff501725dd63a4 | 0 | billdawson/ti-android-animation,billdawson/ti-android-animation | package com.billdawson.timodules.animation;
/*
* Copyright (C) 2013 William Dawson
*
* 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
... | src/com/billdawson/timodules/animation/AndroidAnimation.java | package com.billdawson.timodules.animation;
/*
* Copyright (C) 2013 William Dawson
*
* 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
... | Fix documentation links
| src/com/billdawson/timodules/animation/AndroidAnimation.java | Fix documentation links | <ide><path>rc/com/billdawson/timodules/animation/AndroidAnimation.java
<ide> * The module doesn't follow the Android API _exactly_, but fairly closely.
<ide> *
<ide> * It does this by wrapping and exposing two types of animators that are native to the Honeycomb Animation
<del> * API: [ObjectAnimator](@ref ObjectAni... | |
Java | apache-2.0 | 6c7479fcb2ab5aa0d1ffd83d330eff6fba69675a | 0 | kermitt2/nerd,kermitt2/nerd,kermitt2/nerd | package com.scienceminer.nerd.kb;
import org.junit.Before;
import org.junit.Test;
import java.io.File;
import java.util.List;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.hamcrest.collection.IsCollectionWithSize.hasSize;
import static org.junit.Asse... | src/test/java/com/scienceminer/nerd/kb/CustomisationTest.java | package com.scienceminer.nerd.kb;
import org.junit.Before;
import org.junit.Test;
import java.io.File;
import java.util.List;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.hamcrest.collection.IsCollectionWithSize.hasSize;
import static org.junit.Asse... | fix the language definition for the class CustomisationTest class
| src/test/java/com/scienceminer/nerd/kb/CustomisationTest.java | fix the language definition for the class CustomisationTest class | <ide><path>rc/test/java/com/scienceminer/nerd/kb/CustomisationTest.java
<ide>
<ide> @Test
<ide> public void testCreate_Retrieve() throws Exception {
<del> String createJson = "{ \"wikipedia\" : [4764461, 51499, 1014346], \"freebase\": [\"/m/0cm2xh\", \"/m/0dl4z\", \"/m/02kxg_\", \"/m/06v9th\"], \"texts\... | |
Java | bsd-3-clause | 69f17a04e05c08c4b25d9e0d8f9f9e7cd083c3a0 | 0 | wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy,wdv4758h/ZipPy | /*
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/OnStackReplacementPhase.java | /*
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | DeadCodeElimination is not optional for OnStackReplacementPhase
| graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/OnStackReplacementPhase.java | DeadCodeElimination is not optional for OnStackReplacementPhase | <ide><path>raal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/OnStackReplacementPhase.java
<ide> GraphUtil.killCFG(start);
<ide>
<ide> Debug.dump(graph, "OnStackReplacement result");
<del> new DeadCodeEliminationPhase(Optional).apply(graph);
<add> new DeadCodeEliminationPha... | |
Java | bsd-2-clause | 7c44fae279e152d645d6cf02772ce6e0d672b814 | 0 | imagej/imagej-ops,gab1one/imagej-ops,stelfrich/imagej-ops,kephale/imagej-ops | /*
* #%L
* ImageJ OPS: a framework for reusable algorithms.
* %%
* Copyright (C) 2014 Board of Regents of the University of
* Wisconsin-Madison and University of Konstanz.
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditio... | src/main/java/imagej/ops/map/FunctionalMapper.java | /*
* #%L
* ImageJ OPS: a framework for reusable algorithms.
* %%
* Copyright (C) 2014 Board of Regents of the University of
* Wisconsin-Madison and University of Konstanz.
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditio... | FunctionalMapper: fixed doc
| src/main/java/imagej/ops/map/FunctionalMapper.java | FunctionalMapper: fixed doc | <ide><path>rc/main/java/imagej/ops/map/FunctionalMapper.java
<ide> public interface FunctionalMapper<A, B, C, D> extends Mapper<A, B>,
<ide> Function<C, D>
<ide> {
<del> // NB: Marker
<add> // NB: Marker interface
<ide> } | |
Java | lgpl-2.1 | e1d4290d4f93c448d0b95c7d9f63d61db0516753 | 0 | UWCS/choob,UWCS/choob,UWCS/choob,UWCS/choob,UWCS/choob,UWCS/choob | import uk.co.uwcs.choob.*;
import uk.co.uwcs.choob.modules.*;
import uk.co.uwcs.choob.support.*;
import uk.co.uwcs.choob.support.events.*;
import java.util.*;
import java.util.regex.*;
public class AliasObject
{
public AliasObject(String name, String converted, String owner)
{
this.name = name;
this.converted = ... | contrib/Alias.java | import uk.co.uwcs.choob.*;
import uk.co.uwcs.choob.modules.*;
import uk.co.uwcs.choob.support.*;
import uk.co.uwcs.choob.support.events.*;
import java.util.*;
import java.util.regex.*;
public class AliasObject
{
public AliasObject(String name, String converted, String owner)
{
this.name = name;
this.converted = ... | Fixed aliases.
| contrib/Alias.java | Fixed aliases. | <ide><path>ontrib/Alias.java
<ide> {
<ide> // Alias recursion?
<ide> int spacePos = conv.indexOf(' ');
<add> String actualParams;
<ide> if (spacePos == -1)
<add> {
<ide> spacePos = conv.length();
<add> actualParams = "";
<add> }
<add> else
<add> actualParams = conv.substring(spacePos + 1);
... | |
Java | apache-2.0 | 6256d8bcbe9e99855ae2c78b8c8d0e80fa9b10b8 | 0 | awadheshv/sling,cleliameneghin/sling,vladbailescu/sling,tteofili/sling,anchela/sling,dulvac/sling,mikibrv/sling,cleliameneghin/sling,roele/sling,Nimco/sling,tmaret/sling,gutsy/sling,klcodanr/sling,SylvesterAbreu/sling,sdmcraft/sling,cleliameneghin/sling,mikibrv/sling,mikibrv/sling,tteofili/sling,wimsymons/sling,vladbai... | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | bundles/auth/core/src/main/java/org/apache/sling/auth/core/spi/AbstractAuthenticationFormServlet.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | SLING-3141 : AbstractAuthenticationFormServlet should make sure resource is a valid redirect
git-svn-id: 6eed74fe9a15c8da84b9a8d7f2960c0406113ece@1528062 13f79535-47bb-0310-9956-ffa450edef68
| bundles/auth/core/src/main/java/org/apache/sling/auth/core/spi/AbstractAuthenticationFormServlet.java | SLING-3141 : AbstractAuthenticationFormServlet should make sure resource is a valid redirect | <ide><path>undles/auth/core/src/main/java/org/apache/sling/auth/core/spi/AbstractAuthenticationFormServlet.java
<ide> throws IOException {
<ide> String form = getRawForm();
<ide>
<del> form = form.replace("${resource}", escapeXml(getResource(request)));
<del> form = form.replace("${j_... | |
Java | mit | 4c6931cf9cd5a56461e6a24b91ce61dad279f23f | 0 | selig/qea | package structure.intf;
import java.util.HashSet;
import exceptions.ShouldNotHappenException;
public abstract class Guard {
/**
* Checking the guard
*
* @return true if guard evaluates to true on binding
*/
public abstract boolean check(Binding binding);
public abstract boolean check(Bin... | code/qea/src/structure/intf/Guard.java | package structure.intf;
import java.util.HashSet;
import exceptions.ShouldNotHappenException;
public abstract class Guard {
/**
* Checking the guard
*
* @return true if guard evaluates to true on binding
*/
public abstract boolean check(Binding binding);
public abstract boolean check(Bin... | Guards for Larva properties | code/qea/src/structure/intf/Guard.java | Guards for Larva properties | <ide><path>ode/qea/src/structure/intf/Guard.java
<ide> @Override
<ide> public int[] vars() {
<ide> return new int[] { var0, var1 };
<add> }
<add> };
<add> }
<add>
<add> public static Guard varIsEqualSemToVal(final int var, final Object val) {
<add> return new Guard("x_" + var + " equals " + val) {
<add> ... | |
Java | apache-2.0 | 401b14ac778ff58cbc5e76f08de002ea4edf3c57 | 0 | anishek/hive,nishantmonu51/hive,nishantmonu51/hive,jcamachor/hive,sankarh/hive,vineetgarg02/hive,vergilchiu/hive,jcamachor/hive,alanfgates/hive,lirui-apache/hive,anishek/hive,vergilchiu/hive,sankarh/hive,b-slim/hive,jcamachor/hive,nishantmonu51/hive,b-slim/hive,alanfgates/hive,lirui-apache/hive,vergilchiu/hive,anishek/... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | spark-client/src/main/java/org/apache/hive/spark/client/rpc/Rpc.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | HIVE-15671: RPCServer.registerClient() erroneously uses server/client handshake timeout for connection timeout (reviewed by Jimmy)
| spark-client/src/main/java/org/apache/hive/spark/client/rpc/Rpc.java | HIVE-15671: RPCServer.registerClient() erroneously uses server/client handshake timeout for connection timeout (reviewed by Jimmy) | <ide><path>park-client/src/main/java/org/apache/hive/spark/client/rpc/Rpc.java
<ide> }
<ide> };
<ide> final ScheduledFuture<?> timeoutFuture = eloop.schedule(timeoutTask,
<del> rpcConf.getServerConnectTimeoutMs(), TimeUnit.MILLISECONDS);
<add> connectTimeoutMs, TimeUnit.MILLISECONDS);
<ide> ... | |
Java | epl-1.0 | fe698c481b041d42f3e88ccca877c2818c8fe8b2 | 0 | ELTE-Soft/txtUML,ELTE-Soft/txtUML,ELTE-Soft/txtUML,ELTE-Soft/txtUML | package txtuml.api;
import java.lang.Thread;
import java.util.HashMap;
import java.util.Map;
import java.util.Vector;
import java.util.concurrent.LinkedBlockingQueue;
import txtuml.api.Association.*;
import txtuml.importer.InstructionImporter;
import txtuml.importer.MethodImporter;
import txtuml.utils.InstanceCreator... | src/txtuml/api/ModelClass.java | package txtuml.api;
import java.lang.Thread;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.LinkedBlockingQueue;
import txtuml.api.Association.*;
import txtuml.importer.InstructionImporter;
import txtuml.importer.MethodImporter;
import txtuml.utils.InstanceCreator;
public class ModelClas... | Fixing a bug in the transition selection algorithm.
| src/txtuml/api/ModelClass.java | Fixing a bug in the transition selection algorithm. | <ide><path>rc/txtuml/api/ModelClass.java
<ide> import java.lang.Thread;
<ide> import java.util.HashMap;
<ide> import java.util.Map;
<add>import java.util.Vector;
<ide> import java.util.concurrent.LinkedBlockingQueue;
<ide>
<ide> import txtuml.api.Association.*;
<ide> }
<ide>
<ide> private synchronized boolean execu... | |
Java | apache-2.0 | e5290ca3f542dd0257a63eafb92d52974efdfbf9 | 0 | GwonGisoo/ngrinder,GwonGisoo/ngrinder,GwonGisoo/ngrinder,ropik/ngrinder,songeunwoo/ngrinder,songeunwoo/ngrinder,ropik/ngrinder,nanpa83/ngrinder,songeunwoo/ngrinder,bwahn/ngrinder,chengaomin/ngrinder,chengaomin/ngrinder,nanpa83/ngrinder,SRCB-CloudPart/ngrinder,bwahn/ngrinder,GwonGisoo/ngrinder,naver/ngrinder,nanpa83/ngr... | /*
* 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 required by applicable law or agreed to in writing, software
* distr... | ngrinder-controller/src/main/java/org/ngrinder/perftest/service/PerfTestService.java | /*
* 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 required by applicable law or agreed to in writing, software
* distr... | [NGRINDER-555] Provide network usage graph
If there is no network data, return empty list, to avoid error in client
side.
| ngrinder-controller/src/main/java/org/ngrinder/perftest/service/PerfTestService.java | [NGRINDER-555] Provide network usage graph | <ide><path>grinder-controller/src/main/java/org/ngrinder/perftest/service/PerfTestService.java
<ide> try {
<ide> StringBuilder sbUsedMem = new StringBuilder("[");
<ide> StringBuilder sbCPUUsed = new StringBuilder("[");
<del> StringBuilder sbNetReceieved = null;
<del> StringBuilder sbNetSent = null;
<add> ... | |
Java | bsd-3-clause | 6289b8a9b163a8819579c17c81959ef228524634 | 0 | NCIP/cananolab,NCIP/cananolab,NCIP/cananolab | package gov.nih.nci.calab.exception;
/**
* This class represents the exception to be thrown when the web session expires
* or when the user is not logged in.
*
* @author pansu
*
*/
public class InvalidSessionException extends CalabException {
private static final long serialVersionUID = 1234567890L;
public... | src/gov/nih/nci/calab/exception/InvalidSessionException.java | package gov.nih.nci.calab.exception;
/**
* This class represents the exception to be thrown when the web session expires
* or when the user is not logged in.
*
* @author pansu
*
*/
public class InvalidSessionException extends CalabException {
private static final long serialVersionUID = 1234567890L;
public... | removed main
SVN-Revision: 1119
| src/gov/nih/nci/calab/exception/InvalidSessionException.java | removed main | <ide><path>rc/gov/nih/nci/calab/exception/InvalidSessionException.java
<ide> public InvalidSessionException(Throwable cause) {
<ide> super(cause);
<ide> }
<del>
<del> public static void main(String[] args) {
<del> InvalidSessionException e = new InvalidSessionException();
<del> System.out.println(e.getMessage()... | |
Java | mit | e3fecb464c2794fe55ca9f41be0fbc2bcbdf8d85 | 0 | klimesf/psi-udp-client | package cz.filipklimes.psi.udp;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.math.BigInteger;
import java.nio.ByteBuffer;
import java.net.*;
import java.util.*;
import java.util.concurrent.*;
/**
* DISCLAIMER: This code is full of technical debt. It h... | src/cz/filipklimes/psi/udp/Robot.java | package cz.filipklimes.psi.udp;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.math.BigInteger;
import java.nio.ByteBuffer;
import java.net.*;
import java.util.*;
import java.util.concurrent.*;
/**
* DISCLAIMER: This code is full of technical debt. It h... | Backup
| src/cz/filipklimes/psi/udp/Robot.java | Backup | <ide><path>rc/cz/filipklimes/psi/udp/Robot.java
<ide> for (Integer key : keys) {
<ide> // System.out.printf("Arr no: %d\n", key);
<ide> KarelPacket value = map.get(key);
<del> fos.write(value.getData().getBytes());
<add> if (va... | |
Java | lgpl-2.1 | ecf46b0033e3d6c49496adeb6ffb5091aa6dbb00 | 0 | EnFlexIT/AgentWorkbench,EnFlexIT/AgentWorkbench,EnFlexIT/AgentWorkbench,EnFlexIT/AgentWorkbench | /**
* ***************************************************************
* Agent.GUI is a framework to develop Multi-agent based simulation
* applications based on the JADE - Framework in compliance with the
* FIPA specifications.
* Copyright (C) 2010 Christian Derksen and DAWIS
* http://www.dawis.wiwi.uni-... | eclipseProjects/org.agentgui.core/src/org/agentgui/bundle/classSelection/ClassSelector.java | /**
* ***************************************************************
* Agent.GUI is a framework to develop Multi-agent based simulation
* applications based on the JADE - Framework in compliance with the
* FIPA specifications.
* Copyright (C) 2010 Christian Derksen and DAWIS
* http://www.dawis.wiwi.uni-... | Added WindowBuilder Annotation to ClassSelector | eclipseProjects/org.agentgui.core/src/org/agentgui/bundle/classSelection/ClassSelector.java | Added WindowBuilder Annotation to ClassSelector | <ide><path>clipseProjects/org.agentgui.core/src/org/agentgui/bundle/classSelection/ClassSelector.java
<ide> /**
<ide> * Default constructor.
<ide> * @param owner the owner
<add> * @wbp.parser.constructor
<ide> */
<ide> public ClassSelector(Frame owner) {
<ide> super(owner); | |
Java | apache-2.0 | 480d93c42b62b765afbdc11f30d9d8557753775b | 0 | diydyq/velocity-engine,pcollaog/velocity-engine,pcollaog/velocity-engine,diydyq/velocity-engine | package org.apache.velocity.runtime;
/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2000 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met... | src/java/org/apache/velocity/runtime/Runtime.java | package org.apache.velocity.runtime;
/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2000 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met... | - fixing typos.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: 7267684f36935cb3df12efc1f4c0216d758271d4@73822 13f79535-47bb-0310-9956-ffa450edef68
| src/java/org/apache/velocity/runtime/Runtime.java | - fixing typos. PR: Obtained from: Submitted by: Reviewed by: | <ide><path>rc/java/org/apache/velocity/runtime/Runtime.java
<ide> * @author <a href="mailto:jvanzyl@periapt.com">Jason van Zyl</a>
<ide> * @author <a href="mailto:jlb@houseofdistraction.com">Jeff Bowden</a>
<ide> * @author <a href="mailto:geirm@optonline.net">Geir Magusson Jr.</a>
<del> * @version $Id: Runtime.java,... | |
Java | apache-2.0 | 5db89705e5f885bc994ac426029b4a746786e555 | 0 | phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida | package ca.corefacility.bioinformatics.irida.service.impl;
import javax.transaction.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.... | src/main/java/ca/corefacility/bioinformatics/irida/service/impl/RemoteAPITokenServiceImpl.java | package ca.corefacility.bioinformatics.irida.service.impl;
import javax.transaction.Transactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.... | Ensuring the context returns a user
| src/main/java/ca/corefacility/bioinformatics/irida/service/impl/RemoteAPITokenServiceImpl.java | Ensuring the context returns a user | <ide><path>rc/main/java/ca/corefacility/bioinformatics/irida/service/impl/RemoteAPITokenServiceImpl.java
<ide>
<ide> @Transactional
<ide> @Service
<del>public class RemoteAPITokenServiceImpl implements RemoteAPITokenService {
<add>public class RemoteAPITokenServiceImpl implements RemoteAPITokenService{
<ide> private ... | |
Java | apache-2.0 | 83e8c8f83392debc96d1b16a9205aef46d6a9781 | 0 | bdupras/guava-probably,bdupras/guava-probably | /*
* Copyright (C) 2015 Brian Dupras
*
* 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 required by applicable law or agreed to in... | src/main/java/com/duprasville/guava/probably/ProbabilisticFilter.java | /*
* Copyright (C) 2015 Brian Dupras
*
* 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 required by applicable law or agreed to in... | derpDocs
| src/main/java/com/duprasville/guava/probably/ProbabilisticFilter.java | derpDocs | <ide><path>rc/main/java/com/duprasville/guava/probably/ProbabilisticFilter.java
<ide> boolean isCompatible(ProbabilisticFilter<E> f);
<ide>
<ide> /**
<del> * Returns the number of elements this filter can represent at its desired @{code FPP}. This may
<add> * Returns the number of elements this filter can repr... | |
Java | apache-2.0 | bc321c77dccbf333e9ee1461fca0fc7573260e6b | 0 | PearsonEducation/Docussandra,PearsonEducation/Docussandra | package com.pearson.docussandra.plugins;
import com.pearson.docussandra.plugininterfaces.Plugin;
import java.io.File;
import java.io.FilenameFilter;
import java.lang.reflect.Modifier;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.ArrayList;
import org.refl... | rest/src/main/java/com/pearson/docussandra/plugins/PluginUtils.java | package com.pearson.docussandra.plugins;
import com.pearson.docussandra.plugininterfaces.Plugin;
import java.io.File;
import java.io.FilenameFilter;
import java.lang.reflect.Modifier;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.ArrayList;
import org.refl... | javadoc and logging
| rest/src/main/java/com/pearson/docussandra/plugins/PluginUtils.java | javadoc and logging | <ide><path>est/src/main/java/com/pearson/docussandra/plugins/PluginUtils.java
<ide> public class PluginUtils
<ide> {
<ide>
<add> /**
<add> * Logger for this class.
<add> */
<ide> private static final Logger logger = LoggerFactory.getLogger(PluginUtils.class);
<ide>
<ide> /**
<ide> if (!... | |
JavaScript | agpl-3.0 | 5f435b0103476aa1ff6f255fcc097dca9a8b5cb7 | 0 | quaker-io/pym-online-registration,quaker-io/pym-2015,quaker-io/pym-2015,quaker-io/pym-online-registration | calculateAccommodationsFee = function (registration) {
// Placeholder for accommodations fee
var accommodationsFee;
if (registration.type === 'commuter') {
// Check for required information
if (registration.ageGroup && registration.days) {
// retrieve the day fee from the prices... | lib/calculations.js | /*
Determine if registrant is first time attender or not
return apropriate discount
40 for first time attender
0 if not first time attender
*/
var calculateFirstTimeAttenderDiscount = function (firstTimeAttender) {
// Set discount if registrant is first time attender, otherwise zero
if (firstTimeAttender) {... | Calculate accommodations fee function.
| lib/calculations.js | Calculate accommodations fee function. | <ide><path>ib/calculations.js
<add>calculateAccommodationsFee = function (registration) {
<add> // Placeholder for accommodations fee
<add> var accommodationsFee;
<add>
<add> if (registration.type === 'commuter') {
<add> // Check for required information
<add> if (registration.ageGroup && registr... | |
Java | apache-2.0 | 6d6deaef29e8a82532a4e08c77fd731a4af7b98b | 0 | ghoullier/cometd,cometd/cometd,ghoullier/cometd,cometd/cometd,cometd/cometd,cometd/cometd,ghoullier/cometd | // ========================================================================
// Copyright 2008 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance wit... | cometd-java/cometd-java-server/src/main/java/org/cometd/server/AbstractService.java | // ========================================================================
// Copyright 2008 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance wit... | Better fix for COMETD-156.
| cometd-java/cometd-java-server/src/main/java/org/cometd/server/AbstractService.java | Better fix for COMETD-156. | <ide><path>ometd-java/cometd-java-server/src/main/java/org/cometd/server/AbstractService.java
<ide> /* ------------------------------------------------------------ */
<ide> protected void doInvoke(Method method, ServerSession fromClient, ServerMessage msg)
<ide> {
<del> String channel=msg.getChannel(... | |
Java | apache-2.0 | 4d65b419c1fdabe3e112fb1f257cf1e324286537 | 0 | tadayosi/camel,tadayosi/camel,christophd/camel,apache/camel,christophd/camel,tadayosi/camel,tadayosi/camel,apache/camel,tadayosi/camel,tadayosi/camel,apache/camel,apache/camel,christophd/camel,christophd/camel,apache/camel,apache/camel,christophd/camel,christophd/camel | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | camel-jbang - Run should merge --deps with existing dependencies that may be specified in application.properties
| dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java | camel-jbang - Run should merge --deps with existing dependencies that may be specified in application.properties | <ide><path>sl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
<ide> if (modeline) {
<ide> writeSetting(main, profileProperties, "camel.main.modeline", "true");
<ide> }
<del> // allow java-dsl to compile to .class which we need in uber-jar m... | |
Java | mit | a49994d72ad7df33f09a169238c3621264d505dd | 0 | tapstream/tapstream-sdk-phonegap,tapstream/phonegap3-plugin,tapstream/phonegap3-plugin,tapstream/tapstream-sdk-phonegap,tapstream/tapstream-sdk-phonegap,tapstream/phonegap3-plugin | package com.tapstream.sdk;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Set;
import java.util.TimeZone;
import java.util.concurrent.ScheduledThreadPo... | src/android/Core/com/tapstream/sdk/Core.java | package com.tapstream.sdk;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Set;
import java.util.TimeZone;
import java.util.concurrent.ScheduledThreadPo... | Fixing a versioning issue
| src/android/Core/com/tapstream/sdk/Core.java | Fixing a versioning issue | <ide><path>rc/android/Core/com/tapstream/sdk/Core.java
<ide> import java.util.regex.Pattern;
<ide>
<ide> class Core {
<del> public static final String VERSION = "2.8.0";
<add> public static final String VERSION = "2.8.1";
<ide> private static final String EVENT_URL_TEMPLATE = "https://api.tapstream.com/%s/event/%s/";... | |
Java | apache-2.0 | error: pathspec 'apps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/FlowClassifierId.java' did not match any file(s) known to git
| b07481491fb6eed2cc34c73a9ef30604258a5569 | 1 | donNewtonAlpha/onos,y-higuchi/onos,sdnwiselab/onos,osinstom/onos,LorenzReinhart/ONOSnew,LorenzReinhart/ONOSnew,sonu283304/onos,oplinkoms/onos,sonu283304/onos,lsinfo3/onos,osinstom/onos,y-higuchi/onos,Shashikanth-Huawei/bmp,gkatsikas/onos,sonu283304/onos,y-higuchi/onos,opennetworkinglab/onos,gkatsikas/onos,planoAccess/c... | /*
* Copyright 2015 Open Networking Laboratory
*
* 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 required by applicable la... | apps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/FlowClassifierId.java | [ONOS-3116] Implementation of Flow classifier Id for service function chain.
Change-Id: Ia696b8042281050e50d8ba5c34b2f1d6db5cc856
| apps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/FlowClassifierId.java | [ONOS-3116] Implementation of Flow classifier Id for service function chain. | <ide><path>pps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/FlowClassifierId.java
<add>/*
<add> * Copyright 2015 Open Networking Laboratory
<add> *
<add> * Licensed under the Apache License, Version 2.0 (the "License");
<add> * you may not use this file except in compliance with the License.
<add> * You may obtain a... | |
Java | agpl-3.0 | 68f3cd3caff528bffb3dfb038c283d12701fbc0e | 0 | BloodShura/VenusScript | //////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016, João Vitor Verona Biazibetti - All Rights Reserved /
// /
// Licensed under the GNU General Public Licens... | src/br/shura/venus/compiler/VenusParser.java | //////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016, João Vitor Verona Biazibetti - All Rights Reserved /
// /
// Licensed under the GNU General Public Licens... | Fixed parsing of for-each container (part of #11)
| src/br/shura/venus/compiler/VenusParser.java | Fixed parsing of for-each container (part of #11) | <ide><path>rc/br/shura/venus/compiler/VenusParser.java
<ide> }
<ide> }
<ide> else {
<add> lexer.reRead(next);
<add>
<ide> Resultor iterable = readResultor(Type.OPEN_BRACE);
<ide> String varName = varNameToken.getValue();
<ide> ForEachContainer forContainer = new ForEachContainer(var... | |
Java | mit | 0b14452ca17137e5e064acbeb76ded0290923dca | 0 | Thatsmusic99/HeadsPlus | package io.github.thatsmusic99.headsplus.util;
import com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException;
import io.github.thatsmusic99.headsplus.HeadsPlus;
import io.github.thatsmusic99.headsplus.listeners.DeathEvents;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import java.sql.Connection;
impo... | src/main/java/io/github/thatsmusic99/headsplus/util/NewMySQLAPI.java | package io.github.thatsmusic99.headsplus.util;
import com.mysql.jdbc.exceptions.MySQLSyntaxErrorException;
import io.github.thatsmusic99.headsplus.HeadsPlus;
import io.github.thatsmusic99.headsplus.listeners.DeathEvents;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import java.sql.Connection;
import jav... | MySQL is wild
| src/main/java/io/github/thatsmusic99/headsplus/util/NewMySQLAPI.java | MySQL is wild | <ide><path>rc/main/java/io/github/thatsmusic99/headsplus/util/NewMySQLAPI.java
<ide> package io.github.thatsmusic99.headsplus.util;
<ide>
<del>import com.mysql.jdbc.exceptions.MySQLSyntaxErrorException;
<add>import com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException;
<ide> import io.github.thatsmusic99.headsplus... | |
Java | apache-2.0 | 638ff9bd872b60972b68141aad4df21049a7f2cf | 0 | apache/commons-jexl,apache/commons-jexl,apache/commons-jexl | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/main/java/org/apache/commons/jexl/Main.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Reverted main to original author intended behavior
git-svn-id: 4652571f3dffef9654f8145d6bccf468f90ae391@824620 13f79535-47bb-0310-9956-ffa450edef68
| src/main/java/org/apache/commons/jexl/Main.java | Reverted main to original author intended behavior | <ide><path>rc/main/java/org/apache/commons/jexl/Main.java
<ide> * @since 2.0
<ide> */
<ide> public class Main {
<del>
<ide> /**
<ide> * Test application for Jexl
<ide> *
<ide> JexlEngine engine = new JexlEngine();
<ide> JexlContext context = new HashMapContext();
<ide> context.g... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.