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 | lgpl-2.1 | e651cdba69a945f8baca977e6441cb9e72f9d28a | 0 | jbosstm/narayana,mmusgrov/narayana,mmusgrov/narayana,tomjenkinson/narayana,jbosstm/narayana,tomjenkinson/narayana,gytis/narayana,gytis/narayana,gytis/narayana,mmusgrov/narayana,jbosstm/narayana,gytis/narayana,tomjenkinson/narayana,gytis/narayana,mmusgrov/narayana,jbosstm/narayana,gytis/narayana,tomjenkinson/narayana | /*
* JBoss, Home of Professional Open Source
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishing to ... | ArjunaJTA/jta/classes/com/arjuna/ats/internal/jta/transaction/arjunacore/jca/TxWorkManager.java | /*
* JBoss, Home of Professional Open Source
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishing to ... | JBJCA-1329 Clarified the TODO message to reference the JCA spec | ArjunaJTA/jta/classes/com/arjuna/ats/internal/jta/transaction/arjunacore/jca/TxWorkManager.java | JBJCA-1329 Clarified the TODO message to reference the JCA spec | <ide><path>rjunaJTA/jta/classes/com/arjuna/ats/internal/jta/transaction/arjunacore/jca/TxWorkManager.java
<ide> workers = _transactions.get(tx);
<ide>
<ide> /*
<del> * TODO
<del> *
<del> * Is this really correct? We only get to add one unit of work per
<del> * transaction?! If so why use a stack dat... | |
Java | bsd-3-clause | 17e617b57cbafa049435ff00af4e9122e996173a | 0 | psygate/CivModCore,psygate/CivModCore | package vg.civcraft.mc.civmodcore.world.operations;
import co.aikar.commands.annotation.CommandAlias;
import co.aikar.commands.annotation.CommandPermission;
import co.aikar.commands.annotation.Description;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.kyo... | src/main/java/vg/civcraft/mc/civmodcore/world/operations/ChunkOperationManager.java | package vg.civcraft.mc.civmodcore.world.operations;
import co.aikar.commands.annotation.CommandAlias;
import co.aikar.commands.annotation.CommandPermission;
import co.aikar.commands.annotation.Description;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.md_... | Switch ChunkOperationManager over to Kyori components
| src/main/java/vg/civcraft/mc/civmodcore/world/operations/ChunkOperationManager.java | Switch ChunkOperationManager over to Kyori components | <ide><path>rc/main/java/vg/civcraft/mc/civmodcore/world/operations/ChunkOperationManager.java
<ide> import java.util.HashMap;
<ide> import java.util.List;
<ide> import java.util.Map;
<add>import net.kyori.adventure.text.Component;
<add>import net.kyori.adventure.text.format.NamedTextColor;
<ide> import net.md_5.bungee.... | |
JavaScript | apache-2.0 | 681634bc4371ed9826caa6599b4bf23eb5b91c60 | 0 | incedure/incedure-datalist-ui,nagyistoce/camunda-tasklist-ui,xlinur/camunda-bpm-webapp,TitanUser/camunda-bpm-webapp,tcrossland/camunda-bpm-webapp,TitanUser/camunda-bpm-webapp,xlinur/camunda-bpm-webapp,tcrossland/camunda-bpm-webapp,kingtec/camunda-tasklist-ui,tcrossland/camunda-bpm-webapp,xlinur/camunda-bpm-webapp,kingt... | define([
'text!./cam-tasklist-task-form.html',
'text!./cam-tasklist-task-form-modal.html'
], function(template, modalTemplate) {
'use strict';
var $ = angular.element;
return [
'$rootScope',
'camAPI',
'CamForm',
'$translate',
'Notifications',
'$interval',
'$modal',
function(
... | client/scripts/task/directives/cam-tasklist-task-form.js | define([
'text!./cam-tasklist-task-form.html',
'text!./cam-tasklist-task-form-modal.html'
], function(template, modalTemplate) {
'use strict';
var $ = angular.element;
return [
'$rootScope',
'camAPI',
'CamForm',
'$translate',
'Notifications',
'$interval',
'$modal',
function(
... | fix(task form): prevent task without form to be flagged as invalid
| client/scripts/task/directives/cam-tasklist-task-form.js | fix(task form): prevent task without form to be flagged as invalid | <ide><path>lient/scripts/task/directives/cam-tasklist-task-form.js
<ide>
<ide> }
<ide> else {
<add> scope.$invalid = false;
<add>
<ide> // clear the content (to avoid other tasks form to appear)
<ide> $translate('NO_TASK_FORM').then(function(translated) {
<ide> ... | |
Java | unlicense | 16ddbf37142d603c42589a68692b7000e07612f3 | 0 | jggc/blitz,jggc/blitz | package com.coveo.blitz;
import java.util.ArrayList;
import java.util.List;
import org.apache.thrift.TException;
import com.coveo.blitz.thrift.Album;
import com.coveo.blitz.thrift.Artist;
import com.coveo.blitz.thrift.DocumentType;
import com.coveo.blitz.thrift.QueryResult;
public class Index {
private List<Docu... | blitzindex/src/main/java/com/coveo/blitz/Index.java | package com.coveo.blitz;
import java.util.ArrayList;
import java.util.List;
import org.apache.thrift.TException;
import com.coveo.blitz.thrift.Album;
import com.coveo.blitz.thrift.Artist;
import com.coveo.blitz.thrift.DocumentType;
import com.coveo.blitz.thrift.QueryResult;
public class Index {
private List<Docu... | ajout de symboles de debug
| blitzindex/src/main/java/com/coveo/blitz/Index.java | ajout de symboles de debug | <ide><path>litzindex/src/main/java/com/coveo/blitz/Index.java
<ide> }
<ide>
<ide> public void indexAlbum(Album albumToIndex) {
<add> System.out.println("tokenizing");
<ide> tokenizer.setIndividualWords(albumToIndex.text);
<ide> String[] tokens = tokenizer.getIndividualWords();
<add> System.out.println("adding... | |
Java | lgpl-2.1 | f0edee88e71723f2e6c7a255257391879968873c | 0 | liujed/polyglot-eclipse,blue-systems-group/project.maybe.polyglot,liujed/polyglot-eclipse,liujed/polyglot-eclipse,xcv58/polyglot,xcv58/polyglot,blue-systems-group/project.maybe.polyglot,liujed/polyglot-eclipse,xcv58/polyglot,xcv58/polyglot,blue-systems-group/project.maybe.polyglot,blue-systems-group/project.maybe.polyg... | /*
* Scheduler.java
*
* Author: nystrom
* Creation date: Dec 14, 2004
*/
package polyglot.frontend;
import java.util.*;
import polyglot.ast.Node;
import polyglot.frontend.goals.*;
import polyglot.main.Report;
import polyglot.types.FieldInstance;
import polyglot.types.ParsedClassType;
import polyglot.types.Unava... | src/polyglot/frontend/Scheduler.java | /*
* Scheduler.java
*
* Author: nystrom
* Creation date: Dec 14, 2004
*/
package polyglot.frontend;
import java.util.*;
import polyglot.ast.Node;
import polyglot.frontend.goals.*;
import polyglot.main.Report;
import polyglot.types.FieldInstance;
import polyglot.types.ParsedClassType;
import polyglot.util.CodeWr... | Temporarily disabled over zealous infinite loop detection.
Fixed escaping UnavailableTypeException, but need a cleaner fix.
| src/polyglot/frontend/Scheduler.java | Temporarily disabled over zealous infinite loop detection. Fixed escaping UnavailableTypeException, but need a cleaner fix. | <ide><path>rc/polyglot/frontend/Scheduler.java
<ide> import polyglot.main.Report;
<ide> import polyglot.types.FieldInstance;
<ide> import polyglot.types.ParsedClassType;
<add>import polyglot.types.UnavailableTypeException;
<ide> import polyglot.util.CodeWriter;
<ide> import polyglot.util.InternalCompilerError;
<ide> im... | |
Java | lgpl-2.1 | 91d4f5e2aca68b21a5564a6264e2cea7da06c610 | 0 | RemiKoutcherawy/exist,wshager/exist,MjAbuz/exist,shabanovd/exist,opax/exist,dizzzz/exist,wolfgangmm/exist,zwobit/exist,lcahlander/exist,RemiKoutcherawy/exist,adamretter/exist,kohsah/exist,joewiz/exist,patczar/exist,patczar/exist,eXist-db/exist,patczar/exist,olvidalo/exist,lcahlander/exist,RemiKoutcherawy/exist,jesseala... | package org.exist.xmldb;
import java.io.IOException;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import org.exist.EXistException;
import org.exist.collections.triggers.TriggerException;
import org.exist.dom.DocumentImpl;
import org.exist.security.ACLPermission;
import org.exist.security.G... | src/org/exist/xmldb/LocalUserManagementService.java | package org.exist.xmldb;
import java.io.IOException;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
import org.exist.EXistException;
import org.exist.collections.triggers.TriggerException;
import org.exist.dom.DocumentImpl;
import org.exist.security.ACLPermission;
import org.exist.security.G... | [ignore] cleanup 'invokingUser' parameter
svn path=/trunk/eXist/; revision=16491
| src/org/exist/xmldb/LocalUserManagementService.java | [ignore] cleanup 'invokingUser' parameter | <ide><path>rc/org/exist/xmldb/LocalUserManagementService.java
<ide> @Override
<ide> public Account withBroker(DBBroker broker) throws XMLDBException, LockException, PermissionDeniedException, IOException, EXistException, TriggerException, SyntaxException {
<ide> Secur... | |
Java | bsd-3-clause | d8c4a230dbe00b6d695ac4cd68b59f0caaf1989a | 0 | Team766/Valkyrie | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | src/com/ma/bears/Valkyrie/Valkyrie.java | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | Added a TODO list | src/com/ma/bears/Valkyrie/Valkyrie.java | Added a TODO list | <ide><path>rc/com/ma/bears/Valkyrie/Valkyrie.java
<ide> * Command-based things are commented out
<ide> * for now. This means the shooter is
<ide> * manually pulled back by a button.
<add> *
<add> * TODO:
<add> * Cheesy Drive
<ide> */
<ide> import com.ma.bears.Valkyrie.commands.Arm.ArmDownCommand;
<ide> import com.... | |
Java | mit | c76855a64e043fc6c4b090370052a0e032bbead6 | 0 | boq/mod-utils | package boq.utils.misc;
import java.util.Random;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Vec3;
import net.minecraft.world.World;
import com.google.common.base.Preconditions;
public class Utils {
public static final Random RANDOM = new Random();... | boq/utils/misc/Utils.java | package boq.utils.misc;
import java.util.Random;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Vec3;
import net.minecraft.world.World;
public class Utils {
public static final Random RANDOM = new Random();
public static void dropItem(World world,... | More flexible CC helpers
| boq/utils/misc/Utils.java | More flexible CC helpers | <ide><path>oq/utils/misc/Utils.java
<ide> import net.minecraft.item.ItemStack;
<ide> import net.minecraft.util.Vec3;
<ide> import net.minecraft.world.World;
<add>
<add>import com.google.common.base.Preconditions;
<ide>
<ide> public class Utils {
<ide> public static final Random RANDOM = new Random();
<ide> }
<... | |
Java | apache-2.0 | 8f229ad1e2447b381cd58f10fcf4a428979b3014 | 0 | rapidoid/rapidoid,rapidoid/rapidoid,rapidoid/rapidoid,rapidoid/rapidoid | package org.rapidoid.util;
/*
* #%L
* rapidoid-u
* %%
* Copyright (C) 2014 Nikolche Mihajlovski
* %%
* 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/l... | rapidoid-u/src/main/java/org/rapidoid/util/U.java | package org.rapidoid.util;
/*
* #%L
* rapidoid-u
* %%
* Copyright (C) 2014 Nikolche Mihajlovski
* %%
* 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/l... | Fixed method access bug.
| rapidoid-u/src/main/java/org/rapidoid/util/U.java | Fixed method access bug. | <ide><path>apidoid-u/src/main/java/org/rapidoid/util/U.java
<ide>
<ide> @SuppressWarnings("unchecked")
<ide> public static <T> T invokeStatic(Method m, Object... args) {
<del> try {
<add> boolean accessible = m.isAccessible();
<add> try {
<add> m.setAccessible(true);
<ide> return (T) m.invoke(null, args);
<i... | |
Java | apache-2.0 | f13599d4b1e0e1b50a122a097faac83134685298 | 0 | spotify/styx,spotify/styx,spotify/styx | /*-
* -\-\-
* Spotify Styx Scheduler Service
* --
* Copyright (C) 2016 Spotify AB
* --
* 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... | styx-scheduler-service/src/main/java/com/spotify/styx/StyxScheduler.java | /*-
* -\-\-
* Spotify Styx Scheduler Service
* --
* Copyright (C) 2016 Spotify AB
* --
* 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... | Consistent name | styx-scheduler-service/src/main/java/com/spotify/styx/StyxScheduler.java | Consistent name | <ide><path>tyx-scheduler-service/src/main/java/com/spotify/styx/StyxScheduler.java
<ide>
<ide> public static final int DEFAULT_STYX_EVENT_PROCESSING_THREADS = 32;
<ide> public static final Duration DEFAULT_SCHEDULER_TICK_INTERVAL = Duration.ofSeconds(2);
<del> public static final Duration DEFAULT_TRIGGER_MANAGER_... | |
Java | apache-2.0 | error: pathspec 'shiro-demo-section4/src/test/java/NonConfigurationCreateTest.java' did not match any file(s) known to git
| ed6ef25e48c49d9910ed09b6328eb1effb9e1a0e | 1 | l81893521/shiro-demo | import com.alibaba.druid.pool.DruidDataSource;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy;
import org.apache.shiro.authc.pam.ModularRealmAuthenticator;
import org.apache.shiro.authz.ModularRealmAuthorizer;
im... | shiro-demo-section4/src/test/java/NonConfigurationCreateTest.java | update section4
| shiro-demo-section4/src/test/java/NonConfigurationCreateTest.java | update section4 | <ide><path>hiro-demo-section4/src/test/java/NonConfigurationCreateTest.java
<add>import com.alibaba.druid.pool.DruidDataSource;
<add>import org.apache.shiro.SecurityUtils;
<add>import org.apache.shiro.authc.UsernamePasswordToken;
<add>import org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy;
<add>import org.apach... | |
JavaScript | mit | c83a02fcbf862e3e80e99ec0c3aece3a9b7295eb | 0 | punkave/sanitize-html,SaintPeter/sanitize-html,YourDeveloperFriend/sanitize-html,emorikawa/sanitize-html,JamyDev/sanitize-html,zdravkoggeorgiev/sanitize-html | var assert = require("assert");
describe('sanitizeHtml', function() {
var sanitizeHtml;
it('should be successfully initialized', function() {
sanitizeHtml = require('../index.js');
});
it('should pass through simple well-formed whitelisted markup', function() {
assert.equal(sanitizeHtml('<div><p>Hello <... | test/test.js | var assert = require("assert");
describe('sanitizeHtml', function() {
var sanitizeHtml;
it('should be successfully initialized', function() {
sanitizeHtml = require('../index.js');
});
it('should pass through simple well-formed whitelisted markup', function() {
assert.equal(sanitizeHtml('<div><p>Hello <... | Added some tests for behavior of an exclusiveFilter following a transformTags
| test/test.js | Added some tests for behavior of an exclusiveFilter following a transformTags | <ide><path>est/test.js
<ide> '<a href="test.html">test</a>',
<ide> {
<ide> allowedTags: [ 'a' ],
<del> allowedAttributes: {
<del> a: ['href', 'target']
<del> },
<add> allowedAttributes: { a: ['href', 'target']},
<ide> transformTags: {
<ide> ... | |
JavaScript | mit | c499487a1094ee18fab721642be68caed9cc9256 | 0 | subesokun/Rocket.Chat,inoio/Rocket.Chat,pkgodara/Rocket.Chat,subesokun/Rocket.Chat,4thParty/Rocket.Chat,pkgodara/Rocket.Chat,subesokun/Rocket.Chat,VoiSmart/Rocket.Chat,pkgodara/Rocket.Chat,pkgodara/Rocket.Chat,4thParty/Rocket.Chat,4thParty/Rocket.Chat,Sing-Li/Rocket.Chat,inoio/Rocket.Chat,VoiSmart/Rocket.Chat,subesokun... | /* globals UploadFS */
import fs from 'fs';
import stream from 'stream';
import mime from 'mime-type/with-db';
import Future from 'fibers/future';
import sharp from 'sharp';
import { Cookies } from 'meteor/ostrio:cookies';
const cookie = new Cookies();
Object.assign(FileUpload, {
handlers: {},
configureUploadsSto... | packages/rocketchat-file-upload/server/lib/FileUpload.js | /* globals UploadFS */
import fs from 'fs';
import stream from 'stream';
import mime from 'mime-type/with-db';
import Future from 'fibers/future';
import sharp from 'sharp';
import { Cookies } from 'meteor/ostrio:cookies';
const cookie = new Cookies();
Object.assign(FileUpload, {
handlers: {},
configureUploadsSto... | [FIX] Add image dimensions to attachment even when no reorientation is required (#11521)
| packages/rocketchat-file-upload/server/lib/FileUpload.js | [FIX] Add image dimensions to attachment even when no reorientation is required (#11521) | <ide><path>ackages/rocketchat-file-upload/server/lib/FileUpload.js
<ide> },
<ide> };
<ide>
<del> if (metadata.orientation == null) {
<del> return fut.return();
<del> }
<del>
<del> s.rotate()
<del> .toFile(`${ tmpFile }.tmp`)
<del> .then(Meteor.bindEnvironment(() => {
<del> fs.unlink(tmpFile, ... | |
Java | apache-2.0 | 8efa01df1d85a98e76e5301f2c821f8a5bc2ba4b | 0 | rafizanbaharum/cfi-gov | package net.canang.cfi.core.so.dao.impl;
import net.canang.cfi.core.exception.RecursiveGroupException;
import net.canang.cfi.core.so.dao.CfPrincipalDao;
import net.canang.cfi.core.so.dao.CfRoleDao;
import net.canang.cfi.core.so.dao.DaoSupport;
import net.canang.cfi.core.so.model.*;
import net.canang.cfi.core.so.model.... | src/main/java/net/canang/cfi/core/so/dao/impl/CfPrincipalDaoImpl.java | package net.canang.cfi.core.so.dao.impl;
import net.canang.cfi.core.exception.RecursiveGroupException;
import net.canang.cfi.core.so.dao.CfPrincipalDao;
import net.canang.cfi.core.so.dao.CfRoleDao;
import net.canang.cfi.core.so.dao.DaoSupport;
import net.canang.cfi.core.so.model.*;
import net.canang.cfi.core.so.model.... | added potential hierarchical query
http://www.commandprompt.com/blogs/alexey_klyukin/2012/04/migrating_hierarchical_queries_from_oracle_to_postgresql/
| src/main/java/net/canang/cfi/core/so/dao/impl/CfPrincipalDaoImpl.java | added potential hierarchical query | <ide><path>rc/main/java/net/canang/cfi/core/so/dao/impl/CfPrincipalDaoImpl.java
<ide>
<ide> @Override
<ide> public Set<CfGroup> loadEffectiveGroups(CfPrincipal principal) throws RecursiveGroupException {
<add> /**
<add>with recursive q(user_name,group_name,member_id,group_id) as (
<add>select h.user_nam... | |
Java | mit | 1ac791f05f5a7eff1daad98f1b89f84cc5954030 | 0 | retuxx/sig4j,msteinbeck/sig4j | package com.github.sig4j;
import com.github.sig4j.dispatcher.JavaFXDispatcher;
import com.github.sig4j.dispatcher.SwingDispatcher;
import java.util.AbstractMap.SimpleEntry;
import java.util.Map.Entry;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedDeque;
import java.util.concurrent.atomic.AtomicB... | src/main/java/com/github/sig4j/Signal.java | package com.github.sig4j;
import com.github.sig4j.dispatcher.JavaFXDispatcher;
import com.github.sig4j.dispatcher.SwingDispatcher;
import java.util.AbstractMap.SimpleEntry;
import java.util.Map.Entry;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedDeque;
import java.util.concurrent.atomic.AtomicB... | Minor docu fix.
| src/main/java/com/github/sig4j/Signal.java | Minor docu fix. | <ide><path>rc/main/java/com/github/sig4j/Signal.java
<ide> *
<ide> * @param slot The slot to connect.
<ide> * @param dispatcher The {@link Dispatcher} to use.
<del> * @throws IllegalArgumentException If {@code dispatcher} or {@code slot}
<add> * @throws IllegalArgumentException If {@code slot} or {@code dispatc... | |
Java | mit | 7106f0bd982b61ead3f935e99993813ca9b1e6da | 0 | monapu/multimona,GroestlCoin/MultiGroestl,bslote/multibit,HashEngineering/digitalcoin-multibit,langerhans/multidoge,myronkaradimas/multibit,ai-coin/multibit,myronkaradimas/multibit,bubuntux/multibit,HashEngineering/digitalcoin-multibit,GroestlCoin/MultiGroestl,bitcoin-solutions/multibit,bubuntux/multibit,monapu/multimo... | /**
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | src/main/java/com/google/bitcoin/core/Wallet.java | /**
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | tidy up | src/main/java/com/google/bitcoin/core/Wallet.java | tidy up | <ide><path>rc/main/java/com/google/bitcoin/core/Wallet.java
<ide>
<ide> /**
<ide> * The keyCrypter for the wallet. This specifies the algorithm used for encrypting and decrypting the private keys.
<add> * Null for an unencrypted wallet.
<ide> */
<ide> private KeyCrypter keyCrypter;
<ide>
<ide> ... | |
Java | apache-2.0 | 6e729923c9f2aef8a2af84eefacf91c57a9c9175 | 0 | apache/rampart,apache/rampart | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* 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... | modules/rampart-policy/src/main/java/org/apache/ws/secpolicy/model/SignedEncryptedElements.java | /*
* Copyright 2004,2005 The Apache Software Foundation.
*
* 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... | Serializing the namespaces
git-svn-id: 826b4206cfd113e788b1201c7dc26b81d52deb30@760506 13f79535-47bb-0310-9956-ffa450edef68
| modules/rampart-policy/src/main/java/org/apache/ws/secpolicy/model/SignedEncryptedElements.java | Serializing the namespaces | <ide><path>odules/rampart-policy/src/main/java/org/apache/ws/secpolicy/model/SignedEncryptedElements.java
<ide> xpathExpression = (String) iterator.next();
<ide> // <sp:XPath ..>
<ide> writer.writeStartElement(prefix, SPConstants.XPATH_EXPR, namespaceURI);
<add>
<add> Iter... | |
Java | apache-2.0 | e323192cfc4b48ea930b2a9b2998ef5a7893bfec | 0 | OpenTOSCA/container,OpenTOSCA/container | package org.opentosca.container.core.plan;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
imp... | org.opentosca.container.core/src/main/java/org/opentosca/container/core/plan/ChoreographyHandler.java | package org.opentosca.container.core.plan;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
imp... | improves retrieving of partner endpoints
Signed-off-by: Kálmán Képes <82843f81ac5fbfe4bc7726b0ffdf0f626a90fffb@iaas.uni-stuttgart.de>
| org.opentosca.container.core/src/main/java/org/opentosca/container/core/plan/ChoreographyHandler.java | improves retrieving of partner endpoints | <ide><path>rg.opentosca.container.core/src/main/java/org/opentosca/container/core/plan/ChoreographyHandler.java
<ide> * <code>null</code> if no tags are defined on the ServiceTemplate
<ide> */
<ide> public List<TTag> getPartnerEndpoints(final TServiceTemplate serviceTemplate) {
<del>
<ide> // get ... | |
Java | lgpl-2.1 | 539d71aeec76e46febb78cd67eb1b093e581a41b | 0 | levants/lightmare | package org.lightmare.jpa;
import java.io.IOException;
import java.net.URL;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import org.apac... | src/main/java/org/lightmare/jpa/JpaManager.java | package org.lightmare.jpa;
import java.io.IOException;
import java.net.URL;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import org.apac... | imporved "hibernate" utilities | src/main/java/org/lightmare/jpa/JpaManager.java | imporved "hibernate" utilities | <ide><path>rc/main/java/org/lightmare/jpa/JpaManager.java
<ide> private EntityManagerFactory createEntityManagerFactory(String unitName)
<ide> throws IOException {
<ide>
<del> EntityManagerFactory emf;
<del>
<del> if (checkForBuild()) {
<del> emf = buildEntityManagerFactory(unitName);
<del> } else if (pro... | |
JavaScript | agpl-3.0 | d9a3be34f2ec6bc17c554068966766a1124126df | 0 | gisce/openerp-web,vnc-biz/openerp-web,MarkusTeufelberger/openerp-web,vnc-biz/openerp-web,vnc-biz/openerp-web,MarkusTeufelberger/openerp-web,MarkusTeufelberger/openerp-web,gisce/openerp-web,splbio/openerp-web,splbio/openerp-web,vnc-biz/openerp-web,gisce/openerp-web,splbio/openerp-web | // Underscore.string
// (c) 2010 Esa-Matti Suuronen <esa-matti aet suuronen dot org>
// Underscore.strings is freely distributable under the terms of the MIT license.
// Documentation: https://github.com/epeli/underscore.string
// Some code is borrowed from MooTools and Alexandru Marasteanu.
// Version 1.2.0
(functio... | addons/web/static/lib/underscore/underscore.string.js | // Underscore.string
// (c) 2010 Esa-Matti Suuronen <esa-matti aet suuronen dot org>
// Underscore.strings is freely distributable under the terms of the MIT license.
// Documentation: https://github.com/epeli/underscore.string
// Some code is borrowed from MooTools and Alexandru Marasteanu.
// Version 1.2.0
(functio... | [FIX] error reporting in _.sprintf | addons/web/static/lib/underscore/underscore.string.js | [FIX] error reporting in _.sprintf | <ide><path>ddons/web/static/lib/underscore/underscore.string.js
<ide> arg = argv[cursor];
<ide> for (k = 0; k < match[2].length; k++) {
<ide> if (!arg.hasOwnProperty(match[2][k])) {
<del> throw(sprintf('[_.sprintf] property "%s" does not exist', match[2][k]));
<add> ... | |
Java | apache-2.0 | 2e333f955834f290bb90844c15c8a909f7523236 | 0 | oriontribunal/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,oriontribunal/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,oriontribunal/CoffeeMud,oriontribunal/CoffeeMud | package com.planet_ink.coffee_mud.Items.Software;
import com.planet_ink.coffee_mud.Items.Basic.StdItem;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.threads.TimeMs;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com... | com/planet_ink/coffee_mud/Items/Software/RocketShipProgram.java | package com.planet_ink.coffee_mud.Items.Software;
import com.planet_ink.coffee_mud.Items.Basic.StdItem;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.threads.TimeMs;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com... |
git-svn-id: svn://192.168.1.10/public/CoffeeMud@13147 0d6f1817-ed0e-0410-87c9-987e46238f29
| com/planet_ink/coffee_mud/Items/Software/RocketShipProgram.java | <ide><path>om/planet_ink/coffee_mud/Items/Software/RocketShipProgram.java
<ide>
<ide> protected volatile List<ShipEngine> engines=null;
<ide> protected volatile List<ShipComponent> sensors=null;
<add> protected volatile List<Electronics.PowerSource> batteries=null;
<ide>
<ide> protected final List<CMObject> senso... | ||
Java | apache-2.0 | 926298cce95d0b17f18a43cc506187335de70dde | 0 | qiscus/qiscus-sdk-android | package com.qiscus.sdk.chat.core.presenter;
import com.qiscus.sdk.chat.core.QiscusCore;
import com.qiscus.sdk.chat.core.data.model.QiscusAccount;
import com.qiscus.sdk.chat.core.data.model.QiscusChatRoom;
import com.qiscus.sdk.chat.core.data.model.QiscusComment;
import com.qiscus.sdk.chat.core.data.model.QiscusRoomMem... | chat-core/src/main/java/com/qiscus/sdk/chat/core/presenter/QiscusChatRoomEventHandler.java | package com.qiscus.sdk.chat.core.presenter;
import com.qiscus.sdk.chat.core.QiscusCore;
import com.qiscus.sdk.chat.core.data.model.QiscusAccount;
import com.qiscus.sdk.chat.core.data.model.QiscusChatRoom;
import com.qiscus.sdk.chat.core.data.model.QiscusComment;
import com.qiscus.sdk.chat.core.data.model.QiscusRoomMem... | update feedback using QiscusComment.STATE_ON_QISCUS and QiscusComment.STATE_DELIVERED
| chat-core/src/main/java/com/qiscus/sdk/chat/core/presenter/QiscusChatRoomEventHandler.java | update feedback using QiscusComment.STATE_ON_QISCUS and QiscusComment.STATE_DELIVERED | <ide><path>hat-core/src/main/java/com/qiscus/sdk/chat/core/presenter/QiscusChatRoomEventHandler.java
<ide>
<ide> if (!QiscusCore.getEnableRealtime() && qiscusChatRoom.getId() == qiscusComment.getRoomId()) {
<ide> QiscusChatRoom room = QiscusCore.getDataStore().getChatRoom(qiscusChatRoom.get... | |
JavaScript | bsd-3-clause | b0ae094ef7596b842103c2d7c6362100e576cd44 | 0 | jkbrzt/rrule,jkbrzt/rrule | /**
* General date-related utilities.
* Also handles several incompatibilities between JavaScript and Python
*
*/
const dateutil = {
MONTH_DAYS: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
/**
* Number of milliseconds of one day
*/
ONE_DAY: 1000 * 60 * 60 * 24,
/**
* @see: <http://docs.pyth... | src/dateutil.js | /**
* General date-related utilities.
* Also handles several incompatibilities between JavaScript and Python
*
*/
const dateutil = {
MONTH_DAYS: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
/**
* Number of milliseconds of one day
*/
ONE_DAY: 1000 * 60 * 60 * 24,
/**
* @see: <http://docs.pyth... | removed time zone offset from fromOrdinal method
In dateutil.js, the method fromOrdinal (lines 77-83) does not need to subtract and then re-add the time zone offset. When the time zone of the ORINDAL_BASE and passed in ordinal value are the same, the net result is 0 anyway. But in the case of time zones that go on and... | src/dateutil.js | removed time zone offset from fromOrdinal method | <ide><path>rc/dateutil.js
<ide> * @see - <http://docs.python.org/library/datetime.html#datetime.date.fromordinal>
<ide> */
<ide> fromOrdinal: function (ordinal) {
<del> const millisecsFromBase = ordinal * dateutil.ONE_DAY
<del> return new Date(dateutil.ORDINAL_BASE.getTime() -
<del> dateutil.tzOffset... | |
Java | lgpl-2.1 | 94e7ba3a1d1cd759b1a44c3419ce8b03f207f9c8 | 0 | lhanson/checkstyle,maddingo/checkstyle,lhanson/checkstyle,maddingo/checkstyle | package com.puppycrawl.tools.checkstyle.checks;
import java.util.Stack;
import com.puppycrawl.tools.checkstyle.api.Check;
import com.puppycrawl.tools.checkstyle.api.DetailAST;
import com.puppycrawl.tools.checkstyle.JavaTokenTypes;
// TODO: need to create a class to represent the constants in JavaTokenTypes.
// Neede... | src/checkstyle/com/puppycrawl/tools/checkstyle/checks/RedundantModifierCheck.java | package com.puppycrawl.tools.checkstyle.checks;
import java.util.Stack;
import com.puppycrawl.tools.checkstyle.api.Check;
import com.puppycrawl.tools.checkstyle.api.DetailAST;
import com.puppycrawl.tools.checkstyle.JavaTokenTypes;
public class RedundantModifierCheck extends Check implements JavaTokenTypes
{
priv... | added reminder
| src/checkstyle/com/puppycrawl/tools/checkstyle/checks/RedundantModifierCheck.java | added reminder | <ide><path>rc/checkstyle/com/puppycrawl/tools/checkstyle/checks/RedundantModifierCheck.java
<ide> import com.puppycrawl.tools.checkstyle.api.DetailAST;
<ide> import com.puppycrawl.tools.checkstyle.JavaTokenTypes;
<ide>
<add>// TODO: need to create a class to represent the constants in JavaTokenTypes.
<add>// Needed to... | |
Java | mit | 111925ba17e95e5001e6282a9f8d98ba0d566164 | 0 | HSR-Challenge-Projekt-2014/AndroidApp | package ch.hsr.challp.museum;
import android.app.Activity;
import android.app.Fragment;
import android.content.res.Configuration;
import android.os.Bundle;
import android.support.v4.app.ActionBarDrawerToggle;
import android.support.v4.widget.DrawerLayout;
import android.view.Menu;
import android.view.MenuItem;
import ... | app/src/main/java/ch/hsr/challp/museum/HomeActivity.java | package ch.hsr.challp.museum;
import android.app.ActionBar;
import android.app.Activity;
import android.app.Fragment;
import android.content.res.Configuration;
import android.os.Bundle;
import android.support.v4.app.ActionBarDrawerToggle;
import android.support.v4.widget.DrawerLayout;
import android.view.MenuItem;
imp... | issue #1 - action bar title refactorings
| app/src/main/java/ch/hsr/challp/museum/HomeActivity.java | issue #1 - action bar title refactorings | <ide><path>pp/src/main/java/ch/hsr/challp/museum/HomeActivity.java
<ide> package ch.hsr.challp.museum;
<ide>
<del>import android.app.ActionBar;
<ide> import android.app.Activity;
<ide> import android.app.Fragment;
<ide> import android.content.res.Configuration;
<ide> import android.os.Bundle;
<ide> import android.supp... | |
Java | apache-2.0 | 80ede648e37a3855d9ef681e18bc7a963390c5cc | 0 | jcshen007/cloudstack,GabrielBrascher/cloudstack,jcshen007/cloudstack,GabrielBrascher/cloudstack,resmo/cloudstack,GabrielBrascher/cloudstack,cinderella/incubator-cloudstack,argv0/cloudstack,jcshen007/cloudstack,jcshen007/cloudstack,DaanHoogland/cloudstack,mufaddalq/cloudstack-datera-driver,argv0/cloudstack,mufaddalq/clo... | /**
* 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/vm/dao/UserVmDaoImpl.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... | bug 10629: fixed regression bug in listVms - security group name and display text weren't returned
status 10629: resolved fixed
| server/src/com/cloud/vm/dao/UserVmDaoImpl.java | bug 10629: fixed regression bug in listVms - security group name and display text weren't returned status 10629: resolved fixed | <ide><path>erver/src/com/cloud/vm/dao/UserVmDaoImpl.java
<ide> if (is_data_center_security_group_enabled){
<ide> SecurityGroupResponse resp = new SecurityGroupResponse();
<ide> resp.setId(rs.getLong("security_group.id"));
<del> resp.setName("sec... | |
Java | apache-2.0 | 0552c7fee2f08362198ed3be72bfb99616976a94 | 0 | fnl/txtfnnl,fnl/txtfnnl,fnl/txtfnnl,fnl/txtfnnl | package txtfnnl.pipelines;
import java.io.File;
import java.io.IOException;
import java.util.logging.Logger;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import org.apache.commons.cli.Po... | txtfnnl-bin/src/main/java/txtfnnl/pipelines/SentenceTagger.java | package txtfnnl.pipelines;
import java.io.File;
import java.io.IOException;
import java.util.logging.Logger;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.ParseException;
import org.apache.commons.cli.Po... | comments updates | txtfnnl-bin/src/main/java/txtfnnl/pipelines/SentenceTagger.java | comments updates | <ide><path>xtfnnl-bin/src/main/java/txtfnnl/pipelines/SentenceTagger.java
<ide> * <p>
<ide> * Input files can be read from a directory or listed explicitly, while output files are written to
<ide> * some directory or to STDOUT. Sentences are written on a single line. Tokens are annotated with
<del> * their stems and... | |
Java | agpl-3.0 | 8c08ca7224d03eb2752788b475b79932ae1cd18d | 0 | mnlipp/jgrapes,mnlipp/jgrapes | /*
* JGrapes Event Driven Framework
* Copyright (C) 2016 Michael N. Lipp
*
* This program 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; either version 3 of the License, or
* (at your option) any ... | org.jdrupes.httpcodec/src/org/jdrupes/httpcodec/fields/HttpListField.java | /*
* JGrapes Event Driven Framework
* Copyright (C) 2016 Michael N. Lipp
*
* This program 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; either version 3 of the License, or
* (at your option) any ... | Improved documentation. | org.jdrupes.httpcodec/src/org/jdrupes/httpcodec/fields/HttpListField.java | Improved documentation. | <ide><path>rg.jdrupes.httpcodec/src/org/jdrupes/httpcodec/fields/HttpListField.java
<ide> * @return the default implementation returns a comma
<ide> */
<ide> protected char getDelimiter() {
<add> // Used by default in RFC 7230, see section 7.
<ide> return ',';
<ide> }
<ide> | |
Java | apache-2.0 | 0afb732f0325789cd1fb9c1963b3f72614a014f5 | 0 | jagrosh/GiveawayBot | /*
* Copyright 2018 John Grosh (john.a.grosh@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 ap... | src/main/java/com/jagrosh/giveawaybot/util/BlockingSessionController.java | /*
* Copyright 2018 John Grosh (john.a.grosh@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 ap... | actually block | src/main/java/com/jagrosh/giveawaybot/util/BlockingSessionController.java | actually block | <ide><path>rc/main/java/com/jagrosh/giveawaybot/util/BlockingSessionController.java
<ide> package com.jagrosh.giveawaybot.util;
<ide>
<ide> import com.neovisionaries.ws.client.OpeningHandshakeException;
<add>import net.dv8tion.jda.core.JDA;
<ide> import net.dv8tion.jda.core.utils.SessionControllerAdapter;
<ide>
<ide>... | |
Java | mit | b3bab47df7fa7b0b24640f39092af5579fe87705 | 0 | lesstif/spongycastle,bcgit/bc-java,partheinstein/bc-java,sergeypayu/bc-java,open-keychain/spongycastle,FAU-Inf2/spongycastle,sonork/spongycastle,bcgit/bc-java,open-keychain/spongycastle,isghe/bc-java,onessimofalconi/bc-java,savichris/spongycastle,sergeypayu/bc-java,Skywalker-11/spongycastle,isghe/bc-java,savichris/spon... | package org.bouncycastle.asn1;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.Enumeration;
import java.util.Vector;
/**
* ASN.1 <code>SET</code> and <code>SET OF</code> constructs.
* <p>
* Note: This does not know which syntax the set is!
* (The difference: ordering of SET elem... | core/src/main/java/org/bouncycastle/asn1/ASN1Set.java | package org.bouncycastle.asn1;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.Enumeration;
import java.util.Vector;
/**
* ASN.1 <code>SET</code> and <code>SET OF</code> constructs.
* <p>
* Note: This does not know which syntax the set is!
* (The difference: ordering of SET elem... | made use of DER encoding explicit.
| core/src/main/java/org/bouncycastle/asn1/ASN1Set.java | made use of DER encoding explicit. | <ide><path>ore/src/main/java/org/bouncycastle/asn1/ASN1Set.java
<ide> return len == a.length;
<ide> }
<ide>
<del> private byte[] getEncoded(
<add> private byte[] getDEREncoded(
<ide> ASN1Encodable obj)
<ide> {
<ide> ByteArrayOutputStream bOut = new ByteArrayOutputStream();
<del>... | |
JavaScript | apache-2.0 | 8c58824efbc7de57908e7e84aa078cef0b82ba12 | 0 | bmwshop/brooklyn,bmwshop/brooklyn,andreaturli/legacy-brooklyn,neykov/incubator-brooklyn,bmwshop/brooklyn,aledsage/legacy-brooklyn,aledsage/legacy-brooklyn,andreaturli/legacy-brooklyn,aledsage/legacy-brooklyn,bmwshop/brooklyn,bmwshop/brooklyn,neykov/incubator-brooklyn,andreaturli/legacy-brooklyn,aledsage/legacy-brooklyn... | define([
"model/app-tree"
], function (AppTree) {
var apps = new AppTree.Collection
apps.url = "fixtures/application-tree.json"
apps.fetch({async:false})
describe("model/app-tree", function () {
it("loads fixture data", function () {
expect(apps.length).toBe(2)
var... | usage/jsgui/src/test/javascript/specs/model/app-tree-spec.js | define([
"model/app-tree"
], function (AppTree) {
var apps = new AppTree.Collection
apps.url = "fixtures/application-tree.json"
apps.fetch({async:false})
describe("model/app-tree", function () {
it("loads fixture data", function () {
expect(apps.length).toBe(2)
var... | fix tests for previous app-tree tidy
| usage/jsgui/src/test/javascript/specs/model/app-tree-spec.js | fix tests for previous app-tree tidy | <ide><path>sage/jsgui/src/test/javascript/specs/model/app-tree-spec.js
<ide>
<ide> it("has working getDisplayName", function () {
<ide> var app1 = apps.at(0)
<del> expect(app1.getDisplayName()).toBe("test:riBZUjMq")
<add> expect(app1.getDisplayName()).toBe("test")
<ide> ... | |
Java | apache-2.0 | b1d10c5a4c068350d11b5799d1b18a9a88fac355 | 0 | GerritCodeReview/gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,WANdisco/gerrit,WANdisco/gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,WANdisco/gerrit,WANd... | // Copyright (C) 2009 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | java/com/google/gerrit/server/mail/send/CreateChangeSender.java | // Copyright (C) 2009 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | Remove unused variable in CreateChangeSender
Change-Id: I39d6e18be87173ce1c66f1a67bbe9bbbffd347b1
| java/com/google/gerrit/server/mail/send/CreateChangeSender.java | Remove unused variable in CreateChangeSender | <ide><path>ava/com/google/gerrit/server/mail/send/CreateChangeSender.java
<ide> import com.google.gerrit.reviewdb.client.Account;
<ide> import com.google.gerrit.reviewdb.client.Change;
<ide> import com.google.gerrit.reviewdb.client.Project;
<del>import com.google.gerrit.server.IdentifiedUser;
<ide> import com.google.ge... | |
JavaScript | mit | b71e3763932588087e1caa7336bec6e78fd17609 | 0 | Tudmotu/gnome-shell-extension-clipboard-indicator,RaphaelRochet/gnome-shell-extension-clipboard-indicator,RaphaelRochet/gnome-shell-extension-clipboard-indicator | const GObject = imports.gi.GObject;
const Gtk = imports.gi.Gtk;
const Gio = imports.gi.Gio;
const Lang = imports.lang;
const Extension = imports.misc.extensionUtils.getCurrentExtension();
const Utils = Extension.imports.utils;
const prettyPrint = Utils.prettyPrint;
const Gettext = imports.gettext;
const _ = Gettext.do... | prefs.js | const GObject = imports.gi.GObject;
const Gtk = imports.gi.Gtk;
const Gio = imports.gi.Gio;
const Lang = imports.lang;
const Extension = imports.misc.extensionUtils.getCurrentExtension();
const Utils = Extension.imports.utils;
const prettyPrint = Utils.prettyPrint;
const Gettext = imports.gettext;
const _ = Gettext.do... | Fix size of Gtk.Switch widgets in settings and refactor code a bit
| prefs.js | Fix size of Gtk.Switch widgets in settings and refactor code a bit | <ide><path>refs.js
<ide> const Gettext = imports.gettext;
<ide> const _ = Gettext.domain('clipboard-indicator').gettext;
<ide>
<del>const Fields = {
<add>var Fields = {
<ide> INTERVAL : 'refresh-interval',
<ide> HISTORY_SIZE : 'history-size',
<ide> PREVIEW_SIZE : 'preview-size',
<ide>... | |
Java | apache-2.0 | b8285a08ee926bed4441a1420e9c52730671bbf6 | 0 | org-tigris-jsapar/jsapar | package org.jsapar.schema;
import java.io.IOException;
import java.io.Writer;
import org.jsapar.Cell;
public class CsvSchemaCell extends SchemaCell {
private final static String replaceString = "\u00A0"; // non-breaking space
public CsvSchemaCell(String sName) {
super(sName);
}
... | src/main/java/org/jsapar/schema/CsvSchemaCell.java | package org.jsapar.schema;
import java.io.IOException;
import java.io.Writer;
import org.jsapar.Cell;
public class CsvSchemaCell extends SchemaCell {
private final static String replaceString = "\u00A0"; // non-breaking space
public CsvSchemaCell(String sName) {
super(sName);
}
... | Needs to check for empty string first
| src/main/java/org/jsapar/schema/CsvSchemaCell.java | Needs to check for empty string first | <ide><path>rc/main/java/org/jsapar/schema/CsvSchemaCell.java
<ide> if (quoteChar == 0)
<ide> sValue = sValue.replace(cellSeparator, replaceString);
<ide> else {
<del> if (sValue.contains(cellSeparator) || sValue.charAt(0) ==quoteChar)
<add> if (sValue.contains(cellSepar... | |
Java | apache-2.0 | 56772eeb6c84bbfaf7f047e6ef3d71edf020d162 | 0 | brenuart/spring-cloud-netflix,brenuart/spring-cloud-netflix,ryanjbaxter/spring-cloud-netflix,joshiste/spring-cloud-netflix,spring-cloud/spring-cloud-netflix,sfat/spring-cloud-netflix,ryanjbaxter/spring-cloud-netflix,brenuart/spring-cloud-netflix,joshiste/spring-cloud-netflix,spring-cloud/spring-cloud-netflix,brenuart/s... | /*
* Copyright 2014-2018 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... | spring-cloud-netflix-turbine-stream/src/main/java/org/springframework/cloud/netflix/turbine/stream/TurbineController.java | /*
* Copyright 2014-2018 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... | Converts Map to JSON. Fixes json format errors with Hystrix Dashboard. (#2950)
| spring-cloud-netflix-turbine-stream/src/main/java/org/springframework/cloud/netflix/turbine/stream/TurbineController.java | Converts Map to JSON. Fixes json format errors with Hystrix Dashboard. (#2950) | <ide><path>pring-cloud-netflix-turbine-stream/src/main/java/org/springframework/cloud/netflix/turbine/stream/TurbineController.java
<ide>
<ide> import com.netflix.turbine.aggregator.InstanceKey;
<ide> import com.netflix.turbine.aggregator.StreamAggregator;
<add>import com.netflix.turbine.internal.JsonUtility;
<ide> im... | |
Java | apache-2.0 | 1913bb2854ee7e0461c45fe9e2b6bfd88603ba32 | 0 | mosoft521/wicket,selckin/wicket,apache/wicket,mafulafunk/wicket,bitstorm/wicket,mosoft521/wicket,AlienQueen/wicket,apache/wicket,mosoft521/wicket,mosoft521/wicket,astrapi69/wicket,dashorst/wicket,klopfdreh/wicket,selckin/wicket,Servoy/wicket,mafulafunk/wicket,mosoft521/wicket,martin-g/wicket-osgi,klopfdreh/wicket,topic... | /*
* 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 ... | wicket/src/main/java/wicket/markup/html/image/resource/LocalizedImageResource.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 ... | WICKET-5
git-svn-id: 6d6ade8e88b1292e17cba3559b7335a947e495e0@477041 13f79535-47bb-0310-9956-ffa450edef68
| wicket/src/main/java/wicket/markup/html/image/resource/LocalizedImageResource.java | WICKET-5 | <ide><path>icket/src/main/java/wicket/markup/html/image/resource/LocalizedImageResource.java
<ide> * {@link wicket.markup.html.image.resource.DefaultButtonImageResourceFactory}.
<ide> * <p>
<ide> * Finally, if there is no SRC attribute and no VALUE attribute, the Image
<del> * component's model is converted to a Str... | |
Java | bsd-3-clause | 2d19576f247894a8dc39c9bf10617952f041a587 | 0 | rmacnak-google/engine,devoncarew/engine,Hixie/sky_engine,chinmaygarde/sky_engine,Hixie/sky_engine,Hixie/sky_engine,jamesr/sky_engine,devoncarew/engine,jason-simmons/sky_engine,jamesr/sky_engine,tvolkert/engine,rmacnak-google/engine,jason-simmons/flutter_engine,Hixie/sky_engine,flutter/engine,jamesr/flutter_engine,jason... | // Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugin.editing;
import android.annotation.SuppressLint;
import android.content.ClipData;
import android.content.ClipboardManager;
impor... | shell/platform/android/io/flutter/plugin/editing/InputConnectionAdaptor.java | // Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package io.flutter.plugin.editing;
import android.annotation.SuppressLint;
import android.content.ClipData;
import android.content.ClipboardManager;
impor... | Implement Hashcode for TextEditingValue in InputConnectionAdaptor (#17643)
| shell/platform/android/io/flutter/plugin/editing/InputConnectionAdaptor.java | Implement Hashcode for TextEditingValue in InputConnectionAdaptor (#17643) | <ide><path>hell/platform/android/io/flutter/plugin/editing/InputConnectionAdaptor.java
<ide> && composingStart == value.composingStart
<ide> && composingEnd == value.composingEnd
<ide> && text.equals(value.text);
<add> }
<add>
<add> @Override
<add> public int hashCode() {
<add> ... | |
JavaScript | mit | eeae3bfae92eb5ad910f62773e0db1cd49414058 | 0 | Inist-CNRS/node-xml-writer,touv/node-xml-writer |
function strval(s) {
if (typeof s == 'string') {
return s;
}
else if (typeof s == 'function') {
return s();
}
else if (s instanceof XMLWriter) {
return s.toString();
}
else throw Error('Bad Parameter');
}
function XMLWriter(indent, callback) {
if (!(this instanceof XMLWriter)) {
... | lib/xml-writer.js |
function strval(s) {
if (typeof s == 'string') {
return s;
}
else if (typeof s == 'function') {
return s();
}
else if (s instanceof XMLWriter) {
return s.toString();
}
else throw Error('Bad Parameter');
}
function XMLWriter(indent, callback) {
if (!(this instanceof XMLWriter)) {
... | Fixed indentation not being applied to end tags whose groups contained
a subtree | lib/xml-writer.js | Fixed indentation not being applied to end tags whose groups contained a subtree | <ide><path>ib/xml-writer.js
<ide> if (this.attributes) this.endAttributes();
<ide> ++this.tags;
<ide> this.texts = 0;
<add> if (this.stack.length > 0)
<add> this.stack[this.stack.length-1].containsTag = true;
<add>
<ide> this.stack.push({
<ide> name: n... | |
Java | apache-2.0 | 3c8f1c53b2feba92f486bf6f542b36209ce12e3b | 0 | ChetnaChaudhari/hadoop,ChetnaChaudhari/hadoop,ChetnaChaudhari/hadoop,ChetnaChaudhari/hadoop,ChetnaChaudhari/hadoop,ChetnaChaudhari/hadoop,ChetnaChaudhari/hadoop | /**
* 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 ma... | hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/block/BlockManagerImpl.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 ma... | HDFS-12382. Ozone: SCM: BlockManager creates a new container for each allocateBlock call. Contributed by Nandakumar.
| hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/block/BlockManagerImpl.java | HDFS-12382. Ozone: SCM: BlockManager creates a new container for each allocateBlock call. Contributed by Nandakumar. | <ide><path>adoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/block/BlockManagerImpl.java
<ide> // should be enough for now.
<ide> private void refreshContainers() {
<ide> Map<String, BlockContainerInfo> containersByState =
<del> this.containers.get(OzoneProtos.LifeCycleState.ALLOCA... | |
JavaScript | mit | dcf50df89867ae91671455e0e110b6b5848c9e60 | 0 | ihmeuw/beaut,ihmeuw/beaut,ihmeuw/beaut,ihmeuw/ihme-ui,ihmeuw/ihme-ui,ihmeuw/ihme-ui | import topojson from 'topojson';
import { reduce } from 'lodash';
import d3 from 'd3';
/**
* extract topojson layers as geoJSON
* @param {Object} topology -> valid topojson
* @param {Array} layers -> layers to include
* @return {Object} -> { mesh: {...}, feature: {...} }
*/
export function extractGeoJSON(topolog... | src/utils/geo.js | import topojson from 'topojson';
import { reduce } from 'lodash';
import d3 from 'd3';
/**
* extract topojson layers as geoJSON
* @param {Object} geo -> valid topojson
* @param {Array} layers -> layers to include
* @return {Object} -> { mesh: {...}, feature: {...} }
*/
export function extractGeoJSON(topology, la... | fix documentation for geo utils
| src/utils/geo.js | fix documentation for geo utils | <ide><path>rc/utils/geo.js
<ide>
<ide> /**
<ide> * extract topojson layers as geoJSON
<del> * @param {Object} geo -> valid topojson
<add> * @param {Object} topology -> valid topojson
<ide> * @param {Array} layers -> layers to include
<ide> * @return {Object} -> { mesh: {...}, feature: {...} }
<ide> */
<ide> * @p... | |
JavaScript | mit | 05f77707b4fef98b2e005a644872cbc7d94ac6fa | 0 | dplassmann/ngp-userscripts | // ==UserScript==
// @name Skip Paypal Validation - CAUTION!
// @namespace NGPVAN
// @description Skip Oberon Paypal Validation
// @include https://*.myngp.com/Tenant/Create*
// @include https://*.myngp.com/Tenant/Update*
// @include http://*.myngp.com/Tenant/Create*
// @include http://*.myngp.... | Skip_Paypal_Validation_-_CAUTION!.user.js | // ==UserScript==
// @name Skip Paypal Validation - CAUTION!
// @namespace NGPVAN
// @description Skip Oberon Paypal Validation
// @include https://*.myngp.com/Tenant/Create*
// @include https://*.myngp.com/Tenant/Update*
// @include http://*.myngp.com/Tenant/Create*
// @include http://*.myngp.... | added author
| Skip_Paypal_Validation_-_CAUTION!.user.js | added author | <ide><path>kip_Paypal_Validation_-_CAUTION!.user.js
<ide> // @include https://*.myngp.com/Tenant/Update*
<ide> // @include http://*.myngp.com/Tenant/Create*
<ide> // @include http://*.myngp.com/Tenant/Update*
<add>// @author ckoppelman
<ide> // @version 1.6.1
<ide> // ==/UserScript==
<ide> | |
Java | apache-2.0 | c1691206147b546c41a4846bb9347563049cf2a8 | 0 | xsyntrex/selenium,jsakamoto/selenium,SeleniumHQ/selenium,mach6/selenium,o-schneider/selenium,thanhpete/selenium,GorK-ChO/selenium,anshumanchatterji/selenium,actmd/selenium,Sravyaksr/selenium,doungni/selenium,HtmlUnit/selenium,temyers/selenium,SeleniumHQ/selenium,eric-stanley/selenium,isaksky/selenium,TheBlackTuxCorp/se... | /*
* Copyright 2006 ThoughtWorks, 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 applica... | server-coreless/src/main/java/org/openqa/selenium/server/SeleniumDriverResourceHandler.java | /*
* Copyright 2006 ThoughtWorks, 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 applica... | * Added hack for windows temp folder in createTempFile()
r6454
| server-coreless/src/main/java/org/openqa/selenium/server/SeleniumDriverResourceHandler.java | * Added hack for windows temp folder in createTempFile() | <ide><path>erver-coreless/src/main/java/org/openqa/selenium/server/SeleniumDriverResourceHandler.java
<ide>
<ide> protected File createTempFile(String name) {
<ide> String parent = System.getProperty("java.io.tmpdir");
<add> // Hack for windows...
<add> int parentLength = parent.length();
<add> ... | |
Java | lgpl-2.1 | 80918a6b9337a4671966ce098c9e733fea6d9f74 | 0 | certusoft/swingx,certusoft/swingx | /*
* $Id$
*
* Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
* Santa Clara, California 95054, U.S.A. All rights reserved.
*
* 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 Founda... | src/test/org/jdesktop/swingx/painter/PainterVisualCheck.java | /*
* $Id$
*
* Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
* Santa Clara, California 95054, U.S.A. All rights reserved.
*
* 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 Founda... | Update to change in RectanglePainter. | src/test/org/jdesktop/swingx/painter/PainterVisualCheck.java | Update to change in RectanglePainter. | <ide><path>rc/test/org/jdesktop/swingx/painter/PainterVisualCheck.java
<ide> final TextPainter text = new TextPainter();
<ide> text.setText(messages[0]);
<ide> CompoundPainter<?> cp = new CompoundPainter<Object>(
<del> new RectanglePainter<Object>(),
<add> new Recta... | |
Java | mit | 2fa5e53c95a59dd7e02500e828303473f43fac12 | 0 | pitkley/jmccs | package de.pitkley.ddcci.main;
import com.sun.jna.Memory;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import com.sun.jna.ptr.IntByReference;
import de.pitkley.ddcci.monitor.*;
import java.util.List;
public class Main {
private static void testMonitorManager() {
msg("Getting monit... | app/src/main/java/de/pitkley/ddcci/main/Main.java | package de.pitkley.ddcci.main;
import de.pitkley.ddcci.monitor.*;
import java.util.List;
public class Main {
public static void main(String[] args) {
msg("Getting monitor manager");
MonitorManager monitorManager = Monitors.getMonitorManager();
msg("Getting monitors");
L... | Added native parts for OS X, tests in Main class
| app/src/main/java/de/pitkley/ddcci/main/Main.java | Added native parts for OS X, tests in Main class | <ide><path>pp/src/main/java/de/pitkley/ddcci/main/Main.java
<ide> package de.pitkley.ddcci.main;
<ide>
<add>import com.sun.jna.Memory;
<add>import com.sun.jna.Native;
<add>import com.sun.jna.Pointer;
<add>import com.sun.jna.ptr.IntByReference;
<ide> import de.pitkley.ddcci.monitor.*;
<ide>
<ide> import java.util.List... | |
JavaScript | bsd-3-clause | 25b3be4a8fc3c14915619e4135827476e878e3c9 | 0 | PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs | /**
* @license
* Copyright (c) 2018 Google Inc. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* Code distributed by Google as part of this project is also
* subject to an additional IP rights grant found at
* http://polymer.github.io... | runtime/slot-dom-consumer.js | /**
* @license
* Copyright (c) 2018 Google Inc. All rights reserved.
* This code may only be used under the BSD style license found at
* http://polymer.github.io/LICENSE.txt
* Code distributed by Google as part of this project is also
* subject to an additional IP rights grant found at
* http://polymer.github.io... | Replace inappropriate assert in dom slot. (#1718)
| runtime/slot-dom-consumer.js | Replace inappropriate assert in dom slot. (#1718) | <ide><path>untime/slot-dom-consumer.js
<ide> }
<ide> parentNode = parentNode.parentNode;
<ide> }
<del> assert(false);
<add> // innerContainer won't be a child node of container if the method is triggered
<add> // by mutation observer record and innerContainer was removed.
<add> return false;... | |
Java | agpl-3.0 | c015437fa07d83bd26278ee689af01604b76d539 | 0 | qiuyesuifeng/sql-layer,ngaut/sql-layer,shunwang/sql-layer-1,relateiq/sql-layer,wfxiang08/sql-layer-1,jaytaylor/sql-layer,relateiq/sql-layer,ngaut/sql-layer,relateiq/sql-layer,jaytaylor/sql-layer,shunwang/sql-layer-1,wfxiang08/sql-layer-1,wfxiang08/sql-layer-1,shunwang/sql-layer-1,shunwang/sql-layer-1,qiuyesuifeng/sql-l... | /**
* Copyright (C) 2009-2013 FoundationDB, LLC
*
* This program 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.
*
* Thi... | src/main/java/com/foundationdb/server/store/PersistitStore.java | /**
* Copyright (C) 2009-2013 FoundationDB, LLC
*
* This program 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.
*
* Thi... | Import cleanup
| src/main/java/com/foundationdb/server/store/PersistitStore.java | Import cleanup | <ide><path>rc/main/java/com/foundationdb/server/store/PersistitStore.java
<ide> import com.foundationdb.server.service.tree.TreeService;
<ide> import com.google.inject.Inject;
<ide> import com.persistit.*;
<del>import com.persistit.Management.DisplayFilter;
<ide> import com.persistit.encoding.CoderManager;
<ide> import... | |
Java | apache-2.0 | error: pathspec 'Aplicativo.java' did not match any file(s) known to git
| 32903e8c8347c30dbe9f70fc625dce2375eb62bb | 1 | JohnnyRedfox/Dietas | import java.awt.BorderLayout;
import java.awt.FlowLayout;
import javax.swing.JFrame;
import javax.swing.SwingConstants;
public class Aplicativo {
public static void main(String[] args) {
JTextFields janela = new JTextFields();
janela.setLayout(new FlowLayout(SwingConstants.CENTER));
janela.setDefaultCloseO... | Aplicativo.java | Aplicativo
Classe que contém a main | Aplicativo.java | Aplicativo | <ide><path>plicativo.java
<add>import java.awt.BorderLayout;
<add>import java.awt.FlowLayout;
<add>
<add>import javax.swing.JFrame;
<add>import javax.swing.SwingConstants;
<add>
<add>
<add>public class Aplicativo {
<add> public static void main(String[] args) {
<add>
<add> JTextFields janela = new JTextFields();
<ad... | |
Java | apache-2.0 | 94b9fa44866f750d713a07861b5576e2400f9885 | 0 | lakmali/product-apim,hevayo/product-apim,chamilaadhi/product-apim,thilinicooray/product-apim,amalkasubasinghe/product-apim,pradeepmurugesan/product-apim,hevayo/product-apim,rswijesena/product-apim,jaadds/product-apim,dewmini/product-apim,amalkasubasinghe/product-apim,pradeepmurugesan/product-apim,chamilaadhi/product-ap... | /*
*Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
*WSO2 Inc. licenses this file to you under the Apache License,
*Version 2.0 (the "License"); you may not use this file except
*in compliance with the License.
*You may obtain a copy of the License at
*
*http://www.apache.org/licenses/LICENSE... | modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/restapi/testcases/TierTestCase.java | /*
*Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
*WSO2 Inc. licenses this file to you under the Apache License,
*Version 2.0 (the "License"); you may not use this file except
*in compliance with the License.
*You may obtain a copy of the License at
*
*http://www.apache.org/licenses/LICENSE... | Remove unused imports in TierTestCase.java file
| modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/restapi/testcases/TierTestCase.java | Remove unused imports in TierTestCase.java file | <ide><path>odules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/restapi/testcases/TierTestCase.java
<ide> import org.wso2.carbon.automation.engine.context.TestUserMode;
<ide>
<ide> import java.io.File;
<del>import java.nio.file.Path;
<del>import java.nio.file.Paths;
<ide>
<id... | |
Java | apache-2.0 | b2740e6d5272d87c3410db2532f7f40544a8ff04 | 0 | GerritCodeReview/plugins_x-docs,GerritCodeReview/plugins_x-docs | // Copyright (C) 2014 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | src/main/java/com/googlesource/gerrit/plugins/xdocs/XDocResourceKey.java | // Copyright (C) 2014 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | Fix implementation of equals(...) and hashCode() in XDocResourceKey
Both methods ignored 'metaConfigRevId' and equals would have failed if
'rev' was null.
The new implementation uses java.util.Objects rather than
com.google.common.base.Objects. The JavaDoc of both methods in
com.google.common.base.Objects says that t... | src/main/java/com/googlesource/gerrit/plugins/xdocs/XDocResourceKey.java | Fix implementation of equals(...) and hashCode() in XDocResourceKey | <ide><path>rc/main/java/com/googlesource/gerrit/plugins/xdocs/XDocResourceKey.java
<ide>
<ide> package com.googlesource.gerrit.plugins.xdocs;
<ide>
<del>import com.google.common.base.Objects;
<ide> import com.google.gerrit.extensions.restapi.IdString;
<ide> import com.google.gerrit.reviewdb.client.Project;
<ide>
<id... | |
Java | apache-2.0 | ec25beb66066cbf5385cea36e2d96e9c81e030bd | 0 | ejona86/grpc-java,ejona86/grpc-java,dapengzhang0/grpc-java,stanley-cheung/grpc-java,dapengzhang0/grpc-java,dapengzhang0/grpc-java,ejona86/grpc-java,ejona86/grpc-java,grpc/grpc-java,stanley-cheung/grpc-java,grpc/grpc-java,grpc/grpc-java,grpc/grpc-java,dapengzhang0/grpc-java,stanley-cheung/grpc-java,stanley-cheung/grpc-j... | /*
* Copyright 2016 The gRPC 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 applicable law or agree... | grpclb/src/test/java/io/grpc/grpclb/GrpclbLoadBalancerTest.java | /*
* Copyright 2016 The gRPC 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 applicable law or agree... | grpclb: clean up usage of raw load balancing config attributes in tests (#6798)
| grpclb/src/test/java/io/grpc/grpclb/GrpclbLoadBalancerTest.java | grpclb: clean up usage of raw load balancing config attributes in tests (#6798) | <ide><path>rpclb/src/test/java/io/grpc/grpclb/GrpclbLoadBalancerTest.java
<ide> import io.grpc.ConnectivityState;
<ide> import io.grpc.ConnectivityStateInfo;
<ide> import io.grpc.EquivalentAddressGroup;
<del>import io.grpc.LoadBalancer;
<ide> import io.grpc.LoadBalancer.Helper;
<ide> import io.grpc.LoadBalancer.PickRes... | |
Java | mit | a25d20a37b4dc5304b29d91165c95ecf0ba335ed | 0 | ItinoseSan/Twi-Java | package com.company;
import org.apache.http.HttpHeaders;
import org.apache.http.auth.Credentials;
import org.apache.http.NameValuePair;
import org.apache.http.client.HttpClient;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.auth.Usernam... | TwitterAPI/src/com/company/UpdateJson.java | package com.company;
import com.sun.org.apache.xml.internal.security.keys.content.KeyValue;
import com.sun.org.apache.xml.internal.security.keys.content.keyvalues.KeyValueContent;
import com.sun.xml.internal.ws.policy.privateutil.PolicyUtils;
import org.apache.http.HttpHeaders;
import org.apache.http.auth.Credentials;... | Update UpdateJson.java | TwitterAPI/src/com/company/UpdateJson.java | Update UpdateJson.java | <ide><path>witterAPI/src/com/company/UpdateJson.java
<ide> package com.company;
<ide>
<del>import com.sun.org.apache.xml.internal.security.keys.content.KeyValue;
<del>import com.sun.org.apache.xml.internal.security.keys.content.keyvalues.KeyValueContent;
<del>import com.sun.xml.internal.ws.policy.privateutil.PolicyUti... | |
Java | apache-2.0 | a1339b4d847657597d851866dbc71273af29bbe4 | 0 | DataSketches/sketches-core | /*
* Copyright 2018, Yahoo! Inc. Licensed under the terms of the
* Apache License 2.0. See LICENSE file at the project root for terms.
*/
package com.yahoo.sketches.cpc;
import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
import static com.yahoo.sketches.Util.checkSeedHashes;
import static com.yahoo.sketche... | src/main/java/com/yahoo/sketches/cpc/CpcSketch.java | /*
* Copyright 2018, Yahoo! Inc. Licensed under the terms of the
* Apache License 2.0. See LICENSE file at the project root for terms.
*/
package com.yahoo.sketches.cpc;
import static com.yahoo.sketches.Util.DEFAULT_UPDATE_SEED;
import static com.yahoo.sketches.Util.checkSeedHashes;
import static com.yahoo.sketche... | Update javadoc | src/main/java/com/yahoo/sketches/cpc/CpcSketch.java | Update javadoc | <ide><path>rc/main/java/com/yahoo/sketches/cpc/CpcSketch.java
<ide> /*
<ide> * These empirical values for the 99.9th percentile of size in bytes were measured using 100,000
<ide> * trials. The value for each trial is the maximum of 5*16=80 measurements that were equally
<del> * spaced over values of the quant... | |
JavaScript | bsd-3-clause | cae5ef85177d2466b0e9080817c387c147d8c6f2 | 0 | maier49/dstore,kfranqueiro/dstore,kfranqueiro/dstore,maier49/dstore,kfranqueiro/dstore,maier49/dstore,kfranqueiro/dstore,maier49/dstore | // Learn more about configuring this file at <https://github.com/theintern/intern/wiki/Configuring-Intern>.
// These default settings work OK for most people. The options that *must* be changed below are the
// packages, suites, excludeInstrumentation, and (if you want functional tests) functionalSuites.
define({
// ... | tests/intern.js | // Learn more about configuring this file at <https://github.com/theintern/intern/wiki/Configuring-Intern>.
// These default settings work OK for most people. The options that *must* be changed below are the
// packages, suites, excludeInstrumentation, and (if you want functional tests) functionalSuites.
define({
// T... | Make intern configuration adapt to sibling or child configuration of
node_modules folder
| tests/intern.js | Make intern configuration adapt to sibling or child configuration of node_modules folder | <ide><path>ests/intern.js
<ide> // Learn more about configuring this file at <https://github.com/theintern/intern/wiki/Configuring-Intern>.
<ide> // These default settings work OK for most people. The options that *must* be changed below are the
<ide> // packages, suites, excludeInstrumentation, and (if you want functi... | |
Java | agpl-3.0 | 32db225d5d75c5990a2126c4658408d443d8b0a7 | 0 | ghjansen/cas,ghjansen/cas | /*
* CAS - Cellular Automata Simulator
* Copyright (C) 2016 Guilherme Humberto Jansen
*
* This program 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 ... | cas-ui-desktop/src/main/java/com/ghjansen/cas/ui/desktop/manager/EventManager.java | /*
* CAS - Cellular Automata Simulator
* Copyright (C) 2016 Guilherme Humberto Jansen
*
* This program 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 ... |
Fix for 'Cell Scale' value range, for enabling 'Show Grid Lines' option. Issue #56. | cas-ui-desktop/src/main/java/com/ghjansen/cas/ui/desktop/manager/EventManager.java | <ide><path>as-ui-desktop/src/main/java/com/ghjansen/cas/ui/desktop/manager/EventManager.java
<ide>
<ide> public void aEOCellScaleEvent(){
<ide> if(validator.isAEOCellScaleValid()){
<del> if(Integer.valueOf(main.aeo.txtAEOCellScale.getText()) > 3) {
<add> if(Integer.valueOf(main.aeo.txtAEOCellScale.getText()) >... | ||
Java | apache-2.0 | 1d6dbc818d43b3e6c965aba68599fd093d6a5bb3 | 0 | sarality/appblocks,sarality/appblocks | package com.sarality.app.config.test;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import java.util.ArrayList;
import java.util.List;
import com.dothat.app.module.reminder.data.ReminderData;
import com.sarality.app.config.TableIsEmpty;
import com.sarality.app.datastore.db.Table;
im... | tests/src/com/sarality/app/config/test/TableIsEmptyTest.java | package com.sarality.app.config.test;
import android.test.ActivityUnitTestCase;
import com.dothat.app.assistant.AssistantApp;
import com.dothat.app.common.data.ServiceProvider;
import com.dothat.app.common.data.ServiceType;
import com.dothat.app.module.reminder.ReminderListActivity;
import com.dothat.app.module.remin... | Replaced with mock table
| tests/src/com/sarality/app/config/test/TableIsEmptyTest.java | Replaced with mock table | <ide><path>ests/src/com/sarality/app/config/test/TableIsEmptyTest.java
<ide> package com.sarality.app.config.test;
<ide>
<del>import android.test.ActivityUnitTestCase;
<add>import static org.mockito.Mockito.mock;
<add>import static org.mockito.Mockito.when;
<ide>
<del>import com.dothat.app.assistant.AssistantApp;
<de... | |
Java | mit | ed335cd34b6a1388055bede97d0b7e379b2ea459 | 0 | Breinify/brein-api-library-java | package com.brein.domain.results.temporaldataparts;
import com.brein.util.JsonHelper;
import java.util.Map;
public class BreinWeatherResult {
private static final String DESCRIPTION_KEY = "description";
private static final String TEMPERATURE_KEY = "temperatureC";
private static final String TEMPERATURE_... | src/com/brein/domain/results/temporaldataparts/BreinWeatherResult.java | package com.brein.domain.results.temporaldataparts;
import com.brein.util.JsonHelper;
import java.util.Map;
public class BreinWeatherResult {
private static final String DESCRIPTION_KEY = "description";
private static final String TEMPERATURE_KEY = "temperature";
private static final String PRECIPITATION... | fixed for new API values
| src/com/brein/domain/results/temporaldataparts/BreinWeatherResult.java | fixed for new API values | <ide><path>rc/com/brein/domain/results/temporaldataparts/BreinWeatherResult.java
<ide>
<ide> public class BreinWeatherResult {
<ide> private static final String DESCRIPTION_KEY = "description";
<del> private static final String TEMPERATURE_KEY = "temperature";
<add> private static final String TEMPERATURE_KE... | |
JavaScript | apache-2.0 | 55d8a945acca205d3ca334c5ea78ec94904390a1 | 0 | Mindsers/configfile | const fs = require('fs')
const path = require('path')
const inquirer = require('inquirer')
const { fileExist, writeFile } = require('./fs.utils')
const { log } = require('./log.utils')
const { gitClone } = require('./git.utils')
const URL_REGEX = /^((?:(https?):\/\/)?((?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9][0-9]|[0-... | lib/init.command.js | const fs = require('fs')
const inquirer = require('inquirer')
const { fileExist, writeFile } = require('./fs.utils')
const { log } = require('./log.utils')
const { gitClone } = require('./git.utils')
const URL_REGEX = /^((?:(https?):\/\/)?((?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9][0-9]|[0-9])\.(?:(?:25[0-5]|2[0-4][0-9... | Store absolute path instead of relative one
| lib/init.command.js | Store absolute path instead of relative one | <ide><path>ib/init.command.js
<ide> const fs = require('fs')
<add>const path = require('path')
<ide> const inquirer = require('inquirer')
<ide>
<ide> const { fileExist, writeFile } = require('./fs.utils')
<ide> if (!overwrite_file) {
<ide> throw new Error('user_stop_init')
<ide> }
<add>
<add>... | |
Java | apache-2.0 | 14cf3cf2e2fdf91ac89e901f7c46e6bd1def6c14 | 0 | kailash09dabhi/OmRecorder | /**
* Copyright 2017 Kailash Dabhi (Kingbull Technology)
*
* 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... | om-recorder/src/main/java/omrecorder/PullTransport.java | /**
* Copyright 2017 Kailash Dabhi (Kingbull Technology)
*
* 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... | Convert AudioChunk to local variable
| om-recorder/src/main/java/omrecorder/PullTransport.java | Convert AudioChunk to local variable | <ide><path>m-recorder/src/main/java/omrecorder/PullTransport.java
<ide> * you may not use this file except in compliance with the License.
<ide> * You may obtain a copy of the License at
<ide> *
<del> * http://www.apache.org/licenses/LICENSE-2.0
<add> * http://www.apache.org/licenses/LICENSE-2.0
<ide> *
<ide> ... | |
Java | apache-2.0 | 1749e13f789abfddaa56f02c54a0d2ac54959828 | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInsight.daemon.impl.analysis;
import com.intellij.codeInsight.ExceptionUtil;
import com.intellij.codeInsight.daemon.JavaErrorBundle;
import com.intellij.... | java/java-analysis-impl/src/com/intellij/codeInsight/daemon/impl/analysis/HighlightMethodUtil.java | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInsight.daemon.impl.analysis;
import com.intellij.codeInsight.ExceptionUtil;
import com.intellij.codeInsight.daemon.JavaErrorBundle;
import com.intellij.... | HighlightMethodUtil: "Make default" with high priority
GitOrigin-RevId: cc7a7c6e193173b377978f8ab34b86f15b9af7c8 | java/java-analysis-impl/src/com/intellij/codeInsight/daemon/impl/analysis/HighlightMethodUtil.java | HighlightMethodUtil: "Make default" with high priority | <ide><path>ava/java-analysis-impl/src/com/intellij/codeInsight/daemon/impl/analysis/HighlightMethodUtil.java
<ide> import com.intellij.codeInsight.daemon.impl.quickfix.*;
<ide> import com.intellij.codeInsight.intention.IntentionAction;
<ide> import com.intellij.codeInsight.intention.QuickFixFactory;
<add>import com.int... | |
Java | bsd-3-clause | 7eae539f0ab79041073e21d233938d320c31e9e7 | 0 | NCIP/cadsr-semantic-tools,NCIP/cadsr-semantic-tools | package gov.nih.nci.ncicb.cadsr.loader.event;
import gov.nih.nci.ncicb.cadsr.domain.*;
import gov.nih.nci.ncicb.cadsr.loader.ElementsLists;
import org.apache.log4j.Logger;
import java.util.*;
import gov.nih.nci.ncicb.cadsr.loader.util.*;
/**
* This class implements UMLHandler specifically to handle UML events and ... | src/gov/nih/nci/ncicb/cadsr/loader/event/UMLDefaultHandler.java | package gov.nih.nci.ncicb.cadsr.loader.event;
import gov.nih.nci.ncicb.cadsr.domain.*;
import gov.nih.nci.ncicb.cadsr.loader.ElementsLists;
import org.apache.log4j.Logger;
import java.util.*;
import gov.nih.nci.ncicb.cadsr.loader.util.*;
/**
* This class implements UMLHandler specifically to handle UML events and ... | *** empty log message ***
SVN-Revision: 156
| src/gov/nih/nci/ncicb/cadsr/loader/event/UMLDefaultHandler.java | *** empty log message *** | <ide><path>rc/gov/nih/nci/ncicb/cadsr/loader/event/UMLDefaultHandler.java
<ide>
<ide> DataElement de = DomainObjectFactory.newDataElement();
<ide>
<del> // !! TODO Verify format of type (java.lang.String or String?)
<ide> de.setLongName(dec.getLongName() + event.getType());
<ide> de.setPreferredDefinit... | |
Java | apache-2.0 | 9adc081292d4bbecf22ed8f556d9e443f20b586b | 0 | nebulae-pan/RichEditText | package com.pxh.richedittext;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Typeface;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.support.v7.widget.AppCompatEditText;
import android.text.Edi... | rich_edittext/src/main/java/com/pxh/richedittext/RichEditText.java | package com.pxh.richedittext;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Typeface;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.support.v7.widget.AppCompatEditText;
import android.text.Edi... | 6/3 merge span fix bug.
| rich_edittext/src/main/java/com/pxh/richedittext/RichEditText.java | 6/3 merge span fix bug. | <ide><path>ich_edittext/src/main/java/com/pxh/richedittext/RichEditText.java
<ide>
<ide> public void enableItalic(boolean isValid)
<ide> {
<add> int start = getSelectionStart();
<add> int end = getSelectionEnd();
<add> if (start < end)
<add> setSelectionTextBold(isValid, start, ... | |
Java | apache-2.0 | ba697f1c9a25314c218b2eb2113b2fe97f8a252f | 0 | KylanTraynor/Civilizations,KylanTraynor/Civilizations | package com.kylantraynor.civilizations.territories;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import javax.imageio.ImageIO;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukk... | Civilizations/src/main/java/com/kylantraynor/civilizations/territories/InfluenceMap.java | package com.kylantraynor.civilizations.territories;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import javax.imageio.ImageIO;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukk... | Changed grayscale range. | Civilizations/src/main/java/com/kylantraynor/civilizations/territories/InfluenceMap.java | Changed grayscale range. | <ide><path>ivilizations/src/main/java/com/kylantraynor/civilizations/territories/InfluenceMap.java
<ide> double result = Math.min(Math.max((f.getInfluence() * 100.0) / totalCoeff, 0.1), 100.0);
<ide> BufferedImage img = getImage(f);
<ide> if(img != null){
<del> imgSetPixelAtLocation(l, img, (int)(result * 255 /... | |
Java | mit | 688d6d512d6b123fd0784d42782ec92cdaa0f830 | 0 | yegor256/cactoos | /*
* The MIT License (MIT)
*
* Copyright (c) 2017-2018 Yegor Bugayenko
*
* 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
*... | src/test/java/org/cactoos/scalar/AndInThreadsTest.java | /*
* The MIT License (MIT)
*
* Copyright (c) 2017-2018 Yegor Bugayenko
*
* 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
*... | (#829) Fix PR issues
| src/test/java/org/cactoos/scalar/AndInThreadsTest.java | (#829) Fix PR issues | <ide><path>rc/test/java/org/cactoos/scalar/AndInThreadsTest.java
<ide> import java.util.concurrent.Executors;
<ide> import org.cactoos.Proc;
<ide> import org.cactoos.Scalar;
<add>import org.cactoos.collection.CollectionOf;
<ide> import org.cactoos.func.FuncOf;
<ide> import org.cactoos.iterable.IterableOf;
<ide> import ... | |
Java | apache-2.0 | fa8429e0fed174112815eaff26fffbc511af6056 | 0 | hurzl/dmix,abarisain/dmix,hurzl/dmix,abarisain/dmix,joansmith/dmix,jcnoir/dmix,0359xiaodong/dmix,jcnoir/dmix,joansmith/dmix,0359xiaodong/dmix | MPDroid/src/com/namelessdev/mpdroid/MusicFocusable.java | /*
* Copyright (C) 2010-2014 The MPDroid Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | MusicFocusable: Remove unused interface.
| MPDroid/src/com/namelessdev/mpdroid/MusicFocusable.java | MusicFocusable: Remove unused interface. | <ide><path>PDroid/src/com/namelessdev/mpdroid/MusicFocusable.java
<del>/*
<del> * Copyright (C) 2010-2014 The MPDroid Project
<del> *
<del> * Licensed under the Apache License, Version 2.0 (the "License");
<del> * you may not use this file except in compliance with the License.
<del> * You may obtain a copy of the Lice... | ||
Java | mit | 4bbeef9a2662e36e0cd4292243e44ba9c26db508 | 0 | chrislo27/Stray-core | package stray.augment;
import stray.Main;
import stray.entity.EntityPlayer;
import stray.util.ParticlePool;
import stray.world.World;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.math.MathUtils;
public class FLUDDAugment extends Augment {
public static f... | src/stray/augment/FLUDDAugment.java | package stray.augment;
import stray.Main;
import stray.entity.EntityPlayer;
import stray.util.ParticlePool;
import stray.world.World;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.math.MathUtils;
public class FLUDDAugment extends Augment {
public static f... | Ugh instead I super OP'd it so fixed now | src/stray/augment/FLUDDAugment.java | Ugh instead I super OP'd it so fixed now | <ide><path>rc/stray/augment/FLUDDAugment.java
<ide>
<ide> if(player.health < player.maxhealth){
<ide> // 25% regen boost
<del> player.health += (Gdx.graphics.getRawDeltaTime());
<add> player.health += (Gdx.graphics.getRawDeltaTime() / 32f);
<ide> player.health = MathUtils.clamp(player.health, 0f, player.... | |
Java | apache-2.0 | error: pathspec 'examples/src/main/java/druid/examples/rabbitmq/RabbitMQProducerMain.java' did not match any file(s) known to git
| ae4132adba0714e8cad2ea4ceeab7eeb4bf700fe | 1 | haoch/druid,taochaoqiang/druid,gianm/druid,praveev/druid,guobingkun/druid,dkhwangbo/druid,druid-io/druid,implydata/druid,liquidm/druid,solimant/druid,lcp0578/druid,michaelschiff/druid,rasahner/druid,skyportsystems/druid,guobingkun/druid,premc/druid,Kleagleguo/druid,b-slim/druid,leventov/druid,calliope7/druid,deltaproje... | package druid.examples.rabbitmq;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
import org.apache.commons.cli.*;
import java.text.SimpleDateFormat;
import java.util.*;
/**
*
*/
public class RabbitMQProducerMain
{
public static void main(St... | examples/src/main/java/druid/examples/rabbitmq/RabbitMQProducerMain.java | Adding a test producer application.
| examples/src/main/java/druid/examples/rabbitmq/RabbitMQProducerMain.java | Adding a test producer application. | <ide><path>xamples/src/main/java/druid/examples/rabbitmq/RabbitMQProducerMain.java
<add>package druid.examples.rabbitmq;
<add>
<add>import com.rabbitmq.client.Channel;
<add>import com.rabbitmq.client.Connection;
<add>import com.rabbitmq.client.ConnectionFactory;
<add>import org.apache.commons.cli.*;
<add>
<add>import j... | |
Java | mit | error: pathspec 'src/java/nxt/http/rpc/GetAccountComments.java' did not match any file(s) known to git
| e2ed5f5ec784ff2396f9bd3f94a6f05accf597af | 1 | fimkrypto/nxt,fimkrypto/nxt,fimkrypto/nxt,fimkrypto/nxt | package nxt.http.rpc;
import nxt.Account;
import nxt.MofoQueries;
import nxt.Transaction;
import nxt.db.DbIterator;
import nxt.http.ParameterException;
import nxt.http.websocket.JSONData;
import nxt.http.websocket.RPCCall;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.JSO... | src/java/nxt/http/rpc/GetAccountComments.java | Add websocket API GetAccountComments
| src/java/nxt/http/rpc/GetAccountComments.java | Add websocket API GetAccountComments | <ide><path>rc/java/nxt/http/rpc/GetAccountComments.java
<add>package nxt.http.rpc;
<add>
<add>import nxt.Account;
<add>import nxt.MofoQueries;
<add>import nxt.Transaction;
<add>import nxt.db.DbIterator;
<add>import nxt.http.ParameterException;
<add>import nxt.http.websocket.JSONData;
<add>import nxt.http.websocket.RPCC... | |
Java | agpl-3.0 | 48b62b576cb81e4b655f06511e9418ade6f6479d | 0 | bhutchinson/kfs,quikkian-ua-devops/kfs,smith750/kfs,ua-eas/kfs-devops-automation-fork,ua-eas/kfs-devops-automation-fork,bhutchinson/kfs,ua-eas/kfs-devops-automation-fork,smith750/kfs,kuali/kfs,quikkian-ua-devops/will-financials,kkronenb/kfs,UniversityOfHawaii/kfs,quikkian-ua-devops/kfs,kuali/kfs,UniversityOfHawaii/kfs,... | /*
* Copyright 2008 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by applica... | work/src/org/kuali/kfs/module/ar/batch/InvoiceRecurrenceStep.java | /*
* Copyright 2008 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by applica... | KFSTI-358,revert variable names
| work/src/org/kuali/kfs/module/ar/batch/InvoiceRecurrenceStep.java | KFSTI-358,revert variable names | <ide><path>ork/src/org/kuali/kfs/module/ar/batch/InvoiceRecurrenceStep.java
<ide>
<ide> @Override
<ide> public boolean execute(String jobName, Date jobRunDate) throws InterruptedException {
<del> boolean resultInd = true;
<add> boolean result = true;
<ide> try {
<del> resultInd... | |
Java | mit | 6f4441ca9b50fa659c602d2569ec95d0a3bced2f | 0 | SilentChaos512/SilentGems | package net.silentchaos512.gems.guide;
import java.util.List;
import com.google.common.collect.Lists;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.IRecipe;
import net.minecraft.uti... | common/net/silentchaos512/gems/guide/GuideBookGems.java | package net.silentchaos512.gems.guide;
import java.util.List;
import com.google.common.collect.Lists;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.CraftingManager;
import net.minec... | Fix server crash (guide book, closes #145)
| common/net/silentchaos512/gems/guide/GuideBookGems.java | Fix server crash (guide book, closes #145) | <ide><path>ommon/net/silentchaos512/gems/guide/GuideBookGems.java
<ide> import net.minecraft.init.Blocks;
<ide> import net.minecraft.init.Items;
<ide> import net.minecraft.item.ItemStack;
<del>import net.minecraft.item.crafting.CraftingManager;
<ide> import net.minecraft.item.crafting.IRecipe;
<ide> import net.minecraf... | |
Java | apache-2.0 | 866bdb0bd17be171acd08a5038c427b3533e6458 | 0 | JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support | /*
* 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... | nuget-server/src/jetbrains/buildServer/nuget/server/toolRegistry/impl/impl/NuGetToolManagerImpl.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... | sync with api changes
| nuget-server/src/jetbrains/buildServer/nuget/server/toolRegistry/impl/impl/NuGetToolManagerImpl.java | sync with api changes | <ide><path>uget-server/src/jetbrains/buildServer/nuget/server/toolRegistry/impl/impl/NuGetToolManagerImpl.java
<ide>
<ide> public void removeTool(@NotNull String toolId) {
<ide> try {
<del> myInstalledTools.removeTool(null);
<add> myInstalledTools.removeTool(toolId);
<ide> } catch (ToolException e)... | |
Java | apache-2.0 | 94499fc7e6d2f31b1bdaf11c3fd8e3bf40bf311b | 0 | zqian/sakai,lorenamgUMU/sakai,liubo404/sakai,conder/sakai,kingmook/sakai,zqian/sakai,surya-janani/sakai,duke-compsci290-spring2016/sakai,udayg/sakai,rodriguezdevera/sakai,whumph/sakai,bkirschn/sakai,zqian/sakai,ouit0408/sakai,surya-janani/sakai,willkara/sakai,OpenCollabZA/sakai,liubo404/sakai,Fudan-University/sakai,uda... | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2003, 2004, 2005, 2006, 2007 The Sakai Foundation.
*
* Licensed under the Educational Community License, Version... | portal/portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/PageHandler.java | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2003, 2004, 2005, 2006, 2007 The Sakai Foundation.
*
* Licensed under the Educational Community License, Version... | SAK-10312 fix footer variables in web content pop up
git-svn-id: 14ad73a4fc9ccb6b14c5a9bdb407111d9f04bc7b@31376 66ffb92e-73f9-0310-93c1-f5514f145a0a
| portal/portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/PageHandler.java | SAK-10312 fix footer variables in web content pop up | <ide><path>ortal/portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/PageHandler.java
<ide> }
<ide> rcontext.put("pageColumn1Tools", toolList);
<ide> }
<add>
<add> //Add footer variables to page template context- SAK-10312
<add>
<add> String copyright = ServerConfigurationService
<add... | |
Java | apache-2.0 | error: pathspec 'java/javaapi/src/main/java/io/joynr/proxy/MessageIdCallback.java' did not match any file(s) known to git
| 8b870886c69ac1f18a4775f9ac5927b6665ccdb9 | 1 | bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr | /*-
* #%L
* %%
* Copyright (C) 2011 - 2018 BMW Car IT GmbH
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | java/javaapi/src/main/java/io/joynr/proxy/MessageIdCallback.java | [Java] add new message ID callback interface for stateless async
Change-Id: Ia998c7371075513d00482504cc9fd1a30e72ec6d
| java/javaapi/src/main/java/io/joynr/proxy/MessageIdCallback.java | [Java] add new message ID callback interface for stateless async | <ide><path>ava/javaapi/src/main/java/io/joynr/proxy/MessageIdCallback.java
<add>/*-
<add> * #%L
<add> * %%
<add> * Copyright (C) 2011 - 2018 BMW Car IT GmbH
<add> * %%
<add> * Licensed under the Apache License, Version 2.0 (the "License");
<add> * you may not use this file except in compliance with the License.
<add> *... | |
Java | apache-2.0 | 9147fbad899003e578e0ffdfd1e1ff822d8b968e | 0 | kironapublic/vaadin,Legioth/vaadin,jdahlstrom/vaadin.react,udayinfy/vaadin,Darsstar/framework,oalles/vaadin,magi42/vaadin,mstahv/framework,Legioth/vaadin,magi42/vaadin,udayinfy/vaadin,jdahlstrom/vaadin.react,Peppe/vaadin,oalles/vaadin,peterl1084/framework,shahrzadmn/vaadin,synes/vaadin,jdahlstrom/vaadin.react,Legioth/v... | /*
* Copyright 2000-2014 Vaadin Ltd.
*
* 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... | client/src/com/vaadin/client/connectors/GridConnector.java | /*
* Copyright 2000-2014 Vaadin Ltd.
*
* 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... | Fix empty @since
Change-Id: Ie060beaa9eca3b098d7e07116d64580c6a198ee8
| client/src/com/vaadin/client/connectors/GridConnector.java | Fix empty @since | <ide><path>lient/src/com/vaadin/client/connectors/GridConnector.java
<ide> /**
<ide> * Class for handling scrolling issues with open details.
<ide> *
<del> * @since
<del> * @author Vaadin Ltd
<add> * @since 7.5.2
<ide> */
<ide> private class LazyDetailsScroller implements DeferredWor... | |
Java | bsd-3-clause | aa12186378491c7bc08e3b2c9c674d67c212cb0f | 0 | yegor256/rexsl,krzyk/rexsl,krzyk/rexsl,yegor256/rexsl | /**
* Copyright (c) 2011-2012, ReXSL.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 condition... | rexsl/rexsl-core/src/main/java/com/rexsl/core/RestfulServlet.java | /**
* Copyright (c) 2011-2012, ReXSL.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 condition... | refs #305 - done
| rexsl/rexsl-core/src/main/java/com/rexsl/core/RestfulServlet.java | refs #305 - done | <ide><path>exsl/rexsl-core/src/main/java/com/rexsl/core/RestfulServlet.java
<ide> throws ServletException, IOException {
<ide> final long start = System.nanoTime();
<ide> this.jersey.service(request, response);
<add> final long nano = System.nanoTime() - start;
<ide> Logger.debug(... | |
Java | mpl-2.0 | 553b6b320c07f0c37e7a707e673989a7896d0555 | 0 | msteinhoff/hello-world | bf00b5b3-cb8e-11e5-a88c-00264a111016 | src/main/java/HelloWorld.java | bef55c07-cb8e-11e5-a7e1-00264a111016 | more bug fix | src/main/java/HelloWorld.java | more bug fix | <ide><path>rc/main/java/HelloWorld.java
<del>bef55c07-cb8e-11e5-a7e1-00264a111016
<add>bf00b5b3-cb8e-11e5-a88c-00264a111016 | |
Java | apache-2.0 | 594cd585faf2d67adfeb04b15e87269cf9dbb329 | 0 | lsmaira/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gstevey/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,gstevey/gradle,gstevey/gradle,gradle/gradle,gstevey/gradle,gradle/gradle,lsmaira/gradle,gradle/gradle,ls... | /*
* Copyright 2011 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 applica... | subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/ModuleVersionSpec.java | /*
* Copyright 2011 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 applica... | Remove redundant casts | subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/ModuleVersionSpec.java | Remove redundant casts | <ide><path>ubprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/ModuleVersionSpec.java
<ide> if (!other.getClass().equals(getClass())) {
<ide> return false;
<ide> }
<del> return doAcceptsSameModulesAs((ModuleVersionSpec) other);
<ad... | |
Java | epl-1.0 | e20d24e3a0f09ff921c12c9ed05ad1cc98931ab5 | 0 | seddikouiss/pivo4j,mysticfall/pivot4j,mysticfall/pivot4j,mysticfall/pivot4j,seddikouiss/pivo4j,seddikouiss/pivo4j | /*
* ====================================================================
* This software is subject to the terms of the Common Public License
* Agreement, available at the following URL:
* http://www.opensource.org/licenses/cpl.html .
* You must accept the terms of that agreement to use this software.
* ======... | pivot4j-core/src/main/java/com/eyeq/pivot4j/transform/impl/PlaceLevelsOnAxesImpl.java | /*
* ====================================================================
* This software is subject to the terms of the Common Public License
* Agreement, available at the following URL:
* http://www.opensource.org/licenses/cpl.html .
* You must accept the terms of that agreement to use this software.
* ======... | Remove temporary println() call. | pivot4j-core/src/main/java/com/eyeq/pivot4j/transform/impl/PlaceLevelsOnAxesImpl.java | Remove temporary println() call. | <ide><path>ivot4j-core/src/main/java/com/eyeq/pivot4j/transform/impl/PlaceLevelsOnAxesImpl.java
<ide> }
<ide>
<ide> for (Member member : membersToRemove) {
<del> System.out.println("### " + member);
<ide> members.remove(member);
<ide> }
<ide> | |
Java | apache-2.0 | fe7a463a1b5a24c22c7542e29557eb42765f93ef | 0 | dimone-kun/cuba,dimone-kun/cuba,dimone-kun/cuba,cuba-platform/cuba,cuba-platform/cuba,cuba-platform/cuba | /*
* Copyright (c) 2008-2014 Haulmont. All rights reserved.
* Use is subject to license terms, see http://www.cuba-platform.com/license for details.
*/
package com.haulmont.cuba.core.sys.persistence;
import javax.annotation.Nullable;
import java.util.HashMap;
import java.util.Map;
/**
* @author krivopustov
* @v... | modules/core/src/com/haulmont/cuba/core/sys/persistence/HsqlDbmsFeatures.java | /*
* Copyright (c) 2008-2014 Haulmont. All rights reserved.
* Use is subject to license terms, see http://www.cuba-platform.com/license for details.
*/
package com.haulmont.cuba.core.sys.persistence;
import javax.annotation.Nullable;
import java.util.HashMap;
import java.util.Map;
/**
* @author krivopustov
* @v... | PL-6675 UniqueConstraintViolationHandler does not work on HSQL
(cherry picked from commit 567a0f3)
| modules/core/src/com/haulmont/cuba/core/sys/persistence/HsqlDbmsFeatures.java | PL-6675 UniqueConstraintViolationHandler does not work on HSQL (cherry picked from commit 567a0f3) | <ide><path>odules/core/src/com/haulmont/cuba/core/sys/persistence/HsqlDbmsFeatures.java
<ide>
<ide> @Override
<ide> public String getUniqueConstraintViolationPattern() {
<del> return "integrity constraint violation: unique constraint or index violation; ([^\\s]+)";
<add> return "integrity constra... | |
JavaScript | mit | c24228c354370cc8280f1597f7d7e1fbdc07c9bb | 0 | EtachGu/STAVis,EtachGu/STAVis | import React, { Component, PropTypes } from 'react';
import ReactDOM from 'react-dom';
import { connect } from 'react-redux';
import Helmet from 'react-helmet';
import { createStructuredSelector } from 'reselect';
// components
import MapDiv from './components/map';
import STMapDiv from './components/statisticMap';
... | app/modules/TrajVA/components/MapView/index.js | import React, { Component, PropTypes } from 'react';
import ReactDOM from 'react-dom';
import { connect } from 'react-redux';
import Helmet from 'react-helmet';
import { createStructuredSelector } from 'reselect';
// components
import MapDiv from './components/map';
import STMapDiv from './components/statisticMap';
... | remove control selector
| app/modules/TrajVA/components/MapView/index.js | remove control selector | <ide><path>pp/modules/TrajVA/components/MapView/index.js
<ide> // select
<ide> import {
<ide> selectTrajectory,
<del> selectControls,
<ide> selectControlsGeomType,
<ide> selectControlsMapType
<ide> } from './selectors';
<ide> MapView.propTypes = {
<ide> ij: React.PropTypes.any,
<ide> trajectories: React.Prop... | |
Java | apache-2.0 | 20c85f56e0aac8554cf50862c4a537f969903b5d | 0 | hmusavi/jpo-ode,hmusavi/jpo-ode,hmusavi/jpo-ode,hmusavi/jpo-ode,hmusavi/jpo-ode | package us.dot.its.jpo.ode.plugin.j2735.builders;
import com.fasterxml.jackson.databind.JsonNode;
import us.dot.its.jpo.ode.plugin.j2735.J2735VehicleSize;
public class VehicleSizeBuilder {
private static final Integer WIDTH_LOWER_BOUND = 0;
private static final Integer WIDTH_UPPER_BOUND = 1023;
private sta... | jpo-ode-plugins/src/main/java/us/dot/its/jpo/ode/plugin/j2735/builders/VehicleSizeBuilder.java | package us.dot.its.jpo.ode.plugin.j2735.builders;
import com.fasterxml.jackson.databind.JsonNode;
import us.dot.its.jpo.ode.plugin.j2735.J2735VehicleSize;
public class VehicleSizeBuilder {
private static final Integer WIDTH_LOWER_BOUND = 0;
private static final Integer WIDTH_UPPER_BOUND = 1023;
private ... | ODE-559 made it like the others.
| jpo-ode-plugins/src/main/java/us/dot/its/jpo/ode/plugin/j2735/builders/VehicleSizeBuilder.java | ODE-559 made it like the others. | <ide><path>po-ode-plugins/src/main/java/us/dot/its/jpo/ode/plugin/j2735/builders/VehicleSizeBuilder.java
<ide>
<ide> public class VehicleSizeBuilder {
<ide>
<del> private static final Integer WIDTH_LOWER_BOUND = 0;
<del> private static final Integer WIDTH_UPPER_BOUND = 1023;
<del> private static final Intege... | |
Java | lgpl-2.1 | 1678b8422762de06b4200558c3195c41825eb6bc | 0 | threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya | //
// $Id: CharacterSprite.java,v 1.26 2002/04/15 23:07:14 mdb Exp $
package com.threerings.cast;
import com.threerings.media.sprite.MultiFrameImage;
import com.threerings.media.sprite.Path;
import com.threerings.media.sprite.ImageSprite;
/**
* A character sprite is a sprite that animates itself while walking
* ab... | src/java/com/threerings/cast/CharacterSprite.java | //
// $Id: CharacterSprite.java,v 1.25 2002/03/16 03:15:04 shaper Exp $
package com.threerings.cast;
import com.threerings.media.sprite.MultiFrameImage;
import com.threerings.media.sprite.Path;
import com.threerings.media.sprite.ImageSprite;
/**
* A character sprite is a sprite that animates itself while walking
*... | Sanity check our orientation in setOrientation() and complain sensically
if it's bogus (rather than NPEing).
git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@1251 542714f4-19e9-0310-aa3c-eee0fc999fb1
| src/java/com/threerings/cast/CharacterSprite.java | Sanity check our orientation in setOrientation() and complain sensically if it's bogus (rather than NPEing). | <ide><path>rc/java/com/threerings/cast/CharacterSprite.java
<ide> //
<del>// $Id: CharacterSprite.java,v 1.25 2002/03/16 03:15:04 shaper Exp $
<add>// $Id: CharacterSprite.java,v 1.26 2002/04/15 23:07:14 mdb Exp $
<ide>
<ide> package com.threerings.cast;
<ide>
<ide> {
<ide> super.setOrientation(orient);
<... | |
Java | apache-2.0 | 865299d7cf49ed0bf1e2897afe251cafd0c547a9 | 0 | zentol/flink,wwjiang007/flink,xccui/flink,wwjiang007/flink,lincoln-lil/flink,lincoln-lil/flink,godfreyhe/flink,xccui/flink,apache/flink,gyfora/flink,zjureel/flink,gyfora/flink,lincoln-lil/flink,gyfora/flink,zjureel/flink,lincoln-lil/flink,gyfora/flink,zjureel/flink,apache/flink,wwjiang007/flink,apache/flink,apache/flin... | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | flink-runtime/src/main/java/org/apache/flink/runtime/metrics/MetricRegistryImpl.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | [FLINK-26849][metrics] Deduplicate metric (un)registration logic
| flink-runtime/src/main/java/org/apache/flink/runtime/metrics/MetricRegistryImpl.java | [FLINK-26849][metrics] Deduplicate metric (un)registration logic | <ide><path>link-runtime/src/main/java/org/apache/flink/runtime/metrics/MetricRegistryImpl.java
<ide> import org.apache.flink.util.TimeUtils;
<ide> import org.apache.flink.util.concurrent.ExecutorThreadFactory;
<ide> import org.apache.flink.util.concurrent.FutureUtils;
<add>import org.apache.flink.util.function.QuadCons... | |
Java | apache-2.0 | 52338782104bd7c4ba6f8573ac26be98f5422eed | 0 | quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus | package io.quarkus.vertx.http;
import java.util.function.Consumer;
import javax.enterprise.event.Observes;
import javax.inject.Singleton;
import org.hamcrest.Matchers;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.StringAsset;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
impo... | extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/NonApplicationAndRootPathTest.java | package io.quarkus.vertx.http;
import java.util.function.Consumer;
import javax.enterprise.event.Observes;
import javax.inject.Singleton;
import org.hamcrest.Matchers;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.StringAsset;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
impo... | Fix the test.
- I didn't realize RestAssured gets the path prefix!
| extensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/NonApplicationAndRootPathTest.java | Fix the test. | <ide><path>xtensions/vertx-http/deployment/src/test/java/io/quarkus/vertx/http/NonApplicationAndRootPathTest.java
<ide>
<ide> @Test
<ide> public void testNonApplicationEndpointOnRootPathWithRedirect() {
<del> RestAssured.given().get("/api/non-app").then().statusCode(200).body(Matchers.equalTo("/api/q/no... | |
Java | apache-2.0 | c6b2076d8794f8b24a85c54111372b9200bb120a | 0 | rholder/fast-tag | // Copyright 2003-2008. Mark Watson (markw@markwatson.com). All rights reserved.
// This software is released under the LGPL (www.fsf.org)
// For an alternative non-GPL license: contact the author
// THIS SOFTWARE COMES WITH NO WARRANTY
package com.knowledgebooks.nlp.fasttag;
import java.io.*;
import java.util.*;
... | src/com/knowledgebooks/nlp/fasttag/FastTag.java | // Copyright 2003-2008. Mark Watson (markw@markwatson.com). All rights reserved.
// This software is released under the LGPL (www.fsf.org)
// For an alternative non-GPL license: contact the author
// THIS SOFTWARE COMES WITH NO WARRANTY
package com.knowledgebooks.nlp.fasttag;
import java.io.*;
import java.util.*;
... | Modifying for thread safety.
Replaced static block with more descriptive static method.
Replaced Hashtable of lexicon with a unmodifiable HashMap to ensure
safe access. Also making it final.
Changing tag and WordInLexicon methods to static.
| src/com/knowledgebooks/nlp/fasttag/FastTag.java | Modifying for thread safety. | <ide><path>rc/com/knowledgebooks/nlp/fasttag/FastTag.java
<ide> // For an alternative non-GPL license: contact the author
<ide> // THIS SOFTWARE COMES WITH NO WARRANTY
<ide>
<del>
<ide> package com.knowledgebooks.nlp.fasttag;
<ide>
<ide> import java.io.*;
<ide> import java.util.*;
<del>
<ide>
<ide> /**
<ide> * <p/>... | |
Java | mit | b6314e6b8401cefeab7181caaadfb86cee01b474 | 0 | ufabdyop/coralapiserver,ufabdyop/coralapiserver,ufabdyop/coralapiserver,ufabdyop/coralapiserver,ufabdyop/coralapiserver | package edu.utah.nanofab.coralapiserver.resources.operations;
import edu.utah.nanofab.coralapiserver.core.DisableWithRundataRequest;
import java.util.HashMap;
public class DisableWithRundataOperationPost extends ResourceOperation {
@Override
public void performOperationImpl() throws Exception {
DisableWith... | src/main/java/edu/utah/nanofab/coralapiserver/resources/operations/DisableWithRundataOperationPost.java | package edu.utah.nanofab.coralapiserver.resources.operations;
import edu.utah.nanofab.coralapiserver.core.DisableWithRundataRequest;
import java.util.HashMap;
public class DisableWithRundataOperationPost extends ResourceOperation {
@Override
public void performOperationImpl() throws Exception {
DisableWith... | add success flag
| src/main/java/edu/utah/nanofab/coralapiserver/resources/operations/DisableWithRundataOperationPost.java | add success flag | <ide><path>rc/main/java/edu/utah/nanofab/coralapiserver/resources/operations/DisableWithRundataOperationPost.java
<ide>
<ide> HashMap<String, String> result = new HashMap<String, String>();
<ide> result.put("id", id);
<add> result.put("success", "true");
<add>
<ide> this.setReturnVal... | |
Java | epl-1.0 | 2be0d6707cca200dc0a0fd883be375c76188357d | 0 | Wire82/org.openhab.binding.heos,Wire82/org.openhab.binding.heos | /**
* Copyright (c) 2014-2017 by the respective copyright holders.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
pa... | src/main/java/org/openhab/binding/heos/resources/HeosGroup.java | /**
* Copyright (c) 2014-2017 by the respective copyright holders.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
pa... | deactivated group member PID List reverse function | src/main/java/org/openhab/binding/heos/resources/HeosGroup.java | deactivated group member PID List reverse function | <ide><path>rc/main/java/org/openhab/binding/heos/resources/HeosGroup.java
<ide> // Generating a dedicated sorted and un-sorted list for different purposes
<ide> groupMemberPidListSorted = new ArrayList<String>(playerList.size());
<ide> groupMemberPidListSorted.addAll(groupMemberPidList);
<del> ... | |
Java | apache-2.0 | bcb2f8118751846fef373d32cd62b375b0de0a5e | 0 | janstey/fuse-1,migue/fabric8,cunningt/fuse,rajdavies/fabric8,mwringe/fabric8,sobkowiak/fuse,tadayosi/fuse,chirino/fabric8,ffang/fuse-1,mwringe/fabric8,jimmidyson/fabric8,jludvice/fabric8,gashcrumb/fabric8,dhirajsb/fabric8,jimmidyson/fabric8,dhirajsb/fuse,rmarting/fuse,aslakknutsen/fabric8,hekonsek/fabric8,opensourcecon... | /**
* Copyright (C) FuseSource, Inc.
* http://fusesource.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | fabric/fabric-core/src/main/java/org/fusesource/fabric/service/FabricServiceImpl.java | /**
* Copyright (C) FuseSource, Inc.
* http://fusesource.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | https://github.com/jboss-fuse/fuse/issues/318 --cannot delete a child container unless it's running
| fabric/fabric-core/src/main/java/org/fusesource/fabric/service/FabricServiceImpl.java | https://github.com/jboss-fuse/fuse/issues/318 --cannot delete a child container unless it's running | <ide><path>abric/fabric-core/src/main/java/org/fusesource/fabric/service/FabricServiceImpl.java
<ide> getProvider(container);
<ide> }
<ide> if (provider != null) {
<del> provider.stop(container);
<add> if(container.isAlive()){
<add> provider.stop(containe... | |
Java | mit | 435436d5d13b91857f6016584c133f195653d228 | 0 | GluuFederation/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth | /*
* oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
*
* Copyright (c) 2014, Gluu
*/
package org.gluu.oxauth.model.common;
import org.gluu.oxauth.model.authorize.JwtAuthorizationRequest;
import org.gluu.oxauth.model.authorize.ScopeChecker;
import org.gluu.ox... | Server/src/main/java/org/gluu/oxauth/model/common/AbstractAuthorizationGrant.java | /*
* oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
*
* Copyright (c) 2014, Gluu
*/
package org.gluu.oxauth.model.common;
import org.gluu.oxauth.model.authorize.JwtAuthorizationRequest;
import org.gluu.oxauth.model.authorize.ScopeChecker;
import org.gluu.ox... | Fixed refresh token fetching
https://github.com/GluuFederation/oxAuth/issues/1449
| Server/src/main/java/org/gluu/oxauth/model/common/AbstractAuthorizationGrant.java | Fixed refresh token fetching | <ide><path>erver/src/main/java/org/gluu/oxauth/model/common/AbstractAuthorizationGrant.java
<ide> log.trace("Looking for the refresh token: " + refreshTokenCode + " for an authorization grant of type: "
<ide> + getAuthorizationGrantType());
<ide> }
<del>
<del> return refre... | |
Java | apache-2.0 | a394d36c80adba8f2c66ab2e563cef0b84df5582 | 0 | Talend/data-prep,Talend/data-prep,Talend/data-prep | package org.talend.dataprep.dataset;
import static com.jayway.restassured.RestAssured.given;
import static com.jayway.restassured.RestAssured.when;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.notNullValue;
import static org.hamcrest.core.IsEqual.equalTo;
import static org.junit.... | dataprep-dataset/src/test/java/org/talend/dataprep/dataset/DataSetImportTest.java | package org.talend.dataprep.dataset;
import static com.jayway.restassured.RestAssured.given;
import static com.jayway.restassured.RestAssured.when;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.notNullValue;
import static org.hamcrest.core.IsEqual.equalTo;
import static org.junit.... | TDP-880: temporary deactivate 2 others junit that cause build instable
| dataprep-dataset/src/test/java/org/talend/dataprep/dataset/DataSetImportTest.java | TDP-880: temporary deactivate 2 others junit that cause build instable | <ide><path>ataprep-dataset/src/test/java/org/talend/dataprep/dataset/DataSetImportTest.java
<ide> * Test 'importing' status: the data set should remain in 'importing' state as long as create operation isn't
<ide> * completed.
<ide> */
<del> @Test
<ide> public void testImportStatus() throws Excepti... | |
JavaScript | agpl-3.0 | 16477bd15b610631ff0abf581294930c39265974 | 0 | xwiki-labs/cryptpad,xwiki-labs/cryptpad,xwiki-labs/cryptpad | define([
'jquery',
'/common/toolbar3.js',
'json.sortify',
'/common/common-util.js',
'/common/common-hash.js',
'/common/common-ui-elements.js',
'/common/common-interface.js',
'/common/common-constants.js',
'/common/common-feedback.js',
'/bower_components/nthen/index.js',
'/com... | www/drive/inner.js | define([
'jquery',
'/common/toolbar3.js',
'json.sortify',
'/common/common-util.js',
'/common/common-hash.js',
'/common/common-ui-elements.js',
'/common/common-interface.js',
'/common/common-constants.js',
'/common/common-feedback.js',
'/bower_components/nthen/index.js',
'/com... | Fix toolbar collapse in drive
| www/drive/inner.js | Fix toolbar collapse in drive | <ide><path>ww/drive/inner.js
<ide> }
<ide> return title;
<ide> }; */
<del>
<del> var drivePathOverflowing = function () {
<del> var $container = $(".cp-app-drive-path");
<del> if ($container.length) {
<del> $container.css("overflow", "h... | |
JavaScript | mit | 9d1780cd28439abcd4218a8257e7ed58691cef38 | 0 | jay-depot/turnpike,jay-depot/turnpike | var connect = require('express');
var GlobalConfig = require('./../../config');
/**
* @in turnpike.server.middleware
* @namespace
*/
var SessionWrapper = {};
SessionWrapper.csrf = function() { return function (req, res, next) { next(); }; };
SessionWrapper.csrf.state = false;
/**
* By default, sessions, and the... | lib/server/middleware/SessionWrapper.js | var connect = require('express');
var GlobalConfig = require('./../../config');
/**
* @in turnpike.server.middleware
* @namespace
*/
var SessionWrapper = {};
SessionWrapper.csrf = function() { return function (req, res, next) { next(); }; };
SessionWrapper.csrf.state = false;
/**
* By default, sessions, and the... | Fix some deprecation warnings from express-session when sessions are enabled
| lib/server/middleware/SessionWrapper.js | Fix some deprecation warnings from express-session when sessions are enabled | <ide><path>ib/server/middleware/SessionWrapper.js
<ide> settings.store = SessionWrapper.engine;
<ide> }
<ide> settings.secret = GlobalConfig.session_secret;
<add> settings.resave = true;
<add> settings.saveUninitialized = false;
<ide> express_session = session(settings);
<ide>
<ide> engine ... | |
Java | apache-2.0 | 779508ef61feec261be62b81bf7db8f94669a4d3 | 0 | pwoodworth/intellij-community,slisson/intellij-community,ibinti/intellij-community,FHannes/intellij-community,idea4bsd/idea4bsd,muntasirsyed/intellij-community,SerCeMan/intellij-community,asedunov/intellij-community,ibinti/intellij-community,signed/intellij-community,supersven/intellij-community,michaelgallacher/intell... | /*
* 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/debugger/impl/src/com/intellij/debugger/engine/CompoundPositionManager.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... | do not stop in case of exceptions in position managers impls
| java/debugger/impl/src/com/intellij/debugger/engine/CompoundPositionManager.java | do not stop in case of exceptions in position managers impls | <ide><path>ava/debugger/impl/src/com/intellij/debugger/engine/CompoundPositionManager.java
<ide> }
<ide> catch (NoDataException ignored) {
<ide> }
<add> catch (Exception e) {
<add> LOG.error(e);
<add> }
<ide> }
<ide> return null;
<ide> }
<ide>
<ide> @Override
<ide> @Not... | |
JavaScript | mit | 783e486c620d49f88e9f0b91acf543ec4383d10b | 0 | mxenabled/mx-react-components | const React = require('react');
const PropTypes = require('prop-types');
const Radium = require('radium');
const Icon = require('./Icon');
const SimpleSelect = require('./SimpleSelect');
const StyleConstants = require('../constants/Style');
class Tabs extends React.Component {
static propTypes = {
activeTabStyl... | src/components/Tabs.js | const React = require('react');
const PropTypes = require('prop-types');
const Radium = require('radium');
const Icon = require('./Icon');
const SimpleSelect = require('./SimpleSelect');
const StyleConstants = require('../constants/Style');
class Tabs extends React.Component {
static propTypes = {
activeTabStyl... | Refactor Tabs to use a Tab component
| src/components/Tabs.js | Refactor Tabs to use a Tab component | <ide><path>rc/components/Tabs.js
<ide> const windowSize = StyleConstants.getWindowSize();
<ide>
<ide> return windowSize === 'medium' || windowSize === 'large';
<del> };
<del>
<del> _renderTabs = () => {
<del> const styles = this.styles();
<del> const selectedTabStyle = Object.assign({}, styles.activeTa... | |
JavaScript | mit | 3f51aacece35c28ee1398509281321440e3796a1 | 0 | GerHobbelt/SlickGrid,GerHobbelt/SlickGrid,GerHobbelt/SlickGrid | (function ($) {
// register namespace
$.extend(true, window, {
"Slick": {
"Preloader": Preloader
}
});
function Preloader(container) {
var
_self = this,
_grid;
function init(grid) {
_grid = grid;
return this;
}
function destroy() { }
function getPre... | plugins/slick.preloader.js | (function ($) {
// register namespace
$.extend(true, window, {
"Slick": {
"Preloader": Preloader
}
});
function Preloader(container) {
var
_self = this,
_grid;
function init(grid) {
_grid = grid;
}
function destroy() { }
function getPreloader(toPosition){... | preloader changes
| plugins/slick.preloader.js | preloader changes | <ide><path>lugins/slick.preloader.js
<ide>
<ide> function init(grid) {
<ide> _grid = grid;
<add> return this;
<ide> }
<ide>
<ide> function destroy() { }
<ide>
<ide> function show(){
<ide> getPreloader(true).show();
<add> return this;
<ide> }
<ide>
<ide> function hide(){... | |
Java | apache-2.0 | b3e9181ec46360c69d3f2160794f48c53dbbf148 | 0 | hivemq/hivemq-spi | /*
* Copyright 2014 dc-square GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | src/main/java/com/hivemq/spi/services/RetainedMessageStore.java | /*
* Copyright 2014 dc-square GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | fixed interface for retained message store
| src/main/java/com/hivemq/spi/services/RetainedMessageStore.java | fixed interface for retained message store | <ide><path>rc/main/java/com/hivemq/spi/services/RetainedMessageStore.java
<ide> * @author Lukas Brandl
<ide> * @since 1.5
<ide> */
<del>interface RetainedMessageStore {
<add>public interface RetainedMessageStore {
<ide>
<ide> /**
<ide> * @return all retained messages which are currently stored | |
Java | apache-2.0 | 76eefbb3bf237f62ed3ad5f6ac2418c9a5612961 | 0 | apache/pdfbox,kalaspuffar/pdfbox,kalaspuffar/pdfbox,apache/pdfbox | /*****************************************************************************
*
* 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 th... | preflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.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 th... | PDFBOX-2533: DRY refactoring of decryption code that is used in PreflightParser and in NonSequentialParser
git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1642809 13f79535-47bb-0310-9956-ffa450edef68
| preflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.java | PDFBOX-2533: DRY refactoring of decryption code that is used in PreflightParser and in NonSequentialParser | <ide><path>reflight/src/main/java/org/apache/pdfbox/preflight/parser/PreflightParser.java
<ide> }
<ide> else if (securityHandler != null)
<ide> {
<del> // decrypt
<del> if (pb instanceof COSString)
<del> {
<del> ... | |
Java | lgpl-2.1 | e9dc3fd6427abc3d1c16803244b573b5dc451959 | 0 | maxbiostat/beast-mcmc,maxbiostat/beast-mcmc,maxbiostat/beast-mcmc,adamallo/beast-mcmc,codeaudit/beast-mcmc,beast-dev/beast-mcmc,codeaudit/beast-mcmc,codeaudit/beast-mcmc,4ment/beast-mcmc,adamallo/beast-mcmc,maxbiostat/beast-mcmc,adamallo/beast-mcmc,4ment/beast-mcmc,beast-dev/beast-mcmc,4ment/beast-mcmc,4ment/beast-mcmc... | /*
* TreeIntervals.java
*
* Copyright (C) 2002-2006 Alexei Drummond and Andrew Rambaut
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; you can redistribute it and/or modify
* ... | src/dr/evolution/coalescent/TreeIntervals.java | /*
* TreeIntervals.java
*
* Copyright (C) 2002-2006 Alexei Drummond and Andrew Rambaut
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; you can redistribute it and/or modify
* ... | fix a bug which caused a crash when two coalecsent events are merged. Also add functionality for obtaining every coalecsent event as a separate event. | src/dr/evolution/coalescent/TreeIntervals.java | fix a bug which caused a crash when two coalecsent events are merged. Also add functionality for obtaining every coalecsent event as a separate event. | <ide><path>rc/dr/evolution/coalescent/TreeIntervals.java
<ide> intervalsKnown = false;
<ide> }
<ide>
<del> /**
<del> * Sets the limit for which adjacent intervals are merged
<del> */
<del> public void setMultifurcationLimit(double multifurcationLimit)
<add> /**
<add> * Sets the limit for which adjacent ev... | |
Java | apache-2.0 | 7ef0026ad214503d6495c01ab645dbec758d9c64 | 0 | gquintana/liquibase,Vampire/liquibase,lazaronixon/liquibase,hbogaards/liquibase,instantdelay/liquibase,AlisonSouza/liquibase,dyk/liquibase,mattbertolini/liquibase,mwaylabs/liquibase,ArloL/liquibase,fbiville/liquibase,dbmanul/dbmanul,Willem1987/liquibase,mwaylabs/liquibase,evigeant/liquibase,balazs-zsoldos/liquibase,Cod... | package liquibase.parser.xml;
import liquibase.ChangeSet;
import liquibase.DatabaseChangeLog;
import liquibase.FileOpener;
import liquibase.database.sql.visitor.SqlVisitorFactory;
import liquibase.database.sql.visitor.SqlVisitor;
import liquibase.change.*;
import liquibase.change.custom.CustomChangeWrapper;
i... | core/src/java/liquibase/parser/xml/XMLChangeLogHandler.java | package liquibase.parser.xml;
import liquibase.ChangeSet;
import liquibase.DatabaseChangeLog;
import liquibase.FileOpener;
import liquibase.database.sql.visitor.SqlVisitorFactory;
import liquibase.database.sql.visitor.SqlVisitor;
import liquibase.change.*;
import liquibase.change.custom.CustomChangeWrapper;
i... | ignore urls with an authority component
git-svn-id: a91d99a4c51940524e539abe295d6ea473345dd2@827 e6edf6fb-f266-4316-afb4-e53d95876a76
| core/src/java/liquibase/parser/xml/XMLChangeLogHandler.java | ignore urls with an authority component | <ide><path>ore/src/java/liquibase/parser/xml/XMLChangeLogHandler.java
<ide> Enumeration<URL> resources = fileOpener.getResources(pathName);
<ide> while (resources.hasMoreElements()) {
<ide> URL dirUrl = resources.nextElement();
<add> if (dirUrl.getA... | |
Java | apache-2.0 | f3da173fe75fa61274ad90fecc7b0a1cd0de48e9 | 0 | kidaa/ninja-rythm,kidaa/ninja-rythm,ninjaframework/ninja-rythm,ninjaframework/ninja-rythm,kidaa/ninja-rythm | package ninja.rythm.util;
import ninja.Result;
import ninja.Route;
/**
* Helper methods for Rythm engines
*
* @author Sojin
*/
public class RythmHelper {
public String getRythmTemplateForResult(Route route,
Result result,
... | ninja-rythm-module/src/main/java/ninja/rythm/util/RythmHelper.java | package ninja.rythm.util;
import ninja.Result;
import ninja.Route;
import ninja.utils.NinjaConstant;
/**
* Helper methods for Rythm engines
*
* @author Sojin
*/
public class RythmHelper {
public String getRythmTemplateForResult(Route route,
Result result,
... | Removed ninjaConstant dependency | ninja-rythm-module/src/main/java/ninja/rythm/util/RythmHelper.java | Removed ninjaConstant dependency | <ide><path>inja-rythm-module/src/main/java/ninja/rythm/util/RythmHelper.java
<ide>
<ide> import ninja.Result;
<ide> import ninja.Route;
<del>import ninja.utils.NinjaConstant;
<ide>
<ide> /**
<ide> * Helper methods for Rythm engines | |
Java | apache-2.0 | fdf74a49a481ed484a7da7086254f30d2387c49f | 0 | tedk/Dash,RR7-Software/dashclock,suiyuchen/dashclock,goodev/dashclock,kennydude/dashclock,mypapit/dashclock,vinay129/dashclock,MustafaKamel100/dashclock,SyncedSynapse/yadashclock,romannurik/dashclock,bineanzhou/dashclock,vinay129/dashclock,biddyweb/dashclock,BautistaJesus/dashclock,sumanthh/dashclock,RR7-Software/dashc... | /*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | main/src/main/java/com/google/android/apps/dashclock/ExtensionPackageChangeReceiver.java | /*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Switch to wakeful broadcast receiver for package change receiver
| main/src/main/java/com/google/android/apps/dashclock/ExtensionPackageChangeReceiver.java | Switch to wakeful broadcast receiver for package change receiver | <ide><path>ain/src/main/java/com/google/android/apps/dashclock/ExtensionPackageChangeReceiver.java
<ide> import android.content.ComponentName;
<ide> import android.content.Context;
<ide> import android.content.Intent;
<add>import android.support.v4.content.WakefulBroadcastReceiver;
<ide> import android.text.TextUtils;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.