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 | 804936e06cb7d4aca5d7ee484a53d635f5f36f4c | 0 | sromku/memory-game | package com.snatik.matches.common;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.provider.Settings;
/**
* Created by Dimitris on 25/8/2017.
*/
public class SQLiteDB extends SQLiteOpenHelp... | app/src/main/java/com/snatik/matches/common/SQLiteDB.java | package com.snatik.matches.common;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.provider.Settings;
/**
* Created by Dimitris on 25/8/2017.
*/
public class SQLiteDB extends SQLiteOpenHelp... | Deleted unused methods
| app/src/main/java/com/snatik/matches/common/SQLiteDB.java | Deleted unused methods | <ide><path>pp/src/main/java/com/snatik/matches/common/SQLiteDB.java
<ide> }
<ide> }
<ide>
<del>
<del> /*public String checkForTable () {
<del>
<del> String result = null;
<del> SQLiteDatabase db = getWritableDatabase();
<del>
<del> String query = "SELECT name FROM sqlite_master WHER... | |
Java | apache-2.0 | 9ad9af32b238f277ee842beae044f86c91be959d | 0 | cycronix/cloudturbine,jpw-erigo/cloudturbine,cycronix/cloudturbine,jpw-erigo/cloudturbine,jpw-erigo/cloudturbine,jpw-erigo/cloudturbine,cycronix/cloudturbine,cycronix/cloudturbine | package cycronix.ctudp;
//---------------------------------------------------------------------------------
//CTudp: capture UDP packets to CT files
//Matt Miller, Cycronix
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.MulticastSocket;
import org.apache... | JavaCode/CTudp/src/main/java/cycronix/ctudp/CTudp.java | package cycronix.ctudp;
//---------------------------------------------------------------------------------
//CTudp: capture UDP packets to CT files
//Matt Miller, Cycronix
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.MulticastSocket;
import org.apache... | CTudp tweak associated with the new "-csplit" option (changed how I converted from byte array to String
Signed-off-by: jpw-erigo <07ecbc5fdd59923eae7257fec6d715663314089f@erigo.com>
| JavaCode/CTudp/src/main/java/cycronix/ctudp/CTudp.java | CTudp tweak associated with the new "-csplit" option (changed how I converted from byte array to String | <ide><path>avaCode/CTudp/src/main/java/cycronix/ctudp/CTudp.java
<ide> ctw.putData(chanName, data);
<ide> // If requested, split the incoming csv string up and save each channel
<ide> if (csvChanNames != null) {
<del> String csvStr = data.toString();
<add> String csvStr = new Str... | |
Java | agpl-3.0 | c5c34aaaf7baa54bd8741bfeafbf7e5559da2551 | 0 | rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat | package roart.aggregator.impl;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.Map.Entry;
import java.util.concurrent.Calla... | main/aggregate/src/main/java/roart/aggregator/impl/IndicatorAggregator.java | package roart.aggregator.impl;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.Map.Entry;
import java.util.concurrent.Calla... | Split loop, indicator aggregator to handle both multi macd, and mixed rsi srsi, refactor (I84).
| main/aggregate/src/main/java/roart/aggregator/impl/IndicatorAggregator.java | Split loop, indicator aggregator to handle both multi macd, and mixed rsi srsi, refactor (I84). | <ide><path>ain/aggregate/src/main/java/roart/aggregator/impl/IndicatorAggregator.java
<ide> List<SubType> mergelist = wantedMergeSubTypes();
<ide> // for each wanted merge trigger
<ide> for (SubType mergeSubType : mergelist) {
<del> int wantedSize = 0;
<ide> int wanteds = ... | |
Java | apache-2.0 | 7cd4b5f0f7470cbdb0043ee8e5bb7b80ff2a1902 | 0 | codehaus/mvel,codehaus/mvel | package org.mvel.tests.main;
import org.mvel.*;
import static org.mvel.MVEL.*;
import org.mvel.ast.WithNode;
import org.mvel.debug.DebugTools;
import org.mvel.debug.Debugger;
import org.mvel.debug.Frame;
import org.mvel.integration.Interceptor;
import org.mvel.integration.ResolverTools;
import org.mvel.integration.Va... | src/test/java/org/mvel/tests/main/CoreConfidenceTests.java | package org.mvel.tests.main;
import org.mvel.*;
import static org.mvel.MVEL.*;
import org.mvel.ast.WithNode;
import org.mvel.debug.DebugTools;
import org.mvel.debug.Debugger;
import org.mvel.debug.Frame;
import org.mvel.integration.Interceptor;
import org.mvel.integration.ResolverTools;
import org.mvel.integration.Va... | -Added another failing test for a method call on a static nested class passing it a static nested instance as an argument. | src/test/java/org/mvel/tests/main/CoreConfidenceTests.java | -Added another failing test for a method call on a static nested class passing it a static nested instance as an argument. | <ide><path>rc/test/java/org/mvel/tests/main/CoreConfidenceTests.java
<ide> Serializable compiledExpression = compiler.compile(context);
<ide>
<ide> Message msg = ( Message ) MVEL.executeExpression(compiledExpression, new HashMap());
<del> assertEquals( "Some String", msg.getItems().get( ... | |
Java | mit | d405717439d1218ea4a6cc33d5eb15808fe05446 | 0 | jakobehmsen/jasy | package jasy.lang.ast;
import jasy.lang.ASMCompiler;
import jasy.lang.ASMCompiler.Region;
import jasy.lang.ClassResolver;
import jasy.lang.SingleClassLoader;
import static jasy.lang.ast.BinaryExpressionAST.OPERATOR_ADD;
import jasy.runtime.asm.CommonClassTransformer;
import jasy.runtime.asm.CompositeTransformer;
impor... | netbeans/Jasy/src/jasy/lang/ast/MethodAST.java | package jasy.lang.ast;
import jasy.lang.ASMCompiler;
import jasy.lang.ASMCompiler.Region;
import jasy.lang.ClassResolver;
import jasy.lang.SingleClassLoader;
import static jasy.lang.ast.BinaryExpressionAST.OPERATOR_ADD;
import jasy.runtime.asm.CommonClassTransformer;
import jasy.runtime.asm.CompositeTransformer;
impor... | Added support for quoting variable declarations without initialization. | netbeans/Jasy/src/jasy/lang/ast/MethodAST.java | Added support for quoting variable declarations without initialization. | <ide><path>etbeans/Jasy/src/jasy/lang/ast/MethodAST.java
<ide> public ExpressionAST visitVariableDeclaration(VariableDeclarationAST ctx) {
<ide> ExpressionAST quotedName = MethodAST.quote(ctx.name);
<ide> ExpressionAST quotedType = MethodAST.quote(ctx.type);
<del> ... | |
Java | apache-2.0 | 25abcfa3e40bff4aec260e99483f48e05673e8f3 | 0 | marklogic/java-client-api,omkarudipi/java-client-api,omkarudipi/java-client-api,supriyantomaftuh/java-client-api,marklogic/java-client-api,marklogic/java-client-api,omkarudipi/java-client-api,supriyantomaftuh/java-client-api,marklogic/java-client-api,marklogic/java-client-api,omkarudipi/java-client-api,supriyantomaftuh... | /*
* Copyright 2012-2014 MarkLogic Corporation
*
* 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... | src/test/java/com/marklogic/client/test/PojoFacadeTest.java | /*
* Copyright 2012-2014 MarkLogic Corporation
*
* 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... | fix another piece of #73, demonstrate use of JsonSerialize for numeric fields we want searchable
| src/test/java/com/marklogic/client/test/PojoFacadeTest.java | fix another piece of #73, demonstrate use of JsonSerialize for numeric fields we want searchable | <ide><path>rc/test/java/com/marklogic/client/test/PojoFacadeTest.java
<ide> import org.junit.BeforeClass;
<ide> import org.junit.Test;
<ide>
<add>import com.fasterxml.jackson.databind.annotation.JsonSerialize;
<add>import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
<ide> import com.marklogic.client.pojo... | |
JavaScript | apache-2.0 | aecedaa6726571753cb4632d9a569127a3ea8829 | 0 | Kelerchian/Caretaker,Kelerchian/Caretaker | class CaretakerForm extends React.Component{
constructor(props){
super(props)
this.state = {
isResetting: false,
isValidating: false,
isValid: null,
errors: []
}
this.loadValue(props)
}
loadValue(props){
if(props.value != null){
this.state.value = props.value
}
}
onChange(value){
this.... | src/caretaker_editor/caretaker_form.js | class CaretakerForm extends React.Component{
constructor(props){
super(props)
this.state = {
isResetting: false,
isValidating: false,
isValid: null,
errors: []
}
this.loadValue(props)
}
loadValue(props){
if(props.value != null){
this.state.value = props.value
}
}
onChange(value){
this.... | upload now uses FormData instead of standard 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
| src/caretaker_editor/caretaker_form.js | upload now uses FormData instead of standard 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' | <ide><path>rc/caretaker_editor/caretaker_form.js
<ide> var url = this.props.action
<ide> var fetch = window.fetch
<ide> var name = this.props.edit.name || "data"
<del> var content = JSON.stringify(actionValue)
<del> var body = name+"="+content
<add> // var content = JSON.stringify(actionValue)
<add> // var bo... | |
Java | mit | 4ac38a8b412eddb415a295d6121ba43df6fbd1ee | 0 | navalev/azure-sdk-for-java,hovsepm/azure-sdk-for-java,anudeepsharma/azure-sdk-for-java,jalves94/azure-sdk-for-java,southworkscom/azure-sdk-for-java,ElliottMiller/azure-sdk-for-java,Azure/azure-sdk-for-java,manikandan-palaniappan/azure-sdk-for-java,pomortaz/azure-sdk-for-java,navalev/azure-sdk-for-java,selvasingh/azure-... | /**
* Copyright 2011 Microsoft Corporation
*
* 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... | microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/queue/implementation/QueueRestProxy.java | /**
* Copyright 2011 Microsoft Corporation
*
* 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... | Fix #205
| microsoft-azure-api/src/main/java/com/microsoft/windowsazure/services/queue/implementation/QueueRestProxy.java | Fix #205 | <ide><path>icrosoft-azure-api/src/main/java/com/microsoft/windowsazure/services/queue/implementation/QueueRestProxy.java
<ide> }
<ide>
<ide> public void createQueue(String queue, CreateQueueOptions options) throws ServiceException {
<add> if (queue == null)
<add> throw new NullPointerExceptio... | |
Java | apache-2.0 | a3356ede11f1b82dd310cc1ab00bae6caf3a4406 | 0 | milaq/ServeStream,zyjiang08/servestream,yomguy/servestream,yomguy/servestream,yomguy/servestream,zyjiang08/servestream,milaq/ServeStream,zyjiang08/servestream,milaq/ServeStream,milaq/ServeStream,zyjiang08/servestream,zyjiang08/servestream,milaq/ServeStream,yomguy/servestream,yomguy/servestream | /*
* ServeStream: A HTTP stream browser/player for Android
* Copyright 2010 William Seemann
*
* 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/LIC... | src/net/sourceforge/servestream/utils/MusicUtils.java | /*
* ServeStream: A HTTP stream browser/player for Android
* Copyright 2010 William Seemann
*
* 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/LIC... | Commented out queue code
git-svn-id: 0a6f2aeebe3a339de06b6162ef5a6b6b6e2abc00@370 b8d320ad-ce4d-463a-8333-51e6c77ad906
| src/net/sourceforge/servestream/utils/MusicUtils.java | Commented out queue code | <ide><path>rc/net/sourceforge/servestream/utils/MusicUtils.java
<ide>
<ide> package net.sourceforge.servestream.utils;
<ide>
<del>import android.content.ContentResolver;
<ide> import android.content.Context;
<del>import android.database.Cursor;
<del>import android.net.Uri;
<ide>
<del>import java.io.Reader;
<del>impo... | |
Java | apache-2.0 | eb8decb7ec615302f68f05bb2ef123f74663dff7 | 0 | rhlabs/louie,rhlabs/louie,rhlabs/louie,rhlabs/louie,rhlabs/louie | /*
* MessageTask.java
*
* Copyright (c) 2013 Rhythm & Hues Studios. All rights reserved.
*/
package com.rhythm.louie.jms;
import java.io.IOException;
import java.util.*;
import javax.jms.*;
import com.google.common.base.Joiner;
import com.google.protobuf.CodedOutputStream;
import com.google.protobuf.Message;
i... | engine/src/main/java/com/rhythm/louie/jms/MessageTask.java | /*
* MessageTask.java
*
* Copyright (c) 2013 Rhythm & Hues Studios. All rights reserved.
*/
package com.rhythm.louie.jms;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import javax.jms.*;
import com... | Only list unique message types in message header
| engine/src/main/java/com/rhythm/louie/jms/MessageTask.java | Only list unique message types in message header | <ide><path>ngine/src/main/java/com/rhythm/louie/jms/MessageTask.java
<ide> package com.rhythm.louie.jms;
<ide>
<ide> import java.io.IOException;
<del>import java.util.ArrayList;
<del>import java.util.Collection;
<del>import java.util.Collections;
<del>import java.util.List;
<del>import java.util.Map;
<add>import java.... | |
JavaScript | mit | e7af00651119554755b396b23ea5aabb205f25bf | 0 | langpavel/node-pg-async |
import {inspect} from 'util';
import pg from 'pg';
import {prepareValue} from 'pg/lib/utils';
export class SqlFragment {
// SQL`insert into $quote${tableName} $values${keyValue}`;
constructor(templateParts, templateValues) {
this._parts = [];
this.values = [];
const length = templateValues.length;
... | src/sql.js |
import {inspect} from 'util';
import pg from 'pg';
import {prepareValue} from 'pg/lib/utils';
export class SqlFragment {
// SQL`insert into $quote${tableName} $values${keyValue}`;
constructor(templateParts, templateValues) {
this._parts = [];
this.values = [];
const length = templateValues.length;
... | Better 'undefined value' exception message
| src/sql.js | Better 'undefined value' exception message | <ide><path>rc/sql.js
<ide> const parts = templateParts[i].split('$');
<ide> let value = templateValues.shift();
<ide> if (typeof value === 'undefined')
<del> throw new Error(`Expected something, but got undefined.`);
<add> throw new Error(
<add> `Expected something, but got unde... | |
Java | bsd-2-clause | c1aa8be72e8fc8f56186a41b6a4f24e8e36924b4 | 0 | laffer1/justjournal,laffer1/justjournal,laffer1/justjournal,laffer1/justjournal | /*
Copyright (c) 2005-2006, Lucas Holt
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
conditions and the followin... | src/com/justjournal/JustJournalBaseServlet.java | /*
Copyright (c) 2005-2006, Lucas Holt
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
conditions and the followin... | Correct content type, add content length
| src/com/justjournal/JustJournalBaseServlet.java | Correct content type, add content length | <ide><path>rc/com/justjournal/JustJournalBaseServlet.java
<ide> * Base servlet to do some of the repetative servlet initialization stuff.
<ide> *
<ide> * @author Lucas Holt
<del> * @version $Id: JustJournalBaseServlet.java,v 1.10 2006/12/03 19:33:13 laffer1 Exp $
<add> * @version $Id: JustJournalBaseServlet.java,v 1... | |
Java | apache-2.0 | ece7ee06815c66ec6f1f03fa24b355551fac8fe1 | 0 | whitesource/fs-agent,whitesource/fs-agent,whitesource/fs-agent,whitesource/fs-agent,whitesource/fs-agent,whitesource/fs-agent | package org.whitesource.agent.dependency.resolver.go;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import org.apache.commons.io.FileUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.whitesource.agent... | src/main/java/org/whitesource/agent/dependency/resolver/go/GoDependencyResolver.java | package org.whitesource.agent.dependency.resolver.go;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import org.apache.commons.io.FileUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.whitesource.agent... | WSE-653 - adding 'systemPath' property to the dependencyInfo object
| src/main/java/org/whitesource/agent/dependency/resolver/go/GoDependencyResolver.java | WSE-653 - adding 'systemPath' property to the dependencyInfo object | <ide><path>rc/main/java/org/whitesource/agent/dependency/resolver/go/GoDependencyResolver.java
<ide> import org.whitesource.agent.dependency.resolver.AbstractDependencyResolver;
<ide> import org.whitesource.agent.dependency.resolver.ResolutionResult;
<ide> import org.whitesource.agent.dependency.resolver.gradle.GradleC... | |
Java | apache-2.0 | 8e979fcf63095c760b8e182eb22273bb5005f790 | 0 | ArneLimburg/jpasecurity,ArneLimburg/jpasecurity | /*
* Copyright 2008 Arne Limburg
*
* 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... | jpasecurity/src/test/java/net/sf/jpasecurity/persistence/PropertyAccessTest.java | /*
* Copyright 2008 Arne Limburg
*
* 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... | Added tearDown() to clear authentication information
| jpasecurity/src/test/java/net/sf/jpasecurity/persistence/PropertyAccessTest.java | Added tearDown() to clear authentication information | <ide><path>pasecurity/src/test/java/net/sf/jpasecurity/persistence/PropertyAccessTest.java
<ide> entityManager.close();
<ide> assertEquals(USER2, bean.getBeanName());
<ide> }
<add>
<add> public void tearDown() {
<add> TestAuthenticationProvider.authenticate(null);
<add> }
<i... | |
Java | apache-2.0 | f0c01dea15fc06b7e601da6069a8e91a952702bb | 0 | zerodengxinchao/ovirt-engine,yingyun001/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine,zerodengxinchao/ovirt-engine,yapengsong/ovirt-engine,yingyun001/ovirt-engine,yapengsong/ovirt-engine,yingyun001/ovirt-engine,yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,yingyun001/... | package org.ovirt.engine.api.restapi.types;
import static org.ovirt.engine.api.restapi.utils.VersionUtils.greaterOrEqual;
import java.util.LinkedHashMap;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.ovirt.engine.api.model.Architecture;
import org.ovirt.engine.api.model.CPU;
import org... | backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/ClusterMapper.java | package org.ovirt.engine.api.restapi.types;
import static org.ovirt.engine.api.restapi.utils.VersionUtils.greaterOrEqual;
import java.util.LinkedHashMap;
import org.apache.commons.lang.StringUtils;
import org.ovirt.engine.api.model.Architecture;
import org.ovirt.engine.api.model.CPU;
import org.ovirt.engine.api.mode... | restapi: Fix cluster policy mapping from REST
Fixed mapping cluster policy properties from REST when
both <thresholds> and <properties> fields are specified.
Change-Id: I1d541fc98e85f289547f4a91ac9658ebc51537be
Bug-Url: https://bugzilla.redhat.com/1140153
Signed-off-by: Andrej Krejcir <cd319b80dc788d308d262d82d71619e... | backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/ClusterMapper.java | restapi: Fix cluster policy mapping from REST | <ide><path>ackend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/ClusterMapper.java
<ide> import static org.ovirt.engine.api.restapi.utils.VersionUtils.greaterOrEqual;
<ide>
<ide> import java.util.LinkedHashMap;
<add>import java.util.Map;
<ide>
<ide> import org.apache.commons.lang.Stri... | |
Java | apache-2.0 | 0d642363959c8f25a280786e7b3f8645f9ddc6ae | 0 | cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x | /*
* Copyright 2002-2006 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | src/org/springframework/beans/factory/support/MethodOverride.java | /*
* Copyright 2002-2005 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | polishing
git-svn-id: b619a0c99665f88f1afe72824344cefe9a1c8c90@11641 fd5a2b45-1f63-4059-99e9-3c7cb7fd75c8
| src/org/springframework/beans/factory/support/MethodOverride.java | polishing | <ide><path>rc/org/springframework/beans/factory/support/MethodOverride.java
<ide> /*
<del> * Copyright 2002-2005 the original author or authors.
<add> * Copyright 2002-2006 the original author or authors.
<ide> *
<ide> * Licensed under the Apache License, Version 2.0 (the "License");
<ide> * you may not use this fil... | |
Java | apache-2.0 | 75c2a60a594c5f6f6d9515647017d950aafd9b12 | 0 | arpost/protempa,eurekaclinical/protempa | package org.protempa.bp.commons.dsb.relationaldb;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.arp.javautil.arrays.Arrays;
import org.protempa.backend.dsb.filter.Filter;
import org.protempa.backend.dsb.filter.PropertyValueF... | protempa-bp-commons/src/main/java/org/protempa/bp/commons/dsb/relationaldb/AbstractWhereClause.java | package org.protempa.bp.commons.dsb.relationaldb;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.arp.javautil.arrays.Arrays;
import org.protempa.backend.dsb.fil... | removed some extraneous logging
| protempa-bp-commons/src/main/java/org/protempa/bp/commons/dsb/relationaldb/AbstractWhereClause.java | removed some extraneous logging | <ide><path>rotempa-bp-commons/src/main/java/org/protempa/bp/commons/dsb/relationaldb/AbstractWhereClause.java
<ide> import java.util.HashSet;
<ide> import java.util.List;
<ide> import java.util.Set;
<del>import java.util.logging.Level;
<del>import java.util.logging.Logger;
<ide>
<ide> import org.arp.javautil.arrays.Ar... | |
Java | bsd-3-clause | 3ff6357fccc241b6f560411a269ada6a815e3967 | 0 | agmip/ace-core,frostbytten/ace-core | package org.agmip.ace.util;
import ch.hsr.geohash.GeoHash;
import ch.hsr.geohash.WGS84Point;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class GeoPoint {
private static final Logger LOG = LoggerFactory.getLogger(GeoPoint.class);
private String geohash;
private String lat;
private S... | src/main/java/org/agmip/ace/util/GeoPoint.java | package org.agmip.ace.util;
import ch.hsr.geohash.GeoHash;
import ch.hsr.geohash.WGS84Point;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class GeoPoint {
private static final Logger LOG = LoggerFactory.getLogger(GeoPoint.class);
private String geohash;
private String lat;
private S... | Fixed #4
| src/main/java/org/agmip/ace/util/GeoPoint.java | Fixed #4 | <ide><path>rc/main/java/org/agmip/ace/util/GeoPoint.java
<ide> this.geohash = GeoPoint.calculateGeoHash(lat, lng);
<ide> }
<ide>
<del> public GeoPoint(double lat, double lng) {
<del> this.setLat(lat);
<del> this.setLng(lng);
<del> this.geohash = GeoPoint.calculateGeoHash(this.la... | |
Java | bsd-3-clause | 5bc7addea8845ecb1a18723b0e833000db0f63a2 | 0 | NCIP/ctms-commons,NCIP/ctms-commons,NCIP/ctms-commons,NCIP/ctms-commons | package gov.nih.nci.cabig.ctms.tools.ant;
import gov.nih.nci.cabig.ctms.tools.TestDataSourcePropertiesFactoryBean;
import junit.framework.TestCase;
import org.apache.tools.ant.Project;
import java.io.File;
import java.util.Properties;
/**
* @author Rhett Sutphin
*/
public class DataSourcePropertiesTaskTest extends... | core/src/test/java/gov/nih/nci/cabig/ctms/tools/ant/DataSourcePropertiesTaskTest.java | package gov.nih.nci.cabig.ctms.tools.ant;
import gov.nih.nci.cabig.ctms.tools.TestDataSourcePropertiesFactoryBean;
import junit.framework.TestCase;
import org.apache.tools.ant.Project;
import java.io.File;
import java.util.Properties;
/**
* @author Rhett Sutphin
*/
public class DataSourcePropertiesTaskTest extends... | Fix test broken by previous moving-around of test resources.
SVN-Revision: 465
| core/src/test/java/gov/nih/nci/cabig/ctms/tools/ant/DataSourcePropertiesTaskTest.java | Fix test broken by previous moving-around of test resources. | <ide><path>ore/src/test/java/gov/nih/nci/cabig/ctms/tools/ant/DataSourcePropertiesTaskTest.java
<ide> protected void setUp() throws Exception {
<ide> super.setUp();
<ide> File thisDir = new File(getClass().getResource("/").toURI());
<del> System.setProperty("catalina.home", thisDir.getCanonic... | |
Java | apache-2.0 | 56bf606ace78474ff154008b0dab839510dffc76 | 0 | anandgsal/Empire,mhgrove/Empire | /*
* Copyright (c) 2009-2010 Clark & Parsia, LLC. <http://www.clarkparsia.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 ... | core/src/com/clarkparsia/empire/annotation/RdfGenerator.java | /*
* Copyright (c) 2009-2010 Clark & Parsia, LLC. <http://www.clarkparsia.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 ... | fix to support a wider range of locale's wrt to language filters in the rdf generator
| core/src/com/clarkparsia/empire/annotation/RdfGenerator.java | fix to support a wider range of locale's wrt to language filters in the rdf generator | <ide><path>ore/src/com/clarkparsia/empire/annotation/RdfGenerator.java
<ide> }
<ide>
<ide> private static String getLanguageForLocale() {
<del> return Locale.getDefault() == null || Locale.getDefault().toString().equals("") ? "en" : Locale.getDefault().toString().substring(0, Locale.getDefault().toString().indexOf(... | |
Java | apache-2.0 | error: pathspec 'src/test/java/cn/edu/zjnu/acm/judge/user/PasswordConfuserTest.java' did not match any file(s) known to git
| bc33dc69de7657c36a3271dc28871f56fcb74c46 | 1 | zjnu-acm/judge,zjnu-acm/judge,zjnu-acm/judge,zjnu-acm/judge,zjnu-acm/judge | /*
* Copyright 2016 ZJNU ACM.
*
* 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 i... | src/test/java/cn/edu/zjnu/acm/judge/user/PasswordConfuserTest.java | Add PasswordConfuserTest
| src/test/java/cn/edu/zjnu/acm/judge/user/PasswordConfuserTest.java | Add PasswordConfuserTest | <ide><path>rc/test/java/cn/edu/zjnu/acm/judge/user/PasswordConfuserTest.java
<add>/*
<add> * Copyright 2016 ZJNU ACM.
<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 copy of the License at
<... | |
Java | apache-2.0 | 83e5ed0f1770eb243df95c3e53ea09f8c6d20868 | 0 | rouazana/james,aduprat/james,chibenwa/james,chibenwa/james,chibenwa/james,rouazana/james,rouazana/james,aduprat/james,aduprat/james,rouazana/james,aduprat/james,chibenwa/james | package org.apache.james.transport.mailets;
/*****************************************************************************
* Copyright (C) The Apache Software Foundation. All rights reserved. *
* ------------------------------------------------------------------------- *
* This software is published under th... | trunk/src/org/apache/james/transport/mailets/RemoteDelivery.java | package org.apache.james.transport.mailets;
/*****************************************************************************
* Copyright (C) The Apache Software Foundation. All rights reserved. *
* ------------------------------------------------------------------------- *
* This software is published under th... | Much more optimized way of delivering messages. Previously each message going out was creating a new javax.mail.Session object which is extremely expensive. now instead one session object is created per delivery thread, and the properties are set per outgoing connection. This is significantly more efficient.
git-s... | trunk/src/org/apache/james/transport/mailets/RemoteDelivery.java | Much more optimized way of delivering messages. Previously each message going out was creating a new javax.mail.Session object which is extremely expensive. now instead one session object is created per delivery thread, and the properties are set per outgoing connection. This is significantly more efficient. | <ide><path>runk/src/org/apache/james/transport/mailets/RemoteDelivery.java
<ide> * Creation date: (2/24/00 11:25:00 PM)
<ide> * @param Mail org.apache.mailet.Mail
<ide> */
<del> private void deliver(MailImpl mail) {
<add> private void deliver(MailImpl mail, Session session) {
<ide> try {
<i... | |
Java | agpl-3.0 | 44a69a77c988d01abd97a127b9b0e547764e7d5e | 0 | institutotim/zup-android-cidadao,institutotim/zup-android-cidadao | package br.com.lfdb.zup;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.location.Address;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import android.util.Log;
... | app/src/main/java/br/com/lfdb/zup/SoliciteActivity.java | package br.com.lfdb.zup;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.location.Address;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import android.util.Log;
... | Change to wait 2 seconds
| app/src/main/java/br/com/lfdb/zup/SoliciteActivity.java | Change to wait 2 seconds | <ide><path>pp/src/main/java/br/com/lfdb/zup/SoliciteActivity.java
<ide>
<ide> @Background void tasker(ProgressDialog dialog) {
<ide> try {
<del> Thread.sleep(1000);
<add> Thread.sleep(2000);
<ide> ReportItemRequest item = new ReportItemRequest();
<ide> ReportItem response = null;
<ide> | |
Java | apache-2.0 | e9f844674f44f76eb5db2e6e9d724a6c89b6e052 | 0 | hazendaz/maven-plugins,apache/maven-plugins,mcculls/maven-plugins,rkorpachyov/maven-plugins,apache/maven-plugins,apache/maven-plugins,apache/maven-plugins,mcculls/maven-plugins,hazendaz/maven-plugins,hazendaz/maven-plugins,hazendaz/maven-plugins,rkorpachyov/maven-plugins,rkorpachyov/maven-plugins,hgschmie/apache-maven-... | package org.apache.maven.plugins.dependency.resolvers;
/*
* 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 ... | maven-dependency-plugin/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolvePluginsMojo.java | package org.apache.maven.plugins.dependency.resolvers;
/*
* 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 ... | [MDEP-563] Print dependency:resolve-plugins output just like other goal output
git-svn-id: 6038db50b076e48c7926ed71fd94f8e91be2fbc9@1791633 13f79535-47bb-0310-9956-ffa450edef68
| maven-dependency-plugin/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolvePluginsMojo.java | [MDEP-563] Print dependency:resolve-plugins output just like other goal output | <ide><path>aven-dependency-plugin/src/main/java/org/apache/maven/plugins/dependency/resolvers/ResolvePluginsMojo.java
<ide> * under the License.
<ide> */
<ide>
<del>import java.io.FileWriter;
<ide> import java.io.IOException;
<del>import java.io.Writer;
<ide> import java.util.LinkedHashSet;
<ide> import java.util.Li... | |
Java | apache-2.0 | 722a66bf774f741832fd2be135744ee09bb78f61 | 0 | Reissner/maven-latex-plugin,Reissner/maven-latex-plugin,Reissner/maven-latex-plugin,Reissner/maven-latex-plugin,Reissner/maven-latex-plugin | /*
* The akquinet maven-latex-plugin project
*
* Copyright (c) 2011 by akquinet tech@spree GmbH
*
* 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/LIC... | maven-latex-plugin/src/main/java/org/m2latex/core/Settings.java | /*
* The akquinet maven-latex-plugin project
*
* Copyright (c) 2011 by akquinet tech@spree GmbH
*
* 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/LIC... | @new
glossaries via makeglossaries.
- added patternWarnXindy
| maven-latex-plugin/src/main/java/org/m2latex/core/Settings.java | @new glossaries via makeglossaries. - added patternWarnXindy | <ide><path>aven-latex-plugin/src/main/java/org/m2latex/core/Settings.java
<ide> /**
<ide> * The Pattern in the ilg-file
<ide> * indicating an error when running {@link #makeIndexCommand}.
<del> * The default value is chosen
<del> * according to the <code>makeindex</code> documentation.
<del> ... | |
Java | mit | 075430abca511372722e486bbb52d54e98418f1c | 0 | PrinceOfAmber/OpenBlocks,Samernieve/OpenBlocks,TheSilkMiner/OpenBlocks,gecgooden/OpenBlocks,emmertf/OpenBlocks | package openblocks;
import java.util.Arrays;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.enchantment.EnchantmentData;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.CraftingManager;
import net.minecraft.item.crafting.IRecipe;
i... | src/main/java/openblocks/Config.java | package openblocks;
import java.util.Arrays;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.enchantment.EnchantmentData;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.CraftingManager;
import net.minecraft.item.crafting.IRecipe;
i... | Add harvest level for sponge
| src/main/java/openblocks/Config.java | Add harvest level for sponge | <ide><path>rc/main/java/openblocks/Config.java
<ide> if (ConfigProcessing.canRegisterBlock(blockSpongeId)) {
<ide> OpenBlocks.Blocks.sponge = new BlockSponge();
<ide> recipeList.add(new ShapelessOreRecipe(OpenBlocks.Blocks.sponge, Block.cloth, Item.slimeBall));
<add> MinecraftForge.setBlockHarvestLevel(OpenBl... | |
JavaScript | mit | ba85681f8c8a60230aa655a1c9c4b6bb3e592cba | 0 | dawoe/Umbraco-CMS,bjarnef/Umbraco-CMS,rasmuseeg/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,rasmuseeg/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,madsoulswe/Umbraco-CMS,tcmorris/Umbraco-CMS,umbraco/Umbraco-CMS,tcmorris/Umbraco-CMS,abjerner/Umbraco-CMS,bjarnef/Umbraco-CMS,tcmorris/Umbraco-CMS,KevinJump... | angular.module("umbraco").controller("Umbraco.PrevalueEditors.RteController",
function ($scope, $timeout, $log, tinyMceService, stylesheetResource, assetsService) {
var cfg = tinyMceService.defaultPrevalues();
if($scope.model.value){
if(angular.isString($scope.model.value)){
... | src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.prevalues.controller.js | angular.module("umbraco").controller("Umbraco.PrevalueEditors.RteController",
function ($scope, $timeout, $log, tinyMceService, stylesheetResource, assetsService) {
var cfg = tinyMceService.defaultPrevalues();
if($scope.model.value){
if(angular.isString($scope.model.value)){
... | updated css file location
| src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.prevalues.controller.js | updated css file location | <ide><path>rc/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.prevalues.controller.js
<ide> });
<ide>
<ide> // load TinyMCE skin which contains css for font-icons
<del> assetsService.loadCss("lib/tinymce/skins/umbraco/skin.min.css", $scope);
<add> assetsService.loadCss("lib/tinymc... | |
Java | apache-2.0 | 7fda5cccae7d859ca9c9dab33050d7409285de2c | 0 | liamjjmcnamara/sicsthsense,liamjjmcnamara/sicsthsense,liamjjmcnamara/sicsthsense,liamjjmcnamara/sicsthsense,liamjjmcnamara/sicsthsense | /*
* Copyright (c) 2013, Swedish Institute of Computer Science 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 ... | web/app/models/Resource.java | /*
* Copyright (c) 2013, Swedish Institute of Computer Science 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 ... | not sure
| web/app/models/Resource.java | not sure | <ide><path>eb/app/models/Resource.java
<ide> } catch (java.net.ConnectException e) {
<ide> Logger.error("SicsthSense Engine server seems uncontactable!");
<ide> } catch (IOException e) {
<del> e.printStackTrace();
<add> Logger.error("Problem contacting SicsthSense Engine server!");
<add> //e.printSt... | |
Java | apache-2.0 | b0cd48dd31975aac88b4da32f31b14500b89edae | 0 | mylog00/flink,rmetzger/flink,tillrohrmann/flink,hongyuhong/flink,greghogan/flink,mtunique/flink,hequn8128/flink,sunjincheng121/flink,godfreyhe/flink,mbode/flink,godfreyhe/flink,tzulitai/flink,lincoln-lil/flink,mbode/flink,zimmermatt/flink,mylog00/flink,aljoscha/flink,clarkyzl/flink,PangZhi/flink,gustavoanatoly/flink,ka... | /*
* 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 ... | flink-core/src/main/java/org/apache/flink/api/java/typeutils/runtime/RowSerializer.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 ... | [FLINK-6398] RowSerializer's duplicate should always return a new instance
This closes #3794.
| flink-core/src/main/java/org/apache/flink/api/java/typeutils/runtime/RowSerializer.java | [FLINK-6398] RowSerializer's duplicate should always return a new instance | <ide><path>link-core/src/main/java/org/apache/flink/api/java/typeutils/runtime/RowSerializer.java
<ide>
<ide> @Override
<ide> public TypeSerializer<Row> duplicate() {
<del> boolean stateful = false;
<ide> TypeSerializer<?>[] duplicateFieldSerializers = new TypeSerializer[fieldSerializers.length];
<del>
<ide> fo... | |
JavaScript | apache-2.0 | a2e6cfffcc42e34968fc82f1ae2307c3c1d34954 | 0 | google/blockly,google/blockly,rachel-fenichel/blockly,google/blockly,rachel-fenichel/blockly,mark-friedman/blockly,mark-friedman/blockly,rachel-fenichel/blockly,google/blockly,rachel-fenichel/blockly,picklesrus/blockly,rachel-fenichel/blockly,picklesrus/blockly,mark-friedman/blockly,rachel-fenichel/blockly,rachel-fenic... | /**
* @license
* Visual Blocks Editor
*
* Copyright 2012 Google Inc.
* https://developers.google.com/blockly/
*
* 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.apach... | core/xml.js | /**
* @license
* Visual Blocks Editor
*
* Copyright 2012 Google Inc.
* https://developers.google.com/blockly/
*
* 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.apach... | Block comments from XML not fatal
…if Blockly.Comment was not compiled in.
| core/xml.js | Block comments from XML not fatal | <ide><path>ore/xml.js
<ide> if (workspace.rendered) {
<ide> if (!Blockly.WorkspaceCommentSvg) {
<ide> console.warn('Missing require for Blockly.WorkspaceCommentSvg, ' +
<del> 'ignoring comment block.');
<add> 'ignoring workspace comment.');
<ide> } e... | |
Java | mit | 35d01247bd8a53896fd31c719f38b9ae9b232eb4 | 0 | NagabhushanS/AmazingFriends | package com.blogspot.nagabhushan;
public final class ParseConstants {
// Class name
public static final String CLASS_MESSAGES = "Messages";
// Field names
// The names are mainly related to the Parse Object keys
public static final String KEY_USER_ID = "userId";
public static final String KEY_USERNAME = "usern... | src/com/blogspot/nagabhushan/ParseConstants.java | package com.blogspot.nagabhushan;
public final class ParseConstants {
// Class name
public static final String CLASS_MESSAGES = "Messages";
// Field names
public static final String KEY_USER_ID = "userId";
public static final String KEY_USERNAME = "username";
public static final String KEY_FRIENDS_RELATION = "... | Update ParseConstants.java | src/com/blogspot/nagabhushan/ParseConstants.java | Update ParseConstants.java | <ide><path>rc/com/blogspot/nagabhushan/ParseConstants.java
<ide> public static final String CLASS_MESSAGES = "Messages";
<ide>
<ide> // Field names
<add> // The names are mainly related to the Parse Object keys
<ide> public static final String KEY_USER_ID = "userId";
<ide> public static final String KEY_USERNAME ... | |
Java | mpl-2.0 | c4d65a68b0ee42b07bd706ee29d3a354c9590283 | 0 | utybo/BST,utybo/BST,utybo/BST | /**
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License... | openbst/src/main/java/utybo/branchingstorytree/swing/OpenBST.java | /**
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License... | OpenBST : Fix short menu color
| openbst/src/main/java/utybo/branchingstorytree/swing/OpenBST.java | OpenBST : Fix short menu color | <ide><path>penbst/src/main/java/utybo/branchingstorytree/swing/OpenBST.java
<ide>
<ide> LOG.trace("Fixing text scaling");
<ide> if(new JLabel("AAA").getFont().getSize() <= 12)
<del> SubstanceCortex.GlobalScope.setFontPolicy(SubstanceFontUtilities.getScaledFontPolicy(
<del> ... | |
Java | unlicense | e5e502f27526e29d42b7a795eedc7cf2cf271c12 | 0 | mmelvin0/EnderIO,eduardog3000/EnderIO,eduardog3000/EnderIO,Vexatos/EnderIO,mezz/EnderIO,MatthiasMann/EnderIO,Joccob/EnderIO,Vexatos/EnderIO,Joccob/EnderIO,Samernieve/EnderIO,SleepyTrousers/EnderIO,Quantum64/EnderIO,MrNuggelz/EnderIO,torteropaid/EnderIO,HenryLoenwind/EnderIO,D-Inc/EnderIO | package crazypants.enderio.machine;
import crazypants.enderio.ModObject;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
public abstract class Abstra... | common/crazypants/enderio/machine/AbstractMachineContainer.java | package crazypants.enderio.machine;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
public abstract class AbstractMachineContainer extends Container ... | Fixed dupe bug.
| common/crazypants/enderio/machine/AbstractMachineContainer.java | Fixed dupe bug. | <ide><path>ommon/crazypants/enderio/machine/AbstractMachineContainer.java
<ide> package crazypants.enderio.machine;
<ide>
<add>import crazypants.enderio.ModObject;
<ide> import net.minecraft.entity.player.EntityPlayer;
<ide> import net.minecraft.entity.player.InventoryPlayer;
<ide> import net.minecraft.inventory.Conta... | |
Java | mit | error: pathspec 'src/com/graphi/app/Consts.java' did not match any file(s) known to git
| 07e9fdb2e255a5ae09f7d9365fc37b802a61a5e7 | 1 | denkers/graphi | //=========================================
// Kyle Russell
// AUT University 2015
// https://github.com/denkers/graphi
//=========================================
package com.graphi.app;
public final class Consts
{
private Consts() {}
}
| src/com/graphi/app/Consts.java | Added app/Consts
| src/com/graphi/app/Consts.java | Added app/Consts | <ide><path>rc/com/graphi/app/Consts.java
<add>//=========================================
<add>// Kyle Russell
<add>// AUT University 2015
<add>// https://github.com/denkers/graphi
<add>//=========================================
<add>
<add>package com.graphi.app;
<add>
<add>
<add>public final class Consts
<add>{
<... | |
Java | mit | f39119cc1534c8d387624730064e17ac779dfad9 | 0 | M4GiK/tosi-projects,M4GiK/tosi-projects | /**
* Project ElGamal Algorithm.
* Copyright Michał Szczygieł.
* Created at Mar 17, 2014.
*/
package com.m4gik;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import org.junit.Test;
/**
*
* This class contains JUnit test... | elgamal-algorithm/src/test/java/com/m4gik/ElGamalTest.java | /**
* Project ElGamal Algorithm.
* Copyright Michał Szczygieł.
* Created at Mar 17, 2014.
*/
package com.m4gik;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
import org.junit.Test;
/**
*
* This class contains JUnit test... | Extending test functionality for ElGamalTest
| elgamal-algorithm/src/test/java/com/m4gik/ElGamalTest.java | Extending test functionality for ElGamalTest | <ide><path>lgamal-algorithm/src/test/java/com/m4gik/ElGamalTest.java
<ide> */
<ide> public class ElGamalTest {
<ide>
<add> private static final String EXAMPLE_TEXT = "The quick brown fox jumps over the lazy dog";
<add>
<add> private static final String SECRET_KEY = "12345678901234567890";
<add>
<ide> /**
<i... | |
Java | epl-1.0 | 4e6122cc53d96a01dfc726b7618f505ed54729da | 0 | gnodet/wikitext | /*******************************************************************************
* Copyright 2005, CHISEL Group, University of Victoria, Victoria, BC, Canada.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanie... | sandbox/org.eclipse.mylyn.zest.layouts/src/org/eclipse/mylyn/zest/layouts/algorithms/FadeLayoutAlgorithm.java | /*******************************************************************************
* Copyright 2005, CHISEL Group, University of Victoria, Victoria, BC, Canada.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanie... | Removed system.exit
| sandbox/org.eclipse.mylyn.zest.layouts/src/org/eclipse/mylyn/zest/layouts/algorithms/FadeLayoutAlgorithm.java | Removed system.exit | <ide><path>andbox/org.eclipse.mylyn.zest.layouts/src/org/eclipse/mylyn/zest/layouts/algorithms/FadeLayoutAlgorithm.java
<ide> }
<ide> if ( maxForce < 0.0001 ) {
<ide> System.out.println( " Max Force Small ");
<del> for (int i = 0; i < edgeForces.length; i++) {
<del> System.out.println( edgeForces[ i ] )... | |
JavaScript | mit | error: pathspec '.eslintrules/valid-jsdoc.js' did not match any file(s) known to git
| 91f95e503ef608e8dd375ebbe27e96524672e220 | 1 | ArnaudBuchholz/gpf-js,ArnaudBuchholz/gpf-js | /**
* @fileoverview Validates JSDoc comments are syntactically correct
* @author Nicholas C. Zakas
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const doctrine = requ... | .eslintrules/valid-jsdoc.js | custom valid-jsdoc
| .eslintrules/valid-jsdoc.js | custom valid-jsdoc | <ide><path>eslintrules/valid-jsdoc.js
<add>/**
<add> * @fileoverview Validates JSDoc comments are syntactically correct
<add> * @author Nicholas C. Zakas
<add> */
<add>"use strict";
<add>
<add>//------------------------------------------------------------------------------
<add>// Requirements
<add>//------------------... | |
Java | apache-2.0 | 82f389351a8174cc6e90c2c16ac3ecc79d2691b1 | 0 | swift-lang/swift-k,swift-lang/swift-k,ya7lelkom/swift-k,swift-lang/swift-k,ya7lelkom/swift-k,ya7lelkom/swift-k,ya7lelkom/swift-k,ya7lelkom/swift-k,ya7lelkom/swift-k,ya7lelkom/swift-k,swift-lang/swift-k,swift-lang/swift-k,ya7lelkom/swift-k,ya7lelkom/swift-k,swift-lang/swift-k,swift-lang/swift-k,ya7lelkom/swift-k,swift-l... | //----------------------------------------------------------------------
//This code is developed as part of the Java CoG Kit project
//The terms of the license can be found at http://www.cogkit.org/license
//This message may not be removed or altered.
//-----------------------------------------------------------------... | src/cog/modules/provider-coaster/src/org/globus/cog/abstraction/impl/execution/coaster/JobSubmissionTaskHandler.java | //----------------------------------------------------------------------
//This code is developed as part of the Java CoG Kit project
//The terms of the license can be found at http://www.cogkit.org/license
//This message may not be removed or altered.
//-----------------------------------------------------------------... | autostart enabled by default
git-svn-id: 093fa4c7fa7b11ddcea9103fc581483144c30c11@1974 5b74d2a0-fa0e-0410-85ed-ffba77ec0bde
| src/cog/modules/provider-coaster/src/org/globus/cog/abstraction/impl/execution/coaster/JobSubmissionTaskHandler.java | autostart enabled by default | <ide><path>rc/cog/modules/provider-coaster/src/org/globus/cog/abstraction/impl/execution/coaster/JobSubmissionTaskHandler.java
<ide> private boolean autostart;
<ide>
<ide> public JobSubmissionTaskHandler() {
<del> this.autostart = false;
<add> this.autostart = true;
<ide> bootHandlers = n... | |
JavaScript | mit | 6bab8d1b895524ad0c1e911f309a2d94b39f4af5 | 0 | julmot/form-components,julmot/form-components | import MoveTo from 'moveto';
export class Form {
constructor(form, options) {
if (form) {
this.form = form;
this.message = this.form.querySelector('.message--error');
this.options = Object.assign({}, {
message: true
}, options);
this.initEvents();
}
}
initEvents() {... | src/components/form/form.js | import MoveTo from 'moveto';
export class Form {
constructor(form, options) {
if (form) {
this.form = form;
this.message = this.form.querySelector('.message--error');
this.options = Object.assign({}, {
message: true
}, options);
this.initEvents();
}
}
initEvents() {... | Remove focus of first error message
Since this causes a jump for visual users when the message is already visible. Removed focusing anything completely as otherwise the message isn't read.
| src/components/form/form.js | Remove focus of first error message | <ide><path>rc/components/form/form.js
<ide> if (!valid) {
<ide> event.preventDefault();
<ide> this.showMessage();
<del> this.focusFirstError();
<ide> return false;
<ide> } else {
<ide> this.hideMessage();
<ide> }
<ide> }
<ide>
<del> focusFirstError() {
<del> ... | |
Java | apache-2.0 | ae63b449cdad7de4ecc46ab6601dd616c6b76a50 | 0 | mrg/CMP | /*****************************************************************
* 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
* ... | src/main/java/org/apache/cayenne/modeler/layout/SplashLayout.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
* ... | Added project open chooser.
| src/main/java/org/apache/cayenne/modeler/layout/SplashLayout.java | Added project open chooser. | <ide><path>rc/main/java/org/apache/cayenne/modeler/layout/SplashLayout.java
<ide>
<ide> package org.apache.cayenne.modeler.layout;
<ide>
<add>import java.io.File;
<ide> import java.io.IOException;
<ide>
<ide> import org.apache.cayenne.modeler.CayenneModeler;
<ide> import javafx.scene.control.ListView;
<ide> import j... | |
Java | apache-2.0 | 7e40d758e90f40da0ebdf69ed7216c507e627383 | 0 | facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho | // Copyright 2004-present Facebook. All Rights Reserved.
package com.facebook.litho.widget;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
import android.suppo... | src/test/java/com/facebook/components/widget/RecyclerBinderTest.java | // Copyright 2004-present Facebook. All Rights Reserved.
package com.facebook.litho.widget;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.LinearLayoutManager;
import android.suppo... | Lines authored by pasqualea
This commit forms part of the blame-preserving initial commit suite.
| src/test/java/com/facebook/components/widget/RecyclerBinderTest.java | Lines authored by pasqualea | <ide><path>rc/test/java/com/facebook/components/widget/RecyclerBinderTest.java
<ide> final List<ComponentInfo> components = new ArrayList<>();
<ide> for (int i = 0; i < 2; i++) {
<ide> components.add(ComponentInfo.create().component(mock(Component.class)).build());
<add> mRecyclerBinder.insertItemAt(... | |
Java | apache-2.0 | 1074ad29d4c349eadb636b038e318c5f9cc90fce | 0 | cloudera/sqoop2,cloudera/sqoop2,cloudera/sqoop2 | /**
* 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... | execution/mapreduce/src/test/java/org/apache/sqoop/job/TestHdfsExtract.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... | SQOOP-782: Update comment to reflect that TestHdfsExtract works fine.
(Hari Shreedharan via Jarek Jarcec Cecho)
| execution/mapreduce/src/test/java/org/apache/sqoop/job/TestHdfsExtract.java | SQOOP-782: Update comment to reflect that TestHdfsExtract works fine. | <ide><path>xecution/mapreduce/src/test/java/org/apache/sqoop/job/TestHdfsExtract.java
<ide> };
<ide>
<ide> int numbers = NUMBER_OF_FILES*NUMBER_OF_ROWS_PER_FILE;
<del>// This test is not currently working due to bug in HdfsExtractor.
<del>// Check SQOOP-761 for more details.
<ide> assertEquals((1+num... | |
JavaScript | mit | 13f8fb47da530d47262bb7f84ae08e3b0acaa798 | 0 | UniversalFuture/moosh,UniversalFuture/moosh,UniversalFuture/moosh,UniversalFuture/moosh | // Copyright 2012 the V8 project authors. 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 ... | test/mjsunit/harmony/object-observe.js | // Copyright 2012 the V8 project authors. 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 ... | Add more test coverage for setting Array.length
Covers truncation of holey arrays and defineProperty('length').
Review URL: https://codereview.chromium.org/11369150
Patch from Adam Klein <adamk@chromium.org>.
git-svn-id: b158db1e4b4ab85d4c9e510fdef4b1e8c614b15b@12915 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
| test/mjsunit/harmony/object-observe.js | Add more test coverage for setting Array.length | <ide><path>est/mjsunit/harmony/object-observe.js
<ide> var arr = ['a', 'b', 'c', 'd'];
<ide> var arr2 = ['alpha', 'beta'];
<ide> var arr3 = ['hello'];
<add>arr3[2] = 'goodbye';
<add>arr3.length = 6;
<ide> // TODO(adamk): Enable this test case when it can run in a reasonable
<ide> // amount of time.
<ide> //var slow_arr... | |
Java | apache-2.0 | 342fda0dd6ecd4e40ffde0a3161c5d0ae18a6b36 | 0 | EagerLogic/Cubee | package com.eagerlogic.cubee.client.components;
import com.eagerlogic.cubee.client.properties.BackgroundProperty;
import com.eagerlogic.cubee.client.properties.BorderProperty;
import com.eagerlogic.cubee.client.styles.ECursor;
import com.eagerlogic.cubee.client.properties.PaddingProperty;
import com.eagerlogic.cubee.c... | trunk/src/Cubee/src/com/eagerlogic/cubee/client/components/Panel.java | package com.eagerlogic.cubee.client.components;
import com.eagerlogic.cubee.client.properties.BackgroundProperty;
import com.eagerlogic.cubee.client.properties.BorderProperty;
import com.eagerlogic.cubee.client.styles.ECursor;
import com.eagerlogic.cubee.client.properties.PaddingProperty;
import com.eagerlogic.cubee.c... | min-max width,height property added to panel
| trunk/src/Cubee/src/com/eagerlogic/cubee/client/components/Panel.java | min-max width,height property added to panel | <ide><path>runk/src/Cubee/src/com/eagerlogic/cubee/client/components/Panel.java
<ide> return super.shadowProperty();
<ide> }
<ide>
<add> @Override
<add> public IntegerProperty minWidthProperty() {
<add> return super.minWidthProperty();
<add> }
<add>
<add> @Override
<add> public IntegerProperty minHeightProperty() ... | |
Java | apache-2.0 | 2926035c17d2862bfdeacdad9e2bf88d9530bef2 | 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-bot/src/main/java/won/bot/framework/eventbot/action/impl/debugbot/DebugBotIncomingMessageToEventMappingAction.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
*
* ... | fixes code typo
| webofneeds/won-bot/src/main/java/won/bot/framework/eventbot/action/impl/debugbot/DebugBotIncomingMessageToEventMappingAction.java | fixes code typo | <ide><path>ebofneeds/won-bot/src/main/java/won/bot/framework/eventbot/action/impl/debugbot/DebugBotIncomingMessageToEventMappingAction.java
<ide> private void proposeToCancelLatestAccept(EventListenerContext ctx, EventBus bus, Connection con) {
<ide> referToEarlierMessages(ctx, bus, con,
<ide> "ok, ... | |
Java | bsd-2-clause | 596e42b9166e1879537a267e9e39a3b3b1f28cfd | 0 | Fedict/dcattools | /*
* Copyright (c) 2015, Bart Hanssens <bart.hanssens@fedict.be>
* 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 ... | scrapers/src/main/java/be/fedict/dcat/scrapers/XlsPsiBelgium.java | /*
* Copyright (c) 2015, Bart Hanssens <bart.hanssens@fedict.be>
* 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 ... | Improved keyword mapping | scrapers/src/main/java/be/fedict/dcat/scrapers/XlsPsiBelgium.java | Improved keyword mapping | <ide><path>crapers/src/main/java/be/fedict/dcat/scrapers/XlsPsiBelgium.java
<ide> int pos = s.lastIndexOf(".");
<ide> if (pos > 0) {
<ide> s = s.substring(pos + 1);
<del> return s.split(",");
<add> return s.replaceAll("\n", "").split(",");
<ide> }
<ide> ... | |
Java | apache-2.0 | 6070fe71f4e0cb6b1fa9796bb42d4850ec26e8d4 | 0 | yapengsong/ovirt-engine,yingyun001/ovirt-engine,OpenUniversity/ovirt-engine,eayun/ovirt-engine,zerodengxinchao/ovirt-engine,yingyun001/ovirt-engine,yingyun001/ovirt-engine,yapengsong/ovirt-engine,OpenUniversity/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,zerodengxinchao/ovirt-... | package org.ovirt.engine.core.aaa;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.ovirt.engine.api.extensions.Base;
import org.ovirt.engine.api.extensions.ExtMap;
import org.ovirt.engine.api.extensions.aaa.Authn;
import org.ovirt.engine.api.extensions.aaa.Authz;
import org.ovir... | backend/manager/modules/aaa/src/main/java/org/ovirt/engine/core/aaa/AuthzUtils.java | package org.ovirt.engine.core.aaa;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.ovirt.engine.api.extensions.Base;
import org.ovirt.engine.api.extensions.ExtMap;
import org.ovirt.engine.api.extensions.ExtUUID;
import org.ovirt.engine.api.extensions.aaa.Authn;
import org.ovirt.... | aaa: cleanup AuthzUtils
reorder parameters to be consistent.
remove unneeded parameters.
rename parameters and sync to better reflect meaning.
Topic: AAA
Change-Id: I4b833ca69531b6d8d6b554c3086d7e31c08ff544
Signed-off-by: Alon Bar-Lev <2e3ceb4d37adc6ae3ccc00d3646e0e0a036ace03@redhat.com>
| backend/manager/modules/aaa/src/main/java/org/ovirt/engine/core/aaa/AuthzUtils.java | aaa: cleanup AuthzUtils | <ide><path>ackend/manager/modules/aaa/src/main/java/org/ovirt/engine/core/aaa/AuthzUtils.java
<ide>
<ide> import org.ovirt.engine.api.extensions.Base;
<ide> import org.ovirt.engine.api.extensions.ExtMap;
<del>import org.ovirt.engine.api.extensions.ExtUUID;
<ide> import org.ovirt.engine.api.extensions.aaa.Authn;
<ide> ... | |
JavaScript | apache-2.0 | 3d20be0d3ee18d502dcd39c1c3ad6e442f1f784d | 0 | googlefonts/omnibus,googlefonts/omnibus | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var C;C="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,C.gfBadge=e()}}(function(){return function e(C,t,n){funct... | custom_modules/googlefontsbadge.js | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var C;C="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,C.gfBadge=e()}}(function(){return function e(C,t,n){funct... | [edit] google badge script
| custom_modules/googlefontsbadge.js | [edit] google badge script | <ide><path>ustom_modules/googlefontsbadge.js
<del>!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var C;C="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,C.gfBad... | |
Java | apache-2.0 | 665524d51117957db520323288db886e58af3db8 | 0 | facebook/buck,Addepar/buck,k21/buck,brettwooldridge/buck,vine/buck,shybovycha/buck,OkBuilds/buck,bocon13/buck,dsyang/buck,Distrotech/buck,sdwilsh/buck,clonetwin26/buck,rowillia/buck,zhan-xiong/buck,dsyang/buck,liuyang-li/buck,raviagarwal7/buck,Distrotech/buck,clonetwin26/buck,zpao/buck,liuyang-li/buck,sdwilsh/buck,bret... | /*
* Copyright 2012-present Facebook, 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... | src/com/facebook/buck/rules/BuildRuleResolver.java | /*
* Copyright 2012-present Facebook, 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... | Remove unused methods or inline methods with only one call site.
Test Plan: CI
Reviewed By: sdwilsh
fb-gh-sync-id: 0a76e22
| src/com/facebook/buck/rules/BuildRuleResolver.java | Remove unused methods or inline methods with only one call site. | <ide><path>rc/com/facebook/buck/rules/BuildRuleResolver.java
<ide>
<ide> import java.util.concurrent.ConcurrentHashMap;
<ide> import java.util.concurrent.ExecutionException;
<del>
<del>import javax.annotation.Nullable;
<ide>
<ide> /**
<ide> * Provides a mechanism for mapping between a {@link BuildTarget} and the {@l... | |
Java | apache-2.0 | a9013f6d5b2bb0410ebf29d4c8d0790c1149147e | 0 | h-crisis/assistant,h-crisis/assistant,h-crisis/assistant,h-crisis/assistant,h-crisis/assistant | package jp.hcrisis.assistant.masterfiles;
import com.google.code.geocoder.model.GeocoderResult;
import org.postgis.Geometry;
import org.postgis.PGgeometry;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.sql... | Modules/MasterFiles/src/jp/hcrisis/assistant/masterfiles/ShelterDbEdit.java | package jp.hcrisis.assistant.masterfiles;
import com.google.code.geocoder.model.GeocoderResult;
import org.postgis.Geometry;
import org.postgis.PGgeometry;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.math.BigDecimal;
import java.sql... | 201610162022 jp.hcrisis.assistant.masterfilesパッケージの更新。
ShelterDownloadを更新して、Yahoo避難所からのダウンロードと住所マッチングを行えるように更新。また、PostGISに住所情報を追加できるようにした。
| Modules/MasterFiles/src/jp/hcrisis/assistant/masterfiles/ShelterDbEdit.java | 201610162022 jp.hcrisis.assistant.masterfilesパッケージの更新。 | <ide><path>odules/MasterFiles/src/jp/hcrisis/assistant/masterfiles/ShelterDbEdit.java
<ide> this.usr = usr;
<ide> this.pwd = pwd;
<ide> }
<del>
<ide>
<ide> public static void shelterUpload(File file) {
<ide> try (BufferedReader br = new BufferedReader(new InputStreamReader(new FileInput... | |
Java | apache-2.0 | 533a6aac15136b3853e2636d85991194449f19d7 | 0 | h2oai/h2o-dev,h2oai/h2o-dev,h2oai/h2o-3,h2oai/h2o-3,h2oai/h2o-3,h2oai/h2o-dev,mathemage/h2o-3,mathemage/h2o-3,mathemage/h2o-3,spennihana/h2o-3,michalkurka/h2o-3,spennihana/h2o-3,h2oai/h2o-3,h2oai/h2o-dev,spennihana/h2o-3,h2oai/h2o-3,michalkurka/h2o-3,spennihana/h2o-3,h2oai/h2o-dev,michalkurka/h2o-3,h2oai/h2o-3,mathemag... | package ai.h2o.automl.tasks;
import ai.h2o.automl.TestUtil;
import org.junit.BeforeClass;
import org.junit.Test;
import water.Key;
import water.fvec.Frame;
import water.fvec.Vec;
public class DummyScoreTest extends TestUtil {
@BeforeClass public static void setup() { stall_till_cloudsize(1); }
@Test public void... | h2o-automl/src/test/java/ai/h2o/automl/tasks/DummyScoreTest.java | package ai.h2o.automl.tasks;
import ai.h2o.automl.TestUtil;
import org.junit.BeforeClass;
import org.junit.Test;
import water.Key;
import water.fvec.Frame;
import water.fvec.Vec;
public class DummyScoreTest extends TestUtil {
@BeforeClass public static void setup() { stall_till_cloudsize(1); }
@Test public void... | Update file paths for DummyScoreTest
| h2o-automl/src/test/java/ai/h2o/automl/tasks/DummyScoreTest.java | Update file paths for DummyScoreTest | <ide><path>2o-automl/src/test/java/ai/h2o/automl/tasks/DummyScoreTest.java
<ide> @Test public void testIrisClasses() {
<ide> Frame fr = null;
<ide> try {
<del> fr = parse_test_file(Key.make("a.hex"), "/0xdata/h2o-3/smalldata/iris/iris_wheader.csv");
<add> fr = parse_test_file(Key.make("a.hex"), "sma... | |
Java | apache-2.0 | be3c0f4379fda4b9001907efcffc7e9490aa7661 | 0 | arquivo/functional-tests,arquivo/functional-tests | package pt.fccn.mobile.arquivo.tests.imagesearch;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.assertEquals;
import java.util.Collections;
import java.util.stream.IntStream;
import java.util.stream.Stream;
import org.junit... | src/test/java/pt/fccn/mobile/arquivo/tests/imagesearch/ImageAdvancedSearchTest.java | package pt.fccn.mobile.arquivo.tests.imagesearch;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.assertEquals;
import java.util.Collections;
import java.util.stream.IntStream;
import java.util.stream.Stream;
import org.junit... | Put comment directly on class.
| src/test/java/pt/fccn/mobile/arquivo/tests/imagesearch/ImageAdvancedSearchTest.java | Put comment directly on class. | <ide><path>rc/test/java/pt/fccn/mobile/arquivo/tests/imagesearch/ImageAdvancedSearchTest.java
<ide> import pt.fccn.arquivo.selenium.WebDriverTestBaseParalell;
<ide>
<ide> /**
<add> * Test the search of one term in the index interface.
<ide> *
<ide> * @author ivo.branco@fccn.pt
<ide> *
<ide> */
<ide> public class I... | |
Java | epl-1.0 | 7ae596a143712609413d80d483e9de66ef541d28 | 0 | RadicalZephyr/ev3java | /* @(#)MovePopulation.java
*/
/**
*
*
* @author <a href="mailto:geoff@minty-dark-tower">Geoff Shannon</a>
*/
package wall_follower;
import java.util.Random;
import java.util.Collections;
import java.util.NavigableSet;
import java.util.TreeSet;
import java.util.List;
import java.util.ArrayList;
import org.slf4j... | src/java/wall_follower/MovePopulation.java | /* @(#)MovePopulation.java
*/
/**
*
*
* @author <a href="mailto:geoff@minty-dark-tower">Geoff Shannon</a>
*/
package wall_follower;
import java.util.Random;
import java.util.Collections;
import java.util.NavigableSet;
import java.util.TreeSet;
import java.util.List;
import java.util.ArrayList;
import org.slf4j... | Log population size during incrementGeneration
| src/java/wall_follower/MovePopulation.java | Log population size during incrementGeneration | <ide><path>rc/java/wall_follower/MovePopulation.java
<ide>
<ide> private void incrementGeneration() {
<ide> logger.trace("incrementGeneration");
<del>
<add> logger.debug("population size before: {}", totalPopulation);
<ide> generation++;
<ide> iteration = 0;
<ide> nextGenerat... | |
Java | lgpl-2.1 | 98a6de17c811fccd69fe7e7035bd935009fc98c9 | 0 | jfree/jfreechart,GitoMat/jfreechart,GitoMat/jfreechart,simon04/jfreechart,simon04/jfreechart,jfree/jfreechart,jfree/jfreechart,GitoMat/jfreechart,jfree/jfreechart,simon04/jfreechart,GitoMat/jfreechart,simon04/jfreechart | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2013, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | source/org/jfree/chart/resources/JFreeChartResources.java | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2013, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | Fixed NB warnings. | source/org/jfree/chart/resources/JFreeChartResources.java | Fixed NB warnings. | <ide><path>ource/org/jfree/chart/resources/JFreeChartResources.java
<ide> *
<ide> * @return The resources.
<ide> */
<add> @Override
<ide> public Object[][] getContents() {
<ide> return CONTENTS;
<ide> } | |
Java | apache-2.0 | 6844004d68fce452482a010f9dde9cbe1d267258 | 0 | apache/manifoldcf,kishorejangid/manifoldcf,apache/manifoldcf,kishorejangid/manifoldcf,apache/manifoldcf,apache/manifoldcf,kishorejangid/manifoldcf,apache/manifoldcf,kishorejangid/manifoldcf,kishorejangid/manifoldcf,apache/manifoldcf,kishorejangid/manifoldcf | /* $Id: Messages.java 1596720 2014-05-22 00:57:29Z kwright $ */
/**
* 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... | connectors/tikaservice/connector/src/main/java/org/apache/manifoldcf/agents/transformation/tikaservice/Messages.java | /* $Id: Messages.java 1596720 2014-05-22 00:57:29Z kwright $ */
/**
* 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... | Point to the right keys and resources
git-svn-id: 828a9725dd27f8053d9edf1dcbc46acbd8943f80@1794912 13f79535-47bb-0310-9956-ffa450edef68
| connectors/tikaservice/connector/src/main/java/org/apache/manifoldcf/agents/transformation/tikaservice/Messages.java | Point to the right keys and resources | <ide><path>onnectors/tikaservice/connector/src/main/java/org/apache/manifoldcf/agents/transformation/tikaservice/Messages.java
<ide>
<ide> public class Messages extends org.apache.manifoldcf.ui.i18n.Messages
<ide> {
<del> public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.agents.transformation.tika... | |
Java | apache-2.0 | e420f621174607c0548ab7c44359e255d76626da | 0 | osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi | /*
* Copyright (c) OSGi Alliance (2010). All Rights Reserved.
*
* 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... | org.osgi.test.cases.framework/src/org/osgi/test/cases/framework/junit/hooks/bundle/BundleHookTests.java | /*
* Copyright (c) OSGi Alliance (2010). All Rights Reserved.
*
* 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... | Add bundle FindHook install testcase. | org.osgi.test.cases.framework/src/org/osgi/test/cases/framework/junit/hooks/bundle/BundleHookTests.java | Add bundle FindHook install testcase. | <ide><path>rg.osgi.test.cases.framework/src/org/osgi/test/cases/framework/junit/hooks/bundle/BundleHookTests.java
<ide> regHook2.unregister();
<ide> if (regHook3 != null)
<ide> regHook3.unregister();
<add> }
<add> }
<add>
<add> public void testFindHookInstall() {
<add> final BundleContext testContext = get... | |
Java | mit | error: pathspec 'BinaryHeap_PriorityQueue/MinHeap.java' did not match any file(s) known to git
| 328e4493cfa303dd6043632e0f80f2c2337b319b | 1 | sunnysetia93/competitive-coding-problems,sunnysetia93/competitive-coding-problems,sunnysetia93/competitive-coding-problems,sunnysetia93/competitive-coding-problems,sunnysetia93/competitive-coding-problems,sunnysetia93/competitive-coding-problems |
import java.util.*;
class MinHeap {
private int size;
private int capacity;
private int[] heap;
public MinHeap(int capacity){
this.size = -1;
this.capacity=capacity;
this.heap = new int[capacity];
}
private int parent(int pos) {
if(pos%2==0)
re... | BinaryHeap_PriorityQueue/MinHeap.java | binary min heap
| BinaryHeap_PriorityQueue/MinHeap.java | binary min heap | <ide><path>inaryHeap_PriorityQueue/MinHeap.java
<add>
<add>import java.util.*;
<add>
<add>class MinHeap {
<add> private int size;
<add> private int capacity;
<add> private int[] heap;
<add>
<add> public MinHeap(int capacity){
<add> this.size = -1;
<add> this.capacity=capacity;
<add> thi... | |
Java | apache-2.0 | 841b10573bb4beaa4cea778453b7b0e000a3ba7a | 0 | simplifyops/cli-toolbelt | package com.simplifyops.toolbelt;
import java.io.*;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.nio.channels.Channels;
import java.nio.file.Files;
import java.util.*;
import java.util.function.Supplier;
import java.util.stream.Col... | toolbelt/src/main/java/com/simplifyops/toolbelt/ToolBelt.java | package com.simplifyops.toolbelt;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.util.*;
/**
* Construct subcommands
*/
public class ToolBelt {
private CommandSet comman... | Add banner text option
| toolbelt/src/main/java/com/simplifyops/toolbelt/ToolBelt.java | Add banner text option | <ide><path>oolbelt/src/main/java/com/simplifyops/toolbelt/ToolBelt.java
<ide> package com.simplifyops.toolbelt;
<ide>
<del>import java.io.PrintWriter;
<del>import java.io.StringWriter;
<add>import java.io.*;
<ide> import java.lang.reflect.InvocationTargetException;
<ide> import java.lang.reflect.Method;
<ide> import j... | |
Java | mit | 83e9b4d4090a3eb94becbb8f4eb5966bdf523f58 | 0 | sormuras/bach,sormuras/bach | /*
* Bach - Java Shell Builder
* Copyright (C) 2017 Christian Stein
*
* 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 re... | src/bach/Bach.java | /*
* Bach - Java Shell Builder
* Copyright (C) 2017 Christian Stein
*
* 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 re... | Cleanup resolveJdkTool(String) implementation
| src/bach/Bach.java | Cleanup resolveJdkTool(String) implementation | <ide><path>rc/bach/Bach.java
<ide> static Path RESOLVE_PATH = Paths.get(sys("bach.resolve.path", BACH_PATH.resolve("resolved")));
<ide> static String RESOLVABLE_VERSION = sys("bach.resolvable.version", "RELEASE");
<ide> static Path JDK_HOME = Basics.resolveJdkHome();
<add> static List<String> JDK_TOOL_SU... | |
JavaScript | mit | 4f3e0076a405901e0bd7215c9619caf9d40d4572 | 0 | Autodesk-Forge/forge.commandline-nodejs,Autodesk-Forge/forge.commandline-nodejs | //
// Copyright (c) 2016 Autodesk, 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, publ... | api/other.js | //
// Copyright (c) 2016 Autodesk, 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, publ... | support for SVF2
| api/other.js | support for SVF2 | <ide><path>pi/other.js
<ide> static set viewerVersion (val) { Forge_Other._viewerVersion = val; }
<ide> static get viewerServerPath () { return ('https://developer.api.autodesk.com/modelderivative/v2/viewers'); }
<ide> static get viewerLocalPath () { return (''); }
<del> static get endpoint () { return ('http://loca... | |
Java | bsd-3-clause | 1b802f6a3213d2eceb29bd97fca297d2b1f490fd | 0 | muloem/xins,muloem/xins,muloem/xins | /*
* $Id$
*/
package org.xins.util.collections.expiry;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import org.xins.util.MandatoryArgumentChecker;
import org.xins.util.threads.Doorman;
/**
* Expiry f... | src/java-common/org/xins/util/collections/expiry/ExpiryFolder.java | /*
* $Id$
*/
package org.xins.util.collections.expiry;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import org.xins.util.MandatoryArgumentChecker;
import org.xins.util.threads.Doorman;
/**
* Expiry f... | Improved logging and error checking.
| src/java-common/org/xins/util/collections/expiry/ExpiryFolder.java | Improved logging and error checking. | <ide><path>rc/java-common/org/xins/util/collections/expiry/ExpiryFolder.java
<ide> synchronized (_sizeLock) {
<ide> _size -= toBeExpiredSize;
<ide> newSize = _size;
<del> }
<del>
<add> if (_size < 0) {
<add> _size = 0;
<add> }
<add> }
... | |
JavaScript | mit | f1c756d81954a66fd308aae24fc58128fb947a06 | 0 | eriser/timbre.js,ABaldwinHunter/timbre.js,mohayonao/timbre.js,ABaldwinHunter/timbre.js-classic,ABaldwinHunter/timbre.js-classic,mohayonao/timbre.js,ABaldwinHunter/timbre.js,eriser/timbre.js | var T = require("./timbre.debug.js");
var assert = require("chai").assert;
describe('T("mml")', function() {
it("new", function() {
assert.equal(T("mml").toString(), "MML");
});
describe("mml test", function() {
it("tone", function(done) {
var list = [], prev = null;
... | test/mml.js | var T = require("./timbre.debug.js");
var assert = require("chai").assert;
describe('T("MML")', function() {
it("new", function() {
assert.equal(T("MML").toString(), "MML");
});
describe("mml test", function() {
it("tone", function(done) {
var list = [], prev = null;
... | update test
| test/mml.js | update test | <ide><path>est/mml.js
<ide> var T = require("./timbre.debug.js");
<ide> var assert = require("chai").assert;
<ide>
<del>describe('T("MML")', function() {
<add>describe('T("mml")', function() {
<ide> it("new", function() {
<del> assert.equal(T("MML").toString(), "MML");
<add> assert.equal(T("mml").toS... | |
Java | lgpl-2.1 | fe56d238662cfd18c1a0e42a67d272dc03fa1c98 | 0 | elsiklab/intermine,kimrutherford/intermine,zebrafishmine/intermine,zebrafishmine/intermine,JoeCarlson/intermine,kimrutherford/intermine,justincc/intermine,tomck/intermine,tomck/intermine,joshkh/intermine,justincc/intermine,elsiklab/intermine,JoeCarlson/intermine,joshkh/intermine,kimrutherford/intermine,justincc/intermi... | package org.intermine.webservice.client.util;
/*
* Copyright (C) 2002-2011 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyl... | intermine/webservice/client/main/src/org/intermine/webservice/client/util/HttpConnection.java | package org.intermine.webservice.client.util;
/*
* Copyright (C) 2002-2011 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyl... | Better reporting of what url we are trying to connect to.
| intermine/webservice/client/main/src/org/intermine/webservice/client/util/HttpConnection.java | Better reporting of what url we are trying to connect to. | <ide><path>ntermine/webservice/client/main/src/org/intermine/webservice/client/util/HttpConnection.java
<ide> private void executeMethod() {
<ide> HttpClient client = new HttpClient();
<ide> client.getParams().setConnectionManagerTimeout(timeout);
<del> String url = null;
<add> String ... | |
Java | apache-2.0 | 8908775495beff1c793d29579e02157531b1859a | 0 | chongma/BootsFaces-OSP,mtvweb/BootsFaces-OSP,jepsar/BootsFaces-OSP,mtvweb/BootsFaces-OSP,TheCoder4eu/BootsFaces-OSP,asterd/BootsFaces-OSP,asterd/BootsFaces-OSP,jepsar/BootsFaces-OSP,chongma/BootsFaces-OSP,TheCoder4eu/BootsFaces-OSP | /**
* Copyright 2015 Stephan Rauh, http://www.beyondjava.net
*
* This file is part of BootsFaces.
*
* BootsFaces is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the L... | src/net/bootsfaces/listeners/AddResourcesListener.java | /**
* Copyright 2015 Stephan Rauh, http://www.beyondjava.net
*
* This file is part of BootsFaces.
*
* BootsFaces is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the L... | Added configuration for FontAwesome | src/net/bootsfaces/listeners/AddResourcesListener.java | Added configuration for FontAwesome | <ide><path>rc/net/bootsfaces/listeners/AddResourcesListener.java
<ide>
<ide> // deactive FontAwesome support if the no-fa facet is found in the h:head tag
<ide> UIComponent header = findHeader(root);
<del> boolean usefa = (null == header) || (null == header.getFacet("no-fa"));
<del> // Fo... | |
Java | apache-2.0 | 44d8fbbe9cacbb0649d03f8cd6272fda72001ccc | 0 | sonu283304/onos,mengmoya/onos,mengmoya/onos,opennetworkinglab/onos,mengmoya/onos,planoAccess/clonedONOS,maheshraju-Huawei/actn,sonu283304/onos,Shashikanth-Huawei/bmp,LorenzReinhart/ONOSnew,VinodKumarS-Huawei/ietf96yang,gkatsikas/onos,LorenzReinhart/ONOSnew,y-higuchi/onos,kuujo/onos,kuujo/onos,donNewtonAlpha/onos,donNew... | /*
* 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... | core/store/persistence/src/main/java/org/onosproject/persistence/impl/PersistenceManager.java | /*
* 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... | Revert PersistenceManager change to use karaf data directory
Change-Id: Icc43b4e5718e1834cf93ddcd042bdac2a8a524a8
| core/store/persistence/src/main/java/org/onosproject/persistence/impl/PersistenceManager.java | Revert PersistenceManager change to use karaf data directory | <ide><path>ore/store/persistence/src/main/java/org/onosproject/persistence/impl/PersistenceManager.java
<ide> @Service
<ide> public class PersistenceManager implements PersistenceService {
<ide>
<del> private static final String DATABASE_PATH = System.getProperty("karaf.data", "./data/localDB");
<del> private st... | |
Java | apache-2.0 | 8217570c7b71b79a9c8e0c3e899bb09c9ba70909 | 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-2018 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.execution.configurations;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.application.ApplicationManager;
import com.intelli... | platform/platform-api/src/com/intellij/execution/configurations/PtyCommandLine.java | // Copyright 2000-2018 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.execution.configurations;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.application.ApplicationManager;
import com.intelli... | pty: allow to enable ANSI colors with consoleMode=true
| platform/platform-api/src/com/intellij/execution/configurations/PtyCommandLine.java | pty: allow to enable ANSI colors with consoleMode=true | <ide><path>latform/platform-api/src/com/intellij/execution/configurations/PtyCommandLine.java
<ide> private int myInitialColumns = -1;
<ide> private int myInitialRows = -1;
<ide>
<add> private boolean myWindowsAnsiColorEnabled = false;
<add>
<ide> public PtyCommandLine() { }
<ide>
<ide> /**
<ide> myIni... | |
Java | lgpl-2.1 | 29160cad6480a3ad8c5d60f5bae82a77dc7031b2 | 0 | xwiki/xwiki-commons,xwiki/xwiki-commons | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/internal/DefaultVelocityFactory.java | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | XWIKI-16506: Warnings in the console about using ":" in a JMX object name when deleting an attachment from the default wiki skin
| xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/internal/DefaultVelocityFactory.java | XWIKI-16506: Warnings in the console about using ":" in a JMX object name when deleting an attachment from the default wiki skin | <ide><path>wiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/internal/DefaultVelocityFactory.java
<ide> // Register a JMX MBean for providing information about the created Velocity Engine (template namespaces,
<ide> // macros, etc).
<ide> JMXVelocityEngineMBean mbean = ne... | |
Java | apache-2.0 | a6bd647e892dac29a8fcc18494f8c46e6446ffe2 | 0 | amaembo/huntbugs,Maccimo/huntbugs | /*
* Copyright 2016 HuntBugs contributors
*
* 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 ... | huntbugs/src/main/java/one/util/huntbugs/detect/DeadLocalStore.java | /*
* Copyright 2016 HuntBugs contributors
*
* 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 ... | DeadLocalStore: generated vars ignored; priority lowered for DLS of "" | huntbugs/src/main/java/one/util/huntbugs/detect/DeadLocalStore.java | DeadLocalStore: generated vars ignored; priority lowered for DLS of "" | <ide><path>untbugs/src/main/java/one/util/huntbugs/detect/DeadLocalStore.java
<ide> }
<ide> if(expr.getCode() == AstCode.Store) {
<ide> Variable var = (Variable) expr.getOperand();
<add> if(var.isGenerated())
<add> return;
<ide> Expression arg = expr.get... | |
JavaScript | apache-2.0 | b8d31a9e4dacd958d774a0f62bd1f7ea268e7ccd | 0 | pixelhumain/co2,pixelhumain/co2,pixelhumain/co2,pixelhumain/co2 | dynForm = {
jsonSchema : {
title : trad.addEvent,
icon : "calendar",
type : "object",
onLoads : {
//pour creer un subevnt depuis un event existant
sub : function(){
$("#ajax-modal .modal-header").removeClass("bg-dark bg-purple bg-red bg-azure bg-green bg-green-poi bg-... | assets/js/dynForm/event.js | dynForm = {
jsonSchema : {
title : trad.addEvent,
icon : "calendar",
type : "object",
onLoads : {
//pour creer un subevnt depuis un event existant
sub : function(){
$("#ajax-modal .modal-header").removeClass("bg-dark bg-purple bg-red bg-azure bg-green bg-green-poi bg-... |
remove alert beforesaveevent | assets/js/dynForm/event.js | <ide><path>ssets/js/dynForm/event.js
<ide> }
<ide> },
<ide> beforeSave : function(){
<del> alert("onBeforeSave");
<del>
<ide> if( !$("#ajaxFormModal #allDay").val())
<ide> $("#ajaxFormModal #allDay").val(false);
<ide> if( typeof $("#ajaxFormModal #description").code === 'fu... | ||
JavaScript | mit | aaf0f31c5b30419cde0f7794f5d9c67dd5243427 | 0 | mafintosh/flat-tree | exports.fullRoots = function (index, result) {
if (index & 1) throw new Error('You can only look up roots for depth(0) blocks')
if (!result) result = []
index /= 2
var offset = 0
var factor = 1
while (true) {
if (!index) return result
while (factor * 2 <= index) factor *= 2
result.push(offset... | index.js | exports.fullRoots = function (index, result) {
if (index & 1) throw new Error('You can only look up roots for depth(0) blocks')
if (!result) result = []
index /= 2
var offset = 0
var factor = 1
while (true) {
if (!index) return result
while (factor * 2 <= index) factor *= 2
result.push(offset... | add ite.contains
| index.js | add ite.contains | <ide><path>ndex.js
<ide> }
<ide>
<ide> Iterator.prototype.isLeft = function () {
<del> return !(this.offset & 1)
<add> return (this.offset & 1) === 0
<ide> }
<ide>
<ide> Iterator.prototype.isRight = function () {
<del> return !this.isLeft()
<add> return (this.offset & 1) === 1
<add>}
<add>
<add>Iterator.prototype... | |
JavaScript | mit | eb56386399bebe0bc9a661643ad4d5b74079f40a | 0 | JakduK/jakduk-web,JakduK/jakduk-web | const querystring = require('querystring');
const express = require('express');
const i18n = require('i18n');
const Util = require('../../helpers/jakduk_util');
const config = require('../../config/environment');
function index(req, res, next) {
req.api.footballClubs(req.locale).then(response => {
const football... | server/routes/join/index.js | const querystring = require('querystring');
const express = require('express');
const i18n = require('i18n');
const Util = require('../../helpers/jakduk_util');
const config = require('../../config/environment');
function index(req, res, next) {
req.api.footballClubs(req.locale).then(response => {
const football... | fixed #143
| server/routes/join/index.js | fixed #143 | <ide><path>erver/routes/join/index.js
<ide> res.redirect(req.query.redir || '/');
<ide> });
<ide> } else {
<del> res.redirect('/login');
<add> next({
<add> status: response.statusCode,
<add> message: response.data,
<add> });
<ide> }
<ide> }).catch(next);
<ide> } | |
Java | apache-2.0 | 92dbf836a1b12561860eefb2ecb0f6f3d1371427 | 0 | mrkingybc/spring-security,tekul/spring-security,wilkinsona/spring-security,justinedelson/spring-security,eddumelendez/spring-security,Peter32/spring-security,ractive/spring-security,raindev/spring-security,vitorgv/spring-security,thomasdarimont/spring-security,liuguohua/spring-security,jmnarloch/spring-security,zgscwjm... | /* Copyright 2004 Acegi Technology Pty Limited
*
* 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... | core/src/main/java/org/acegisecurity/vote/AccessDecisionVoter.java | /* Copyright 2004 Acegi Technology Pty Limited
*
* 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... | SEC-259: Correct JavaDoc error.
| core/src/main/java/org/acegisecurity/vote/AccessDecisionVoter.java | SEC-259: Correct JavaDoc error. | <ide><path>ore/src/main/java/org/acegisecurity/vote/AccessDecisionVoter.java
<ide> * This allows the <code>AbstractSecurityInterceptor</code> to check every
<ide> * configuration attribute can be consumed by the configured
<ide> * <code>AccessDecisionManager</code> and/or <code>RunAsManager</code>
<del> ... | |
Java | apache-2.0 | 66068eb21179e4b7bfa7514af539e1cb4cefe3a6 | 0 | PayStax/paystax-java-client | /**
* Copyright 2013-2016 PayStax, LLC
*
* 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 app... | src/test/java/com/paystax/client/SEPAPaymentMethodIT.java | /**
* Copyright 2013-2016 PayStax, LLC
*
* 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 app... | Fixing compilation error
| src/test/java/com/paystax/client/SEPAPaymentMethodIT.java | Fixing compilation error | <ide><path>rc/test/java/com/paystax/client/SEPAPaymentMethodIT.java
<ide> assertThat(paymentMethod.getPayerId(), equalTo(payer.getId()));
<ide> assertThat(paymentMethod.getCreditorId(), equalTo("DE98ZZZ09999999999"));
<ide> assertThat(paymentMethod.getMandateId(), notNullValue());
<del> assertThat(paymentMethod.... | |
Java | apache-2.0 | 566069f05256503fc968c9a2e6470cb9c0044311 | 0 | witchpou/lirejarp,witchpou/lirejarp,witchpou/lirejarp | package logic;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.PrintWriter;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Collection;
import org.ap... | projectbuilder/src/main/java/logic/ProjectSetupService.java | package logic;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.PrintWriter;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Collection;
import org.ap... | comment renaming of project | projectbuilder/src/main/java/logic/ProjectSetupService.java | comment renaming of project | <ide><path>rojectbuilder/src/main/java/logic/ProjectSetupService.java
<ide> public final static String[] EXT = new String[] { "java", "js", "html", "sql","xml" };
<ide> final static Logger LOG = Logger.getLogger(ProjectSetupService.class);
<ide>
<add> /**
<add> * This is used for renaming the whole project. Rename... | |
Java | apache-2.0 | efa7094cc517031729998c6b9828b65a6e8b4cca | 0 | Plonk42/mytracks | /*
* Copyright 2012 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... | MyTracksTest/src/com/google/android/apps/mytracks/io/maps/ChooseMapAsyncTaskTest.java | /*
* Copyright 2012 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... | Change some code for ChooseMapAsyncTaskTest.
| MyTracksTest/src/com/google/android/apps/mytracks/io/maps/ChooseMapAsyncTaskTest.java | Change some code for ChooseMapAsyncTaskTest. | <ide><path>yTracksTest/src/com/google/android/apps/mytracks/io/maps/ChooseMapAsyncTaskTest.java
<ide> package com.google.android.apps.mytracks.io.maps;
<ide>
<ide> import com.google.android.testing.mocking.AndroidMock;
<del>import com.google.android.testing.mocking.UsesMocks;
<ide>
<ide> import android.accounts.Accou... | |
Java | mit | 6e71a7caf53e42e255dd66dac8dcbe73ece07e16 | 0 | citrix/ShareFile-Java,citrix/ShareFile-Java | package com.sharefile.api;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicReference;
import com.sharefile.api.authentication.SFOAuth2Token;
import com.sharefile.api.constants.... | ShareFileSDKAndroid/src/com/sharefile/api/SFApiClient.java | package com.sharefile.api;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicReference;
import com.sharefile.api.authentication.SFOAuth2Token;
import com.sharefile.api.constants.SFKeywords;
import com.sharef... | Use outputstreams for downloads
| ShareFileSDKAndroid/src/com/sharefile/api/SFApiClient.java | Use outputstreams for downloads | <ide><path>hareFileSDKAndroid/src/com/sharefile/api/SFApiClient.java
<ide>
<ide> import java.io.FileOutputStream;
<ide> import java.io.InputStream;
<add>import java.io.OutputStream;
<ide> import java.util.concurrent.atomic.AtomicBoolean;
<ide> import java.util.concurrent.atomic.AtomicReference;
<ide>
<ide> return m... | |
Java | agpl-3.0 | 0d2adefee43f74405a030cb753ff4b44bd309619 | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | e70463d2-2e5f-11e5-9284-b827eb9e62be | hello.java | e6fefdfc-2e5f-11e5-9284-b827eb9e62be | e70463d2-2e5f-11e5-9284-b827eb9e62be | hello.java | e70463d2-2e5f-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>e6fefdfc-2e5f-11e5-9284-b827eb9e62be
<add>e70463d2-2e5f-11e5-9284-b827eb9e62be | |
JavaScript | mit | e16e28d942cf1f3049f1e621486f29ae5114f448 | 0 | France-ioi/TaskPlatform,France-ioi/TaskPlatform,France-ioi/TaskPlatform,France-ioi/TaskPlatform | var app = angular.module('pemTask', ['ui.bootstrap','submission-manager']);
angular.module('pemTask')
.controller('taskController', ['$scope', '$http', function($scope, $http) {
ModelsManager.init(models);
SyncQueue.init(ModelsManager);
SyncQueue.params.action = 'getAll';
SyncQueue.params.sToken = sToken;
... | taskController.js | var app = angular.module('pemTask', ['ui.bootstrap','submission-manager']);
angular.module('pemTask')
.controller('taskController', ['$scope', '$http', function($scope, $http) {
ModelsManager.init(models);
SyncQueue.init(ModelsManager);
SyncQueue.params.action = 'getAll';
SyncQueue.params.sToken = sToken;
... | print submission loading through default submission
| taskController.js | print submission loading through default submission | <ide><path>askController.js
<ide> }
<ide>
<ide> $scope.submitAnswer = function() {
<add> this.submission = {ID: 0, bEvaluated: false, tests: [], submissionSubtasks: []};
<ide> $http.post('saveAnswer.php', {sToken: sToken, sPlatform: SyncQueue.params.sPlatform}, {responseType: 'json'}).success(function... | |
JavaScript | mit | d4da3f0aa1e94fcb2e040cbcc10e0919a0f8e566 | 0 | jbaicoianu/janusweb,jbaicoianu/janusweb,jbaicoianu/janusweb | elation.require(['janusweb.janusbase'], function() {
let shaderdef = {
vertex: `
attribute float size;
attribute vec4 customColor;
varying vec4 vColor;
void main() {
vColor = customColor;
vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );
gl_PointSize = siz... | scripts/janusparticle.js | elation.require(['janusweb.janusbase'], function() {
let shaderdef = {
vertex: `
attribute float size;
attribute vec4 customColor;
varying vec4 vColor;
void main() {
vColor = customColor;
vec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );
gl_PointSize = siz... | Alpha fix for particles
| scripts/janusparticle.js | Alpha fix for particles | <ide><path>cripts/janusparticle.js
<ide> var texture = null;
<ide> if (this.image_id) {
<ide> texture = this.getAsset('image', this.image_id);
<del> //elation.events.add(texture, 'asset_load', elation.bind(this, this.assignTextures));
<add> elation.events.add(texture, 'asset_load', ela... | |
Java | apache-2.0 | d4a37aa856f8743b1a305d2d2211d66d8b0a48d0 | 0 | statsbiblioteket/doms-update-tracker,statsbiblioteket/doms-update-tracker | package dk.statsbiblioteket.doms.updatetracker.improved.database.dao;
import dk.statsbiblioteket.doms.updatetracker.improved.database.datastructures.LatestKey;
import dk.statsbiblioteket.doms.updatetracker.improved.database.datastructures.Record;
import org.hibernate.Criteria;
import org.hibernate.FlushMode;
import or... | updatetracker-lib/src/main/java/dk/statsbiblioteket/doms/updatetracker/improved/database/dao/DB.java | package dk.statsbiblioteket.doms.updatetracker.improved.database.dao;
import dk.statsbiblioteket.doms.updatetracker.improved.database.datastructures.LatestKey;
import dk.statsbiblioteket.doms.updatetracker.improved.database.datastructures.Record;
import org.hibernate.Criteria;
import org.hibernate.FlushMode;
import or... | lookup method matches the lookup queries
| updatetracker-lib/src/main/java/dk/statsbiblioteket/doms/updatetracker/improved/database/dao/DB.java | lookup method matches the lookup queries | <ide><path>pdatetracker-lib/src/main/java/dk/statsbiblioteket/doms/updatetracker/improved/database/dao/DB.java
<ide> query.setTimestamp("since", since)
<ide> .setString("collection", collection)
<ide> .setString("viewAngle", viewAngle)
<del> .setLong("limit", limit);
<add> ... | |
Java | apache-2.0 | 1700ca4605ac4afe897ccf8c4377d473c67ed66b | 0 | kaif-open/kaif,kaif-open/kaif,kaif-open/kaif | package io.kaif.model.debate;
import java.time.Instant;
import java.util.Optional;
import java.util.UUID;
import javax.annotation.Nullable;
import com.google.common.base.Preconditions;
import io.kaif.flake.FlakeId;
import io.kaif.kmark.KmarkProcessor;
import io.kaif.model.account.Account;
import io.kaif.model.artic... | kaif-web/src/main/java/io/kaif/model/debate/Debate.java | package io.kaif.model.debate;
import java.time.Instant;
import java.util.Optional;
import java.util.UUID;
import javax.annotation.Nullable;
import com.google.common.base.Preconditions;
import io.kaif.flake.FlakeId;
import io.kaif.kmark.KmarkProcessor;
import io.kaif.model.account.Account;
import io.kaif.model.artic... | make kmark processor static field
| kaif-web/src/main/java/io/kaif/model/debate/Debate.java | make kmark processor static field | <ide><path>aif-web/src/main/java/io/kaif/model/debate/Debate.java
<ide> private static final int MAX_LEVEL = 10;
<ide> public static final int CONTENT_MIN = 10;
<ide> public static final int CONTENT_MAX = 4096;
<add> public static final KmarkProcessor kmarkProcessor = new KmarkProcessor();
<ide>
<ide> public ... | |
Java | apache-2.0 | 64b69db62f4fb34fe73c90ca5b14a8933d652717 | 0 | facebook/screenshot-tests-for-android,facebook/screenshot-tests-for-android,facebook/screenshot-tests-for-android,facebook/screenshot-tests-for-android | /**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
* <p>
* 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.
*/
packag... | core/src/main/java/com/facebook/testing/screenshot/internal/ScreenshotDirectories.java | /**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
* <p>
* 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.
*/
packag... | Revert scope change
| core/src/main/java/com/facebook/testing/screenshot/internal/ScreenshotDirectories.java | Revert scope change | <ide><path>ore/src/main/java/com/facebook/testing/screenshot/internal/ScreenshotDirectories.java
<ide> class ScreenshotDirectories {
<ide> private Context mContext;
<ide>
<del> ScreenshotDirectories(Context context) {
<add> public ScreenshotDirectories(Context context) {
<ide> mContext = context;
<ide> }
<id... | |
Java | apache-2.0 | fe6b560ccb53f07f1b9cb72639722e55e240c9ad | 0 | bstopp/acs-aem-commons,SachinMali/acs-aem-commons,Adobe-Consulting-Services/acs-aem-commons,dfoerderreuther/acs-aem-commons,Adobe-Consulting-Services/acs-aem-commons,dfoerderreuther/acs-aem-commons,Adobe-Consulting-Services/acs-aem-commons,dfoerderreuther/acs-aem-commons,SachinMali/acs-aem-commons,bstopp/acs-aem-common... | /*
* #%L
* ACS AEM Commons Bundle
* %%
* Copyright (C) 2017 Adobe
* %%
* 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... | bundle/src/main/java/com/adobe/acs/commons/mcp/form/GeneratedDialog.java | /*
* #%L
* ACS AEM Commons Bundle
* %%
* Copyright (C) 2017 Adobe
* %%
* 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... | Configure MCP Form with an id and set to async by default
| bundle/src/main/java/com/adobe/acs/commons/mcp/form/GeneratedDialog.java | Configure MCP Form with an id and set to async by default | <ide><path>undle/src/main/java/com/adobe/acs/commons/mcp/form/GeneratedDialog.java
<ide> if (sling != null) {
<ide> form.setHelper(sling);
<ide> form.setPath(sling.getRequest().getResource().getPath());
<add> form.setAsync(true);
<add> form.getCo... | |
JavaScript | bsd-3-clause | cf66ffa994aa1d19c7297a6d322e44fe22344896 | 0 | wshager/frink,wshager/frink | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.str2array = str2array;
exports.array2str = array2str;
exports.convert = convert;
exports.toL3 = toL3;
exports.fromL3Stream = fromL3Stream;
exports.toJS = toJS;
var _inode2 = require("./inode");
var inode = _interopRequireWildcard(_... | lib/l3.js | "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.str2array = str2array;
exports.array2str = array2str;
exports.convert = convert;
exports.toL3 = toL3;
exports.fromL3Stream = fromL3Stream;
exports.toJS = toJS;
var _inode2 = require("./inode");
var inode = _interopRequireWildcard(_... | fixes to build
| lib/l3.js | fixes to build | <ide><path>ib/l3.js
<ide> ret.text += "n.seq(";
<ide> if(!ret.seqs[depth]) {
<ide> ret.seqs[depth] = {};
<add> console.log("open seq",depth,ret.text);
<ide> } else {
<ide> // TODO what?
<ide> }
<ide> {
<ide> let depth = node.depth;
<ide> ret.quo... | |
Java | mit | 910a93e9d78d08ba41f872dc0fca186df7a5589a | 0 | EvidentSolutions/apina,EvidentSolutions/apina,EvidentSolutions/apina | package fi.evident.apina.spring;
import fi.evident.apina.java.model.ClassMetadataCollection;
import fi.evident.apina.java.model.JavaClass;
import fi.evident.apina.java.model.type.*;
import fi.evident.apina.model.ApiDefinition;
import fi.evident.apina.model.ClassDefinition;
import fi.evident.apina.model.PropertyDefinit... | apina-core/src/main/java/fi/evident/apina/spring/TypeTranslator.java | package fi.evident.apina.spring;
import fi.evident.apina.java.model.ClassMetadataCollection;
import fi.evident.apina.java.model.JavaClass;
import fi.evident.apina.java.model.JavaMethod;
import fi.evident.apina.java.model.type.*;
import fi.evident.apina.model.ApiDefinition;
import fi.evident.apina.model.ClassDefinition... | Ignore getters and fields annotated with @JsonIgnore
| apina-core/src/main/java/fi/evident/apina/spring/TypeTranslator.java | Ignore getters and fields annotated with @JsonIgnore | <ide><path>pina-core/src/main/java/fi/evident/apina/spring/TypeTranslator.java
<ide>
<ide> import fi.evident.apina.java.model.ClassMetadataCollection;
<ide> import fi.evident.apina.java.model.JavaClass;
<del>import fi.evident.apina.java.model.JavaMethod;
<ide> import fi.evident.apina.java.model.type.*;
<ide> import fi... | |
Java | epl-1.0 | d547c2eeec8a1d1758bdb17e3bdfefe3bac6fcc7 | 0 | aschmois/ForgeEssentialsMain,liachmodded/ForgeEssentials,CityOfLearning/ForgeEssentials,planetguy32/ForgeEssentials,ForgeEssentials/ForgeEssentialsMain,Techjar/ForgeEssentials | package com.ForgeEssentials.data;
import java.io.File;
import java.util.ArrayList;
import net.minecraftforge.common.ConfigCategory;
import net.minecraftforge.common.Configuration;
import net.minecraftforge.common.Property;
import com.ForgeEssentials.core.ForgeEssentials;
import com.ForgeEssentials.data.TaggedClass.S... | src/FE_SRC_COMMON/com/ForgeEssentials/data/ForgeConfigDataDriver.java | package com.ForgeEssentials.data;
import java.io.File;
import java.util.ArrayList;
import net.minecraftforge.common.ConfigCategory;
import net.minecraftforge.common.Configuration;
import net.minecraftforge.common.Property;
import com.ForgeEssentials.core.ForgeEssentials;
import com.ForgeEssentials.data.TaggedClass.S... | fixed saving of the ForgeConfig driver
| src/FE_SRC_COMMON/com/ForgeEssentials/data/ForgeConfigDataDriver.java | fixed saving of the ForgeConfig driver | <ide><path>rc/FE_SRC_COMMON/com/ForgeEssentials/data/ForgeConfigDataDriver.java
<ide> {
<ide> boolean wasSuccessful = false;
<ide>
<del> File file = this.getFilePath(type, objectData.uniqueKey);
<add> File file = this.getFilePath(type, objectData.uniqueKey.value);
<ide>
<ide> // Wipe existing Forge Configu... | |
Java | apache-2.0 | 5e27e3fca45eace1aef030f76a4df0ca9bd038ce | 0 | YosuaMichael/elasticsearch,tahaemin/elasticsearch,PhaedrusTheGreek/elasticsearch,codebunt/elasticsearch,luiseduardohdbackup/elasticsearch,ckclark/elasticsearch,njlawton/elasticsearch,codebunt/elasticsearch,Widen/elasticsearch,xpandan/elasticsearch,humandb/elasticsearch,schonfeld/elasticsearch,pablocastro/elasticsearch,... | /*
* Licensed to Elastic Search and Shay Banon under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Elastic Search licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you m... | modules/elasticsearch/src/main/java/org/elasticsearch/index/percolator/PercolatorService.java | /*
* Licensed to Elastic Search and Shay Banon under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Elastic Search licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you m... | support reader as well
| modules/elasticsearch/src/main/java/org/elasticsearch/index/percolator/PercolatorService.java | support reader as well | <ide><path>odules/elasticsearch/src/main/java/org/elasticsearch/index/percolator/PercolatorService.java
<ide> } else {
<ide> Reader reader = field.readerValue();
<ide> if (reader != null) {
<del> System.err.println("Can't handle reader value currently in pe... | |
Java | apache-2.0 | 325f862f7083dd421b6a636d1dd8b5bb72779408 | 0 | zmhassan/fabric8,jimmidyson/fabric8,avano/fabric8,sobkowiak/fabric8,christian-posta/fabric8,EricWittmann/fabric8,migue/fabric8,punkhorn/fabric8,avano/fabric8,zmhassan/fabric8,jimmidyson/fabric8,jonathanchristison/fabric8,PhilHardwick/fabric8,rhuss/fabric8,avano/fabric8,KurtStam/fabric8,christian-posta/fabric8,PhilHardw... | /**
* Copyright (C) FuseSource, Inc.
* http://fusesource.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... | fabric/fabric-itests/smoke/src/test/java/io/fabric8/itests/smoke/ArchetypeTest.java | /**
* Copyright (C) FuseSource, Inc.
* http://fusesource.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... | #451 fix proper closing of all the fabric containers; also disabled the drools container creation; as we're waiting for a drools release that works in karaf
| fabric/fabric-itests/smoke/src/test/java/io/fabric8/itests/smoke/ArchetypeTest.java | #451 fix proper closing of all the fabric containers; also disabled the drools container creation; as we're waiting for a drools release that works in karaf | <ide><path>abric/fabric-itests/smoke/src/test/java/io/fabric8/itests/smoke/ArchetypeTest.java
<ide> package io.fabric8.itests.smoke;
<ide>
<ide> import io.fabric8.api.Container;
<add>import io.fabric8.api.FabricException;
<ide> import io.fabric8.api.FabricService;
<ide> import io.fabric8.api.ServiceProxy;
<ide> import... | |
Java | mit | 6ab1db3effc506213fcfa8387bc60f5e054dc6a7 | 0 | bionicrm/LolBot | package com.bionicrm.lolbot;
import com.google.common.collect.Lists;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class InputListener implements InputListenerController {
private static final Pattern CMD_PATTERN = Pattern.compile("(?:\"([^\"]*)\")|(\\S+)");
pri... | src/main/java/com/bionicrm/lolbot/InputListener.java | package com.bionicrm.lolbot;
import com.google.common.collect.Lists;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class InputListener implements InputListenerController {
private static final Pattern CMD_PATTERN = Pattern.compile("(?:\"([^\"]*)\")|(\\S+)");
pri... | Make variable final
| src/main/java/com/bionicrm/lolbot/InputListener.java | Make variable final | <ide><path>rc/main/java/com/bionicrm/lolbot/InputListener.java
<ide> // stop if we stopped listening
<ide> if ( ! listening) break;
<ide>
<del> List<String> splitLine = new ArrayList<>();
<add> final List<String> splitLine = new ArrayList<>();
<ide>
<ide> ... | |
Java | apache-2.0 | caf9d9887c19424417e3f07ee45ca80ba0f865e4 | 0 | square/pagerduty-incidents,square/pagerduty-incidents | /**
* Utility for programmatically triggering and resolving PagerDuty incidents.
*
* <h3>Usage</h3>
*
* Create an instance of {@link com.squareup.pagerduty.incidents.PagerDuty PagerDuty} with your
* service's API key:
* <pre>{@code
* PagerDuty pagerDuty = PagerDuty.create("API key");
* }</pre>
*
* Triggering... | src/main/java/com/squareup/pagerduty/incidents/package-info.java | /**
* Utility for programmatically triggering and resolving PagerDuty incidents.
*
* <h3>Usage</h3>
*
* Create an instance of {@link com.squareup.pagerduty.incidents.PagerDuty PagerDuty} with your
* service's API key:
* <pre>{@code
* PagerDuty pagerDuty = PagerDuty.create("API key");
* }</pre>
*
* Triggering... | Fix API sample | src/main/java/com/squareup/pagerduty/incidents/package-info.java | Fix API sample | <ide><path>rc/main/java/com/squareup/pagerduty/incidents/package-info.java
<ide> * You can also specify a custom incident key as well as additional name-value details:
<ide> * <pre>{@code
<ide> * Trigger trigger = new Trigger.Builder("Sync responded with code: " + code)
<del> * .withKey("feed-sync-12")
<add> * ... | |
JavaScript | mit | b0de918895dbae54319e8ad221adb754a5a9dc8d | 0 | putan/stubon | import fs from 'fs';
import glob from 'glob';
import url from 'url';
import yml from 'yamljs';
import chokidar from 'chokidar';
import express from 'express';
import https from 'https';
import bodyParser from 'body-parser';
import cors from 'cors';
// for log
const red = '\u001b[31m';
const green ... | src/stubon.js | import fs from 'fs';
import glob from 'glob';
import url from 'url';
import yml from 'yamljs';
import chokidar from 'chokidar';
import express from 'express';
import https from 'https';
import bodyParser from 'body-parser';
import cors from 'cors';
// for log
const red = '\u001b[31m';
const green ... | [clean] sort functions
| src/stubon.js | [clean] sort functions | <ide><path>rc/stubon.js
<ide> // utilities
<ide> //------------------------------------------------------------------------------
<ide> const privates = {
<add> //------------------------
<add> // related to express
<add> //------------------------
<add>
<ide> /**
<ide> * get request parameters
<ide> ... | |
JavaScript | mit | ff33c2b647d382186b022da1ea087f3a4e944ca2 | 0 | gds-attic/need-o-tron,gds-attic/need-o-tron,gds-attic/need-o-tron | $(function() {
var number_of_extra_cols = $('#needs-table > thead > tr > th').length - 2;
// it's horrid that this is hardcoded, I apologise.
var search_cols = [
null,
null,
null,
null,
null,
null,
{sType: 'priority'},
null,
null,
null,
{bSortable: false, sSearch: ""},
... | public/javascripts/needs.js | $(function() {
var number_of_extra_cols = $('#needs-table > thead > tr > th').length - 2;
// it's horrid that this is hardcoded, I apologise.
var search_cols = [
null,
null,
null,
null,
null,
null,
{sType: 'priority'},
null,
null,
{bSortable: false, sSearch: ""},
{bSort... | fix js search after adding column
| public/javascripts/needs.js | fix js search after adding column | <ide><path>ublic/javascripts/needs.js
<ide> null,
<ide> null,
<ide> {sType: 'priority'},
<add> null,
<ide> null,
<ide> null,
<ide> {bSortable: false, sSearch: ""}, | |
Java | apache-2.0 | a58e665340e68ccb93fa538c5db9a3330133a3db | 0 | apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj | /*
* 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 ... | uimaj-core/src/main/java/org/apache/uima/internal/util/rb_trees/IntArrayRBT.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 ... | [UIMA-3675] add toString method for ComparablePointerIterator to improve debugging
git-svn-id: a5af42c550a078756190f4e79161aff2e348b436@1577510 13f79535-47bb-0310-9956-ffa450edef68
| uimaj-core/src/main/java/org/apache/uima/internal/util/rb_trees/IntArrayRBT.java | [UIMA-3675] add toString method for ComparablePointerIterator to improve debugging | <ide><path>imaj-core/src/main/java/org/apache/uima/internal/util/rb_trees/IntArrayRBT.java
<ide> copy.currentNode = this.currentNode;
<ide> return copy;
<ide> }
<add>
<add> @Override
<add> public String toString() {
<add> return "ComparablePointerIterator [comp=" + comp + ", typeCode=" + type... | |
Java | apache-2.0 | 042db2a8deb0bb768326b896009da73aa012eb37 | 0 | tizfa/sparkboost |
/*
*
* ****************
* This file is part of sparkboost software package (https://github.com/tizfa/sparkboost).
*
* Copyright 2016 Tiziano Fagni (tiziano.fagni@isti.cnr.it)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... | src/main/java/it/tizianofagni/sparkboost/DataUtils.java |
/*
*
* ****************
* This file is part of sparkboost software package (https://github.com/tizfa/sparkboost).
*
* Copyright 2016 Tiziano Fagni (tiziano.fagni@isti.cnr.it)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... | Added a hash partitioner to distribute dataset among all executors.
| src/main/java/it/tizianofagni/sparkboost/DataUtils.java | Added a hash partitioner to distribute dataset among all executors. | <ide><path>rc/main/java/it/tizianofagni/sparkboost/DataUtils.java
<ide> import org.apache.hadoop.conf.Configuration;
<ide> import org.apache.hadoop.fs.FileSystem;
<ide> import org.apache.hadoop.fs.Path;
<add>import org.apache.spark.HashPartitioner;
<ide> import org.apache.spark.api.java.JavaRDD;
<ide> import org.apache... | |
Java | bsd-3-clause | f9edb654671079af784729a2fd511b7cb9c827ff | 0 | pughlab/tracker,pughlab/tracker,pughlab/tracker,pughlab/tracker,pughlab/tracker | package ca.uhnresearch.pughlab.tracker.domain;
import javax.annotation.Generated;
/**
* Attributes is a Querydsl bean type
*/
@Generated("com.mysema.query.codegen.BeanSerializer")
public class Attributes {
public static final String ATTRIBUTE_TYPE_STRING = "string";
public static final String ATTRIBUTE_TYPE_BO... | src/main/java/ca/uhnresearch/pughlab/tracker/domain/Attributes.java | package ca.uhnresearch.pughlab.tracker.domain;
import javax.annotation.Generated;
/**
* Attributes is a Querydsl bean type
*/
@Generated("com.mysema.query.codegen.BeanSerializer")
public class Attributes {
public static final String ATTRIBUTE_TYPE_STRING = "strings";
public static final String ATTRIBUTE_TYPE_B... | Fixed the type code strings to match the test data
| src/main/java/ca/uhnresearch/pughlab/tracker/domain/Attributes.java | Fixed the type code strings to match the test data | <ide><path>rc/main/java/ca/uhnresearch/pughlab/tracker/domain/Attributes.java
<ide> @Generated("com.mysema.query.codegen.BeanSerializer")
<ide> public class Attributes {
<ide>
<del> public static final String ATTRIBUTE_TYPE_STRING = "strings";
<add> public static final String ATTRIBUTE_TYPE_STRING = "string";
<ide>
... | |
Java | mit | e11f5c61636df923d64758bf0133294ee25578fa | 0 | radamuspl/loadBalancerKataMto | package edu.iis.mto.serverloadbalancer;
import static edu.iis.mto.serverloadbalancer.CurrentLoadPercentageMatcher.hasLoadPercentageOf;
import static edu.iis.mto.serverloadbalancer.ServerBuilder.server;
import static edu.iis.mto.serverloadbalancer.ServerVmsCountMatcher.hasVmsCountOf;
import static edu.iis.mto.serverloa... | src/test/java/edu/iis/mto/serverloadbalancer/ServerLoadBalancerTest.java | package edu.iis.mto.serverloadbalancer;
import static edu.iis.mto.serverloadbalancer.CurrentLoadPercentageMatcher.hasLoadPercentageOf;
import static edu.iis.mto.serverloadbalancer.ServerBuilder.server;
import static edu.iis.mto.serverloadbalancer.ServerVmsCountMatcher.hasVmsCountOf;
import static edu.iis.mto.serverloa... | test 5 red | src/test/java/edu/iis/mto/serverloadbalancer/ServerLoadBalancerTest.java | test 5 red | <ide><path>rc/test/java/edu/iis/mto/serverloadbalancer/ServerLoadBalancerTest.java
<ide> assertThat("the server should contain vm", theServer.contains(theSecondVm));
<ide>
<ide> }
<del>
<add>
<add> @Test
<add> public void aVm_shouldBeBalanced_onLessLoadedServerFirst(){
<add> Server lessLoadedServer = a(server().... | |
JavaScript | mit | 8df8e881a2af91f04c06ebfff8de5b27b2f1b050 | 0 | susisu/Loquat | /*
* loquat-monad / monad.js
* copyright (c) 2016 Susisu
*/
/**
* @module monad
*/
"use strict";
module.exports = _core => {
function end() {
return Object.freeze({
forever,
voidM,
join,
when,
unless,
liftM,
liftM2,
... | packages/loquat-monad/lib/monad.js | /*
* loquat-monad / monad.js
* copyright (c) 2016 Susisu
*/
/**
* @module monad
*/
"use strict";
module.exports = _core => {
function end() {
return Object.freeze({
forever,
voidM,
join,
when,
unless,
liftM,
liftM2,
... | [monad] Add `replicateM()`
| packages/loquat-monad/lib/monad.js | [monad] Add `replicateM()` | <ide><path>ackages/loquat-monad/lib/monad.js
<ide> zipWithM_,
<ide> foldM,
<ide> foldM_,
<add> replicateM,
<ide> _internal: {
<ide> zipWith
<ide> }
<ide> return then(foldM(func, initVal, arr), pure(undefined));
<ide> }
<i... | |
Java | mit | 96616fc2cb4961b7b60f16312a0bf8e9f04a00a4 | 0 | Luthor18/TestPost | import java.util.*;
import java.util.Collections;
import javafx.scene.input.KeyEvent;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
import javafx.application.Platform;
import javafx.animation.AnimationTimer;
import javafx.embed.swing.JFXPanel;
import javafx.event.*;
import javafx.scene.*;
import javafx... | GameArena.java | import java.util.*;
import java.util.Collections;
import javafx.scene.input.KeyEvent;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
import javafx.application.Platform;
import javafx.animation.AnimationTimer;
import javafx.embed.swing.JFXPanel;
import javafx.event.*;
import javafx.scene.*;
import javafx... | Fixed the Mouse Functionality. It should actually work now.
| GameArena.java | Fixed the Mouse Functionality. It should actually work now. | <ide><path>ameArena.java
<ide>
<ide> public void mouseMoved(MouseEvent e)
<ide> {
<del>
<add> mouseXPos = e.getX();
<add> mouseYPos = e.getY();
<ide> }
<ide>
<ide> /** This is called when a mouse button is pressed and then dragged.
<ide> * Retrieves the mouse's x position.
<ide> *@return the mouse's x pos... | |
JavaScript | mit | 1924397e96119eeaad0696a36f9776421d34d4c2 | 0 | VictorCazanave/angular2-practice,VictorCazanave/angular2-practice,VictorCazanave/angular2-practice | var gulp = require('gulp');
var del = require('del');
var browserify = require('browserify');
var source = require('vinyl-source-stream');
var watchify = require("watchify");
var tsify = require('tsify');
var uglify = require('gulp-uglify');
var sourcemaps = require('gulp-sourcemaps');
var buffer = require('vinyl-buffe... | gulpfile.js | var gulp = require('gulp');
var del = require('del');
var browserify = require('browserify');
var source = require('vinyl-source-stream');
var watchify = require("watchify");
var tsify = require('tsify');
var uglify = require('gulp-uglify');
var sourcemaps = require('gulp-sourcemaps');
var buffer = require('vinyl-buffe... | [Gulp] Remove hard coded babel config
| gulpfile.js | [Gulp] Remove hard coded babel config | <ide><path>ulpfile.js
<ide> packageCache: {}
<ide> })
<ide> .plugin(tsify)
<del> .transform('babelify', {
<del> presets: ['es2015'],
<del> extensions: ['.ts']
<del> });
<add> .transform('babelify');
<ide>
<ide> // Bundle JS files
<ide> function bundle(files) {
<ide> .pipe(sourcemaps.init({
<ide> loadMaps: t... | |
Java | apache-2.0 | 950dc7e7fcd8e729dc68daff104f0acc8019be16 | 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.util.indexing.hash;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.progress.ProgressManager;
import com.intellij.psi.search.Globa... | platform/lang-impl/src/com/intellij/util/indexing/hash/HashBasedMapReduceIndex.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.util.indexing.hash;
import com.intellij.openapi.progress.ProgressManager;
import com.intellij.psi.search.GlobalSearchScope;
import com.intellij.util.Processo... | indexes: add an error logging when shared index try to access forward index but doesn't have it
GitOrigin-RevId: 53e5d49aadd1987c1a72e44487f034b010d99954 | platform/lang-impl/src/com/intellij/util/indexing/hash/HashBasedMapReduceIndex.java | indexes: add an error logging when shared index try to access forward index but doesn't have it | <ide><path>latform/lang-impl/src/com/intellij/util/indexing/hash/HashBasedMapReduceIndex.java
<ide> // 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.
<ide> package com.intellij.util.indexing.hash;
<ide>
<add>import com.intellij.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.