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 | fcc4ed202237e031f2d8da8ded63fbc267d7f7f9 | 0 | gchq/Gaffer,gchq/Gaffer,GovernmentCommunicationsHeadquarters/Gaffer,GovernmentCommunicationsHeadquarters/Gaffer,GovernmentCommunicationsHeadquarters/Gaffer,gchq/Gaffer,GovernmentCommunicationsHeadquarters/Gaffer,gchq/Gaffer | /*
* Copyright 2017 Crown Copyright
*
* 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... | core/graph/src/main/java/uk/gov/gchq/gaffer/graph/GraphSerialisable.java | /*
* Copyright 2017 Crown Copyright
*
* 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... | gh-1297 - minor change
| core/graph/src/main/java/uk/gov/gchq/gaffer/graph/GraphSerialisable.java | gh-1297 - minor change | <ide><path>ore/graph/src/main/java/uk/gov/gchq/gaffer/graph/GraphSerialisable.java
<ide>
<ide> public Builder schema(final Schema schema) {
<ide> this.schema = schema;
<del> return this;
<add> return _self();
<ide> }
<ide>
<ide> @JsonSetter("properties")
<ide>... | |
JavaScript | mit | error: pathspec 'js/classes.js' did not match any file(s) known to git
| 0c409479f4f862931c33c413f814ddc71acde134 | 1 | jpdias/comp,jpdias/TuringMachine,jpdias/TuringMachine,jpdias/comp | //"Tape class"
function Tape(alphabet, blanck, pos, tapeContent)
{
//data
this.alphabet= alphabet;
this.blanckSymbol= blanck;
this.pos= pos;
this.tapeContent= tapeContent;
//methods
this.moveRight= function (){
var tapeLength= tapeContent.length;
if(pos == tapeLength - 1)
thi... | js/classes.js | Classes Definitions
| js/classes.js | Classes Definitions | <ide><path>s/classes.js
<add> //"Tape class"
<add> function Tape(alphabet, blanck, pos, tapeContent)
<add> {
<add> //data
<add> this.alphabet= alphabet;
<add> this.blanckSymbol= blanck;
<add> this.pos= pos;
<add> this.tapeContent= tapeContent;
<add>
<add> //methods
<add> this.moveRight= function (){... | |
Java | mit | 3b7ac96c6b4ca8465ee0029a41a81119e05f5e3c | 0 | ancho/jbake,jonbullock/jbake,jbake-org/jbake,ancho/jbake,jonbullock/jbake,jbake-org/jbake | package org.jbake.app.configuration;
import ch.qos.logback.classic.spi.LoggingEvent;
import org.jbake.app.JBakeException;
import org.jbake.app.LoggingTest;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import java.io.BufferedWriter;
import java.io.File;... | jbake-core/src/test/java/org/jbake/app/configuration/ConfigUtilTest.java | package org.jbake.app.configuration;
import ch.qos.logback.classic.spi.LoggingEvent;
import org.jbake.app.JBakeException;
import org.jbake.app.LoggingTest;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import java.io.BufferedWriter;
import java.io.File;... | remove bogus test
| jbake-core/src/test/java/org/jbake/app/configuration/ConfigUtilTest.java | remove bogus test | <ide><path>bake-core/src/test/java/org/jbake/app/configuration/ConfigUtilTest.java
<ide>
<ide> assertThat(path).isEqualTo("../");
<ide>
<del> path = ConfigUtil.getPathToContentRoot(config, new File(config.getDestinationFolder(), "/blog/index.html"));
<del>
<del> assertThat(path).isEqualTo("/some... | |
Java | lgpl-2.1 | f53dcc10b28a954e590ff377f370ba1bf6487d11 | 0 | romani/checkstyle,checkstyle/checkstyle,mkordas/checkstyle,checkstyle/checkstyle,designreuse/checkstyle,Bhavik3/checkstyle,zofuthan/checkstyle-1,naver/checkstyle,izishared/checkstyle,MEZk/checkstyle,rnveach/checkstyle,mkordas/checkstyle,cs1331/checkstyle,Bhavik3/checkstyle,Andrew0701/checkstyle,baratali/checkstyle,lisc... | ////////////////////////////////////////////////////////////////////////////////
// checkstyle: Checks Java source code for adherence to a set of rules.
// Copyright (C) 2001-2005 Oliver Burn
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Publ... | src/checkstyle/com/puppycrawl/tools/checkstyle/checks/header/RegexpHeaderCheck.java | ////////////////////////////////////////////////////////////////////////////////
// checkstyle: Checks Java source code for adherence to a set of rules.
// Copyright (C) 2001-2005 Oliver Burn
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Publ... | fixed 'line too long' checkstyle error
| src/checkstyle/com/puppycrawl/tools/checkstyle/checks/header/RegexpHeaderCheck.java | fixed 'line too long' checkstyle error | <ide><path>rc/checkstyle/com/puppycrawl/tools/checkstyle/checks/header/RegexpHeaderCheck.java
<ide> /**
<ide> * Sets the file that contains the header to check against.
<ide> * @param aFileName the file that contains the header to check against.
<del> * @throws org.apache.commons.beanutils.ConversionE... | |
Java | apache-2.0 | 84814bc159123889afb7ea822bb5b1f24e3d88b5 | 0 | apache/derby,trejkaz/derby,apache/derby,trejkaz/derby,apache/derby,trejkaz/derby,apache/derby | /*
Derby - Class org.apache.derby.iapi.util.InterruptStatus
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 unde... | java/engine/org/apache/derby/iapi/util/InterruptStatus.java | /*
Derby - Class org.apache.derby.iapi.util.InterruptStatus
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 unde... | DERBY-4911 restoreIntrFlagIfSeen may throw ShutdownException causing confusing console stack trace at server shutdown
Patch derby-4911, which makes restoreIntrFlagIfSeen ignore
ShutdownException when trying to find lcc. We sometimes saw a
ShutdownException stack dump on the console when stopping the network
server. re... | java/engine/org/apache/derby/iapi/util/InterruptStatus.java | DERBY-4911 restoreIntrFlagIfSeen may throw ShutdownException causing confusing console stack trace at server shutdown | <ide><path>ava/engine/org/apache/derby/iapi/util/InterruptStatus.java
<ide> package org.apache.derby.iapi.util;
<ide>
<ide> import org.apache.derby.iapi.error.StandardException;
<add>import org.apache.derby.iapi.error.ShutdownException;
<ide> import org.apache.derby.iapi.reference.SQLState;
<ide> import org.apache.der... | |
JavaScript | mit | cc492f2cd6bed34328fccac9dd3706ceaaa2ad02 | 0 | gagle/node-status-bar | "use strict";
var util = require ("util");
var stream = require ("stream");
var pbf = require ("progress-bar-formatter");
module.exports.create = function (options){
return new StatusBar (options);
};
var storage = [" B ", " KiB", " MiB", " GiB", " TiB", " PiB", " EiB", " ZiB",
" YiB"];
var speeds = ["B/s", "... | lib/index.js | "use strict";
var util = require ("util");
var stream = require ("stream");
var pbf = require ("progress-bar-formatter");
module.exports.create = function (options){
return new StatusBar (options);
};
var storage = [" B ", " KiB", " MiB", " GiB", " TiB", " PiB", " EiB", " ZiB",
" YiB"];
var speeds = ["B/s", "... | v2.0.1
| lib/index.js | v2.0.1 | <ide><path>ib/index.js
<ide> this._hungUp = false;
<ide> this._finished = false;
<ide> this._current = 0;
<del> this._total = ~~options.total;
<add> this._total = Math.floor (options.total);
<ide> this._onRenderTimer = null;
<ide> this._elapsedTimer = null;
<ide> this._start = 0; | |
Java | apache-2.0 | f39f4aa63c56e8050777ff0a5d33b2f09d2334b9 | 0 | dbeaver/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,serge-rider/dbeaver,serge-rider/dbeaver,dbeaver/dbeaver,serge-rider/dbeaver | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/license... | plugins/org.jkiss.dbeaver.data.transfer/src/org/jkiss/dbeaver/tools/transfer/database/DatabaseMappingContainer.java | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/license... | Data transfer: mappings save fix (target table name)
Former-commit-id: 90f4abf7a0f7f07d98daaa2a287ae28dc6cbd595 | plugins/org.jkiss.dbeaver.data.transfer/src/org/jkiss/dbeaver/tools/transfer/database/DatabaseMappingContainer.java | Data transfer: mappings save fix (target table name) | <ide><path>lugins/org.jkiss.dbeaver.data.transfer/src/org/jkiss/dbeaver/tools/transfer/database/DatabaseMappingContainer.java
<ide> public void saveSettings(IDialogSettings settings) {
<ide> if (targetName != null) {
<ide> settings.put("targetName", targetName);
<add> } else if (target !=... | |
Java | mit | b9c110c4b46a1b4618e35290ae36844416e98738 | 0 | ofirl/hack-protect-2017,ofirl/hack-protect-2017,ofirl/hack-protect-2017 | /*
* Copyright 2002-2014 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/main/java/com/example/Main.java | /*
* Copyright 2002-2014 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... | testing stuff
| src/main/java/com/example/Main.java | testing stuff | <ide><path>rc/main/java/com/example/Main.java
<ide> @Bean
<ide> public static DataSource dataSource() {
<ide> try {
<del> System.out.println(dbUrl);
<add> System.out.println("dbUrl is : " + dbUrl);
<ide> if (dbUrl == null || dbUrl.isEmpty()) {
<ide> retu... | |
Java | mit | error: pathspec 'src/main/java/leetcode/Problem1137.java' did not match any file(s) known to git
| cb712b604b462906681f2e447f2878c23a55895a | 1 | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode | package leetcode;
/**
* https://leetcode.com/problems/n-th-tribonacci-number/
*/
public class Problem1137 {
public int tribonacci(int n) {
// TODO
return 0;
}
public static void main(String[] args) {
Problem1137 prob = new Problem1137();
System.out.println(prob.tribonacci... | src/main/java/leetcode/Problem1137.java | Skeleton for problem 1137
| src/main/java/leetcode/Problem1137.java | Skeleton for problem 1137 | <ide><path>rc/main/java/leetcode/Problem1137.java
<add>package leetcode;
<add>
<add>/**
<add> * https://leetcode.com/problems/n-th-tribonacci-number/
<add> */
<add>public class Problem1137 {
<add> public int tribonacci(int n) {
<add> // TODO
<add> return 0;
<add> }
<add>
<add> public static void ... | |
Java | mit | 70af7355c38958bee0e03ea6d1a1982b8f163117 | 0 | RailwayStations/RSAPI,RailwayStations/RSAPI,pstorch/bahnhoefe.gpx,RailwayStations/RSAPI | package org.railwaystations.api.monitoring;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.ContentType;
import org.apache.h... | src/main/java/org/railwaystations/api/monitoring/SlackMonitor.java | package org.railwaystations.api.monitoring;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.ContentType;
import org.apache.h... | no responseUrl on startup
| src/main/java/org/railwaystations/api/monitoring/SlackMonitor.java | no responseUrl on startup | <ide><path>rc/main/java/org/railwaystations/api/monitoring/SlackMonitor.java
<ide>
<ide> @Override
<ide> public void sendMessage(final String responseUrl, final String message) {
<del> Executors.newSingleThreadExecutor().execute(() -> sendMessageInternal(message, responseUrl));
<add> Executors.ne... | |
JavaScript | bsd-3-clause | deb9550682b09be3220b8e4599b83922f1365f6c | 0 | python-odin/odin.js,timsavage/odin.js,timsavage/odin.js,python-odin/odin.js | // Odin.js 0.1.0
(function(root, factory) {
// Set up Odin appropriately for the environment. Start with AMD.
if (typeof define === 'function' && define.amd) {
define(['backbone', 'lodash', 'exports'], function(Backbone, _, exports) {
root.Odin = factory(root, exports, Backbone, _);
});
// Nex... | odin.js | // Odin.js 0.1.0
(function(root, factory) {
// Set up Odin appropriately for the environment. Start with AMD.
if (typeof define === 'function' && define.amd) {
define(['backbone', 'lodash', 'exports'], function(Backbone, _, exports) {
root.Odin = factory(root, exports, Backbone, _);
});
// Nex... | Support falsy strings in boolean field
| odin.js | Support falsy strings in boolean field | <ide><path>din.js
<ide> return null;
<ide> }
<ide>
<add> // Check for "falsy" strings
<add> if (_.includes(['false', 'off', 'no', '0'], value)) {
<add> return false;
<add> }
<add>
<ide> value = Boolean(value);
<ide> if (value === null) {
<ide> throw new Validatio... | |
JavaScript | bsd-2-clause | b4335a057bd26a0986d16cf714748fe74dd8db6a | 0 | yacon/koala-framework,fraxachun/koala-framework,Sogl/koala-framework,kaufmo/koala-framework,Sogl/koala-framework,kaufmo/koala-framework,Ben-Ho/koala-framework,yacon/koala-framework,nsams/koala-framework,nsams/koala-framework,fraxachun/koala-framework,koala-framework/koala-framework,kaufmo/koala-framework,darimpulso/koa... | Vps.Auto.FormPanel = Ext.extend(Vps.Auto.AbstractPanel, {
autoload: true,
autoScroll: true, //um scrollbars zu bekommen
border: false,
formConfig: {},
maskDisabled: true,
layout: 'fit',
initComponent: function()
{
if (!this.actions) this.actions = {};
if (!this.baseParam... | Vps_js/Auto/FormPanel.js | Vps.Auto.FormPanel = Ext.extend(Vps.Auto.AbstractPanel, {
autoload: true,
autoScroll: true, //um scrollbars zu bekommen
border: false,
formConfig: {},
maskDisabled: true,
layout: 'fit',
initComponent: function()
{
if (!this.actions) this.actions = {};
if (!this.baseParam... | englisch
| Vps_js/Auto/FormPanel.js | englisch | <ide><path>ps_js/Auto/FormPanel.js
<ide> },
<ide> onSubmitFailure: function(form, action) {
<ide> if(action.failureType == Ext.form.Action.CLIENT_INVALID) {
<del> Ext.Msg.alert('Speichern', 'Es konnte nicht gespeichert werden, bitte alle Felder korrekt ausfüllen.');
<add> Ext.Msg.a... | |
JavaScript | mit | 6bc59cb329ec1aebc028423d304b3f34f8112e60 | 0 | jaredhanson/passport,jameswomack/passport-restify | /**
* `AuthenticationError` error.
*
* @constructor
* @api private
*/
function AuthenticationError(message, status) {
Error.call(this);
Error.captureStackTrace(this, arguments.callee);
this.name = 'AuthenticationError';
this.message = message;
this.status = status || 401;
}
// Inherit from `Error`.
Auth... | lib/errors/authenticationerror.js | /**
* `AuthenticationError` error.
*
* @api private
*/
function AuthenticationError(message, status) {
Error.call(this);
Error.captureStackTrace(this, arguments.callee);
this.name = 'AuthenticationError';
this.message = message;
this.status = status || 401;
}
/**
* Inherit from `Error`.
*/
Authenticati... | Simplify JSDoc of AuthenticationError.
| lib/errors/authenticationerror.js | Simplify JSDoc of AuthenticationError. | <ide><path>ib/errors/authenticationerror.js
<ide> /**
<ide> * `AuthenticationError` error.
<ide> *
<add> * @constructor
<ide> * @api private
<ide> */
<ide> function AuthenticationError(message, status) {
<ide> this.status = status || 401;
<ide> }
<ide>
<del>/**
<del> * Inherit from `Error`.
<del> */
<add>// Inhe... | |
Java | lgpl-2.1 | c95d9e2bdbbd81f7a60bfdefd25e7b022958029a | 0 | spotbugs/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,sewe/spotbugs,sewe/spotbugs,sewe/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,sewe/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs | /*
* FindBugs - Find Bugs in Java programs
* Copyright (C) 2006, University of Maryland
*
* This library 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 the License, or (... | findbugs/src/java/edu/umd/cs/findbugs/util/Util.java | /*
* FindBugs - Find Bugs in Java programs
* Copyright (C) 2006, University of Maryland
*
* This library 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 the License, or (... | Don't force initialization of System.Properties unless we need to
git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@11604 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
| findbugs/src/java/edu/umd/cs/findbugs/util/Util.java | Don't force initialization of System.Properties unless we need to | <ide><path>indbugs/src/java/edu/umd/cs/findbugs/util/Util.java
<ide> * @author William Pugh
<ide> */
<ide> public class Util {
<del> public static final boolean LOGGING = SystemProperties.getBoolean("findbugs.shutdownLogging");
<del>
<add>
<ide> /**
<ide> * return sign of x - y
<ide> * @param x
<ide> }
<ide> ... | |
JavaScript | mit | 2ee993bd21b658cb652fd54cd70ab0f8f6ae0daa | 0 | andreash92/andreasBot,andreash92/andreasBot,andreash92/andreasBot | module.exports = function (robot) {
'use strict'
var slackmsg = require("./slackMsgs.js");
var request = require('request');
var rp = require('request-promise');
var Trello = require('node-trello');
var db = require("./mlab-login").db();
// auth
var key = process.env.HUBOT_TRELLO_KEY;
... | scripts/trello-integration.js | module.exports = function (robot) {
'use strict'
var slackmsg = require("./slackMsgs.js");
var request = require('request');
var rp = require('request-promise');
var Trello = require('node-trello');
var db = require("./mlab-login").db();
// auth
var key = process.env.HUBOT_TRELLO_KEY;
... | trello token
| scripts/trello-integration.js | trello token | <ide><path>cripts/trello-integration.js
<ide>
<ide>
<ide>
<add> var collection = db.collection('trello')
<ide>
<ide> var cb = `https://andreasbot.herokuapp.com/hubot/trello-token`;
<ide> var t = new Trello.OAuth(key, secret, cb, 'App Name');
<ide> // robot.logger.warning(t);
<ide> var tgr = t.get... | |
Java | mit | 794248be6eb9c94324bdddf5db6865643d8a86ce | 0 | CurtisMBSmith/nfl-playdb | package nfl.playdb.config;
import java.util.Properties;
import javax.sql.DataSource;
import org.apache.commons.dbcp2.BasicDataSourceFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
im... | src/main/java/nfl/playdb/config/NFLPlayDBConfig.java | package nfl.playdb.config;
import java.util.Properties;
import javax.sql.DataSource;
import org.apache.commons.dbcp2.BasicDataSourceFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
im... | PDB-0: Additional configuration for jOOQ. | src/main/java/nfl/playdb/config/NFLPlayDBConfig.java | PDB-0: Additional configuration for jOOQ. | <ide><path>rc/main/java/nfl/playdb/config/NFLPlayDBConfig.java
<ide> import org.springframework.context.annotation.PropertySource;
<ide> import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
<ide> import org.springframework.core.env.Environment;
<add>import org.springframework.jdbc.datasource... | |
Java | apache-2.0 | a17b61ea0e7af5196d9e2ff9c2eecfbdcc749ba8 | 0 | WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules,WNPRC-EHR-Services/wnprc-modules | package org.labkey.webutils.api.action;
import org.labkey.api.action.*;
import org.labkey.api.view.template.PageConfig;
/**
* A base action to base other actions off of.
*
* Created by jon on 3/9/17.
*/
public abstract class SimpleAction extends PermissionCheckableAction implements HasPageConfig {
// The Spri... | WebUtils/src/java/org/labkey/webutils/api/action/SimpleAction.java | package org.labkey.webutils.api.action;
import org.labkey.api.action.HasPageConfig;
import org.labkey.api.action.HasViewContext;
import org.labkey.api.action.PermissionCheckable;
import org.labkey.api.view.UnauthorizedException;
import org.labkey.api.view.ViewContext;
import org.labkey.api.view.template.PageConfig;
im... | Fix #1
| WebUtils/src/java/org/labkey/webutils/api/action/SimpleAction.java | Fix #1 | <ide><path>ebUtils/src/java/org/labkey/webutils/api/action/SimpleAction.java
<ide> package org.labkey.webutils.api.action;
<ide>
<del>import org.labkey.api.action.HasPageConfig;
<del>import org.labkey.api.action.HasViewContext;
<del>import org.labkey.api.action.PermissionCheckable;
<del>import org.labkey.api.view.Unau... | |
JavaScript | mit | 185b8cead70f0c9c7e4529c5bf22748f8ae02db9 | 0 | psychobunny/templates.js,benchpressjs/benchpressjs,psychobunny/templates.js,benchpressjs/benchpressjs,barisusakli/templates.js,benchpressjs/templates.js,barisusakli/templates.js,benchpressjs/benchpressjs,benchpressjs/templates.js | 'use strict';
/*global require, module, self*/
(function(module) {
var templates = {
cache: {},
globals: {}
},
helpers = {},
loader,
worker;
var regexes = {
nestedConditionals: /(?!^)<!-- IF([\s\S]*?)ENDIF[ a-zA-Z0-9\._:]*-->(?!$)/gi,
conditionalBlock: /[\r\n?\n]*?<!-- ELSE -->[\r\n?\n]*?/,
cond... | lib/templates.js | 'use strict';
/*global require, module, self*/
(function(module) {
var templates = {
cache: {},
globals: {}
},
helpers = {},
loader,
worker;
var regexes = {
nestedConditionals: /(?!^)<!-- IF([\s\S]*?)ENDIF[ a-zA-Z0-9\._:]*-->(?!$)/gi,
conditionalBlock: /[\r\n?\n]*?<!-- ELSE -->[\r\n?\n]*?/,
cond... | closes #34
| lib/templates.js | closes #34 | <ide><path>ib/templates.js
<ide> self.postMessage({
<ide> result: !data.block ? templates.parse(data.template, data.object) : templates.parse(data.template, data.block, data.object),
<ide> signature: data.signature
<del> });
<add> }, '*');
<ide> }, false);
<ide> }
<ide> | |
Java | apache-2.0 | db8f4a4b778993ef42f15c67611570be268cc09a | 0 | apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/core/resultset/ShardingResultSet.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | getLong()
| sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/core/resultset/ShardingResultSet.java | getLong() | <ide><path>harding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/core/resultset/ShardingResultSet.java
<ide>
<ide> @Override
<ide> public int getInt(final String columnLabel) throws SQLException {
<del> return (int) ResultSetUtil.convertValue(mergeResultSet.getVal... | |
Java | apache-2.0 | de56343fc625db4c31f9815052b5fde28c483f6c | 0 | ttulka/thistledb,ttulka/thistledb | package cz.net21.ttulka.thistledb.server;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.channels.ClosedSelectorException;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.ServerSocketChannel;
import java.nio.channels.SocketChannel;
impo... | server/src/main/java/cz/net21/ttulka/thistledb/server/Server.java | package cz.net21.ttulka.thistledb.server;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.nio.channels.ClosedSelectorException;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.ServerSocketChannel;
import java.nio.channels.SocketChannel;
impo... | little refactoring
| server/src/main/java/cz/net21/ttulka/thistledb/server/Server.java | little refactoring | <ide><path>erver/src/main/java/cz/net21/ttulka/thistledb/server/Server.java
<ide> return maxClientConnections;
<ide> }
<ide>
<del> public boolean listening() {
<del> return listening;
<del> }
<del>
<ide> public void setMaxClientConnections(int maxClientConnections) {
<ide> if (maxC... | |
JavaScript | bsd-3-clause | 60b29b5223d919e2a3a823f24420b1891c4de91b | 0 | GeekFreaker/vumi-jssandbox-toolkit,GeekFreaker/vumi-jssandbox-toolkit | // state_machine.js
// - Interaction machine for messages and events.
var jed = require("jed");
var promise = require("./promise.js");
var Promise = promise.Promise;
var maybe_promise = promise.maybe_promise;
var success = promise.success;
var metrics = require("./metrics.js");
var MetricStore = metrics.MetricStore... | lib/state_machine.js | // state_machine.js
// - Interaction machine for messages and events.
var jed = require("jed");
var promise = require("./promise.js");
var Promise = promise.Promise;
var maybe_promise = promise.maybe_promise;
var success = promise.success;
var metrics = require("./metrics.js");
var MetricStore = metrics.MetricStore... | Fix callback that triggers the NewUserEvent -- it should be immediately after load not all the way at the end of the callback chain after everything is completed.
| lib/state_machine.js | Fix callback that triggers the NewUserEvent -- it should be immediately after load not all the way at the end of the callback chain after everything is completed. | <ide><path>ib/state_machine.js
<ide> self.api.request("kv.get",
<ide> {key: "users." + from_addr},
<ide> function(reply) {
<del> self.user = reply.value || {};
<del> if (!reply.value) {
<del> p.add_callback(function () {
<del> ... | |
Java | apache-2.0 | c452b54a9381d06e5777cd69d1f7c679176abd44 | 0 | subutai-io/Subutai,subutai-io/base,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai | package org.safehaus.subutai.core.broker.impl;
import javax.jms.BytesMessage;
import javax.jms.Connection;
import javax.jms.DeliveryMode;
import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageConsumer;
import javax.jms.MessageProducer;
import javax.jms.Session;... | management/server/core/broker/broker-impl/src/main/java/org/safehaus/subutai/core/broker/impl/BrokerImpl.java | package org.safehaus.subutai.core.broker.impl;
import javax.jms.BytesMessage;
import javax.jms.Connection;
import javax.jms.DeliveryMode;
import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageConsumer;
import javax.jms.MessageProducer;
import javax.jms.Session;... | turned off advisory support of activemq on client side
| management/server/core/broker/broker-impl/src/main/java/org/safehaus/subutai/core/broker/impl/BrokerImpl.java | turned off advisory support of activemq on client side | <ide><path>anagement/server/core/broker/broker-impl/src/main/java/org/safehaus/subutai/core/broker/impl/BrokerImpl.java
<ide> private void setupConnectionPool()
<ide> {
<ide> ActiveMQConnectionFactory amqFactory = new ActiveMQConnectionFactory( brokerUrl );
<add> amqFactory.setWatchTopicAdvisorie... | |
Java | apache-2.0 | 6c363afd1970f5b5463ff5527d29e8fb59421d28 | 0 | cstamas/orientdb,sanyaade-g2g-repos/orientdb,allanmoso/orientdb,alonsod86/orientdb,mmacfadden/orientdb,alonsod86/orientdb,mmacfadden/orientdb,sanyaade-g2g-repos/orientdb,mmacfadden/orientdb,joansmith/orientdb,cstamas/orientdb,jdillon/orientdb,orientechnologies/orientdb,wyzssw/orientdb,cstamas/orientdb,orientechnologies... | /*
* Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.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
... | graphdb/src/main/java/com/orientechnologies/orient/graph/sql/functions/OSQLFunctionGremlin.java | /*
* Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.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
... | Gremlin function now accepts "it" as current record too ("current" remains). This to get closer to the Tinkerpop names
| graphdb/src/main/java/com/orientechnologies/orient/graph/sql/functions/OSQLFunctionGremlin.java | Gremlin function now accepts "it" as current record too ("current" remains). This to get closer to the Tinkerpop names | <ide><path>raphdb/src/main/java/com/orientechnologies/orient/graph/sql/functions/OSQLFunctionGremlin.java
<ide> OrientVertex graphElement = (OrientVertex) new OrientElementIterable<OrientVertex>(iGraph, Arrays
<ide> .asList(new ODocument[] { document })).iterator().next();
<ide> ... | |
Java | apache-2.0 | ac2996520ddfe54bc4487af5414ff40867bab40c | 0 | aramesh117/presto,mcanthony/presto,miquelruiz/presto,ebyhr/presto,pwz3n0/presto,miquelruiz/presto,nezihyigitbasi/presto,ocono-tech/presto,Praveen2112/presto,losipiuk/presto,dain/presto,nezihyigitbasi/presto,tomz/presto,treasure-data/presto,lingochamp/presto,idemura/presto,y-lan/presto,smartnews/presto,prateek1306/prest... | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | presto-hive/src/main/java/com/facebook/presto/hive/ParquetHiveRecordCursor.java | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Fix Parquet map compatibility issue
| presto-hive/src/main/java/com/facebook/presto/hive/ParquetHiveRecordCursor.java | Fix Parquet map compatibility issue | <ide><path>resto-hive/src/main/java/com/facebook/presto/hive/ParquetHiveRecordCursor.java
<ide>
<ide> parquet.schema.Type entryType = mapType.getFields().get(0);
<ide>
<del> // original versions of parquet had map end entry swapped
<del> if (mapType.getOriginalType() != MAP_KEY_VALUE... | |
Java | mit | 2fd0389f99914d7a7d7b57e14d47c5a4ea020594 | 0 | CS2103JAN2017-F14-B3/main,CS2103JAN2017-F14-B3/main | package seedu.address.commons.core;
import java.util.Objects;
import java.util.logging.Level;
/**
* Config values used by the app
*/
public class Config {
public static final String DEFAULT_CONFIG_FILE = "config.json";
// Config values customizable through config file
private String appTitle = "iManag... | src/main/java/seedu/address/commons/core/Config.java | package seedu.address.commons.core;
import java.util.Objects;
import java.util.logging.Level;
/**
* Config values used by the app
*/
public class Config {
public static final String DEFAULT_CONFIG_FILE = "config.json";
// Config values customizable through config file
private String appTitle = "Addres... | Update Config strings
| src/main/java/seedu/address/commons/core/Config.java | Update Config strings | <ide><path>rc/main/java/seedu/address/commons/core/Config.java
<ide> public static final String DEFAULT_CONFIG_FILE = "config.json";
<ide>
<ide> // Config values customizable through config file
<del> private String appTitle = "Address App";
<add> private String appTitle = "iManager";
<ide> private L... | |
Java | agpl-3.0 | ef91641285948b7e97097037306b9a4b225b375c | 0 | BrunoEberhard/open-ech,BrunoEberhard/open-ech | package ch.openech.model.common;
import java.io.Serializable;
import org.minimalj.model.Keys;
import org.minimalj.model.annotation.Code;
import org.minimalj.model.annotation.Required;
import org.minimalj.model.annotation.Size;
import org.minimalj.model.annotation.Sizes;
import ch.openech.model.EchFormats;
@Sizes(E... | OpenEch/src/main/java/ch/openech/model/common/CountryIdentification.java | package ch.openech.model.common;
import java.io.Serializable;
import org.minimalj.model.Keys;
import org.minimalj.model.annotation.Code;
import org.minimalj.model.annotation.Required;
import org.minimalj.model.annotation.Size;
import org.minimalj.model.annotation.Sizes;
import org.minimalj.util.StringUtils;
import ... | CountryIdentification: isEmpty sollte die CountryId prüfen, nicht den
Namen | OpenEch/src/main/java/ch/openech/model/common/CountryIdentification.java | CountryIdentification: isEmpty sollte die CountryId prüfen, nicht den Namen | <ide><path>penEch/src/main/java/ch/openech/model/common/CountryIdentification.java
<ide> import org.minimalj.model.annotation.Required;
<ide> import org.minimalj.model.annotation.Size;
<ide> import org.minimalj.model.annotation.Sizes;
<del>import org.minimalj.util.StringUtils;
<ide>
<ide> import ch.openech.model.EchFo... | |
Java | lgpl-2.1 | d31a4f9264d2c19b1de1e960d8d25053101ee838 | 0 | heuermh/biojava,biojava/biojava,emckee2006/biojava,paolopavan/biojava,heuermh/biojava,andreasprlic/biojava,lafita/biojava,pwrose/biojava,sbliven/biojava-sbliven,andreasprlic/biojava,sbliven/biojava-sbliven,biojava/biojava,zachcp/biojava,emckee2006/biojava,zachcp/biojava,paolopavan/biojava,emckee2006/biojava,JolantaWojc... | /*
* BioJava development code
*
* 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. If you do not have a copy,
* see:
*
* http://www.gnu.org/copyleft/lesser.html
*
* Copyright for t... | structure-gui/src/main/java/demo/AlignmentGuiDemo.java | /*
* BioJava development code
*
* 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. If you do not have a copy,
* see:
*
* http://www.gnu.org/copyleft/lesser.html
*
* Copyright for t... | now using /tmp as default location
git-svn-id: a754228c0d23e99fefe44e35d84d6184990ceaa2@7435 7c6358e6-4a41-0410-a743-a5b2a554c398
| structure-gui/src/main/java/demo/AlignmentGuiDemo.java | now using /tmp as default location | <ide><path>tructure-gui/src/main/java/demo/AlignmentGuiDemo.java
<ide> // /Users/ap3/WORK/PDB/zl/pdb1zll.ent.gz
<ide>
<ide> public static void main(String[] args) {
<del> System.setProperty("PDB_DIR","/Users/andreas/WORK/PDB/");
<add> System.setProperty("PDB_DIR","/tmp/");
<ide>
<ide> AlignmentGui.getInstanc... | |
Java | apache-2.0 | 1beb921f7282e3720f2a7332eebe73da0f0d44e3 | 0 | apache/continuum,apache/continuum,apache/continuum | package org.apache.maven.continuum.project.builder.maven;
/*
* 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 und... | continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java | package org.apache.maven.continuum.project.builder.maven;
/*
* 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 und... | [CONTINUUM-1605] Continuum should not store the userid or password if 'use cached credentials' is checked
git-svn-id: 14f2065c7afdeb19086ae32a80b5e7aec819bae3@648038 13f79535-47bb-0310-9956-ffa450edef68
| continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java | [CONTINUUM-1605] Continuum should not store the userid or password if 'use cached credentials' is checked | <ide><path>ontinuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java
<ide> We are interested in having the scm username and password being passed into this method be taken into
<ide> account during project mapping so make sure we set it to ... | |
Java | apache-2.0 | error: pathspec 'src/main/java/org/codingmatters/tests/compile/FileHelper.java' did not match any file(s) known to git
| 122927b44102a3fdd9ef5182dbd0b06379795f26 | 1 | nelt/codingmatters-reflect-unit,nelt/codingmatters-reflect-unit | package org.codingmatters.tests.compile;
import org.junit.rules.ExternalResource;
import java.io.*;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.UUID;
/**
* Created by nelt on 5/2/17.
*/
public class FileHelper extends ExternalResource {
private File temp;
@Override
prote... | src/main/java/org/codingmatters/tests/compile/FileHelper.java | moved FileHelper to reflect unit
| src/main/java/org/codingmatters/tests/compile/FileHelper.java | moved FileHelper to reflect unit | <ide><path>rc/main/java/org/codingmatters/tests/compile/FileHelper.java
<add>package org.codingmatters.tests.compile;
<add>
<add>import org.junit.rules.ExternalResource;
<add>
<add>import java.io.*;
<add>import java.net.URISyntaxException;
<add>import java.net.URL;
<add>import java.util.UUID;
<add>
<add>/**
<add> * Cre... | |
JavaScript | apache-2.0 | a0d8bec6b237728168115dd5decc89274be2f07b | 0 | Eduworks/CASS,cassproject/CASS,Eduworks/CASS,cassproject/CASS,cassproject/CASS | //**************************************************************************************************
// CASS UI Profile Explorer Functions
//**************************************************************************************************
//*****************************************************************************... | src/main/webapp/js/page/cass-ui-concept-editor-ctr.js | //**************************************************************************************************
// CASS UI Profile Explorer Functions
//**************************************************************************************************
//*****************************************************************************... | Default CaSS CSS in concept editor #151
| src/main/webapp/js/page/cass-ui-concept-editor-ctr.js | Default CaSS CSS in concept editor #151 | <ide><path>rc/main/webapp/js/page/cass-ui-concept-editor-ctr.js
<ide> const CEASN_FIELD_TOGGLE = "ceasnDataFields=true";
<ide>
<ide> const PRF_EXP_IFRAME = "#prfExpIFrame";
<del>const PRF_EXP_IFRAME_SOURCE = "cass-editor/index.html?concepts=true&tlaProfile=true&user=wait&editIframe=true";
<add>const PRF_EXP_IFRAME_SOU... | |
Java | apache-2.0 | 4f0dc80ebb35d5b13eed4550367ccb4a8083671a | 0 | casid/jusecase-properties-editor | package org.jusecase.properties.ui;
import net.miginfocom.swing.MigLayout;
import org.jusecase.properties.entities.Property;
import org.jusecase.properties.usecases.EditValue;
import javax.swing.*;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
import javax.swing.text.BadLocationEx... | src/main/java/org/jusecase/properties/ui/TranslationPanel.java | package org.jusecase.properties.ui;
import net.miginfocom.swing.MigLayout;
import org.jusecase.properties.entities.Property;
import org.jusecase.properties.usecases.EditValue;
import javax.swing.*;
import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
import javax.swing.text.BadLocationEx... | Fix un-highlight query
| src/main/java/org/jusecase/properties/ui/TranslationPanel.java | Fix un-highlight query | <ide><path>rc/main/java/org/jusecase/properties/ui/TranslationPanel.java
<ide> Highlighter highlighter = textArea.getHighlighter();
<ide> highlighter.removeAllHighlights();
<ide>
<add> boolean didHighlight = false;
<ide> if (this.property != null && this.property.value != null && !search... | |
Java | mit | c58eaf3b316b44f6cd5dd1e53b46686e0df264a2 | 0 | nilsschmidt1337/ldparteditor,nilsschmidt1337/ldparteditor | /* MIT - License
Copyright (c) 2012 - this year, Nils Schmidt
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, me... | src/org/nschmidt/ldparteditor/composites/compositetab/CompositeTab.java | /* MIT - License
Copyright (c) 2012 - this year, Nils Schmidt
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, me... | Fixed issue #440. | src/org/nschmidt/ldparteditor/composites/compositetab/CompositeTab.java | Fixed issue #440. | <ide><path>rc/org/nschmidt/ldparteditor/composites/compositetab/CompositeTab.java
<ide> case SWT.MOVEMENT_WORD_END:
<ide> event.newOffset = event.offset;
<ide> char c = '#';
<del> final int len = compositeText[0].getText().length... | |
Java | apache-2.0 | 33cd79aa4238a7e2d2fa09ae4ffb32add61c337d | 0 | bf8086/alluxio,maboelhassan/alluxio,ChangerYoung/alluxio,maobaolong/alluxio,Reidddddd/mo-alluxio,WilliamZapata/alluxio,wwjiang007/alluxio,bf8086/alluxio,yuluo-ding/alluxio,Alluxio/alluxio,aaudiber/alluxio,Alluxio/alluxio,maboelhassan/alluxio,uronce-cc/alluxio,jsimsa/alluxio,uronce-cc/alluxio,riversand963/alluxio,Reiddd... | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | integration/yarn/src/main/java/alluxio/yarn/ContainerAllocator.java | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | Fixing style issues
| integration/yarn/src/main/java/alluxio/yarn/ContainerAllocator.java | Fixing style issues | <ide><path>ntegration/yarn/src/main/java/alluxio/yarn/ContainerAllocator.java
<ide> */
<ide> public List<Container> allocateContainers() throws Exception {
<ide> for (int attempt = 0; attempt < MAX_WORKER_CONTAINER_REQUEST_ATTEMPTS; attempt++) {
<del> LOG.debug("Attempt {} of {} to allocate containers", a... | |
Java | apache-2.0 | d4c67d8c5c9e026b3cad35e2cea122f2ee1ae988 | 0 | xfournet/intellij-community,MichaelNedzelsky/intellij-community,holmes/intellij-community,ryano144/intellij-community,muntasirsyed/intellij-community,robovm/robovm-studio,tmpgit/intellij-community,signed/intellij-community,Distrotech/intellij-community,fnouama/intellij-community,signed/intellij-community,da1z/intellij-... | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | java/java-impl/src/com/intellij/psi/impl/file/impl/JavaFileManagerImpl.java | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | don't check for scope twice in findClass
| java/java-impl/src/com/intellij/psi/impl/file/impl/JavaFileManagerImpl.java | don't check for scope twice in findClass | <ide><path>ava/java-impl/src/com/intellij/psi/impl/file/impl/JavaFileManagerImpl.java
<ide> if (qualifiedName == null || !qualifiedName.equals(qName)) continue;
<ide>
<ide> VirtualFile vFile = aClass.getContainingFile().getVirtualFile();
<del> if (!fileIsInScope(scope, vFile)) continue;
<add> if ... | |
Java | apache-2.0 | fc31ed62a52c7bd9a8b4f1a40b64a203fe808b09 | 0 | mjoyner-vbservices-net/CherokeeAffixSplitter,mjoyner-vbservices-net/CherokeeAffixSplitter | package com.cherokeelessons.affixsplitter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.apache.commons.io.FileUtils;
import org.a... | CherokeeAffixSplitter/src/main/java/com/cherokeelessons/affixsplitter/AffixSplitter.java | package com.cherokeelessons.affixsplitter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.apache.commons.io.FileUtils;
import org.a... | exclude Ꮐ and Ꮏ as part of regex range | CherokeeAffixSplitter/src/main/java/com/cherokeelessons/affixsplitter/AffixSplitter.java | exclude Ꮐ and Ꮏ as part of regex range | <ide><path>herokeeAffixSplitter/src/main/java/com/cherokeelessons/affixsplitter/AffixSplitter.java
<ide> output.delete();
<ide> }
<ide>
<del> private String regex_without = "([Ꮎ-Ꮕ])([Ꭰ-Ᏼ]+)([ᎥᎬᎲᎸᏅᏋᏒᏛᏢᏨᏮᏴ])(Ꮎ)";
<add> private String regex_without = "([ᎾᏁᏂᏃᏄᏅ])([Ꭰ-Ᏼ]+)([ᎥᎬᎲᎸᏅᏋᏒᏛᏢᏨᏮᏴ])(Ꮎ)";
<ide> private String regex... | |
JavaScript | mit | f034b8407cf77d9ae729aa9df819f853975009fd | 0 | prolificinteractive/node-html-to-json | var cheerio = require('cheerio');
var ParseContext = require('./ParseContext');
var callbackify = require('./callbackify');
function parse (html, filter, callback) {
var isCheerioObject = typeof html === 'object' && html._root._root;
if (typeof html !== 'string' && !isCheerioObject) {
throw new Error('HTML st... | lib/parse.js | var cheerio = require('cheerio');
var ParseContext = require('./ParseContext');
var callbackify = require('./callbackify');
function parse (html, filter, callback) {
if (typeof html !== 'string') {
throw new Error('HTML string required');
}
var $ = cheerio.load(html);
var parseContext = new ParseContext(... | Allow passing of cheerio objects into .parse method
| lib/parse.js | Allow passing of cheerio objects into .parse method | <ide><path>ib/parse.js
<ide> var callbackify = require('./callbackify');
<ide>
<ide> function parse (html, filter, callback) {
<del> if (typeof html !== 'string') {
<add> var isCheerioObject = typeof html === 'object' && html._root._root;
<add>
<add> if (typeof html !== 'string' && !isCheerioObject) {
<ide> thr... | |
JavaScript | mit | ee4e867aa2a4b0f966554be0babd404b401b72cb | 0 | headdetect/headdetect.github.io | // Judge me not on this shitty code, judge me on how quickly I made it (In one night. Srsly)
(function ($) {
$(document).ready(function () {
var modalBG = $(".modal-background");
var currentModal = null;
$("#navbar-button").click(function () {
$("body").toggleClass("opened");
... | js/javas.js | // Judge me not on this shitty code, judge me on how quickly I made it (In one night. Srsly)
(function ($) {
$(document).ready(function () {
var modalBG = $(".modal-background");
var currentModal = null;
$("#navbar-button").click(function () {
$("body").toggleClass("opened");
... | Update javas.js | js/javas.js | Update javas.js | <ide><path>s/javas.js
<ide> text: message
<ide> };
<ide>
<del> $.get("http://email.mrlopez.me/email", payload)
<add> $.post("http://email.mrlopez.me/email", payload)
<ide> .done(function() {
<ide> $(".message-success").show();
<ide> ... | |
Java | apache-2.0 | 8697e82c8390573e4be1f9eb47a72c9aae01fc57 | 0 | cgeo/cgeo,cgeo/cgeo,schwabe/cgeo,schwabe/cgeo,lewurm/cgeo,mucek4/cgeo,S-Bartfast/cgeo,madankb/cgeo,xiaoyanit/cgeo,pstorch/cgeo,auricgoldfinger/cgeo,Bananeweizen/cgeo,yummy222/cgeo,schwabe/cgeo,brok85/cgeo,xiaoyanit/cgeo,SammysHP/cgeo,kumy/cgeo,yummy222/cgeo,marco-dev/c-geo-opensource,tobiasge/cgeo,vishwakulkarni/cgeo,t... | // $codepro.audit.disable logExceptions
package cgeo.geocaching;
import cgeo.geocaching.activity.ActivityMixin;
import cgeo.geocaching.connector.ConnectorFactory;
import cgeo.geocaching.connector.GCConnector;
import cgeo.geocaching.enumerations.CacheSize;
import cgeo.geocaching.enumerations.CacheType;
import cgeo.geoc... | main/src/cgeo/geocaching/cgBase.java | // $codepro.audit.disable logExceptions
package cgeo.geocaching;
import cgeo.geocaching.activity.ActivityMixin;
import cgeo.geocaching.connector.ConnectorFactory;
import cgeo.geocaching.connector.GCConnector;
import cgeo.geocaching.enumerations.CacheSize;
import cgeo.geocaching.enumerations.CacheType;
import cgeo.geoc... | fix #1072: Visual login is not showing find-count | main/src/cgeo/geocaching/cgBase.java | fix #1072: Visual login is not showing find-count | <ide><path>ain/src/cgeo/geocaching/cgBase.java
<ide> * Check if the user has been logged in when he retrieved the data.
<ide> *
<ide> * @param page
<del> * @return true = User has been logged in, false else
<add> * @return <code>true</code> if user is logged in, <code>false</code> otherwise
<ide>... | |
Java | apache-2.0 | 4036e18f65b48b525b7edf4d945784c1b71d0c82 | 0 | consulo/consulo-java,consulo/consulo-java,consulo/consulo-java,consulo/consulo-java | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | java-debugger-impl/src/com/intellij/debugger/ui/impl/watch/StackFrameDescriptorImpl.java | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | fix frame icon
| java-debugger-impl/src/com/intellij/debugger/ui/impl/watch/StackFrameDescriptorImpl.java | fix frame icon | <ide><path>ava-debugger-impl/src/com/intellij/debugger/ui/impl/watch/StackFrameDescriptorImpl.java
<ide> import com.intellij.psi.PsiFile;
<ide> import com.intellij.ui.FileColorManager;
<ide> import com.intellij.util.StringBuilderSpinAllocator;
<del>import com.intellij.util.ui.EmptyIcon;
<ide> import com.intellij.util.u... | |
Java | mit | 0014ec9dab5f57e101d6a4dc5e2e62cc8fdd2cf0 | 0 | FlareBot/FlareBot,weeryan17/FlareBot,binaryoverload/FlareBot | package stream.flarebot.flarebot.commands.administrator;
import net.dv8tion.jda.core.EmbedBuilder;
import net.dv8tion.jda.core.entities.Member;
import net.dv8tion.jda.core.entities.Message;
import net.dv8tion.jda.core.entities.TextChannel;
import net.dv8tion.jda.core.entities.User;
import stream.flarebot.flarebot.Flar... | src/main/java/stream/flarebot/flarebot/commands/administrator/WelcomeCommand.java | package stream.flarebot.flarebot.commands.administrator;
import net.dv8tion.jda.core.EmbedBuilder;
import net.dv8tion.jda.core.entities.Member;
import net.dv8tion.jda.core.entities.Message;
import net.dv8tion.jda.core.entities.TextChannel;
import net.dv8tion.jda.core.entities.User;
import stream.flarebot.flarebot.Flar... | Whops that chould of been bad
| src/main/java/stream/flarebot/flarebot/commands/administrator/WelcomeCommand.java | Whops that chould of been bad | <ide><path>rc/main/java/stream/flarebot/flarebot/commands/administrator/WelcomeCommand.java
<ide> List<List<String>> body = new ArrayList<>();
<ide> int i = 0;
<ide> for (String messagesMessage : messagesSub) {
<del> i++;... | |
Java | apache-2.0 | 029c996d709d8a2cb398dadc2406c3fe191e9e71 | 0 | feer921/BaseProject | package common.base;
import android.app.Activity;
import android.app.Application;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.RequiresApi;
import common.base.utils.CommonLog;
/**
* ******************(^_^)***********************<br>
* User: fee(QQ/WeiXin:1176610771)<br>... | src/main/java/common/base/TheActivityLifeCycleCallback.java | package common.base;
import android.app.Activity;
import android.app.Application;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.RequiresApi;
import common.base.utils.CommonLog;
/**
* ******************(^_^)***********************<br>
* User: fee(QQ/WeiXin:1176610771)<br>... | TheActivityLifeCycleCallback 在增加onActivityRestart()方法
| src/main/java/common/base/TheActivityLifeCycleCallback.java | TheActivityLifeCycleCallback 在增加onActivityRestart()方法 | <ide><path>rc/main/java/common/base/TheActivityLifeCycleCallback.java
<ide> existActivityCount--;
<ide> }
<ide> if (LIFE_CIRCLE_DEBUG) {
<del> CommonLog.i(TAG, "-->onActivityDestroyed() activity = " + activity + " existActivityCount = " + existActivityCount);
<add> Comm... | |
Java | apache-2.0 | 470cd120d14a60cf34513179e265ab07e881b187 | 0 | mufaddalq/cloudstack-datera-driver,wido/cloudstack,wido/cloudstack,jcshen007/cloudstack,jcshen007/cloudstack,jcshen007/cloudstack,mufaddalq/cloudstack-datera-driver,resmo/cloudstack,GabrielBrascher/cloudstack,DaanHoogland/cloudstack,wido/cloudstack,resmo/cloudstack,mufaddalq/cloudstack-datera-driver,GabrielBrascher/clo... | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | server/src/com/cloud/region/dao/RegionDao.java | // Copyright 2012 Citrix Systems, Inc. Licensed under the
// Apache License, Version 2.0 (the "License"); you may not use this
// file except in compliance with the License. Citrix Systems, Inc.
// reserves all rights not expressly granted by the License.
// You may obtain a copy of the License at http://www.apache.or... | Added ASF license
| server/src/com/cloud/region/dao/RegionDao.java | Added ASF license | <ide><path>erver/src/com/cloud/region/dao/RegionDao.java
<del>// Copyright 2012 Citrix Systems, Inc. Licensed under the
<del>// Apache License, Version 2.0 (the "License"); you may not use this
<del>// file except in compliance with the License. Citrix Systems, Inc.
<del>// reserves all rights not expressly granted by... | |
Java | apache-2.0 | 6805788f7dc1fd60051a6b61c752e393f980f4f5 | 0 | wido/cloudstack,resmo/cloudstack,mufaddalq/cloudstack-datera-driver,resmo/cloudstack,GabrielBrascher/cloudstack,DaanHoogland/cloudstack,GabrielBrascher/cloudstack,argv0/cloudstack,mufaddalq/cloudstack-datera-driver,DaanHoogland/cloudstack,cinderella/incubator-cloudstack,GabrielBrascher/cloudstack,DaanHoogland/cloudstac... | /**
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
*
* This software is licensed under the GNU General Public License v3 or later.
*
* It is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, e... | server/src/com/cloud/agent/manager/AgentManagerImpl.java | /**
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
*
* This software is licensed under the GNU General Public License v3 or later.
*
* It is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, e... | added ping back
| server/src/com/cloud/agent/manager/AgentManagerImpl.java | added ping back | <ide><path>erver/src/com/cloud/agent/manager/AgentManagerImpl.java
<ide> long id = server.getId();
<ide>
<ide> AgentAttache attache = createAttache(id, server, resource);
<del> if (attache.isReady()) {
<del> StartupAnswer[] answers = new StartupAnswer[startup.length];
<del> ... | |
Java | agpl-3.0 | 0becfa84bfc51897719a4d583894792ac72c3d5b | 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 | a0857246-2e61-11e5-9284-b827eb9e62be | hello.java | a080147c-2e61-11e5-9284-b827eb9e62be | a0857246-2e61-11e5-9284-b827eb9e62be | hello.java | a0857246-2e61-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>a080147c-2e61-11e5-9284-b827eb9e62be
<add>a0857246-2e61-11e5-9284-b827eb9e62be | |
Java | apache-2.0 | 9e90f901f34da6f0f426b017b8fb1917169719e0 | 0 | karlmartens/ui,karlmartens/ui | /**
* Copyright 2011 Karl Martens
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | src/net/karlmartens/ui/viewer/TimeSeriesTableViewer.java | /**
* Copyright 2011 Karl Martens
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Fixed scrolling issue with TimeSeriesTable sparkline where couldn't scroll to see last column.
| src/net/karlmartens/ui/viewer/TimeSeriesTableViewer.java | Fixed scrolling issue with TimeSeriesTable sparkline where couldn't scroll to see last column. | <ide><path>rc/net/karlmartens/ui/viewer/TimeSeriesTableViewer.java
<ide> return;
<ide>
<ide> final Rectangle rect = _table.getVisibleScrollableCells();
<del> final int max = _scroll.getMaximum() - _scroll.getMinimum() - 1;
<add> final int max = _scroll.getMaximum() - _scroll.getMinimum() + 1;
<ide>... | |
Java | mit | 947917795898680d0972ebae05b6880f636158d8 | 0 | petergeneric/stdlib,petergeneric/stdlib,petergeneric/stdlib | package com.peterphi.std.guice.restclient.resteasy.impl;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.peterphi.std.guice.common.shutdown.iface.ShutdownManager;
import com.peterphi.std.guice.common.shutdown.iface.StoppableService;
import com.peterphi.std.guice.restclient.converter.Com... | guice/common/src/main/java/com/peterphi/std/guice/restclient/resteasy/impl/ResteasyClientFactoryImpl.java | package com.peterphi.std.guice.restclient.resteasy.impl;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.peterphi.std.guice.common.shutdown.iface.ShutdownManager;
import com.peterphi.std.guice.common.shutdown.iface.StoppableService;
import com.peterphi.std.guice.restclient.converter.Com... | Bugfix: When generating base64 BASIC credentails, was emitting a byte[]
| guice/common/src/main/java/com/peterphi/std/guice/restclient/resteasy/impl/ResteasyClientFactoryImpl.java | Bugfix: When generating base64 BASIC credentails, was emitting a byte[] | <ide><path>uice/common/src/main/java/com/peterphi/std/guice/restclient/resteasy/impl/ResteasyClientFactoryImpl.java
<ide> else if (credentials instanceof UsernamePasswordCredentials passwd)
<ide> {
<ide> final String headerVal = "Basic " +
<del> Base64.encodeBase64((pas... | |
Java | mit | 4c69e35886000cb80ada6cf7f17c5ff04079a3c7 | 0 | AzureAD/azure-activedirectory-library-for-android,thewulf7/adal-extended,iambmelt/azure-activedirectory-library-for-android,AzureAD/azure-activedirectory-library-for-android,thewulf7/adal-extended,iambmelt/azure-activedirectory-library-for-android | // Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// 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, in... | tests/Functional/src/com/microsoft/aad/adal/test/AuthenticationContextTest.java | // Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// 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, in... | adding tests for non-silent request, refresh token failed with oauth error and http error
| tests/Functional/src/com/microsoft/aad/adal/test/AuthenticationContextTest.java | adding tests for non-silent request, refresh token failed with oauth error and http error | <ide><path>ests/Functional/src/com/microsoft/aad/adal/test/AuthenticationContextTest.java
<ide> clearCache(context);
<ide> }
<ide>
<add> @SmallTest
<add> public void testAutoFlow_RefreshTokenRequestFailed_WithOauthError() throws NoSuchFieldException, IllegalAccessException,
<add> Inte... | |
JavaScript | mit | 584879086f92f95889b14237ea5de0cb4c09e942 | 0 | HumbleSoftware/envisionjs,bigspotteddog/envisionjs,bigspotteddog/envisionjs,notepad104/envisionjs,HumbleSoftware/envisionjs,RobertoMalatesta/envisionjs,RobertoMalatesta/envisionjs,notepad104/envisionjs,RobertoMalatesta/envisionjs,notepad104/envisionjs | function example () {
// Configuraiton
var
H = humblevis,
E = Flotr.EventAdapter,
container = document.getElementById('demo'),
jsonData,
priceOptions = {
name : 'price',
flotr : {
'lite-lines' : {
show : true,
lineWidth : 1,
fill : true,... | demos/ajax.js | function example () {
// Configuraiton
var
H = humblevis,
E = Flotr.EventAdapter,
container = document.getElementById('demo'),
jsonData,
priceOptions = {
name : 'price',
flotr : {
lines : {
fill : true,
fillOpacity : .2
},
mouse : ... | Get ajax demo up to speed.
| demos/ajax.js | Get ajax demo up to speed. | <ide><path>emos/ajax.js
<ide> priceOptions = {
<ide> name : 'price',
<ide> flotr : {
<del> lines : {
<add> 'lite-lines' : {
<add> show : true,
<add> lineWidth : 1,
<ide> fill : true,
<ide> fillOpacity : .2
<ide> },
<ide> volumeOptions ... | |
Java | apache-2.0 | 6c467443da6972fc5cbfae0f46f978e457ffa88a | 0 | google/data-transfer-project,google/data-transfer-project,google/data-transfer-project,google/data-transfer-project,google/data-transfer-project | /*
* Copyright 2018 The Data Transfer Project Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | portability-transfer/src/main/java/org/datatransferproject/transfer/CallableImporter.java | /*
* Copyright 2018 The Data Transfer Project Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | Fix success logging in importPageAttemptFinished (#899)
Summary:
When the importer returns errors after importItem call. The metrics
logging would still record it as success.
This commit is to fix that.
Test Plan: Do a transfer and check the metric logging on importPageAttemptFinished | portability-transfer/src/main/java/org/datatransferproject/transfer/CallableImporter.java | Fix success logging in importPageAttemptFinished (#899) | <ide><path>ortability-transfer/src/main/java/org/datatransferproject/transfer/CallableImporter.java
<ide> try {
<ide> ImportResult result = importerProvider.get()
<ide> .importItem(jobId, idempotentImportExecutor, authData, data);
<del> success = result.getType() == ImportResult.ResultType.OK;
... | |
Java | apache-2.0 | 13948e03118f00d41df2e28fdb1b39cb4ecfd22d | 0 | didclab/onedatashare,didclab/onedatashare,didclab/onedatashare,didclab/onedatashare | /**
##**************************************************************
##
## Copyright (C) 2018-2020, OneDataShare Team,
## Department of Computer Science and Engineering,
## University at Buffalo, Buffalo, NY, 14260.
##
## Licensed under the Apache License, Version 2.0 (the "License"); you
## may not use this ... | src/main/java/org/onedatashare/server/controller/endpoint/DbxController.java | /**
##**************************************************************
##
## Copyright (C) 2018-2020, OneDataShare Team,
## Department of Computer Science and Engineering,
## University at Buffalo, Buffalo, NY, 14260.
##
## Licensed under the Apache License, Version 2.0 (the "License"); you
## may not use this ... | added loggers for dbx
| src/main/java/org/onedatashare/server/controller/endpoint/DbxController.java | added loggers for dbx | <ide><path>rc/main/java/org/onedatashare/server/controller/endpoint/DbxController.java
<ide> import org.onedatashare.server.model.filesystem.operations.MkdirOperation;
<ide> import org.onedatashare.server.model.response.DownloadResponse;
<ide> import org.onedatashare.server.service.DbxService;
<add>import org.slf4j.Log... | |
Java | apache-2.0 | 068adb46fa091eb07ab1ba21c5a117cea6011fb5 | 0 | cogroo/cogroo4,Fichberg/cogroo4,Fichberg/cogroo4,cogroo/cogroo4,cogroo/cogroo4,Fichberg/cogroo4,cogroo/cogroo4,cogroo/cogroo4,Fichberg/cogroo4,Fichberg/cogroo4 | package br.ccsl.cogroo.analyzer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import opennlp.tools.postag.POSTaggerME;
import opennlp.tools.util.Span;
import br.ccsl.cogroo.config.Analyzers;
import br.ccsl.cogroo.text.Document;
import br.ccsl.cogroo.text.Sentence;
import br.ccsl.cogroo.... | cogroo-base/src/main/java/br/ccsl/cogroo/analyzer/POSTagger.java | package br.ccsl.cogroo.analyzer;
import java.util.Arrays;
import java.util.List;
import opennlp.tools.postag.POSTaggerME;
import br.ccsl.cogroo.config.Analyzers;
import br.ccsl.cogroo.text.Document;
import br.ccsl.cogroo.text.Sentence;
import br.ccsl.cogroo.text.Token;
import br.ccsl.cogroo.text.impl.TokenImpl;
impo... | Change POSTagger analyzer to group MWE. refs #598
| cogroo-base/src/main/java/br/ccsl/cogroo/analyzer/POSTagger.java | Change POSTagger analyzer to group MWE. refs #598 | <ide><path>ogroo-base/src/main/java/br/ccsl/cogroo/analyzer/POSTagger.java
<ide> package br.ccsl.cogroo.analyzer;
<ide>
<add>import java.util.ArrayList;
<ide> import java.util.Arrays;
<ide> import java.util.List;
<ide>
<ide> import opennlp.tools.postag.POSTaggerME;
<del>
<add>import opennlp.tools.util.Span;
<ide> imp... | |
Java | mit | 1528e422c448bf7d5a822edfbe70a3c097c311fc | 0 | slemonide/JLife,slemonide/sasuga | package server.ui;
import com.jme3.app.SimpleApplication;
import com.jme3.light.DirectionalLight;
import com.jme3.material.Material;
import com.jme3.math.ColorRGBA;
import com.jme3.math.FastMath;
import com.jme3.math.Quaternion;
import com.jme3.math.Vector3f;
import com.jme3.post.FilterPostProcessor;
import com.jme3.r... | src/server/ui/VisualGUI.java | package server.ui;
import com.jme3.app.SimpleApplication;
import com.jme3.light.DirectionalLight;
import com.jme3.material.Material;
import com.jme3.math.ColorRGBA;
import com.jme3.math.FastMath;
import com.jme3.math.Quaternion;
import com.jme3.math.Vector3f;
import com.jme3.post.FilterPostProcessor;
import com.jme3.r... | Try to disable OpenAL one more time.
| src/server/ui/VisualGUI.java | Try to disable OpenAL one more time. | <ide><path>rc/server/ui/VisualGUI.java
<ide>
<ide> public static void main(String[] args) {
<ide> VisualGUI app = new VisualGUI();
<add>
<add> AppSettings settings = new AppSettings(true);
<add> settings.setStereo3D(false);
<add> app.setSettings(settings);
<add>
<ide> app.start... | |
Java | mit | 634a0ab830803d3f38182188d860abfb7aab3d0b | 0 | sk89q/CommandHelper,sk89q/CommandHelper,Techcable/CommandHelper,sk89q/CommandHelper,Techcable/CommandHelper,Techcable/CommandHelper,Techcable/CommandHelper,sk89q/CommandHelper | package com.laytonsmith.core;
import com.laytonsmith.PureUtilities.Common.DateUtils;
import com.laytonsmith.PureUtilities.Common.StreamUtils;
import com.laytonsmith.PureUtilities.SimpleVersion;
import com.laytonsmith.PureUtilities.TermColors;
import com.laytonsmith.PureUtilities.XMLDocument;
import com.laytonsmith.abs... | src/main/java/com/laytonsmith/core/Static.java | package com.laytonsmith.core;
import com.laytonsmith.PureUtilities.Common.DateUtils;
import com.laytonsmith.PureUtilities.Common.StreamUtils;
import com.laytonsmith.PureUtilities.SimpleVersion;
import com.laytonsmith.PureUtilities.TermColors;
import com.laytonsmith.PureUtilities.XMLDocument;
import com.laytonsmith.abs... | Fix octal pattern
| src/main/java/com/laytonsmith/core/Static.java | Fix octal pattern | <ide><path>rc/main/java/com/laytonsmith/core/Static.java
<ide> private static final Pattern INVALID_BINARY = Pattern.compile("\"0b[0-1]*[^0-1]+[0-1]*\"");
<ide> private static final Pattern VALID_BINARY = Pattern.compile("0b[0-1]+");
<ide> private static final Pattern INVALID_OCTAL = Pattern.compile("0o[0-7]*[^0-7]+... | |
Java | mit | 727be6c6ecd1185a0f02fcc6381bf934a636c8ef | 0 | way2muchnoise/refinedstorage,raoulvdberge/refinedstorage,way2muchnoise/refinedstorage,raoulvdberge/refinedstorage | package com.raoulvdberge.refinedstorage.apiimpl.network.node.diskmanipulator;
import com.raoulvdberge.refinedstorage.RS;
import com.raoulvdberge.refinedstorage.api.storage.IStorageDisk;
import com.raoulvdberge.refinedstorage.api.util.IComparer;
import com.raoulvdberge.refinedstorage.apiimpl.network.node.NetworkNode;
i... | src/main/java/com/raoulvdberge/refinedstorage/apiimpl/network/node/diskmanipulator/NetworkNodeDiskManipulator.java | package com.raoulvdberge.refinedstorage.apiimpl.network.node.diskmanipulator;
import com.raoulvdberge.refinedstorage.RS;
import com.raoulvdberge.refinedstorage.api.storage.IStorageDisk;
import com.raoulvdberge.refinedstorage.api.util.IComparer;
import com.raoulvdberge.refinedstorage.apiimpl.network.node.NetworkNode;
i... | "Finished" check now considers the set IO mode (#1709)
* "Finished" check now considers the set IO mode
* Fixed behaviour, removed useless code
* oops, my branch wasnt up to date apparently
* forgot moving drive to output when full
* apparently wrong indentation
* Update NetworkNodeDiskManipulator.java
... | src/main/java/com/raoulvdberge/refinedstorage/apiimpl/network/node/diskmanipulator/NetworkNodeDiskManipulator.java | "Finished" check now considers the set IO mode (#1709) | <ide><path>rc/main/java/com/raoulvdberge/refinedstorage/apiimpl/network/node/diskmanipulator/NetworkNodeDiskManipulator.java
<ide> // We need to check if the stack was inserted
<ide> storage.insert(((extracted == remainder) ? remainder.copy() : remainder), remainder.getCount(), false);
<ide> ... | |
Java | apache-2.0 | 0a034817e7b9738157ea1b3c4562f1214bd6f214 | 0 | purplefox/mvel,mulesoft/mvel,Fantast/mvel,mulesoft/mvel,fharenheit/mvel,fharenheit/mvel,Fantast/mvel,purplefox/mvel,mikebrock/mvel | /**
* MVEL (The MVFLEX Expression Language)
*
* Copyright (C) 2007 Christopher Brock, MVFLEX/Valhalla Project and the Codehaus
*
* 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
*
* ... | src/main/java/org/mvel/TemplateInterpreter.java | /**
* MVEL (The MVFLEX Expression Language)
*
* Copyright (C) 2007 Christopher Brock, MVFLEX/Valhalla Project and the Codehaus
*
* 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
*
* ... | BUGFIX: template registry not being passed into interpreter.
CODE CLEANUP: generified all collections in class.
| src/main/java/org/mvel/TemplateInterpreter.java | BUGFIX: template registry not being passed into interpreter. CODE CLEANUP: generified all collections in class. | <ide><path>rc/main/java/org/mvel/TemplateInterpreter.java
<ide> * @param variables - a map of variables for use in the expression.
<ide> * @return the resultant value represented in it's equivelant string value.
<ide> */
<del> public static String evalToString(String template, Map variables) {
<add> ... | |
Java | epl-1.0 | error: pathspec 'src/main/java/com/kyloth/serleenacloud/datamodel/business/IEmergencyContact.java' did not match any file(s) known to git
| fe6e50a443ccd584d32b2da5ad0dc6328bdca51d | 1 | kyloth/serleena-cloud | /******************************************************************************
* Copyright (c) 2015 Nicola Mometto
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http... | src/main/java/com/kyloth/serleenacloud/datamodel/business/IEmergencyContact.java | DATABU: Aggiungi IEmergencyContact
Related to: SHCLOUD-3
| src/main/java/com/kyloth/serleenacloud/datamodel/business/IEmergencyContact.java | DATABU: Aggiungi IEmergencyContact | <ide><path>rc/main/java/com/kyloth/serleenacloud/datamodel/business/IEmergencyContact.java
<add>/******************************************************************************
<add>* Copyright (c) 2015 Nicola Mometto
<add>* All rights reserved. This program and the accompanying materials
<add>* are made available under... | |
Java | apache-2.0 | db0088b108652b693311b2a88f377b1ae8897e10 | 0 | apache/jackrabbit,apache/jackrabbit,apache/jackrabbit | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/FileDataStore.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | JCR-4814: File.renameTo sometimes fails to move temporary file to data record location
git-svn-id: 02b679d096242155780e1604e997947d154ee04a@1903102 13f79535-47bb-0310-9956-ffa450edef68
| jackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/FileDataStore.java | JCR-4814: File.renameTo sometimes fails to move temporary file to data record location | <ide><path>ackrabbit-data/src/main/java/org/apache/jackrabbit/core/data/FileDataStore.java
<ide> import java.io.OutputStream;
<ide> import java.io.RandomAccessFile;
<ide> import java.lang.ref.WeakReference;
<add>import java.nio.file.Files;
<add>import java.nio.file.StandardCopyOption;
<ide> import java.security.DigestO... | |
Java | bsd-3-clause | ec4ae2567a51d731fb728a75406f417e1c026f13 | 0 | EmilHernvall/tregmine,EmilHernvall/tregmine,Clunker5/tregmine-2.0,EmilHernvall/tregmine,Clunker5/tregmine-2.0 | package info.tregmine.listeners;
import info.tregmine.Tregmine;
import info.tregmine.api.TregminePlayer;
import info.tregmine.database.ConnectionPool;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.... | tregmine/src/info/tregmine/listeners/TregminePlayerListener.java | package info.tregmine.listeners;
import info.tregmine.Tregmine;
import info.tregmine.api.TregminePlayer;
import info.tregmine.database.ConnectionPool;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.... | so keyword successfully implemented
| tregmine/src/info/tregmine/listeners/TregminePlayerListener.java | so keyword successfully implemented | <ide><path>regmine/src/info/tregmine/listeners/TregminePlayerListener.java
<ide> this.plugin.log.warning( keyword );
<ide>
<ide> if (keyword.equals(event.getHostname().toLowerCase()) || keyword.matches("mc.tregmine.info:25565")) {
<del> this.plugin.log.warning( "success" );
<add>// this.plugin.log.warning(... | |
Java | apache-2.0 | 2bd8a12d5db1dd63ff788037129af916fad01ba5 | 0 | pcingola/BigDataScript,pcingola/BigDataScript,pcingola/BigDataScript,pcingola/BigDataScript,pcingola/BigDataScript,pcingola/BigDataScript,pcingola/BigDataScript | package org.bds.test;
import org.bds.Config;
import org.junit.Before;
import org.junit.Test;
/**
* Quick test cases when creating a new feature...
*
* @author pcingola
*
*/
public class TestCasesZzz extends TestCasesBase {
@Before
public void beforeEachTest() {
Config.reset();
Config.get().load();
}
//... | src/org/bds/test/TestCasesZzz.java | package org.bds.test;
import org.bds.Config;
import org.junit.Before;
import org.junit.Test;
/**
* Quick test cases when creating a new feature...
*
* @author pcingola
*
*/
public class TestCasesZzz extends TestCasesBase {
@Before
public void beforeEachTest() {
Config.reset();
Config.get().load();
}
//... | Project updated
| src/org/bds/test/TestCasesZzz.java | Project updated | <ide><path>rc/org/bds/test/TestCasesZzz.java
<ide> // verbose = true;
<ide> // runAndCheckStdout("test/run_250.bds", "GrandParent\nParent\nChild\n");
<ide> // }
<add> //
<ide>
<ide> @Test
<ide> public void test251_super_super_constructor_call() { | |
Java | mit | 716d0912d16a74d17575abee6b22ddd99fed68bd | 0 | GlobalTechnology/gma-android | package com.expidev.gcmapp.http;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Build;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import a... | app/src/main/java/com/expidev/gcmapp/http/GmaApiClient.java | package com.expidev.gcmapp.http;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Build;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.text.TextUtils;
import a... | make assert message clearer
| app/src/main/java/com/expidev/gcmapp/http/GmaApiClient.java | make assert message clearer | <ide><path>pp/src/main/java/com/expidev/gcmapp/http/GmaApiClient.java
<ide> if(ministryId.equals(Ministry.INVALID_ID) || mcc == Ministry.Mcc.UNKNOWN) {
<ide> return null;
<ide> }
<del> assert mcc.raw != null : "Only Unknown MCC's should have null raw values";
<add> assert mcc.r... | |
Java | epl-1.0 | 11422acce11ad4251d3bf6b45a0773282738660d | 0 | edgarmueller/emfstore-rest | /*******************************************************************************
* Copyright (c) 2008-2011 Chair for Applied Software Engineering,
* Technische Universitaet Muenchen.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License... | org.eclipse.emf.emfstore.client/src/org/eclipse/emf/emfstore/client/model/Configuration.java | /*******************************************************************************
* Copyright (c) 2008-2011 Chair for Applied Software Engineering,
* Technische Universitaet Muenchen.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License... | changed logging level from warning to info, since the case, where no
location provider could be found, is not critical (default will be used) | org.eclipse.emf.emfstore.client/src/org/eclipse/emf/emfstore/client/model/Configuration.java | changed logging level from warning to info, since the case, where no location provider could be found, is not critical (default will be used) | <ide><path>rg.eclipse.emf.emfstore.client/src/org/eclipse/emf/emfstore/client/model/Configuration.java
<ide> */
<ide> public static LocationProvider getLocationProvider() {
<ide> if (locationProvider == null) {
<add>
<ide> try {
<ide> // TODO EXPT PRIO
<ide> locationProvider = new ExtensionPoint("org.ec... | |
Java | agpl-3.0 | 80a0b928135a89e65939bc8a715acb9c7494b021 | 0 | BloatIt/bloatit,BloatIt/bloatit,BloatIt/bloatit,BloatIt/bloatit,BloatIt/bloatit | /*
* Copyright (C) 2010 BloatIt. This file is part of BloatIt. BloatIt is free
* software: you can redistribute it and/or modify it under the terms of the GNU
* Affero General Public License as published by the Free Software Foundation,
* either version 3 of the License, or (at your option) any later version.
* Bl... | main/src/main/java/com/bloatit/web/linkable/features/FeatureListPage.java | /*
* Copyright (C) 2010 BloatIt. This file is part of BloatIt. BloatIt is free
* software: you can redistribute it and/or modify it under the terms of the GNU
* Affero General Public License as published by the Free Software Foundation,
* either version 3 of the License, or (at your option) any later version.
* Bl... | Chaning default filter to ALL and removing create feature line
| main/src/main/java/com/bloatit/web/linkable/features/FeatureListPage.java | Chaning default filter to ALL and removing create feature line | <ide><path>ain/src/main/java/com/bloatit/web/linkable/features/FeatureListPage.java
<ide> private static final String FILTER_CODE = "filter";
<ide>
<ide> @RequestParam(name = FILTER_CODE)
<del> @Optional(FILTER_IN_PROGRESS)
<add> @Optional(FILTER_ALL)
<ide> private final String filter;
<ide>
<ide> ... | |
JavaScript | apache-2.0 | c6d847753467a2c7e8478cf1c930ccac341d2064 | 0 | syahman/lovefield,ralic/lovefield,syahman/lovefield,noikiy/lovefield,peterbe/lovefield,jjow/lovefield,JussMee15/lovefield,ls2uper/lovefield,jjow/lovefield,TimWillis/lovefield,murugespandian/lovefield,mcanthony/lovefield,timeu/lovefield,digital-synapse/lovefield,TimWillis/lovefield,vasopikof/lovefield,vasopikof/lovefiel... | /**
* @license
* Copyright 2015 The Lovefield Project Authors. 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
... | lib/backstore/firebase_raw_back_store.js | /**
* @license
* Copyright 2015 The Lovefield Project Authors. 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
... | Add missing goog.require().
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=95589937
| lib/backstore/firebase_raw_back_store.js | Add missing goog.require(). ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=95589937 | <ide><path>ib/backstore/firebase_raw_back_store.js
<ide> goog.provide('lf.backstore.FirebaseRawBackStore');
<ide>
<ide> goog.require('goog.Promise');
<add>goog.require('goog.structs.Map');
<ide> goog.require('lf.Exception');
<ide> goog.require('lf.raw.BackStore');
<ide> | |
Java | apache-2.0 | 71ef59cba32ddac846514c1d5c4e0b2f4cf2de98 | 0 | brmeyer/s-ramp,ArtificerRepo/artificer,brmeyer/s-ramp,brmeyer/s-ramp,ArtificerRepo/artificer,ArtificerRepo/artificer,ArtificerRepo/artificer,brmeyer/s-ramp | /*
* Copyright 2013 JBoss 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 i... | ui/src/main/java/org/artificer/ui/server/services/ArtifactService.java | /*
* Copyright 2013 JBoss 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 i... | ENTESB-4127 Problem with deletion of all artifact classifiers
| ui/src/main/java/org/artificer/ui/server/services/ArtifactService.java | ENTESB-4127 Problem with deletion of all artifact classifiers | <ide><path>i/src/main/java/org/artificer/ui/server/services/ArtifactService.java
<ide> * limitations under the License.
<ide> */
<ide> package org.artificer.ui.server.services;
<add>
<add>import java.io.ByteArrayOutputStream;
<add>import java.io.InputStream;
<add>import java.util.Iterator;
<add>import java.util.List;... | |
Java | bsd-3-clause | error: pathspec 'src/test/java/net/emaze/dysfunctional/samples/BatmanIteratorTest.java' did not match any file(s) known to git
| f939cb94cf78739e81ea4d9aca0c1cfae20c3d54 | 1 | EdMcBane/emaze-dysfunctional,emaze/emaze-dysfunctional | package net.emaze.dysfunctional.samples;
import java.util.Iterator;
import net.emaze.dysfunctional.Filtering;
import net.emaze.dysfunctional.Multiplexing;
import net.emaze.dysfunctional.Strings;
import net.emaze.dysfunctional.iterations.ConstantIterator;
import org.junit.Test;
public class BatmanIteratorTest {
@... | src/test/java/net/emaze/dysfunctional/samples/BatmanIteratorTest.java | enh: batman.
| src/test/java/net/emaze/dysfunctional/samples/BatmanIteratorTest.java | enh: batman. | <ide><path>rc/test/java/net/emaze/dysfunctional/samples/BatmanIteratorTest.java
<add>package net.emaze.dysfunctional.samples;
<add>
<add>import java.util.Iterator;
<add>import net.emaze.dysfunctional.Filtering;
<add>import net.emaze.dysfunctional.Multiplexing;
<add>import net.emaze.dysfunctional.Strings;
<add>import ne... | |
JavaScript | mit | 4e4b4ea4680d915c65487e7169bc93f17db3bf96 | 0 | WeebDev/loli-safe,WeebDev/loli-safe,WeebDev/lolisafe,WeebDev/lolisafe | export const state = () => ({
loggedIn: false,
user: null,
token: null,
config: null,
alert: null
});
/* eslint-disable no-shadow */
export const mutations = {
loggedIn(state, payload) {
state.loggedIn = payload;
},
user(state, payload) {
state.user = payload;
},
token(state, payload) {
state.token = p... | src/site/store/index.js | export const state = () => ({
loggedIn: false,
user: null,
token: null,
config: null,
alert: null
});
/* eslint-disable no-shadow */
export const mutations = {
loggedIn(state, payload) {
state.loggedIn = payload;
},
user(state, payload) {
state.user = payload;
},
token(state, payload) {
state.token = p... | don't log out on API error
| src/site/store/index.js | don't log out on API error | <ide><path>rc/site/store/index.js
<ide> user: response.user
<ide> });
<ide> } catch (error) {
<del> dispatch('logout');
<add> // dispatch('logout');
<ide> }
<ide> },
<ide> login({ commit }, { token, user }) { | |
Java | apache-2.0 | a2d1923cb2583241cf5d39cb13cceeda69680af0 | 0 | ddebrunner/streamsx.topology,ddebrunner/streamsx.topology,IBMStreams/streamsx.topology,ddebrunner/streamsx.topology,ddebrunner/streamsx.topology,IBMStreams/streamsx.topology,ddebrunner/streamsx.topology,IBMStreams/streamsx.topology,IBMStreams/streamsx.topology,ddebrunner/streamsx.topology,ddebrunner/streamsx.topology,I... | /*
# Licensed Materials - Property of IBM
# Copyright IBM Corp. 2017, 2018
*/
package com.ibm.streamsx.topology.internal.context.remote;
import static com.ibm.streamsx.topology.context.ContextProperties.KEEP_ARTIFACTS;
import static com.ibm.streamsx.topology.internal.graph.GraphKeys.graph;
import static com.ibm.stre... | java/src/com/ibm/streamsx/topology/internal/context/remote/DeployKeys.java | /*
# Licensed Materials - Property of IBM
# Copyright IBM Corp. 2017, 2018
*/
package com.ibm.streamsx.topology.internal.context.remote;
import static com.ibm.streamsx.topology.context.ContextProperties.KEEP_ARTIFACTS;
import static com.ibm.streamsx.topology.internal.graph.GraphKeys.graph;
import static com.ibm.stre... | Fix namespace,name order
| java/src/com/ibm/streamsx/topology/internal/context/remote/DeployKeys.java | Fix namespace,name order | <ide><path>ava/src/com/ibm/streamsx/topology/internal/context/remote/DeployKeys.java
<ide> final JsonObject submissionResult = GsonUtilities.objectCreate(submission, RemoteContext.SUBMISSION_RESULTS);
<ide>
<ide> return createJobConfigOverlayFile(dir, copyJobConfigOverlays(deploy),
<del> ... | |
Java | apache-2.0 | 93e38c4caffff77b20cdbf2b116134c08dec24d7 | 0 | subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/base,subutai-io/base,subutai-io/base,subutai-io/Subutai,subutai-io/base | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.safehaus.kiskis.mgmt.ui.commandrunner;
import com.google.common.base.Strings;
import com.vaadin.event.ShortcutAction;
impo... | management/server/core/command-runner/command-runner-ui/src/main/java/org/safehaus/kiskis/mgmt/ui/commandrunner/TerminalForm.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.safehaus.kiskis.mgmt.ui.commandrunner;
import com.google.common.base.Strings;
import com.vaadin.event.ShortcutAction;
impo... | Fixing AddNodeWindow possible dead loop
Former-commit-id: a67973c434c0e20678bae09cf739b2f098434221 | management/server/core/command-runner/command-runner-ui/src/main/java/org/safehaus/kiskis/mgmt/ui/commandrunner/TerminalForm.java | Fixing AddNodeWindow possible dead loop | <ide><path>anagement/server/core/command-runner/command-runner-ui/src/main/java/org/safehaus/kiskis/mgmt/ui/commandrunner/TerminalForm.java
<ide> RequestBuilder requestBuilder = new RequestBuilder(programTxtFld.getValue().toString());
<ide>
<ide> if (requestTypeCombo.getValue() ... | |
Java | apache-2.0 | b0d11714eaaf81ffce25ec3fd55985d19d89278a | 0 | Floobits/floobits-intellij | package floobits.common;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.intellij.openapi.progress.ProcessCanceledException;
import floobits.common.interfaces.IContext;
import floobits.common.protocol.handlers.BaseHandler;
... | src/floobits/common/API.java | package floobits.common;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.intellij.openapi.progress.ProcessCanceledException;
import floobits.common.interfaces.IContext;
import floobits.common.protocol.handlers.BaseHandler;
... | Fix error handling, use correct url.
| src/floobits/common/API.java | Fix error handling, use correct url. | <ide><path>rc/floobits/common/API.java
<ide> return false;
<ide> }
<ide> context.errorMessage(String.format(
<del> "%s Get more <a style=\"color: blue;text-decoration:underline;\" href=\"https://floobits.com/%s/settings#billing\">here</a>.", det... | |
Java | mit | df1813c059fe9a4f71aee223513ff1968f9ce68e | 0 | argonium/beetle-cli | package io.miti.beetle.console;
import java.io.Console;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import jav... | src/io/miti/beetle/console/LineConsole.java | package io.miti.beetle.console;
import java.io.Console;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import jav... | Made a method public. | src/io/miti/beetle/console/LineConsole.java | Made a method public. | <ide><path>rc/io/miti/beetle/console/LineConsole.java
<ide> }
<ide>
<ide>
<del> private void describeTable(final String table) {
<add> public void describeTable(final String table) {
<ide>
<ide> // Find the user DB with the specified ID
<ide> final UserDb userDb = UserDBCache.get().find(session.g... | |
Java | epl-1.0 | 83707396956d42d3a151e2b86f14f18e6467fb1b | 0 | crapo/sadlos2,crapo/sadlos2,crapo/sadlos2,crapo/sadlos2,crapo/sadlos2,crapo/sadlos2 | /************************************************************************
* Copyright © 2007-2016 - General Electric Company, All Rights Reserved
*
* Project: SADL
*
* Description: The Semantic Application Design Language (SADL) is a
* language for building semantic models and expressing rules that
* capture add... | sadl3/com.ge.research.sadl.parent/com.ge.research.sadl.jena/src/com/ge/research/sadl/jena/JenaBasedSadlModelProcessor.java | /************************************************************************
* Copyright © 2007-2016 - General Electric Company, All Rights Reserved
*
* Project: SADL
*
* Description: The Semantic Application Design Language (SADL) is a
* language for building semantic models and expressing rules that
* capture add... | no message
| sadl3/com.ge.research.sadl.parent/com.ge.research.sadl.jena/src/com/ge/research/sadl/jena/JenaBasedSadlModelProcessor.java | no message | <ide><path>adl3/com.ge.research.sadl.parent/com.ge.research.sadl.jena/src/com/ge/research/sadl/jena/JenaBasedSadlModelProcessor.java
<ide> if (typeStr.equals("short")) {
<ide> return validateNamedNode(new NamedNode(XSD.xshort.getURI(), NodeType.DataTypeNode));
<ide> }
<del> return validateNamedNode(new NamedNod... | |
JavaScript | mit | 75112f8144daec9c3b4b8cb769dffe1e525a1035 | 0 | zubairq/yazz,zubairq/gosharedata,zubairq/gosharedata,zubairq/yazz | function(args) {
/*
is_app(true)
control_type("VB")
display_name("Data Window control")
description("This will return the data window control")
base_component_id("data_window_control")
load_once_from_file(true)
visibility("PRIVATE")
read_only(true)
properties(
[
{
id: "text",
nam... | public/visifile_drivers/controls/data_window.js | function(args) {
/*
is_app(true)
control_type("VB")
display_name("Data Window control")
description("This will return the data window control")
base_component_id("data_window_control")
load_once_from_file(true)
visibility("PRIVATE")
read_only(true)
properties(
[
{
id: "text",
nam... | data window col resize option works now
| public/visifile_drivers/controls/data_window.js | data window col resize option works now | <ide><path>ublic/visifile_drivers/controls/data_window.js
<ide> paginationSize: 7
<ide> ,
<ide> movableColumns: true
<add> ,
<add> resizableColumns: this.args.allow_col_resize
<ide> ... | |
Java | bsd-3-clause | e1aac65eba66fa676311f76651e64354ef01f912 | 0 | krzyk/nerodesk,Nerodesk/nerodesk,antonini/nerodesk,libreio/libre,Nerodesk/nerodesk,antonini/nerodesk,libreio/libre,krzyk/nerodesk | /**
* Copyright (c) 2015, nerodesk.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met: 1) Redistributions of source code must retain the above
* copyright notice, this list of conditions ... | src/main/java/com/nerodesk/takes/doc/TsDoc.java | /**
* Copyright (c) 2015, nerodesk.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met: 1) Redistributions of source code must retain the above
* copyright notice, this list of conditions ... | #94: qulice
| src/main/java/com/nerodesk/takes/doc/TsDoc.java | #94: qulice | <ide><path>rc/main/java/com/nerodesk/takes/doc/TsDoc.java
<ide> import org.takes.facets.fork.FkRegex;
<ide> import org.takes.facets.fork.TsFork;
<ide> import org.takes.misc.Href;
<add>import org.takes.rq.RqForm;
<ide> import org.takes.rq.RqHeaders;
<del>import org.takes.rq.RqForm;
<ide> import org.takes.rq.RqHref;
<ide... | |
JavaScript | bsd-2-clause | a30ab2c7bd633f294e16f7863ae48ce73a1e4143 | 0 | roblillack/php-liki-server,roblillack/php-liki-server | /*
* bs|liki by Robert Lillack.
*
* ©2005-2006 burningsoda.com
*/
var baseURI;
var mainURI;
var timeout;
var editMode;
var interval;
var lockKey;
var pageIsReadOnly;
var pageQuery;
// pagecontent (unformatiert)
var pageContent;
var oldContent;
var transmitting;
var lastTimestamp;
// DOM nodes:
var eEditButton;
va... | bs_liki.js | /*
* bs|liki by Robert Lillack.
*
* ©2005-2006 burningsoda.com
*/
var baseURI;
var mainURI;
var timeout;
var editMode;
var interval;
var lockKey;
var pageIsReadOnly;
var pageQuery;
// pagecontent (unformatiert)
var pageContent;
var oldContent;
var transmitting;
var lastTimestamp;
// DOM nodes:
var eEditButton;
va... | errorhandling fuer misskodierte timestamp-listen.
--- Diese und die folgenden Zeilen werden ignoriert --
M liki/bs_liki.js
| bs_liki.js | errorhandling fuer misskodierte timestamp-listen. --- Diese und die folgenden Zeilen werden ignoriert -- | <ide><path>s_liki.js
<ide> function updateFromHeaderData(req) {
<ide> try {
<ide> updateTimestamps(eRecentChanges, req.getResponseHeader('X-LIKI-RecentChanges'));
<add> } catch(e) {}
<add> try {
<ide> updateTimestamps(eRecentVisits, req.getResponseHeader('X-LIKI-RecentVisits'));
<del> } catch(e) { }
<add> ... | |
Java | apache-2.0 | ab446044e0cc2b60f68375cb7b27475d8be6cfd7 | 0 | cdietze/chessdog,cdietze/chessdog | package com.christophdietze.jack.client;
import com.allen_sauer.gwt.log.client.Log;
import com.christophdietze.jack.client.event.UncaughtExceptionEvent;
import com.christophdietze.jack.client.presenter.ApplicationContext;
import com.christophdietze.jack.client.util.GlobalEventBus;
import com.christophdietze.jack.clien... | src/main/java/com/christophdietze/jack/client/Main.java | package com.christophdietze.jack.client;
import com.allen_sauer.gwt.log.client.Log;
import com.christophdietze.jack.client.event.UncaughtExceptionEvent;
import com.christophdietze.jack.client.presenter.ApplicationContext;
import com.christophdietze.jack.client.util.GlobalEventBus;
import com.christophdietze.jack.clien... | case 2: My first case to solve
https://thunderklaus.fogbugz.com/default.asp?2 BugzID: 2
| src/main/java/com/christophdietze/jack/client/Main.java | case 2: My first case to solve https://thunderklaus.fogbugz.com/default.asp?2 BugzID: 2 | <ide><path>rc/main/java/com/christophdietze/jack/client/Main.java
<ide> Log.info("GWT Module " + this.getClass().getName() + " initialized.");
<ide> }
<ide>
<del> private static String buildErrorMessage(Throwable ex) {
<add> private String buildErrorMessage(Throwable ex) {
<ide> return buildErrorMessage(new Strin... | |
JavaScript | agpl-3.0 | 16f0d7e051b1b5e8375ae41ee2501f2ab5e964cf | 0 | hawkrives/gobbldygook,hawkrives/gobbldygook,hawkrives/gobbldygook | 'use strict';
var readJson = require('./readJson')
var Promise = require('bluebird')
var _ = require('lodash')
var add = require('./add')
var db = require('./db')
var buildDeptNum = require('./deptNum').buildDeptNum
var logDataLoading = false
function storeCourses(item) {
window.courseCache = {}
return new Promis... | client/helpers/loadData.js | 'use strict';
var readJson = require('./readJson')
var Promise = require('bluebird')
var _ = require('lodash')
var add = require('./add')
var db = require('./db')
var buildDeptNum = require('./deptNum').buildDeptNum
var logDataLoading = false
function storeCourses(item) {
window.courseCache = {}
return new Promis... | No longer hash in this function
| client/helpers/loadData.js | No longer hash in this function | <ide><path>lient/helpers/loadData.js
<ide> function cleanPriorData(item) {
<ide> return new Promise(function (resolve, reject) {
<ide> var path = item.meta.path
<del> var hash = item.meta.hash
<ide> console.info('deleting ' + item.type + ' from ' + path)
<ide>
<ide> var deleteItemsPromise = window.db.query(ite... | |
JavaScript | agpl-3.0 | 8f6121ffa8dfd5ee85ba70569587e2b1878084cd | 0 | cernbox/core,Ardinis/server,sharidas/core,whitekiba/server,nextcloud/server,bluelml/core,xx621998xx/server,michaelletzgus/nextcloud-server,IljaN/core,owncloud/core,bluelml/core,sharidas/core,lrytz/core,jbicha/server,pixelipo/server,sharidas/core,endsguy/server,xx621998xx/server,IljaN/core,phil-davis/core,michaelletzgus... | FileActions={
actions:{},
defaults:{},
icons:{},
currentFile:null,
register:function(mime,name,icon,action){
if(!FileActions.actions[mime]){
FileActions.actions[mime]={};
}
FileActions.actions[mime][name]=action;
FileActions.icons[name]=icon;
},
setDefault:function(mime,name){
FileActions.defaults[m... | apps/files/js/fileactions.js | FileActions={
actions:{},
defaults:{},
icons:{},
currentFile:null,
register:function(mime,name,icon,action){
if(!FileActions.actions[mime]){
FileActions.actions[mime]={};
}
FileActions.actions[mime][name]=action;
FileActions.icons[name]=icon;
},
setDefault:function(mime,name){
FileActions.defaults[m... | Files: Double encode download links. Fix for oc-1016.
| apps/files/js/fileactions.js | Files: Double encode download links. Fix for oc-1016. | <ide><path>pps/files/js/fileactions.js
<ide> var downloadScope = 'file';
<ide> }
<ide> FileActions.register(downloadScope,'Download',function(){return OC.imagePath('core','actions/download')},function(filename){
<del> window.location=OC.filePath('files', 'ajax', 'download.php') + '?files='+encodeURIComponent(filen... | |
Java | apache-2.0 | e05a67cf413507c0c20887813dc898472ebb9910 | 0 | aravindc/databenecommons | /*
* (c) Copyright 2010 by Volker Bergmann. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, is permitted under the terms of the
* GNU General Public License (GPL).
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* WITHOU... | src/main/java/org/databene/commons/converter/SqlDate2UtilDateConverter.java | /*
* (c) Copyright 2010 by Volker Bergmann. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, is permitted under the terms of the
* GNU General Public License (GPL).
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* WITHOU... | Java 6
git-svn-id: 5d4207b98d7274194a51d188374a5d8ee1fe55c3@133 783448d1-dfc0-4521-9cb0-58c191f7d5bb
| src/main/java/org/databene/commons/converter/SqlDate2UtilDateConverter.java | Java 6 | <ide><path>rc/main/java/org/databene/commons/converter/SqlDate2UtilDateConverter.java
<ide> super(java.sql.Date.class, Date.class);
<ide> }
<ide>
<del> public Date convert(java.sql.Date target) throws ConversionException {
<add> @Override
<add> public Date convert(java.sql.Date target) throws ConversionExcept... | |
Java | apache-2.0 | 875b1e5f9edf2df0ba029b3bf7aa2d0018e92607 | 0 | divino/marklogic-data-hub,divino/marklogic-data-hub,divino/marklogic-data-hub,divino/marklogic-data-hub,marklogic/data-hub-in-a-box,marklogic/data-hub-in-a-box,marklogic/data-hub-in-a-box,divino/marklogic-data-hub,marklogic/data-hub-in-a-box | package com.marklogic.hub.job;
import com.marklogic.client.DatabaseClient;
import com.marklogic.client.document.DocumentWriteOperation;
import com.marklogic.client.helper.DatabaseClientProvider;
import com.marklogic.spring.batch.columnmap.ColumnMapSerializer;
import com.marklogic.spring.batch.columnmap.DefaultStaxColu... | examples/spring-batch/src/main/java/com/marklogic/hub/job/SqlDbToHubJobConfig.java | package com.marklogic.hub.job;
import com.marklogic.client.document.DocumentWriteOperation;
import com.marklogic.client.helper.DatabaseClientProvider;
import com.marklogic.spring.batch.columnmap.ColumnMapSerializer;
import com.marklogic.spring.batch.columnmap.DefaultStaxColumnMapSerializer;
import com.marklogic.spring... | Add DataHubItemWriter to batch job
| examples/spring-batch/src/main/java/com/marklogic/hub/job/SqlDbToHubJobConfig.java | Add DataHubItemWriter to batch job | <ide><path>xamples/spring-batch/src/main/java/com/marklogic/hub/job/SqlDbToHubJobConfig.java
<ide> package com.marklogic.hub.job;
<ide>
<add>import com.marklogic.client.DatabaseClient;
<ide> import com.marklogic.client.document.DocumentWriteOperation;
<ide> import com.marklogic.client.helper.DatabaseClientProvider;
<i... | |
JavaScript | mit | 0decf325858e9b7312dec78421f1402ad555ca93 | 0 | NEYouFan/nei-toolkit,NEYouFan/nei-toolkit,genify/nei,NEYouFan/nei-toolkit,genify/nei,genify/nei,NEYouFan/nei-toolkit | /*
* Mobile Builder
* @module nei/mobile
* @author genify(caijf@corp.netease.com)
*/
var path = require('path'),
util = require('util'),
_util = require('../util/util.js');
// template root
var TPL_ROOT = __dirname+'/mobile/template/';
// mobile build
var Mobile = module.exports
= require('../uti... | lib/nei/mobile.js | /*
* Mobile Builder
* @module nei/mobile
* @author genify(caijf@corp.netease.com)
*/
var path = require('path'),
util = require('util'),
_util = require('../util/util.js');
// template root
var TPL_ROOT = __dirname+'/mobile/template/';
// mobile build
var Mobile = module.exports
= require('../uti... | export mobile model
| lib/nei/mobile.js | export mobile model | <ide><path>ib/nei/mobile.js
<ide> var prop = _util.merge(conf,attr);
<ide> // check for Array
<ide> if (prop.isArray==1){
<del> conf.noStar = !1;
<add> prop.noStar = !1;
<ide> prop.refName =... | |
Java | apache-2.0 | 57796e1e8943a69a8d187d5e93038626997288d5 | 0 | shellygill/maps-app-android,Esri/maps-app-android | /* Copyright 2016 Esri
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, so... | maps-app/src/main/java/com/esri/android/mapsapp/MapsAppActivity.java | /* Copyright 2016 Esri
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, so... | Added logic for checking if GPS and airplane mode
| maps-app/src/main/java/com/esri/android/mapsapp/MapsAppActivity.java | Added logic for checking if GPS and airplane mode | <ide><path>aps-app/src/main/java/com/esri/android/mapsapp/MapsAppActivity.java
<ide> package com.esri.android.mapsapp;
<ide>
<ide> import android.Manifest;
<add>import android.annotation.TargetApi;
<ide> import android.app.Fragment;
<ide> import android.app.FragmentManager;
<ide> import android.app.FragmentTransaction... | |
Java | bsd-3-clause | 10f28792ff158729923f5515a7ce91d4aacbe1ce | 0 | sabitaacharya/semanticvectors,anhth12/semanticvectors,Lucky-Dhakad/semanticvectors,anhth12/semanticvectors,Lucky-Dhakad/semanticvectors,sabitaacharya/semanticvectors,Lucky-Dhakad/semanticvectors,anhth12/semanticvectors,anhth12/semanticvectors,sabitaacharya/semanticvectors,Lucky-Dhakad/semanticvectors,sabitaacharya/sema... | /**
Copyright (c) 2008, Arizona State University.
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 o... | src/pitt/search/semanticvectors/IncrementalDocVectors.java | /**
Copyright (c) 2008, Arizona State University.
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 o... | Minor enhancement: calculate global weights of terms to-be-indexed only. | src/pitt/search/semanticvectors/IncrementalDocVectors.java | Minor enhancement: calculate global weights of terms to-be-indexed only. | <ide><path>rc/pitt/search/semanticvectors/IncrementalDocVectors.java
<ide>
<ide> for (int b = 0; b < freqs.length; ++b) {
<ide> String termString = terms[b];
<del> int freq = freqs[b];
<del> float localweight = freq;
<del> float globalweight = lUtils.getGlobalTerm... | |
Java | mit | d4160c029bf78b5044df25d1dc7dfd7862e62e85 | 0 | nking/curvature-scale-space-corners-and-transformations,nking/curvature-scale-space-corners-and-transformations | package algorithms.imageProcessing;
import algorithms.compGeometry.NearestPoints;
import algorithms.compGeometry.NearestPointsFloat;
import algorithms.imageProcessing.util.PairIntWithIndex;
import algorithms.misc.Histogram;
import algorithms.misc.HistogramHolder;
import algorithms.util.CornerArray;
import algorithms.u... | src/algorithms/imageProcessing/CSSCornerMaker.java | package algorithms.imageProcessing;
import algorithms.compGeometry.NearestPoints;
import algorithms.compGeometry.NearestPointsFloat;
import algorithms.imageProcessing.util.PairIntWithIndex;
import algorithms.misc.Histogram;
import algorithms.misc.HistogramHolder;
import algorithms.util.CornerArray;
import algorithms.u... | adding a merge of adjacent corners to corner maker | src/algorithms/imageProcessing/CSSCornerMaker.java | adding a merge of adjacent corners to corner maker | <ide><path>rc/algorithms/imageProcessing/CSSCornerMaker.java
<ide> *
<ide> * The method uses the recursive and separable properties of Gaussians where
<ide> * possible. (NOTE, not finished implementing the recursive portion).
<del> * Also, the curves can be closed curves and derived from means other than
<add> * A... | |
Java | apache-2.0 | d716b9668f72f1e83a091349c5398e42995e8b69 | 0 | zhengjiabin/domeke,zhengjiabin/domeke,zhengjiabin/domeke,zhengjiabin/domeke | /**
*
*/
package com.domeke.app.controller;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.domeke.app.model.VentWall;
import com.domeke.app.route.ControllerBind;
import com.jfinal.core.Controller;
/**
* @author zhouying
*
*/
@ControllerBind(controllerKey="ventwall")
... | core/src/main/java/com/domeke/app/controller/VentWallController.java | /**
*
*/
package com.domeke.app.controller;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.domeke.app.model.VentWall;
import com.domeke.app.route.ControllerBind;
import com.jfinal.core.Controller;
/**
* @author zhouying
*
*/
@ControllerBind(controllerKey="ventwall")
... | zhouying 更改 | core/src/main/java/com/domeke/app/controller/VentWallController.java | zhouying 更改 | <ide><path>ore/src/main/java/com/domeke/app/controller/VentWallController.java
<ide> }
<ide>
<ide> public void index() {
<del> render("/demo/insertVentWall.html.html");
<add> render("/demo/insertVentWall.html");
<ide> }
<ide> /**
<ide> * 查询留言 | |
Java | apache-2.0 | 4ae26dbdcfc9357c1db2de9031e680f6e2698c5b | 0 | batfish/batfish,dhalperi/batfish,arifogel/batfish,intentionet/batfish,intentionet/batfish,batfish/batfish,intentionet/batfish,intentionet/batfish,intentionet/batfish,dhalperi/batfish,arifogel/batfish,arifogel/batfish,batfish/batfish,dhalperi/batfish | package org.batfish.bdp;
import static java.util.Collections.singletonList;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.greaterThan;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.isIn;
import static org.hamcrest.Matchers.lessThan;
import static org.ham... | projects/batfish/src/test/java/org/batfish/bdp/BdpDataPlanePluginTest.java | package org.batfish.bdp;
import static java.util.Collections.singletonList;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.greaterThan;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.isIn;
import static org.hamcrest.Matchers.lessThan;
import static org.ham... | use correct name for VirtualRouter instantiation
| projects/batfish/src/test/java/org/batfish/bdp/BdpDataPlanePluginTest.java | use correct name for VirtualRouter instantiation | <ide><path>rojects/batfish/src/test/java/org/batfish/bdp/BdpDataPlanePluginTest.java
<ide> Map<String, Node> nodes = new HashMap<String, Node>();
<ide> Node node = new Node(c, nodes);
<ide> nodes.put(hostname, node);
<del> VirtualRouter vr = new VirtualRouter(hostname, c, nodes);
<add> VirtualRouter v... | |
Java | agpl-3.0 | dc335fbb6c848e7553e9c513dceac14a107210f5 | 0 | clpo13/Pokemap,patil215/Pokemap | package com.omkarmoghe.pokemap;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.view.Menu;
i... | app/src/main/java/com/omkarmoghe/pokemap/MainActivity.java | package com.omkarmoghe.pokemap;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.view.Menu;
i... | Bug Fix.
| app/src/main/java/com/omkarmoghe/pokemap/MainActivity.java | Bug Fix. | <ide><path>pp/src/main/java/com/omkarmoghe/pokemap/MainActivity.java
<ide> import com.omkarmoghe.pokemap.login.RequestCredentialsDialogFragment;
<ide> import com.omkarmoghe.pokemap.map.LocationManager;
<ide> import com.omkarmoghe.pokemap.map.MapWrapperFragment;
<del>import com.omkarmoghe.pokemap.network.LoginType;
<ide... | |
Java | apache-2.0 | 54880163c7f24cb4fad929c156aeadc8f185dad8 | 0 | bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud | package com.planet_ink.coffee_mud.Abilities.Spells;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import... | com/planet_ink/coffee_mud/Abilities/Spells/Spell_Wish.java | package com.planet_ink.coffee_mud.Abilities.Spells;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import... | Levels lost from casting wish to gain an ability now depends on how many unqualified abilities the target has.
git-svn-id: 0cdf8356e41b2d8ccbb41bb76c82068fe80b2514@20548 0d6f1817-ed0e-0410-87c9-987e46238f29
| com/planet_ink/coffee_mud/Abilities/Spells/Spell_Wish.java | Levels lost from casting wish to gain an ability now depends on how many unqualified abilities the target has. | <ide><path>om/planet_ink/coffee_mud/Abilities/Spells/Spell_Wish.java
<ide> tm.addAbility(A);
<ide> baseLoss+=500;
<ide> wishDrain(mob,baseLoss,true);
<del> msg.source().tell(L("Your wish also causes you lose 2 levels."));
<del> CMLib.leveler().unLevel(mob);
<del> CMLib.level... | |
Java | apache-2.0 | 71d1aad765ce15cce602471afee1aaad6184aeb6 | 0 | MichaelNedzelsky/intellij-community,salguarnieri/intellij-community,apixandru/intellij-community,izonder/intellij-community,SerCeMan/intellij-community,signed/intellij-community,joewalnes/idea-community,apixandru/intellij-community,jagguli/intellij-community,da1z/intellij-community,akosyakov/intellij-community,TangHao1... | /*
* Copyright 2000-2005 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | action-system/openapi/com/intellij/openapi/actionSystem/AnAction.java | /*
* Copyright 2000-2005 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | debugger content pane actions
| action-system/openapi/com/intellij/openapi/actionSystem/AnAction.java | debugger content pane actions | <ide><path>ction-system/openapi/com/intellij/openapi/actionSystem/AnAction.java
<ide> private static final ShortcutSet ourEmptyShortcutSet = new CustomShortcutSet(new Shortcut[0]);
<ide> private boolean myIsDefaultIcon = true;
<ide> private boolean myWorksInInjected;
<del>
<add> ... | |
JavaScript | agpl-3.0 | c9869e4e83f366d2ed0a0d206e534f87b9d236e8 | 0 | bac/juju-gui,bac/juju-gui,jrwren/juju-gui,CanonicalJS/juju-gui,mitechie/juju-gui,CanonicalJS/juju-gui,mitechie/juju-gui,jrwren/juju-gui,bac/juju-gui,mitechie/juju-gui,bac/juju-gui,CanonicalJS/juju-gui,jrwren/juju-gui,jrwren/juju-gui,mitechie/juju-gui | /*
This file is part of the Juju GUI, which lets users view and manage Juju
environments within a graphical interface (https://launchpad.net/juju-gui).
Copyright (C) 2012-2013 Canonical Ltd.
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License... | app/views/viewlets/charm-details.js | /*
This file is part of the Juju GUI, which lets users view and manage Juju
environments within a graphical interface (https://launchpad.net/juju-gui).
Copyright (C) 2012-2013 Canonical Ltd.
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License... | Responding to comment. | app/views/viewlets/charm-details.js | Responding to comment. | <ide><path>pp/views/viewlets/charm-details.js
<ide> });
<ide> charmView.render();
<ide> },
<del> 'failure': function(data, request) {
<add> 'failure': function(data) {
<ide> var charmView = new browserViews.BrowserCharmView({
<ide> charm: charm,
<ide> ... | |
Java | apache-2.0 | 3b659831616636a9674bacd1aa37794101daeeb8 | 0 | androidgilbert/u2020,NightlyNexus/u2020,cgruber/u2020,sitexa/u2020,niqo01/monkey,xubuhang/u2020,matthew-compton/u2020,venkatesh3007/u2020,bgogetap/u2020,tomrenn/u2020,tsdl2013/u2020,androidhuoniao/u2020,venkatesh3007/u2020,JoeCao/U2020,rafaeltoledo/u2020,tomrenn/u2020,pyricau/u2020,friederbluemle/u2020,Sorlance/u2020,s... | package com.jakewharton.u2020.ui.debug;
import android.animation.ValueAnimator;
import android.app.AlertDialog;
import android.app.Application;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Build;
import android.util.DisplayMetrics;
import andr... | src/internalDebug/java/com/jakewharton/u2020/ui/debug/DebugView.java | package com.jakewharton.u2020.ui.debug;
import android.animation.ValueAnimator;
import android.app.AlertDialog;
import android.app.Application;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Build;
import android.util.DisplayMetrics;
import andr... | Show DPI value instead of 'unknown'
| src/internalDebug/java/com/jakewharton/u2020/ui/debug/DebugView.java | Show DPI value instead of 'unknown' | <ide><path>rc/internalDebug/java/com/jakewharton/u2020/ui/debug/DebugView.java
<ide> case DisplayMetrics.DENSITY_TV:
<ide> return "tvdpi";
<ide> default:
<del> return "unknown";
<add> return String.valueOf(displayMetrics.densityDpi);
<ide> }
<ide> }
<ide> | |
Java | apache-2.0 | 32d539940a48981994bdb2d49a3d7e464b82d796 | 0 | jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics | /*
* Java Genetic Algorithm Library (@__identifier__@).
* Copyright (c) @__year__@ Franz Wilhelmstötter
*
* 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/... | jenetics.example/src/main/java/io/jenetics/example/RxEvaluator.java | /*
* Java Genetic Algorithm Library (@__identifier__@).
* Copyright (c) @__year__@ Franz Wilhelmstötter
*
* 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/... | Improve 'RxEvaluator'.
| jenetics.example/src/main/java/io/jenetics/example/RxEvaluator.java | Improve 'RxEvaluator'. | <ide><path>enetics.example/src/main/java/io/jenetics/example/RxEvaluator.java
<ide>
<ide> return result
<ide> .collect(ISeq.toISeq())
<del> .map(Observable::blockingFirst);
<add> .map(Observable::blockingSingle);
<ide> }
<ide>
<ide> public static void main(final String[] args) { | |
Java | apache-2.0 | 8ce4d01923dc4b22d929a714c4bf7abedae1e77c | 0 | wada811/AndroidLibrary-wada811 | /*
* Copyright 2013 wada811<at.wada811@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | AndroidLibrary@wada811/src/at/wada811/net/NetworkManager.java | /*
* Copyright 2013 wada811<at.wada811@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | add Wi-Fi utilities methods
| AndroidLibrary@wada811/src/at/wada811/net/NetworkManager.java | add Wi-Fi utilities methods | <ide><path>ndroidLibrary@wada811/src/at/wada811/net/NetworkManager.java
<ide> import android.net.wifi.WifiConfiguration;
<ide> import android.net.wifi.WifiInfo;
<ide> import android.net.wifi.WifiManager;
<add>import android.text.TextUtils;
<add>import at.wada811.net.NetworkManager.Wifi.Security;
<add>import at.wada811.... | |
Java | apache-2.0 | d21da285c1b548add0a2757a916bcfd7dd47f636 | 0 | svenhoff/java-object-diff,scompo/java-object-diff,SQiShER/java-object-diff,ericvandever/java-object-diff,yugzan/java-object-diff | /*
* Copyright 2012 Daniel Bechler
*
* 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/de/danielbechler/diff/integration/AdditionIntegrationTest.java | /*
* Copyright 2012 Daniel Bechler
*
* 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... | Add test for duplicates in list
List duplicates are not discovered, this test should be a starting point
for a future fix.
May be linked to:
https://github.com/SQiShER/java-object-diff/issues/60
https://github.com/SQiShER/java-object-diff/issues/42
| src/test/java/de/danielbechler/diff/integration/AdditionIntegrationTest.java | Add test for duplicates in list | <ide><path>rc/test/java/de/danielbechler/diff/integration/AdditionIntegrationTest.java
<ide> import org.testng.annotations.*;
<ide>
<ide> import static de.danielbechler.diff.node.NodeAssertions.*;
<add>import static org.testng.AssertJUnit.assertEquals;
<ide>
<ide> /** @author Daniel Bechler */
<ide> public class Addi... | |
Java | apache-2.0 | aa8e800d0c01db18ad4c62f260e3f7cc0e56f9e4 | 0 | thomasleplus/ristretto | package org.leplus.util;
import static org.hamcrest.CoreMatchers.hasItems;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.hamcrest.CoreMatchers.not;
import static org.hamcrest.collection.IsCollectionWithSize.hasSize;
import static org.hamcrest.co... | src/test/java/org/leplus/util/TestArrayListVector.java | package org.leplus.util;
import static org.hamcrest.CoreMatchers.hasItems;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.hamcrest.CoreMatchers.not;
import static org.hamcrest.collection.IsCollectionWithSize.hasSize;
import static org.hamcrest.co... | Adding capacity methods although the result cannot be tested | src/test/java/org/leplus/util/TestArrayListVector.java | Adding capacity methods although the result cannot be tested | <ide><path>rc/test/java/org/leplus/util/TestArrayListVector.java
<ide> clone.setElementAt("c", 2);
<ide> String[] values = new String[3];
<ide> clone.copyInto(values);
<add> clone.ensureCapacity(5);
<add> clone.capacity(); // Incorrect so no test
<add> clone.trimToSize();
<add> clone.capacity(); // Inc... | |
Java | epl-1.0 | dd6be18cb6af1475e18e4279eec23e8ed96f582e | 0 | stzilli/kapua,LeoNerdoG/kapua,stzilli/kapua,LeoNerdoG/kapua,stzilli/kapua,stzilli/kapua,LeoNerdoG/kapua,LeoNerdoG/kapua,stzilli/kapua,LeoNerdoG/kapua | /*******************************************************************************
* Copyright (c) 2011, 2017 Eurotech and/or its affiliates and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this... | rest-api/src/main/java/org/eclipse/kapua/app/api/v1/resources/Users.java | /*******************************************************************************
* Copyright (c) 2011, 2017 Eurotech and/or its affiliates and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this... | Added path parameter for PUT on User REST API resource
Signed-off-by: coduz <ded987c534c96b462feeee54a345bec2d025746a@eurotech.com>
| rest-api/src/main/java/org/eclipse/kapua/app/api/v1/resources/Users.java | Added path parameter for PUT on User REST API resource | <ide><path>est-api/src/main/java/org/eclipse/kapua/app/api/v1/resources/Users.java
<ide> */
<ide> @ApiOperation(value = "Update an User", notes = "Updates a new User based on the information provided in the User parameter.", response = User.class)
<ide> @PUT
<add> @Path("{userId}")
<ide> @Consumes({... | |
Java | mit | 586ea4f3cce03a64ea3ad9233a59e69f586eadc7 | 0 | agodi/OpenCourseWare | package com.agodi.downloader;
import java.io.File;
import java.io.IOException;
import java.util.List;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import com.agodi.helper.Lecture;
public class MediaDownloadManagerTest {
@Test
publ... | OpenCourseWareMediaDownloader/src/test/java/com/agodi/downloader/MediaDownloadManagerTest.java | package com.agodi.downloader;
import java.util.List;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import com.agodi.helper.Lecture;
public class MediaDownloadManagerTest {
@Test
public void downloadCourseLecturesTest() {
String di... | Changed directory variable to current directory | OpenCourseWareMediaDownloader/src/test/java/com/agodi/downloader/MediaDownloadManagerTest.java | Changed directory variable to current directory | <ide><path>penCourseWareMediaDownloader/src/test/java/com/agodi/downloader/MediaDownloadManagerTest.java
<ide> package com.agodi.downloader;
<ide>
<add>import java.io.File;
<add>import java.io.IOException;
<ide> import java.util.List;
<ide>
<ide> import org.junit.Test;
<ide> public class MediaDownloadManagerTest {
<i... | |
Java | mit | 2cccd6451701b1b55a5d265fcb67832cc521ccdb | 0 | gyuwon/functional-java | import java.util.Iterator;
public final class Program {
public static void main(String... args) {
for (Integer e : take(25, squaresOf(integers()))) {
System.out.println(e);
}
}
public static Iterable<Integer> take(final int count, Iterable<Integer> source) {
return new Iterable<Integer>() {
... | Program.java | import java.util.Iterator;
public final class Program {
public static void main(String... args) {
for (Integer e : take(25, squaresOf(integer()))) {
System.out.println(e);
}
}
public static Iterable<Integer> take(final int count, Iterable<Integer> source) {
return new Iterable<Integer>() {
... | integer -> integers
| Program.java | integer -> integers | <ide><path>rogram.java
<ide>
<ide> public final class Program {
<ide> public static void main(String... args) {
<del> for (Integer e : take(25, squaresOf(integer()))) {
<add> for (Integer e : take(25, squaresOf(integers()))) {
<ide> System.out.println(e);
<ide> }
<ide> }
<ide> };
<ide> }
<ide... | |
Java | apache-2.0 | b11482a09a9de9271ef1f2159de478e828d051c3 | 0 | marcorei/ANE-Push-Notification,marcorei/ANE-Push-Notification,iamyuiwong/ANE-Push-Notification,rozdonmobile/ANE-Push-Notification,StarIslandGames/ANE-Push-Notification,iamyuiwong/ANE-Push-Notification,freshplanet/ANE-Push-Notification,nicechap/ANE-Push-Notification,freshplanet/ANE-Push-Notification,nicechap/ANE-Push-No... |
package com.freshplanet.nativeExtensions;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
import org.json.JSONObject;
import org.json.JSONTokener;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
imp... | android/src/com/freshplanet/nativeExtensions/MultiMsgNotification.java |
package com.freshplanet.nativeExtensions;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
import org.json.JSONObject;
import org.json.JSONTokener;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
imp... | Add deep linking for multi messages notification.
| android/src/com/freshplanet/nativeExtensions/MultiMsgNotification.java | Add deep linking for multi messages notification. | <ide><path>ndroid/src/com/freshplanet/nativeExtensions/MultiMsgNotification.java
<ide> notificationIntent = new Intent(context, NotificationActivity.class);
<ide> notificationIntent.putExtra("params", LocalNotificationService.getFullJsonParams(intent));
<ide> notificationIntent.putExtra("allclean","true");
<del> ... | |
Java | lgpl-2.1 | 400814b54d1a2a36ff75664cfc11a04ab36d0960 | 0 | sewe/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,sewe/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,sewe/spotbugs | /*
* Bytecode Analysis Framework
* Copyright (C) 2005, University of Maryland
*
* This library 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 the License, or (at your op... | findbugs/src/java/edu/umd/cs/findbugs/ba/interproc/MethodPropertyDatabase.java | /*
* Bytecode Analysis Framework
* Copyright (C) 2005, University of Maryland
*
* This library 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 the License, or (at your op... | Fix typo
git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@4148 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
| findbugs/src/java/edu/umd/cs/findbugs/ba/interproc/MethodPropertyDatabase.java | Fix typo | <ide><path>indbugs/src/java/edu/umd/cs/findbugs/ba/interproc/MethodPropertyDatabase.java
<ide> private Map<XMethod, Property> propertyMap;
<ide>
<ide> /**
<del> * Interfact representing a direction in which to talk class hierarchy
<add> * Interface representing a direction in which to talk class hierarchy
<ide> ... | |
JavaScript | mit | 6899390b27b2d93abee05a43bcb4c0cad9450246 | 0 | pulseshift/ui5-lib-visualization,pulseshift/ui5-lib-visualization | /* @flow */
/**
* @example
* Sample Usage (XML View)
*
* @description
* This chart control was designed to work best in XML views and in combination with data binding.
*
* @type {xml} Markdown code type.
* @code
* <Chart
* width="100%"
* height="300px"
* showTooltip="true"
* groupedTooltip="true"
... | src/ui5/viz/Chart.js | /* @flow */
/**
* @example
* Sample Usage (XML View)
*
* @description
* This chart control was designed to work best in XML views and in combination with data binding.
*
* @type {xml} Markdown code type.
* @code
* <Chart
* width="100%"
* height="300px"
* showTooltip="true"
* groupedTooltip="true"
... | Update Chart.js | src/ui5/viz/Chart.js | Update Chart.js | <ide><path>rc/ui5/viz/Chart.js
<ide> switch (mCSS.unit) {
<ide> case 'rem':
<ide> // calculate pixel dependant on font size of root element
<del> iCalculatedWidth =
<add> iCalculatedWidth = mCSS.value *
<ide> parseInt(
<ide> getComputedSt... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.