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
agpl-3.0
5911d8b27b0026faef4706e01682370848596494
0
EntryPointKR/K-SPAM,EntryPointKR/K-Security
package cloud.swiftnode.kspam.listener; import cloud.swiftnode.kspam.abstraction.SpamExecutor; import cloud.swiftnode.kspam.abstraction.SpamProcessor; import cloud.swiftnode.kspam.abstraction.deniable.DeniableInfoAdapter; import cloud.swiftnode.kspam.abstraction.processor.AsyncLoginProcessor; import cloud.swiftnode.ks...
src/main/java/cloud/swiftnode/kspam/listener/PlayerListener.java
package cloud.swiftnode.kspam.listener; import cloud.swiftnode.kspam.abstraction.SpamExecutor; import cloud.swiftnode.kspam.abstraction.SpamProcessor; import cloud.swiftnode.kspam.abstraction.deniable.DeniableInfoAdapter; import cloud.swiftnode.kspam.abstraction.processor.AsyncLoginProcessor; import cloud.swiftnode.ks...
Fix listener code
src/main/java/cloud/swiftnode/kspam/listener/PlayerListener.java
Fix listener code
<ide><path>rc/main/java/cloud/swiftnode/kspam/listener/PlayerListener.java <ide> } <ide> <ide> @EventHandler(priority = EventPriority.HIGHEST) <del> public void onJoin(PlayerJoinEvent e) { <add> public void onJoinHighest(PlayerJoinEvent e) { <ide> /* <ide> K-SPAM ์€ AGPL ๋ผ์ด์„ ์Šค์ด๋ฉฐ ๊ฐœ๋ฐœ์ž, ํ”Œ๋Ÿฌ๊ทธ์ธ ์ •...
Java
apache-2.0
8127dfc9a1a70293b7c2cd86ef8c61bc800f7345
0
vsilaev/java-continuations,vsilaev/tascalate-javaflow
/** * 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...
net.tascalate.javaflow.api/src/main/java/org/apache/commons/javaflow/core/Stack.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...
Add an option to access current runnable (necessary for async/await project)
net.tascalate.javaflow.api/src/main/java/org/apache/commons/javaflow/core/Stack.java
Add an option to access current runnable (necessary for async/await project)
<ide><path>et.tascalate.javaflow.api/src/main/java/org/apache/commons/javaflow/core/Stack.java <ide> public boolean isEmpty() { <ide> return iTop==0 && lTop==0 && dTop==0 && fTop==0 && oTop==0 && rTop==0; <ide> } <add> <add> public Runnable getRunnable() { <add> return runnable; <add> }...
Java
apache-2.0
f33c822becf49617e6f3e5d0b52adc68f93a6014
0
Rutgers-IDM/openregistry,Rutgers-IDM/openregistry,Jasig/openregistry,Jasig/openregistry,sheliu/openregistry,Jasig/openregistry,Unicon/openregistry,Rutgers-IDM/openregistry,sheliu/openregistry,Rutgers-IDM/openregistry,msidd/openregistry,sheliu/openregistry,Rutgers-IDM/openregistry,msidd/openregistry,sheliu/openregistry,...
package org.openregistry.core.repository.jpa; import org.openregistry.core.repository.ReferenceRepository; import org.openregistry.core.domain.*; import org.openregistry.core.domain.jpa.*; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; import javax.p...
openregistry-repository-jpa-impl/src/main/java/org/openregistry/core/repository/jpa/JpaReferenceRepository.java
package org.openregistry.core.repository.jpa; import org.openregistry.core.repository.ReferenceRepository; import org.openregistry.core.domain.*; import org.openregistry.core.domain.jpa.*; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; import javax.p...
NOJIRA add missing getResultList() git-svn-id: 996c6d7d570f9e8d676b69394667d4ecb3e4cdb3@17765 1580c273-15eb-1042-8a87-dc5d815c88a0
openregistry-repository-jpa-impl/src/main/java/org/openregistry/core/repository/jpa/JpaReferenceRepository.java
NOJIRA add missing getResultList()
<ide><path>penregistry-repository-jpa-impl/src/main/java/org/openregistry/core/repository/jpa/JpaReferenceRepository.java <ide> <ide> @Transactional <ide> public List<RoleInfo> getRoleInfos() { <del> return (List<RoleInfo>) this.entityManager.createQuery("select r from roleInfo r order by r.title"); <ad...
Java
bsd-3-clause
00e5d52bf63440928932166df6e395a5cc87a5e3
0
Club-Rock-ISEN/EntryManager,Club-Rock-ISEN/EntryManager
package org.clubrockisen; import java.util.logging.Logger; import javax.swing.JOptionPane; import org.clubrockisen.dao.abstracts.AbstractDAOFactory; import org.clubrockisen.dao.abstracts.AbstractDAOFactory.DAOType; import org.clubrockisen.service.ParametersManager; import org.clubrockisen.view.MainWindow; ...
src/org/clubrockisen/App.java
package org.clubrockisen; import java.util.logging.Logger; import javax.swing.JOptionPane; import org.clubrockisen.dao.AbstractDAOFactory; import org.clubrockisen.dao.AbstractDAOFactory.DAOType; import org.clubrockisen.gui.MainWindow; import org.clubrockisen.services.ParametersManager; /** * Launcher f...
Interfaces and abstract classes for MVC pattern.
src/org/clubrockisen/App.java
Interfaces and abstract classes for MVC pattern.
<ide><path>rc/org/clubrockisen/App.java <ide> <ide> import javax.swing.JOptionPane; <ide> <del>import org.clubrockisen.dao.AbstractDAOFactory; <del>import org.clubrockisen.dao.AbstractDAOFactory.DAOType; <del>import org.clubrockisen.gui.MainWindow; <del>import org.clubrockisen.services.ParametersManager; <add>import ...
JavaScript
mit
af483dc878afe10a5520c222133d81b1a6e6c786
0
Ryanair/css-class-shrinker,Ryanair/css-class-shrinker
import fs from 'fs'; import glob from 'glob'; export default class BaseShrkinker { constructor(path, map) { this._path = path; this._map = map; } async _init(path) { this.files = await this.fetchFiles(path); } async run() { await this._init(this._path); return Promise.all(this.files.map...
src/shrinkers/base-shrinker.js
import fs from 'fs'; import glob from 'glob'; export default class BaseShrkinker { constructor(path, map) { this._path = path; this._map = map; } async _init(path) { this.files = await this.fetchFiles(path); } async run() { await this._init(this._path); return Promise.all(this.files.map...
Adding some coverage ignores for unrelevant code bits.
src/shrinkers/base-shrinker.js
Adding some coverage ignores for unrelevant code bits.
<ide><path>rc/shrinkers/base-shrinker.js <ide> try { <ide> return this.write(file, this.processFile(await this.read(file))); <ide> } catch(e) { <add> /* istanbul ignore next */ <ide> console.log(e); <ide> } <ide> }.bind(this))); <ide> read(file) { <ide> return new Prom...
JavaScript
mit
151f84f995c0559d86fabd0019c90886ae18b936
0
postcss/autoprefixer,yisibl/autoprefixer
const Declaration = require('../declaration'); const DOTS = /^\.+$/; function track(start, end) { return { start, end, span: end - start }; } function getRows(tpl) { return tpl.trim().slice(1, -1).split(/['"]\s*['"]?/g); } function getColumns(line) { return line.trim().split(/\s+/g); } function parseGr...
lib/hacks/grid-template-areas.js
const Declaration = require('../declaration'); const track = (start, end) => ({ start, end, span: end - start }); const sep = /['"]\s*['"]?/g; const ws = /\s+/g; const dots = /^\.+$/; const getRows = tpl => tpl .trim() .slice(1, -1) .split(sep); const getColumns = line => ...
Clean up code
lib/hacks/grid-template-areas.js
Clean up code
<ide><path>ib/hacks/grid-template-areas.js <ide> const Declaration = require('../declaration'); <ide> <del>const track = (start, end) => ({ <del> start, <del> end, <del> span: end - start <del>}); <add>const DOTS = /^\.+$/; <ide> <del>const sep = /['"]\s*['"]?/g; <del>const ws = /\s+/g; <del>const dots = /^\...
Java
agpl-3.0
a056a3a679d2659e5d02e0ba2fc8bb99d9fe8034
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
21dcac1c-2e60-11e5-9284-b827eb9e62be
hello.java
21d74d80-2e60-11e5-9284-b827eb9e62be
21dcac1c-2e60-11e5-9284-b827eb9e62be
hello.java
21dcac1c-2e60-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>21d74d80-2e60-11e5-9284-b827eb9e62be <add>21dcac1c-2e60-11e5-9284-b827eb9e62be
Java
apache-2.0
cf924fb6b491a1e36436900f746c6f8c5364cb9b
0
bastiaanb/carbon-identity,bastiaanb/carbon-identity,pulasthi7/carbon-identity,liurl3/carbon-identity,harsha1979/carbon-identity,Pushpalanka/carbon-identity,keerthu/carbon-identity,laki88/carbon-identity,malithie/carbon-identity,thanujalk/carbon-identity,mefarazath/carbon-identity,nuwand/carbon-identity,IsuraD/carbon-id...
/* * Copyright (c) 2014, 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/...
components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/ApplicationManagementServiceImpl.java
/* * Copyright (c) 2014, 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/...
Fixing IDENTITY-3075
components/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/ApplicationManagementServiceImpl.java
Fixing IDENTITY-3075
<ide><path>omponents/application-mgt/org.wso2.carbon.identity.application.mgt/src/main/java/org/wso2/carbon/identity/application/mgt/ApplicationManagementServiceImpl.java <ide> <ide> } finally { <ide> PrivilegedCarbonContext.endTenantFlow(); <del> <del> if (tenantDomain != nu...
JavaScript
mit
f18c9b22c44a720b132bbbddfbd13c228437b654
0
Sosowski/Screeps_Custom,Sosowski/Screeps_Custom
var creep_farMining = { /** @param {Creep} creep **/ run: function(creep) { switch (creep.memory.priority) { case 'farClaimer': case 'farClaimerNearDeath': if (!creep.memory.deathWarn) { creep.memory.deathWarn = _.size(creep.body) * 5; } if (creep.ticksToLive <= creep.memory.deathWarn && cr...
MainCode/creep.farMining.js
var creep_farMining = { /** @param {Creep} creep **/ run: function(creep) { switch (creep.memory.priority) { case 'farClaimer': case 'farClaimerNearDeath': if (!creep.memory.deathWarn) { creep.memory.deathWarn = _.size(creep.body) * 5; } if (creep.ticksToLive <= creep.memory.deathWarn && cr...
stop frivolous road gen
MainCode/creep.farMining.js
stop frivolous road gen
<ide><path>ainCode/creep.farMining.js <ide> reusePath: 25 <ide> }); <ide> if (creep.memory.didRoadSearch == false) { <del> roadSearchTarget = new RoomPosition(25, 25, creep.memory.homeRoom); <add> if (creep.pos.x == 0 || creep.pos.x == 49 || creep.pos.y == 0 || creep.pos.y == 49) { <add> ...
Java
epl-1.0
error: pathspec 'src/Algorithm/FontSize.java' did not match any file(s) known to git
85dab9a4cebcc9442dcfde27b120b72fc56eb549
1
cyanstone/LeetCode
package Algorithm; import java.util.Scanner; public class FontSize { public static void main(String[] args) { // TODO Auto-generated method stub int n; Scanner scanner = new Scanner(System.in); n = scanner.nextInt(); for(int i = 0; i < n; i++) { int N = scanner.nextInt(); int P = scann...
src/Algorithm/FontSize.java
SoftWare/FontSize
src/Algorithm/FontSize.java
SoftWare/FontSize
<ide><path>rc/Algorithm/FontSize.java <add>package Algorithm; <add>import java.util.Scanner; <add> <add> <add>public class FontSize { <add> <add> public static void main(String[] args) { <add> // TODO Auto-generated method stub <add> int n; <add> Scanner scanner = new Scanner(System.in); <add> n = scanner.nextInt()...
Java
mit
570fda3329963ae48f4a99cebff84d644498ff5b
0
bluesnap/bluesnap-android-int
package com.bluesnap.androidapi.views.activities; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.Vi...
bluesnap-android/src/main/java/com/bluesnap/androidapi/views/activities/BluesnapCheckoutActivity.java
package com.bluesnap.androidapi.views.activities; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.Vi...
FE-78: restored GooglePay button for subscription mode
bluesnap-android/src/main/java/com/bluesnap/androidapi/views/activities/BluesnapCheckoutActivity.java
FE-78: restored GooglePay button for subscription mode
<ide><path>luesnap-android/src/main/java/com/bluesnap/androidapi/views/activities/BluesnapCheckoutActivity.java <ide> }); <ide> } <ide> <del> if ((supportedPaymentMethods.isPaymentMethodActive(SupportedPaymentMethods.GOOGLE_PAY_TOKENIZED_CARD) <del> || supportedPaymentMethods....
Java
apache-2.0
b12a6f080b092b4d77afe45e42e59879d0139d79
0
Aeronica/mxTune
package aeronicamc.mods.mxtune.blocks; import aeronicamc.mods.mxtune.managers.PlayIdSupplier; import aeronicamc.mods.mxtune.managers.PlayManager; import aeronicamc.mods.mxtune.util.IInstrument; import aeronicamc.mods.mxtune.util.SheetMusicHelper; import net.minecraft.block.Block; import net.minecraft.block.BlockState;...
src/main/java/aeronicamc/mods/mxtune/blocks/MusicBlock.java
package aeronicamc.mods.mxtune.blocks; import aeronicamc.mods.mxtune.managers.PlayIdSupplier; import aeronicamc.mods.mxtune.managers.PlayManager; import aeronicamc.mods.mxtune.util.IInstrument; import aeronicamc.mods.mxtune.util.SheetMusicHelper; import net.minecraft.block.Block; import net.minecraft.block.BlockState;...
Set one pulse redstone output to 10 ticks.
src/main/java/aeronicamc/mods/mxtune/blocks/MusicBlock.java
Set one pulse redstone output to 10 ticks.
<ide><path>rc/main/java/aeronicamc/mods/mxtune/blocks/MusicBlock.java <ide> { <ide> if (pState.getValue(PLAYING)) <ide> { <del> pLevel.getBlockTicks().scheduleTick(pPos, this, 4); <add> pLevel.getBl...
Java
mit
a461ebf5e7f48fb0413f01465e32c6af3e604c73
0
mbarbon/androidcash
/* * Copyright (c) Mattia Barbon <mattia@barbon.org> * distributed under the terms of the MIT license */ package org.barbon.acash; import android.content.Context; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQ...
src/org/barbon/acash/ExpenseDatabase.java
/* * Copyright (c) Mattia Barbon <mattia@barbon.org> * distributed under the terms of the MIT license */ package org.barbon.acash; import android.content.Context; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQ...
Fixed amount sign for exported transactions.
src/org/barbon/acash/ExpenseDatabase.java
Fixed amount sign for exported transactions.
<ide><path>rc/org/barbon/acash/ExpenseDatabase.java <ide> <ide> // amount <ide> qif.print('T'); <del> qif.println(expenses.getFloat(2)); <add> qif.println(-expenses.getFloat(2)); <ide> <ide> // description <ide> qif.print('M');
Java
mit
b48f1742f4e1ff5147f31617b5c2fa09961df9cd
0
digibib/ls.ext,digibib/ls.ext,digibib/ls.ext,digibib/ls.ext
package no.deichman.services.resources; import no.deichman.services.kohaadapter.KohaAdapterMock; import no.deichman.services.repository.RepositoryInMemory; import no.deichman.services.uridefaults.BaseURIMock; import org.apache.jena.riot.Lang; import org.apache.jena.riot.RDFDataMgr; import org.codehaus.jackson.JsonPar...
redef/services/src/test/java/no/deichman/services/resources/WorkResourceTest.java
package no.deichman.services.resources; import no.deichman.services.kohaadapter.KohaAdapterMock; import no.deichman.services.repository.RepositoryInMemory; import no.deichman.services.uridefaults.BaseURIMock; import org.apache.jena.riot.Lang; import org.apache.jena.riot.RDFDataMgr; import org.codehaus.jackson.JsonPar...
Add test coverage for existing methods
redef/services/src/test/java/no/deichman/services/resources/WorkResourceTest.java
Add test coverage for existing methods
<ide><path>edef/services/src/test/java/no/deichman/services/resources/WorkResourceTest.java <ide> assertNotNull(result); <ide> assertEquals(200, result.getStatus()); <ide> assertTrue(isValidJSON(result.getEntity().toString())); <add> } <add> <add> @Test(expected=NotFoundException.class) <a...
Java
mit
error: pathspec 'Magic/src/main/java/com/elmakers/mine/bukkit/heroes/HeroesSpellSkill.java' did not match any file(s) known to git
84f60fe53bfe9f2562c5fc7a58e5def2327b6ff4
1
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
package com.elmakers.mine.bukkit.heroes; import com.elmakers.mine.bukkit.api.block.MaterialAndData; import com.elmakers.mine.bukkit.api.magic.Mage; import com.elmakers.mine.bukkit.api.magic.MageController; import com.elmakers.mine.bukkit.api.magic.MagicAPI; import com.elmakers.mine.bukkit.api.spell.CastingCost; import...
Magic/src/main/java/com/elmakers/mine/bukkit/heroes/HeroesSpellSkill.java
Move HeroesSpellSkill into Magic so it's esier to keep updated
Magic/src/main/java/com/elmakers/mine/bukkit/heroes/HeroesSpellSkill.java
Move HeroesSpellSkill into Magic so it's esier to keep updated
<ide><path>agic/src/main/java/com/elmakers/mine/bukkit/heroes/HeroesSpellSkill.java <add>package com.elmakers.mine.bukkit.heroes; <add> <add>import com.elmakers.mine.bukkit.api.block.MaterialAndData; <add>import com.elmakers.mine.bukkit.api.magic.Mage; <add>import com.elmakers.mine.bukkit.api.magic.MageController; <add...
Java
apache-2.0
5f9e7cb296289f95f8f26024ea2c0bf5b99cd112
0
dimagi/javarosa,dimagi/javarosa,dimagi/javarosa
package org.javarosa.core.model; import org.javarosa.core.model.instance.TreeReference; import org.javarosa.core.util.externalizable.DeserializationException; import org.javarosa.core.util.externalizable.ExtUtil; import org.javarosa.core.util.externalizable.Externalizable; import org.javarosa.core.util.externalizable....
core/src/main/java/org/javarosa/core/model/Action.java
package org.javarosa.core.model; import org.javarosa.core.model.instance.TreeReference; import org.javarosa.core.util.externalizable.DeserializationException; import org.javarosa.core.util.externalizable.ExtUtil; import org.javarosa.core.util.externalizable.Externalizable; import org.javarosa.core.util.externalizable....
Reverted Actions being abstract
core/src/main/java/org/javarosa/core/model/Action.java
Reverted Actions being abstract
<ide><path>ore/src/main/java/org/javarosa/core/model/Action.java <ide> /** <ide> * @author ctsims <ide> */ <del>public abstract class Action implements Externalizable { <add>public class Action implements Externalizable { <ide> public static final String EVENT_XFORMS_READY = "xforms-ready"; <ide> public stati...
Java
apache-2.0
b870bcd8e13c8fa45adef5056e9448a96519a050
0
dodok1/cas,pmarasse/cas,doodelicious/cas,dodok1/cas,Unicon/cas,petracvv/cas,creamer/cas,petracvv/cas,GIP-RECIA/cas,William-Hill-Online/cas,dodok1/cas,Unicon/cas,creamer/cas,petracvv/cas,rrenomeron/cas,GIP-RECIA/cas,pmarasse/cas,prigaux/cas,tduehr/cas,William-Hill-Online/cas,rrenomeron/cas,tduehr/cas,robertoschwald/cas,...
package org.apereo.cas.mgmt.config; import com.google.common.base.Throwables; import org.apereo.cas.CasProtocolConstants; import org.apereo.cas.authentication.AuthenticationMetaDataPopulator; import org.apereo.cas.authentication.principal.ServiceFactory; import org.apereo.cas.authentication.principal.WebApplicationSer...
webapp-mgmt/cas-management-webapp-support/src/main/java/org/apereo/cas/mgmt/config/CasManagementWebAppConfiguration.java
package org.apereo.cas.mgmt.config; import com.google.common.base.Throwables; import org.apereo.cas.CasProtocolConstants; import org.apereo.cas.authentication.AuthenticationMetaDataPopulator; import org.apereo.cas.authentication.principal.ServiceFactory; import org.apereo.cas.authentication.principal.WebApplicationSer...
Clean up pac4j API changes for authz
webapp-mgmt/cas-management-webapp-support/src/main/java/org/apereo/cas/mgmt/config/CasManagementWebAppConfiguration.java
Clean up pac4j API changes for authz
<ide><path>ebapp-mgmt/cas-management-webapp-support/src/main/java/org/apereo/cas/mgmt/config/CasManagementWebAppConfiguration.java <ide> import org.pac4j.core.context.WebContext; <ide> import org.pac4j.core.engine.DefaultSecurityLogic; <ide> import org.pac4j.core.exception.HttpAction; <add>import org.pac4j.core.profile...
Java
apache-2.0
991d8b4223a35a9c576e23eff715f6a05c9d096d
0
bigal91/CSAR_Repository,bigal91/CSAR_Repository,CloudCycle2/CSAR_Repository,CloudCycle2/CSAR_Repository
package org.opentosca.csarrepo.service; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.UUID; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.Doc...
src/main/java/org/opentosca/csarrepo/service/UploadCsarFileService.java
package org.opentosca.csarrepo.service; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.UUID; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.Doc...
namespace is not mandatory
src/main/java/org/opentosca/csarrepo/service/UploadCsarFileService.java
namespace is not mandatory
<ide><path>rc/main/java/org/opentosca/csarrepo/service/UploadCsarFileService.java <ide> */ <ide> public class UploadCsarFileService extends AbstractService { <ide> <del> private static final String X_PATH_EXPRESSION = "//*[local-name()='ServiceTemplate']/@*[name()='id' or name()='targetNamespace']"; <ide> private st...
Java
mit
4acd25113a1af223cfce8207ee209f0a74977950
0
MateusAraujoBorges/motorola-ftestes-15,MateusAraujoBorges/motorola-ftestes-15
package calculator; import org.assertj.swing.edt.GuiActionRunner; import org.assertj.swing.edt.GuiQuery; import org.assertj.swing.fixture.FrameFixture; import org.assertj.swing.image.ScreenshotTaker; import org.assertj.swing.junit.testcase.AssertJSwingJUnitTestCase; import org.junit.Test; public class CalculatorGUITe...
gui-testing/assertj-examples/src/calculator/CalculatorGUITests.java
package calculator; import org.assertj.swing.edt.GuiActionRunner; import org.assertj.swing.edt.GuiQuery; import org.assertj.swing.fixture.FrameFixture; import org.assertj.swing.image.ScreenshotTaker; import org.assertj.swing.junit.testcase.AssertJSwingJUnitTestCase; import org.junit.Test; public class CalculatorGUITe...
fix issue with example
gui-testing/assertj-examples/src/calculator/CalculatorGUITests.java
fix issue with example
<ide><path>ui-testing/assertj-examples/src/calculator/CalculatorGUITests.java <ide> <ide> try { <ide> window.textBox("lcd").requireText("6"); <del> } catch (Exception e) { <add> } catch (Throwable e) { <ide> ScreenshotTaker taker = new ScreenshotTaker(); <ide> taker.saveDesktopAsPng("test.png"); <ide> ...
Java
apache-2.0
98013a3b2a709b6d43aa7dedeb0186648e677b2c
0
benchdoos/WeblocOpener,benchdoos/WeblocOpener,benchdoos/WeblocOpener
/* * (C) Copyright 2019. Eugene Zrazhevsky and others. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable la...
src/main/java/com/github/benchdoos/weblocopener/nongui/NonGuiUpdater.java
/* * (C) Copyright 2019. Eugene Zrazhevsky and others. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable la...
Changed version comparing to new one
src/main/java/com/github/benchdoos/weblocopener/nongui/NonGuiUpdater.java
Changed version comparing to new one
<ide><path>rc/main/java/com/github/benchdoos/weblocopener/nongui/NonGuiUpdater.java <ide> import com.github.benchdoos.weblocopener.preferences.PreferencesManager; <ide> import com.github.benchdoos.weblocopener.update.Updater; <ide> import com.github.benchdoos.weblocopener.update.UpdaterManager; <del>import com.github.b...
JavaScript
mit
a3ddb0fe3cdafddf3bca951f17e92c0ac9ffb5c7
0
dalnefre/tart-PEG
/* test.js - test script The MIT License (MIT) Copyright (c) 2016 Dale Schumacher Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to...
test/hybrid.js
/* test.js - test script The MIT License (MIT) Copyright (c) 2016 Dale Schumacher Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to...
Reduce comparisons and cases
test/hybrid.js
Reduce comparisons and cases
<ide><path>est/hybrid.js <ide> while (true) { <ide> let f = first.next(); <ide> let s = second.next(); <del> if (f.value !== undefined && f.value == s.value) { <del> yield true; <del> } else if (f.value !== undefined && f.value != s.value) { <del> ...
Java
apache-2.0
700e116a053511467f38b920466ff2eb8003a093
0
wschaeferB/autopsy,rcordovano/autopsy,rcordovano/autopsy,rcordovano/autopsy,wschaeferB/autopsy,APriestman/autopsy,rcordovano/autopsy,wschaeferB/autopsy,APriestman/autopsy,esaunders/autopsy,wschaeferB/autopsy,wschaeferB/autopsy,esaunders/autopsy,rcordovano/autopsy,APriestman/autopsy,esaunders/autopsy,APriestman/autopsy,...
/* * Autopsy Forensic Browser * * Copyright 2018 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://ww...
Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java
/* * Autopsy Forensic Browser * * Copyright 2018 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://ww...
comments
Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java
comments
<ide><path>ore/src/org/sleuthkit/autopsy/commonfilesearch/CommonFilesPanel.java <ide> <ide> //TODO this is sort of a misues of the findAllFilesWhere function and seems brittle... <ide> //...consider doing something else <add> //TODO verify that this works with...
Java
bsd-3-clause
a0e0aba97cd58041f37365c52921f71ecfd72f05
0
littleyang/raven-java,reki2000/raven-java6,galmeida/raven-java,galmeida/raven-java,buckett/raven-java,littleyang/raven-java,buckett/raven-java,reki2000/raven-java6
package net.kencochrane.raven; import net.kencochrane.raven.exception.InvalidDsnException; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.naming.NoInitialContextException; import java.net.URI; import java.net.URISyntaxException; import java.util.*; i...
raven/src/main/java/net/kencochrane/raven/Dsn.java
package net.kencochrane.raven; import net.kencochrane.raven.exception.InvalidDsnException; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.naming.NoInitialContextException; import java.net.URI; import java.net.URISyntaxException; import java.util.*; i...
Move the DSN nullcheck to Dsn(String)
raven/src/main/java/net/kencochrane/raven/Dsn.java
Move the DSN nullcheck to Dsn(String)
<ide><path>aven/src/main/java/net/kencochrane/raven/Dsn.java <ide> * @param dsn dsn in a string form. <ide> */ <ide> public Dsn(String dsn) { <add> if (dsn == null) <add> throw new InvalidDsnException("The sentry DSN must be provided and not be null"); <add> <ide> options = new H...
Java
bsd-2-clause
3e91c28bb7842df2d720ff2c728a08be2a36978b
0
JOMC/JOMC-Standalone
// SECTION-START[License Header] // <editor-fold defaultstate="collapsed" desc=" Generated License "> /* * Copyright (C) Christian Schulte, 2005-206 * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
jomc-standalone-model/src/test/java/org/jomc/standalone/model/modlet/test/StandaloneModelValidatorTest.java
// SECTION-START[License Header] // <editor-fold defaultstate="collapsed" desc=" Generated License "> /* * Copyright (C) Christian Schulte, 2005-206 * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
o Updated to remove references to deprecated 'ModelContext.createModelContext' method. git-svn-id: 985a8700d3d44944975dc3f8e40a21c4fe0a669c@4212 aee2edba-5628-49ba-b8b8-0e9d4ac63d57
jomc-standalone-model/src/test/java/org/jomc/standalone/model/modlet/test/StandaloneModelValidatorTest.java
o Updated to remove references to deprecated 'ModelContext.createModelContext' method.
<ide><path>omc-standalone-model/src/test/java/org/jomc/standalone/model/modlet/test/StandaloneModelValidatorTest.java <ide> import org.jomc.model.modlet.ModelHelper; <ide> import org.jomc.modlet.Model; <ide> import org.jomc.modlet.ModelContext; <add>import org.jomc.modlet.ModelContextFactory; <ide> import org.jomc.modl...
Java
epl-1.0
b370320f24dbbdbcff65cb490042d6ebc56d3c50
0
gnodet/wikitext
/******************************************************************************* * Copyright (c) 2004, 2008 Tasktop Technologies and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distributio...
org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/SingleSelectionAttributeEditor.java
/******************************************************************************* * Copyright (c) 2004, 2008 Tasktop Technologies and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distributio...
RESOLVED - bug 278256: error when submitting a task twice https://bugs.eclipse.org/bugs/show_bug.cgi?id=278256
org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/SingleSelectionAttributeEditor.java
RESOLVED - bug 278256: error when submitting a task twice https://bugs.eclipse.org/bugs/show_bug.cgi?id=278256
<ide><path>rg.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/SingleSelectionAttributeEditor.java <ide> <ide> private String[] values; <ide> <add> private final TaskDataModelListener modelListener = new TaskDataModelListener() { <add> @Override <add> public void attributeChanged(TaskDataMode...
Java
apache-2.0
d3c5837dbf23800fe3c886a7090b1fcb346e5cd4
0
fitermay/intellij-community,adedayo/intellij-community,joewalnes/idea-community,slisson/intellij-community,retomerz/intellij-community,salguarnieri/intellij-community,dslomov/intellij-community,suncycheng/intellij-community,Lekanich/intellij-community,Distrotech/intellij-community,diorcety/intellij-community,ibinti/int...
package com.intellij.tasks; import com.intellij.codeInsight.completion.CompletionType; import com.intellij.codeInsight.lookup.LookupElement; import com.intellij.psi.PsiFile; import com.intellij.tasks.impl.LocalTaskImpl; import com.intellij.tasks.impl.TaskCompletionContributor; import com.intellij.tasks.impl.TaskManage...
plugins/tasks/tasks-tests/test/com/intellij/tasks/TaskCompletionTest.java
package com.intellij.tasks; import com.intellij.psi.PsiFile; import com.intellij.tasks.impl.TaskCompletionContributor; import com.intellij.tasks.impl.TaskManagerImpl; import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase; import java.util.Arrays; /** * @author Dmitry Avdeev */ public class Tas...
another task completion test
plugins/tasks/tasks-tests/test/com/intellij/tasks/TaskCompletionTest.java
another task completion test
<ide><path>lugins/tasks/tasks-tests/test/com/intellij/tasks/TaskCompletionTest.java <ide> package com.intellij.tasks; <ide> <add>import com.intellij.codeInsight.completion.CompletionType; <add>import com.intellij.codeInsight.lookup.LookupElement; <ide> import com.intellij.psi.PsiFile; <add>import com.intellij.tasks.im...
Java
lgpl-2.1
a55e45b9486ac1afe3c00ba5261e60da0dd823d5
0
simoc/mapyrus,simoc/mapyrus,simoc/mapyrus
/* * $Id$ */ package au.id.chenery.mapyrus; import java.awt.Color; import java.io.IOException; import java.io.Reader; import java.text.DecimalFormat; import java.util.Hashtable; import java.util.ArrayList; import java.awt.geom.PathIterator; import java.awt.geom.Point2D; /** * Language interpreter. Parse and execu...
src/org/mapyrus/Interpreter.java
/* * $Id$ */ package au.id.chenery.mapyrus; import java.awt.Color; import java.io.IOException; import java.io.Reader; import java.text.DecimalFormat; import java.util.Hashtable; import java.util.ArrayList; import java.awt.geom.PathIterator; /** * Language interpreter. Parse and executes commands read from file, o...
Methods getMoveTos(), getMoveToRotations() to get translation points now return ArrayLists. Allocate DecimalFormats one time and reuse them.
src/org/mapyrus/Interpreter.java
Methods getMoveTos(), getMoveToRotations() to get translation points now return ArrayLists. Allocate DecimalFormats one time and reuse them.
<ide><path>rc/org/mapyrus/Interpreter.java <ide> import java.util.Hashtable; <ide> import java.util.ArrayList; <ide> import java.awt.geom.PathIterator; <add>import java.awt.geom.Point2D; <ide> <ide> /** <ide> * Language interpreter. Parse and executes commands read from file, or <ide> * this interpreter. <ide> *...
Java
apache-2.0
15eaf7e05c18d241a97b5d0d71d0e7f8960e1d71
0
IHTSDO/snow-owl,IHTSDO/snow-owl,IHTSDO/snow-owl,IHTSDO/snow-owl
/* * Copyright 2011-2017 B2i Healthcare Pte Ltd, http://b2i.sg * * 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...
core/com.b2international.snowowl.datastore.server/src/com/b2international/snowowl/datastore/server/internal/CDOBasedRepository.java
/* * Copyright 2011-2017 B2i Healthcare Pte Ltd, http://b2i.sg * * 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...
APDS-124 removed Searcher registration
core/com.b2international.snowowl.datastore.server/src/com/b2international/snowowl/datastore/server/internal/CDOBasedRepository.java
APDS-124 removed Searcher registration
<ide><path>ore/com.b2international.snowowl.datastore.server/src/com/b2international/snowowl/datastore/server/internal/CDOBasedRepository.java <ide> import com.b2international.index.IndexClientFactory; <ide> import com.b2international.index.IndexWrite; <ide> import com.b2international.index.Indexes; <del>import com.b2in...
JavaScript
mit
93037b5a2e4e10885b0be3a52aa3a868210c892b
0
Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core,daukantas/factlink-core,daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core
//= require jquery var // The iFrame showFrame = document.getElementById("frame"), xdm = window.easyXDM.noConflict("FACTLINK"), // The global remote object remote = new xdm.Rpc({}, { remote: { hide: {}, show: {}, highlightNewFactlink: {}, stopHighlightingFactlink: ...
core/app/assets/javascripts/intermediate.js
//= require jquery var // The iFrame showFrame = document.getElementById("frame"), xdm = window.easyXDM.noConflict("FACTLINK"), // The global remote object remote = new xdm.Rpc({}, { remote: { hide: {}, show: {}, highlightNewFactlink: {}, stopHighlightingFactlink: ...
encodeURIComponent before using them in URL's Had a site with a "#" in the title which borked up the layout completely
core/app/assets/javascripts/intermediate.js
encodeURIComponent before using them in URL's
<ide><path>ore/app/assets/javascripts/intermediate.js <ide> $(document).bind("modalready", onLoadSuccess); <ide> <ide> showFrame.src = "/facts/new" + <del> "?fact=" + text + <del> "&url=" + siteUrl + <del> ...
JavaScript
mit
a141fbe078f0ab14bbef3faace2aa4effb89058f
0
panpawn/Pokemon-Showdown,Gold-Solox/Pokemon-Showdown,Tesarand/Pokemon-Showdown,panpawn/Gold-Server,BuzzyOG/Pokemon-Showdown,panpawn/Gold-Server,BuzzyOG/Pokemon-Showdown,Tesarand/Pokemon-Showdown,Git-Worm/City-PS,panpawn/Pokemon-Showdown,BuzzyOG/Pokemon-Showdown,Git-Worm/City-PS,Tesarand/Pokemon-Showdown,Gold-Solox/Poke...
/** * Commands * Pokemon Showdown - http://pokemonshowdown.com/ * * These are commands. For instance, you can define the command 'whois' * here, then use it by typing /whois into Pokemon Showdown. * * A command can be in the form: * ip: 'whois', * This is called an alias: it makes it so /ip does the same thi...
config/commands.js
/** * Commands * Pokemon Showdown - http://pokemonshowdown.com/ * * These are commands. For instance, you can define the command 'whois' * here, then use it by typing /whois into Pokemon Showdown. * * A command can be in the form: * ip: 'whois', * This is called an alias: it makes it so /ip does the same thi...
Update commands.js
config/commands.js
Update commands.js
<ide><path>onfig/commands.js <ide> coin: 'coingame', <ide> coingame: function(target, room, user) { <ide> if (!this.canBroadcast()) return; <del> var random = Math.floor(1000000 * Math.random()) + 1; <add> var random = Math.floor(2 * Math.random()) + 1; <ide> var results = ''; <del> if (random > 500000) { <add...
JavaScript
mit
69fdcde608753d2853de32ddd0ac2463054c7623
0
HexChronicle/Fwibble,HexChronicle/Fwibble
var React = require('react'); var Link = require('react-router').Link; var $ = require('../../../jquery.min.js'); module.exports = React.createClass({ getInitialState: function() { return { username: '', password: '', loginErr: null } }, handleUsername: function (e) { this.setStat...
app/components/signup/signup.js
var React = require('react'); var Link = require('react-router').Link; var $ = require('../../../jquery.min.js'); module.exports = React.createClass({ getInitialState: function() { return { username: '', password: '', loginErr: null } }, handleUsername: function (e) { this.setStat...
sign up pge styled to match sign in page
app/components/signup/signup.js
sign up pge styled to match sign in page
<ide><path>pp/components/signup/signup.js <ide> <ide> return ( <ide> <div className="container"> <del> <h2>Signup Page</h2> <del> <div><Link to="/">Home</Link></div> <del> <br /> <del> <div className="signUpForm"> <del> <form> <del> <input type="text" placeholder=...
Java
bsd-3-clause
41de3ad14e85efd26cf5a9268978d64a82258387
0
NCIP/cananolab,NCIP/cananolab,NCIP/cananolab
package gov.nih.nci.cananolab.util; import java.util.HashMap; import java.util.Map; public class Constants { public static final String DOMAIN_MODEL_NAME = "caNanoLab"; public static final String SDK_BEAN_JAR = "caNanoLabSDK-beans.jar"; public static final String CSM_APP_NAME = "caNanoLab"; public static final...
src/gov/nih/nci/cananolab/util/Constants.java
package gov.nih.nci.cananolab.util; import java.util.HashMap; import java.util.Map; public class Constants { public static final String DOMAIN_MODEL_NAME = "caNanoLab"; public static final String SDK_BEAN_JAR = "caNanoLabSDK-beans.jar"; public static final String CSM_APP_NAME = "caNanoLab"; public static final...
added DISPLAY_TAG_TABLE_SIZE SVN-Revision: 16098
src/gov/nih/nci/cananolab/util/Constants.java
added DISPLAY_TAG_TABLE_SIZE
<ide><path>rc/gov/nih/nci/cananolab/util/Constants.java <ide> // LOCATION <ide> public static final String LOCATION = "location"; <ide> <add> public static final int DISPLAY_TAG_TABLE_SIZE=25; <ide> }
Java
apache-2.0
acc33911d9d2aff517976c1c8e0fea7f4f050bac
0
kamilrogowski/ZZPJ-2016-Breathalyser
package zzpj.breathalyser.service; import org.junit.Assert; import org.junit.Test; import zzpj.breathalyser.model.Score; import static org.junit.Assert.*; /** * Created by Krzychu on 07.09.2016. */ public class ScoreServiceTest { @Test public void addScore() throws Exception { ScoreService scoreSer...
src/test/java/zzpj/breathalyser/service/ScoreServiceTest.java
package zzpj.breathalyser.service; import org.junit.Test; import static org.junit.Assert.*; /** * Created by Krzychu on 07.09.2016. */ public class ScoreServiceTest { @Test public void addScore() throws Exception { } @Test public void getScores() throws Exception { } @Test publi...
Added tests for ScoreService.
src/test/java/zzpj/breathalyser/service/ScoreServiceTest.java
Added tests for ScoreService.
<ide><path>rc/test/java/zzpj/breathalyser/service/ScoreServiceTest.java <ide> package zzpj.breathalyser.service; <ide> <add>import org.junit.Assert; <ide> import org.junit.Test; <add>import zzpj.breathalyser.model.Score; <ide> <ide> import static org.junit.Assert.*; <ide> <ide> public class ScoreServiceTest { <ide> ...
Java
apache-2.0
ee297d28bdbb23eb32e4818b8fe0d6d9d6ead3f1
0
etirelli/jbpm-form-modeler,droolsjbpm/jbpm-form-modeler,porcelli-forks/jbpm-form-modeler,baldimir/jbpm-form-modeler,etirelli/jbpm-form-modeler,etirelli/jbpm-form-modeler,baldimir/jbpm-form-modeler,mbiarnes/jbpm-form-modeler,porcelli-forks/jbpm-form-modeler,droolsjbpm/jbpm-form-modeler,baldimir/jbpm-form-modeler,droolsj...
/** * Copyright (C) 2012 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
jbpm-form-modeler-core/jbpm-form-modeler-api/src/main/java/org/jbpm/formModeler/api/config/builders/SimpleFieldTypeBuilder.java
/** * Copyright (C) 2012 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
textarea default size changed
jbpm-form-modeler-core/jbpm-form-modeler-api/src/main/java/org/jbpm/formModeler/api/config/builders/SimpleFieldTypeBuilder.java
textarea default size changed
<ide><path>bpm-form-modeler-core/jbpm-form-modeler-api/src/main/java/org/jbpm/formModeler/api/config/builders/SimpleFieldTypeBuilder.java <ide> ft.setCode("HTMLEditor"); <ide> ft.setFieldClass("org.jbpm.formModeler.core.wrappers.HTMLString"); <ide> ft.setManagerClass("org.jbpm.formModeler.core.p...
Java
apache-2.0
79529ff124cd664eeb061ba5d88fa52d1dd81787
0
facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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 appl...
litho-core/src/main/java/com/facebook/litho/MountState.java
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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 appl...
Improves systrace blocks [4/n] Summary: Ensure that LMS has a MountState.mount trace, and an extra Mount.mount <ComponentName> trace. Following diffs could add a similar extra one for RCMS. In order to do this the diff makes some major refactors to the flow of LMS. * `performIncrementalMount` is now just the operati...
litho-core/src/main/java/com/facebook/litho/MountState.java
Improves systrace blocks [4/n]
<ide><path>itho-core/src/main/java/com/facebook/litho/MountState.java <ide> throw new IllegalStateException("Trying to mount a null layoutState"); <ide> } <ide> <add> final boolean shouldIncrementallyMount = <add> isIncrementalMountEnabled <add> && localVisibleRect != null <add> ...
JavaScript
mit
47da26e3500c321b17d320fc115288eb7a731952
0
Fiware/webui.Xml3d.js,xml3d/xml3d.js,CCLDESTY/xml3d.js,ariyapour/xml3d.js,CCLDESTY/xml3d.js,ariyapour/xml3d.js,xml3d/xml3d.js,Fiware/webui.Xml3d.js
// dom.js (function($) { if ($) return; var doc = {}; var nativeGetElementById = document.getElementById; doc.getElementById = function(id) { var elem = nativeGetElementById.call(this, id); if (elem) { return elem; } else { var elems = this.getEle...
src/interface/dom.js
// dom.js (function($) { if ($) return; var doc = {}; var nativeGetElementById = document.getElementById; doc.getElementById = function(id) { var elem = nativeGetElementById.call(this, id); if (elem) { return elem; } else { var elems = this.getEle...
Add DOMAttrModified polyfill only if no MutationObserver is available.
src/interface/dom.js
Add DOMAttrModified polyfill only if no MutationObserver is available.
<ide><path>rc/interface/dom.js <ide> * Workaround for DOMAttrModified issues in WebKit based browsers: <ide> * https://bugs.webkit.org/show_bug.cgi?id=8191 <ide> */ <del>if (navigator.userAgent.indexOf("WebKit") != -1) { <add>var MutationObserver = (window.MutationObserver || window.WebKitMutationObserver || window....
Java
apache-2.0
ccbbf277f305fdc1e33d98a7080994b4aa53abd9
0
ResearchWorx/Cresco-Agent-Controller-Plugin
package ActiveMQ; import java.util.Map; import java.util.Timer; import java.util.Map.Entry; import java.util.TimerTask; import java.util.concurrent.ConcurrentHashMap; import plugincore.PluginEngine; import shared.MsgEvent; public class ActiveProducer { public Map<String,ActiveProducerWorker> producerWorkers; p...
src/main/java/ActiveMQ/ActiveProducer.java
package ActiveMQ; import java.util.Map; import java.util.Timer; import java.util.Map.Entry; import java.util.TimerTask; import java.util.concurrent.ConcurrentHashMap; import plugincore.PluginEngine; import shared.MsgEvent; public class ActiveProducer { public Map<String,ActiveProducerWorker> producerWorkers; p...
Looking into BrokerMonitor
src/main/java/ActiveMQ/ActiveProducer.java
Looking into BrokerMonitor
<ide><path>rc/main/java/ActiveMQ/ActiveProducer.java <ide> ActiveProducerWorker apw = null; <ide> String agentPath = sm.getMsgRegion() + "_" + sm.getMsgAgent(); <ide> String dstPath = sm.getParam("dst_region") + "_" + sm.getParam("dst_agent"); <del> if(producerWorkers.containsKey(agentPath)) <add> if(producerWo...
Java
apache-2.0
error: pathspec 'main/src/courtscheduler/solver/move/TeamChangeMoveFactory.java' did not match any file(s) known to git
e75beb8e4dfb2d629e984786ac100ef3bbcca8d9
1
netinept/Court-Scheduler,netinept/Court-Scheduler,netinept/Court-Scheduler
/* * Copyright 2010 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
main/src/courtscheduler/solver/move/TeamChangeMoveFactory.java
#1129968 - Will - working on moveFactory
main/src/courtscheduler/solver/move/TeamChangeMoveFactory.java
#1129968 - Will - working on moveFactory
<ide><path>ain/src/courtscheduler/solver/move/TeamChangeMoveFactory.java <add>/* <add> * Copyright 2010 JBoss Inc <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <add> * You may obtain a copy of the License at <add>...
Java
mit
c56e973f7fdd2211ef98b14ee1f78eb227145765
0
sdsmdg/Cognizance
package in.co.sdslabs.cognizance; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import android.content.Context; import android.database.Cursor; import android.database.CursorIndexOutOfBoundsException; import android.da...
Cognizance/src/in/co/sdslabs/cognizance/DatabaseHelper.java
package in.co.sdslabs.cognizance; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import android.content.Context; import android.database.Cursor; import android.database.CursorIndexOutOfBoundsException; import android.da...
Fix map functions
Cognizance/src/in/co/sdslabs/cognizance/DatabaseHelper.java
Fix map functions
<ide><path>ognizance/src/in/co/sdslabs/cognizance/DatabaseHelper.java <ide> <ide> public String searchEntryForVenue(String x, String y) throws SQLException { <ide> // TODO Auto-generated method stub <del> myDataBase = ourHelper.getWritableDatabase(); <add> myDataBase = this.getReadableDatabase(); <ide> String[]...
Java
mit
7a34e590371e66eed4291b1bef7b89732384aebf
0
slemonide/sasuga,slemonide/JLife
package model; import model.landscape.LandscapeCell; import model.landscape.LandscapeCellX; import model.landscape.LandscapeCellZ; import model.wireworld.Conductor; import model.wireworld.ElectronHead; import model.wireworld.ElectronTail; import java.util.Collection; import java.util.Random; /** * * @author D...
src/model/Player.java
package model; import model.landscape.LandscapeCell; import model.landscape.LandscapeCellX; import model.landscape.LandscapeCellZ; import model.wireworld.Conductor; import model.wireworld.ElectronHead; import model.wireworld.ElectronTail; import java.util.Collection; import java.util.Random; /** * * @author D...
If there is a cell closer than CURSOR_DISTANCE, move cursor position to it instead Make it impossible to replace blocks using cursor (i.e. cursor will place blocks on top of the selected block) Left mouse click destroys the cell, right mouse click builds a cell (issue #30)
src/model/Player.java
If there is a cell closer than CURSOR_DISTANCE, move cursor position to it instead Make it impossible to replace blocks using cursor (i.e. cursor will place blocks on top of the selected block) Left mouse click destroys the cell, right mouse click builds a cell (issue #30)
<ide><path>rc/model/Player.java <ide> super(position); <ide> setName("Player"); <ide> <add> selectedBlock = position; <add> selectedBlockFace = position; <add> <ide> Random random = new Random(); <ide> <ide> rotation = 0; <ide> inventory.setInventoryItem(1, new In...
Java
mpl-2.0
0f9dc35c4099ff829d0ad5efd1bd8c6bc323e8ec
0
andrewmoko/openmrs-module-openhmis.cashier,andrewmoko/openmrs-module-openhmis.cashier,andrewmoko/openmrs-module-openhmis.cashier
/* * The contents of this file are subject to the OpenMRS Public 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://license.openmrs.org * * Software distributed under the License is distributed on an "AS IS" *...
omod_1.x/src/main/java/org/openmrs/module/openhmis/cashier/web/controller/ReceiptController.java
/* * The contents of this file are subject to the OpenMRS Public 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://license.openmrs.org * * Software distributed under the License is distributed on an "AS IS" *...
using string utils
omod_1.x/src/main/java/org/openmrs/module/openhmis/cashier/web/controller/ReceiptController.java
using string utils
<ide><path>mod_1.x/src/main/java/org/openmrs/module/openhmis/cashier/web/controller/ReceiptController.java <ide> <ide> import javax.servlet.http.HttpServletResponse; <ide> <add>import org.apache.commons.lang3.StringUtils; <ide> import org.openmrs.api.context.Context; <ide> import org.openmrs.module.jasperreport.Jaspe...
JavaScript
agpl-3.0
814d52a5b148ea1eba8006e0e439f442cefe40d7
0
telefonicaid/PopBox,telefonicaid/PopBox
// Axis Class (function (PBDV, THREE, undefined) { "use strict"; /* Constructor */ var Axis = function( size, titles, options ) { /* Private State */ this.size = size; this.options = options; // Array of displayed messages this.texts = []; // Axis frame this.frame = createFrame( size, titl...
benchmark/public/js/Axis.js
// Axis Class (function (PBDV, THREE, undefined) { "use strict"; /* Constructor */ var Axis = function( size, titles, options ) { /* Private State */ this.size = size; this.options = options; // Array of displayed messages this.texts = []; // Axis frame this.frame = createFrame( size, titl...
Fixed number not showing correctly when the maximun number of divisions is reached
benchmark/public/js/Axis.js
Fixed number not showing correctly when the maximun number of divisions is reached
<ide><path>enchmark/public/js/Axis.js <ide> <ide> if (size.z >= 0) { <ide> lineGeo.vertices.push( <del> v(0,0,0), v(0,0,size.z), <add> v(0,0,0), v(0,0,size.z), <ide> v(size.x,0,0), v(size.x,0,size.z), <ide> v(0,size.y,0), v(0,size.y,size.z), <del> v(size.x,size...
JavaScript
mit
b80088486f6d756702058e77c0a34dd2b84e00de
0
steins024/projection-grid,steins024/projection-grid
import _ from 'underscore'; import Backbone from 'backbone'; import ListView from 'backbone-virtualized-listview'; import { HeaderView, FooterView } from './header-footer-view.js'; import rowTemplate from './row.jade'; import tableFixedTemplate from './table-fixed.jade'; import tableStaticTemplate from './table-stati...
js/vnext/layout/table-view.js
import _ from 'underscore'; import Backbone from 'backbone'; import ListView from 'backbone-virtualized-listview'; import { HeaderView, FooterView } from './header-footer-view.js'; import rowTemplate from './row.jade'; import tableFixedTemplate from './table-fixed.jade'; import tableStaticTemplate from './table-stati...
Only adjust the sticky header when the grid is visible
js/vnext/layout/table-view.js
Only adjust the sticky header when the grid is visible
<ide><path>s/vnext/layout/table-view.js <ide> const $stickyHeaderFiller = this.$('.sticky-header-filler'); <ide> const $table = this.$('.sticky-header-filler + table'); <ide> const adjustStickyHeader = () => { <add> if (!this.$el.is(':visible')) { <add> return; <add> } <add> <ide> con...
Java
apache-2.0
d8695b6f5795b5b6f17e0708413421899ead266e
0
NLeSC/Xenon,NLeSC/Xenon
/** * Copyright 2013 Netherlands eScience Center * * 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/nl/esciencecenter/xenon/adaptors/ssh/SshAdaptor.java
/** * Copyright 2013 Netherlands eScience Center * * 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...
Only load known_hosts if it exists or is requested
src/main/java/nl/esciencecenter/xenon/adaptors/ssh/SshAdaptor.java
Only load known_hosts if it exists or is requested
<ide><path>rc/main/java/nl/esciencecenter/xenon/adaptors/ssh/SshAdaptor.java <ide> if (getProperties().getBooleanProperty(SshAdaptor.LOAD_STANDARD_KNOWN_HOSTS)) { <ide> String knownHosts = System.getProperty("user.home") + "/.ssh/known_hosts"; <ide> LOGGER.debug("Setting ssh known hosts ...
JavaScript
mit
08bb0f35a944cd36d8b39584c9ef1338655be189
0
stevekinney/file-bin
'use strict'; const fs = require('fs'); const path = require('path'); const async = require('async'); const RSVP = require('rsvp'); const filterOutDirectories = require('./lib/filter-out-directories'); function FileBin(baseDirectory, validExtensions) { if (!(this instanceof FileBin)) { throw new Error('Must b...
index.js
'use strict'; const fs = require('fs'); const path = require('path'); const async = require('async'); const RSVP = require('rsvp'); const filterOutDirectories = require('./lib/filter-out-directories'); function FileBin(baseDirectory, validExtensions) { if (!(this instanceof FileBin)) { throw new Error('Must b...
Updated the destroy method to resolve true instead of the expired path
index.js
Updated the destroy method to resolve true instead of the expired path
<ide><path>ndex.js <ide> return new RSVP.Promise((resolve, reject) => { <ide> fs.unlink(path.join(this.base, fileName), (error) => { <ide> if (error) { return reject(error); } <del> resolve(formatFile(fileName)); <add> resolve(true); <ide> }); <ide> }); <ide> };
Java
apache-2.0
5f7a7f3822553446f54bfd22f95feaab19a64cf0
0
kushalsharma/agera,google/agera
/* * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
agera/src/main/java/com/google/android/agera/Repositories.java
/* * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Improved performance on SimpleRepository (#57) Excluded the update from the lock around reference
agera/src/main/java/com/google/android/agera/Repositories.java
Improved performance on SimpleRepository (#57)
<ide><path>gera/src/main/java/com/google/android/agera/Repositories.java <ide> } <ide> <ide> @Override <del> public synchronized void accept(@NonNull final T reference) { <del> if (reference.equals(this.reference)) { <del> // Keep the old reference to have a slight performance edge if GC is gene...
Java
mit
db5fc4a56ad1a622d3064cc90df0000d379a57bd
0
8-Bit-Warframe/Lost-Sector
package com.ezardlabs.lostsector.objects; import com.ezardlabs.dethsquare.Screen; import com.ezardlabs.dethsquare.Script; import com.ezardlabs.dethsquare.Transform; import com.ezardlabs.dethsquare.Vector2; public class CameraMovement extends Script { private FollowType followType; private Transform target; private...
src/main/java/com/ezardlabs/lostsector/objects/CameraMovement.java
package com.ezardlabs.lostsector.objects; import com.ezardlabs.dethsquare.Screen; import com.ezardlabs.dethsquare.Script; import com.ezardlabs.dethsquare.Transform; import com.ezardlabs.dethsquare.Vector2; public class CameraMovement extends Script { private int followType = 0; private Transform target; private Ve...
Allow camera follow type to be specified in the constructor
src/main/java/com/ezardlabs/lostsector/objects/CameraMovement.java
Allow camera follow type to be specified in the constructor
<ide><path>rc/main/java/com/ezardlabs/lostsector/objects/CameraMovement.java <ide> import com.ezardlabs.dethsquare.Vector2; <ide> <ide> public class CameraMovement extends Script { <del> private int followType = 0; <add> private FollowType followType; <ide> private Transform target; <ide> private Vector2 offset = ne...
Java
mit
82235d9fd120aae20f68d9cd236587ba86a30f44
0
classgraph/classgraph,lukehutch/fast-classpath-scanner,lukehutch/fast-classpath-scanner
/* * This file is part of ClassGraph. * * Author: Luke Hutchison * * Hosted at: https://github.com/classgraph/classgraph * * -- * * The MIT License (MIT) * * Copyright (c) 2019 Luke Hutchison * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated *...
src/main/java/io/github/classgraph/ClassInfo.java
/* * This file is part of ClassGraph. * * Author: Luke Hutchison * * Hosted at: https://github.com/classgraph/classgraph * * -- * * The MIT License (MIT) * * Copyright (c) 2019 Luke Hutchison * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated *...
Use 'fields' instead of 'methods' in getXXXFieldInfo() JavaDoc.
src/main/java/io/github/classgraph/ClassInfo.java
Use 'fields' instead of 'methods' in getXXXFieldInfo() JavaDoc.
<ide><path>rc/main/java/io/github/classgraph/ClassInfo.java <ide> * {@link IllegalArgumentException}. <ide> * <ide> * <p> <del> * By default only returns information for public methods, unless {@link ClassGraph#ignoreFieldVisibility()} was <add> * By default only returns information for public fi...
Java
apache-2.0
5d4b7feb7a9db620af5f73ce9b102600d34e7f22
0
strapdata/elassandra,vroyer/elassandra,strapdata/elassandra,strapdata/elassandra,strapdata/elassandra,vroyer/elassandra,strapdata/elassandra,vroyer/elassandra
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.core.security.action.role; import org.elastic...
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequestTests.java
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.core.security.action.role; import org.elastic...
Fix PutRoleRequestTests Closes #37662
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequestTests.java
Fix PutRoleRequestTests
<ide><path>-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/action/role/PutRoleRequestTests.java <ide> assertThat(copy.roleDescriptor(), equalTo(original.roleDescriptor())); <ide> } <ide> <del> @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/37662") <del> pub...
Java
agpl-3.0
a65be268b056ff13a3dd862fea37329d0240c347
0
exomiser/Exomiser,exomiser/Exomiser
package de.charite.compbio.exomiser.core.prioritisers; import de.charite.compbio.exomiser.core.model.Gene; import de.charite.compbio.exomiser.core.prioritisers.util.ScoreDistribution; import de.charite.compbio.exomiser.core.prioritisers.util.ScoreDistributionContainer; import hpo.HPOutils; import java.io.BufferedReade...
exomiser-core/src/main/java/de/charite/compbio/exomiser/core/prioritisers/PhenixPriority.java
package de.charite.compbio.exomiser.core.prioritisers; import de.charite.compbio.exomiser.core.model.Gene; import de.charite.compbio.exomiser.core.prioritisers.util.ScoreDistribution; import de.charite.compbio.exomiser.core.prioritisers.util.ScoreDistributionContainer; import hpo.HPOutils; import java.io.BufferedReade...
Commit for issue #49 PhenixPriority now dies immediately and with an informative message if no HPO terms are supplied.
exomiser-core/src/main/java/de/charite/compbio/exomiser/core/prioritisers/PhenixPriority.java
Commit for issue #49 PhenixPriority now dies immediately and with an informative message if no HPO terms are supplied.
<ide><path>xomiser-core/src/main/java/de/charite/compbio/exomiser/core/prioritisers/PhenixPriority.java <ide> */ <ide> public PhenixPriority(String scoreDistributionFolder, Set<String> hpoQueryTermIds, boolean symmetric) { <ide> <add> if (hpoQueryTermIds.isEmpty()) { <add> throw new PhenixEx...
Java
mit
010745c413cd5f61dc89e239b0738b3e9b53eb47
0
int02h/tellon,praetoriandroid/tellon,int02h/tellon,praetoriandroid/tellon
package com.dpforge.tellon.core.parser; import org.junit.Test; import java.util.List; import java.util.Map; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; public class WatcherConstantParserTest { @Test public void singleLiteral() { Map<String, List<String>> map = p...
tellon-core/src/test/java/com/dpforge/tellon/core/parser/WatcherConstantParserTest.java
package com.dpforge.tellon.core.parser; import org.junit.Test; import java.util.List; import java.util.Map; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; public class WatcherConstantParserTest { @Test public void singleLiteral() { Map<String, List<String>> map = p...
unit test
tellon-core/src/test/java/com/dpforge/tellon/core/parser/WatcherConstantParserTest.java
unit test
<ide><path>ellon-core/src/test/java/com/dpforge/tellon/core/parser/WatcherConstantParserTest.java <ide> "}"); <ide> assertEquals("Hello", map.get("A").get(0)); <ide> assertEquals("Hello", map.get("B").get(0)); <add> } <add> <add> @Test <add> public void referenceToMultiple() { <...
Java
apache-2.0
error: pathspec 'com/planet_ink/coffee_mud/Abilities/Traps/Trap_Needle.java' did not match any file(s) known to git
d7c636a094caaab217b5ebe5909c75bd1d74a75e
1
Tycheo/coffeemud,sfunk1x/CoffeeMud,sfunk1x/CoffeeMud,oriontribunal/CoffeeMud,Tycheo/coffeemud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,MaxRau/CoffeeMud,bozimmerman/CoffeeMud,sfunk1x/CoffeeMud,MaxRau/CoffeeMud,oriontribunal/CoffeeMud,Tycheo/coffeemud,MaxRau/CoffeeMud,oriontribunal/CoffeeMud,sfunk1x/CoffeeMud,oriontri...
package com.planet_ink.coffee_mud.Abilities.Traps; public class Trap_Needle { }
com/planet_ink/coffee_mud/Abilities/Traps/Trap_Needle.java
git-svn-id: svn://192.168.1.10/public/CoffeeMud@2233 0d6f1817-ed0e-0410-87c9-987e46238f29
com/planet_ink/coffee_mud/Abilities/Traps/Trap_Needle.java
<ide><path>om/planet_ink/coffee_mud/Abilities/Traps/Trap_Needle.java <add>package com.planet_ink.coffee_mud.Abilities.Traps; <add> <add>public class Trap_Needle <add>{ <add>}
JavaScript
apache-2.0
c8895b2bea8b95bf811ce0455bf8b39982ebefe2
0
bryce-richards/dot-planner,bryce-richards/dot-planner,bryce-richards/dot-planner,bryce-richards/dot-planner
$("#project-details").hide(); //Global variable which will become the geoJSON layer var geoJSON; //Global variable which will represent the layer at the top of the map(layer that has been clicked on) so that it can be hidden var layerID; //Creating the map with mapbox (view coordinates are downtown Los Angeles) // v...
public/javascripts/map.js
$("#project-details").hide(); //Global variable which will become the geoJSON layer var geoJSON; //Global variable which will represent the layer at the top of the map(layer that has been clicked on) so that it can be hidden var layerID; //Creating the map with mapbox (view coordinates are downtown Los Angeles) // v...
working on radius tool
public/javascripts/map.js
working on radius tool
<ide><path>ublic/javascripts/map.js <ide> <ide> // Creating the map with mapbox (view coordinates are downtown Los Angeles) <ide> var map = L.mapbox.map('map', { <del> <ide> layers: [imageryLayer] <ide> }); <ide> var imageryLayer = L.tileLayer('http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapS...
Java
mit
ceaf1805524ed56147458c68d042455ae549175e
0
PrinceOfAmber/inventory-tweaks,Kobata/inventory-tweaks,mrammy/inventory-tweaks,PrinceOfAmber/inventory-tweaks,mrammy/inventory-tweaks
package invtweaks; import invtweaks.api.IItemTreeItem; import invtweaks.api.SortingMethod; import invtweaks.api.container.ContainerSection; import invtweaks.container.IContainerManager; import invtweaks.container.ContainerSectionManager; import net.minecraft.client.Minecraft; import net.minecraft.inventory.Slot; impor...
src/main/java/invtweaks/InvTweaksHandlerSorting.java
package invtweaks; import invtweaks.api.IItemTreeItem; import invtweaks.api.SortingMethod; import invtweaks.api.container.ContainerSection; import invtweaks.container.IContainerManager; import invtweaks.container.ContainerSectionManager; import net.minecraft.client.Minecraft; import net.minecraft.inventory.Slot; impor...
Fix error in building rules for horiz/vert mode.
src/main/java/invtweaks/InvTweaksHandlerSorting.java
Fix error in building rules for horiz/vert mode.
<ide><path>rc/main/java/invtweaks/InvTweaksHandlerSorting.java <ide> } <ide> <ide> // Create rule <del> String constraint = row + column + "-" + (char) (row - 1 + thisSpaceHeight) + (char) (column - 1 + thisSpaceWidth); <add> String constraint = String.format("%c%c-%c%c", ...
Java
epl-1.0
b0aea307301907059ea1d82ca39d7d257d28e1c6
0
opendaylight/yangtools,opendaylight/yangtools
/* * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package or...
parser/yang-parser-reactor/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/reactor/ReactorStmtCtx.java
/* * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package or...
Trigger onStatementAdded() for replicas When a statement is introduced through StmtContext.replicaAsChildOf(), the corresponding statement support should be notified of this fact, so it can properly do its thing. This makes it consistent with Mutable.childCopyOf(). JIRA: YANGTOOLS-1386 Change-Id: Ic947ea5fc822a29ff91...
parser/yang-parser-reactor/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/reactor/ReactorStmtCtx.java
Trigger onStatementAdded() for replicas
<ide><path>arser/yang-parser-reactor/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/reactor/ReactorStmtCtx.java <ide> import org.opendaylight.yangtools.yang.parser.spi.meta.CopyType; <ide> import org.opendaylight.yangtools.yang.parser.spi.meta.EffectiveStatementState; <ide> import org.opendaylight.yangtools....
Java
apache-2.0
ebfe2a004bc091195fa9ae6d25a6b87827af861c
0
webbukkit/dynmap,KovuTheHusky/dynmap,webbukkit/dynmap,webbukkit/dynmap,mg-1999/dynmap,webbukkit/dynmap
package org.dynmap; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Constructor; import java.net.InetAddress; import java.net.UnknownHostException...
src/main/java/org/dynmap/DynmapPlugin.java
package org.dynmap; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Constructor; import java.net.InetAddress; import java.net.UnknownHostException...
Add bukkit bug workaround (http://leaky.bukkit.org/issues/1227) - piston exceptions
src/main/java/org/dynmap/DynmapPlugin.java
Add bukkit bug workaround (http://leaky.bukkit.org/issues/1227) - piston exceptions
<ide><path>rc/main/java/org/dynmap/DynmapPlugin.java <ide> if(event.isCancelled()) <ide> return; <ide> Block b = event.getBlock(); <del> /* Avoid bogus piston events from Bukkit */ <del> if((b.getType() != Material.PISTON_BASE) && (b.getT...
Java
apache-2.0
283bd92305f8f0e391119dc27c10da42f858795a
0
RackerWilliams/xercesj,ronsigal/xerces,RackerWilliams/xercesj,jimma/xerces,RackerWilliams/xercesj,jimma/xerces,jimma/xerces,ronsigal/xerces,ronsigal/xerces
/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999,2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of...
src/org/apache/xerces/framework/XMLDTDScanner.java
/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999,2000 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of...
put back in code that was inadvertently lost in 1.6 and which allows xml:space to be declared as only having one of the two possible values git-svn-id: 21df804813e9d3638e43477f308dd0be51e5f30f@315930 13f79535-47bb-0310-9956-ffa450edef68
src/org/apache/xerces/framework/XMLDTDScanner.java
put back in code that was inadvertently lost in 1.6 and which allows xml:space to be declared as only having one of the two possible values
<ide><path>rc/org/apache/xerces/framework/XMLDTDScanner.java <ide> if (attDefType == XMLAttributeDecl.TYPE_ENUMERATION) { <ide> int index = attDefEnumeration; <ide> if (index != -1) { <del> ok = fStringPool.stringListLength(index) == 2 && <a...
Java
apache-2.0
77c6d31553d0e23f45032e700ca4a8c398240e1e
0
dbrimley/hazelcast,dsukhoroslov/hazelcast,dsukhoroslov/hazelcast,mdogan/hazelcast,Donnerbart/hazelcast,mesutcelik/hazelcast,emre-aydin/hazelcast,tufangorel/hazelcast,mesutcelik/hazelcast,dbrimley/hazelcast,emrahkocaman/hazelcast,Donnerbart/hazelcast,juanavelez/hazelcast,emre-aydin/hazelcast,tufangorel/hazelcast,tkounti...
/* * Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
hazelcast-client/src/main/java/com/hazelcast/client/spi/impl/ClientClusterServiceImpl.java
/* * Copyright (c) 2008-2013, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
client hangs after shutdown fixes #issue821
hazelcast-client/src/main/java/com/hazelcast/client/spi/impl/ClientClusterServiceImpl.java
client hangs after shutdown fixes #issue821
<ide><path>azelcast-client/src/main/java/com/hazelcast/client/spi/impl/ClientClusterServiceImpl.java <ide> private final boolean redoOperation; <ide> private final Credentials credentials; <ide> private volatile ClientPrincipal principal; <add> private volatile boolean active = false; <ide> <ide> pu...
Java
lgpl-2.1
966a4c282204e954266952532eeebeb285712941
0
baranovRP/functional-tests,TheNoise/functional-tests,dmitryakushev/JTalks,johnnybigfoot/FTests,jtalks-org/functional-tests,DentonA/functional-tests
package org.jtalks.tests.jcommune; import org.jtalks.tests.jcommune.common.JCommuneSeleniumTest; import org.openqa.selenium.By; import org.openqa.selenium.NoSuchElementException; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.Assert; import org.testng.annotat...
functional-tests-jcommune/src/test/java/org/jtalks/tests/jcommune/TopicEditValidationTCJC10.java
package org.jtalks.tests.jcommune; import org.jtalks.tests.jcommune.common.JCommuneSeleniumTest; import org.openqa.selenium.By; import org.openqa.selenium.NoSuchElementException; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.Assert; import org.testng.annotat...
clean
functional-tests-jcommune/src/test/java/org/jtalks/tests/jcommune/TopicEditValidationTCJC10.java
clean
<ide><path>unctional-tests-jcommune/src/test/java/org/jtalks/tests/jcommune/TopicEditValidationTCJC10.java <ide> @Test(priority = 1) <ide> @Parameters({"app-url", "uUsername", "uPassword"}) <ide> public void checkBranchesListTest(String appUrl, String username, String password) { <del> driver = new FirefoxDriver();...
Java
apache-2.0
2b241f137c30c401380e74f6d96f0e6f2a8cf95e
0
cefolger/needsmoredojo,cefolger/needsmoredojo
package com.chrisfolger.needsmoredojo.intellij.reference; import com.chrisfolger.needsmoredojo.core.amd.DefineResolver; import com.intellij.lang.javascript.psi.*; import com.intellij.openapi.util.TextRange; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.psi.*; import com.intellij.psi.search.FilenameI...
src/com/chrisfolger/needsmoredojo/intellij/reference/NlsLookupReference.java
package com.chrisfolger.needsmoredojo.intellij.reference; import com.chrisfolger.needsmoredojo.core.amd.DefineResolver; import com.intellij.lang.javascript.psi.*; import com.intellij.openapi.util.TextRange; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.psi.*; import com.intellij.psi.search.FilenameI...
only load psi file once
src/com/chrisfolger/needsmoredojo/intellij/reference/NlsLookupReference.java
only load psi file once
<ide><path>rc/com/chrisfolger/needsmoredojo/intellij/reference/NlsLookupReference.java <ide> public class NlsLookupReference extends PsiReferenceBase<JSLiteralExpression> { <ide> private PsiElement qualifier; <ide> private JSIndexedPropertyAccessExpression accessor; <add> private PsiFile file; <ide> <ide> ...
Java
epl-1.0
fdbc5c1af7f09464c24432c6ca45bb45153a139f
0
rohitmohan96/ceylon-ide-eclipse,rohitmohan96/ceylon-ide-eclipse
package com.redhat.ceylon.eclipse.code.hover; /******************************************************************************* * Copyright (c) 2000, 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License ...
plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/code/hover/DocumentationHover.java
package com.redhat.ceylon.eclipse.code.hover; /******************************************************************************* * Copyright (c) 2000, 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License ...
fix #730, disable syntax highlighting when code block is not "ceylon"
plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/code/hover/DocumentationHover.java
fix #730, disable syntax highlighting when code block is not "ceylon"
<ide><path>lugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/code/hover/DocumentationHover.java <ide> @Override <ide> public void emitBlock(StringBuilder out, List<String> lines, String meta) { <ide> if (!lines.isEmpty()) { <del> if (meta == null || meta.length...
JavaScript
mit
69748a5a162ae82319ebccf1eabff382fc826d14
0
dsebastien/angularjs-webpack-starter,dsebastien/angularjs-webpack-starter,dsebastien/angularjs-webpack-starter
"use strict"; const fs = require("fs"); const path = require("path"); const seleniumFolder = "node_modules/protractor/selenium"; const seleniumFiles = fs.readdirSync(seleniumFolder); let seleniumJarFile = ""; for(let i in seleniumFiles) { if(path.extname(seleniumFiles[i]) === ".jar") { seleniumJarFile = s...
protractor.conf.js
"use strict"; let fs = require("fs"); let path = require("path"); const seleniumFolder = "node_modules/protractor/selenium"; let seleniumFiles = fs.readdirSync(seleniumFolder); let seleniumJarFile = ""; for(let i in seleniumFiles) { if(path.extname(seleniumFiles[i]) === ".jar") { seleniumJarFile = seleniu...
let the const rule the place
protractor.conf.js
let the const rule the place
<ide><path>rotractor.conf.js <ide> "use strict"; <ide> <del>let fs = require("fs"); <del>let path = require("path"); <add>const fs = require("fs"); <add>const path = require("path"); <ide> <ide> const seleniumFolder = "node_modules/protractor/selenium"; <del>let seleniumFiles = fs.readdirSync(seleniumFolder); <add>co...
Java
apache-2.0
6c1a1abe0002018d282fb366b94b00ebb366de11
0
davidmoten/RxJava,jbripley/RxJava,nurkiewicz/RxJava,AmberWhiteSky/RxJava,sunfei/RxJava,suclike/RxJava,pitatensai/RxJava,nkhuyu/RxJava,shekarrex/RxJava,hzysoft/RxJava,mattrjacobs/RxJava,aditya-chaturvedi/RxJava,Bobjoy/RxJava,yuhuayi/RxJava,devagul93/RxJava,frodoking/RxJava,ashwary/RxJava,picnic106/RxJava,Eagles2F/RxJava...
/** * Copyright 2013 Netflix, 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 t...
rxjava-core/src/main/java/rx/operators/OperationTake.java
/** * Copyright 2013 Netflix, 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 t...
take(0) subscribes to its source
rxjava-core/src/main/java/rx/operators/OperationTake.java
take(0) subscribes to its source
<ide><path>xjava-core/src/main/java/rx/operators/OperationTake.java <ide> import rx.util.AtomicObservableSubscription; <ide> import rx.util.functions.Func1; <ide> <add>import java.util.concurrent.atomic.AtomicBoolean; <ide> import java.util.concurrent.atomic.AtomicInteger; <ide> <add>import static org.junit.Assert.as...
Java
apache-2.0
e141d720598629f9081e445eefae72ef82aed6ea
0
andrewinblue/nebulae,andrewinblue/nebulae
package com.nebuale.web; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class ConsoleApplicationTests { @Test public void contextLoa...
src/test/java/com/nebuale/web/ConsoleApplicationTests.java
package com.nebuale.web; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class ConsoleApplicationTests { @Test public void contextLoa...
andrche added new test message
src/test/java/com/nebuale/web/ConsoleApplicationTests.java
andrche added new test message
<ide><path>rc/test/java/com/nebuale/web/ConsoleApplicationTests.java <ide> <ide> @Test <ide> public void testMethod02() { <add> System.out.println("Test message 02"); <ide> } <ide> <ide> }
Java
mpl-2.0
4bd9883bb51cfd58fda3a84fd9bd5c3a396a6f80
0
pamval/cfr,pamval/cfr,diogofscmariano/cfr,davidmsantos90/cfr,webdetails/cfr,jvelasques/cfr,jvelasques/cfr,bluezio/cfr,bluezio/cfr,davidmsantos90/cfr,diogofscmariano/cfr,webdetails/cfr
/*! * Copyright 2002 - 2013 Webdetails, a Pentaho company. All rights reserved. * * This software was developed by Webdetails and is provided under the terms * of the Mozilla Public License, Version 2.0, or any later version. You may not use * this file except in compliance with the license. If you need a copy of the ...
cfr-pentaho5/src/pt/webdetails/cfr/CfrApi.java
/*! * Copyright 2002 - 2013 Webdetails, a Pentaho company. All rights reserved. * * This software was developed by Webdetails and is provided under the terms * of the Mozilla Public License, Version 2.0, or any later version. You may not use * this file except in compliance with the license. If you need a copy of the ...
Adding the possibility to recursively set permissions
cfr-pentaho5/src/pt/webdetails/cfr/CfrApi.java
Adding the possibility to recursively set permissions
<ide><path>fr-pentaho5/src/pt/webdetails/cfr/CfrApi.java <ide> result = result.replaceFirst( ".", "" ); <ide> } <ide> if ( result.startsWith( "/" ) ) { <del> result = result.replaceFirst( ".", "" ); <add> result = result.replaceFirst( "/", "" ); <ide> } <ide> <ide> if ( re...
Java
mit
2be4c7873a23294d0cb4130bc0941823462f76eb
0
InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service
package org.innovateuk.ifs.competitionsetup.completionstage.populator; import org.innovateuk.ifs.competition.resource.CompetitionCompletionStage; import org.innovateuk.ifs.competition.resource.CompetitionResource; import org.innovateuk.ifs.competition.resource.CompetitionSetupSection; import org.innovateuk.ifs.competi...
ifs-web-service/ifs-competition-mgt-service/src/test/java/org/innovateuk/ifs/competitionsetup/completionstage/populator/CompletionStageViewModelPopulatorTest.java
package org.innovateuk.ifs.competitionsetup.completionstage.populator; import org.innovateuk.ifs.competition.resource.CompetitionCompletionStage; import org.innovateuk.ifs.competition.resource.CompetitionResource; import org.innovateuk.ifs.competition.resource.CompetitionSetupSection; import org.innovateuk.ifs.competi...
IFS-5972 fixing unit test.
ifs-web-service/ifs-competition-mgt-service/src/test/java/org/innovateuk/ifs/competitionsetup/completionstage/populator/CompletionStageViewModelPopulatorTest.java
IFS-5972 fixing unit test.
<ide><path>fs-web-service/ifs-competition-mgt-service/src/test/java/org/innovateuk/ifs/competitionsetup/completionstage/populator/CompletionStageViewModelPopulatorTest.java <ide> import org.innovateuk.ifs.competition.resource.CompetitionCompletionStage; <ide> import org.innovateuk.ifs.competition.resource.CompetitionRe...
Java
apache-2.0
5077e6feb0125f0ead193c532b240c37d2abc98d
0
devicehive/devicehive-java
package com.devicehive.controller; import com.devicehive.auth.AllowedKeyAction; import com.devicehive.auth.HivePrincipal; import com.devicehive.auth.HiveRoles; import com.devicehive.configuration.Constants; import com.devicehive.controller.converters.SortOrder; import com.devicehive.controller.util.ResponseFactory; im...
server/src/main/java/com/devicehive/controller/DeviceNotificationController.java
package com.devicehive.controller; import com.devicehive.auth.AllowedKeyAction; import com.devicehive.auth.HivePrincipal; import com.devicehive.auth.HiveRoles; import com.devicehive.configuration.Constants; import com.devicehive.controller.converters.SortOrder; import com.devicehive.controller.util.ResponseFactory; im...
Fixes to DNC methods
server/src/main/java/com/devicehive/controller/DeviceNotificationController.java
Fixes to DNC methods
<ide><path>erver/src/main/java/com/devicehive/controller/DeviceNotificationController.java <ide> } <ide> <ide> <add> @GET <add> @RolesAllowed({HiveRoles.CLIENT, HiveRoles.ADMIN, HiveRoles.KEY}) <add> @Path("/notification/poll") <add> public void pollMany( <add> @DefaultValue(Constants.DEFAU...
Java
apache-2.0
85848c25a940f1e42de9fabf8f2b78b6417179e8
0
PascalSchumacher/commons-lang,vanta/commons-lang,xiwc/commons-lang,weston100721/commons-lang,hollycroxton/commons-lang,apache/commons-lang,vanta/commons-lang,xiwc/commons-lang,MuShiiii/commons-lang,hollycroxton/commons-lang,byMan/naya279,longestname1/commonslang,jacktan1991/commons-lang,suntengteng/commons-lang,britter...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
src/main/java/org/apache/commons/lang3/builder/ToStringStyle.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 ...
Documentation git-svn-id: bab3daebc4e66440cbcc4aded890e63215874748@1298506 13f79535-47bb-0310-9956-ffa450edef68
src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java
Documentation
<ide><path>rc/main/java/org/apache/commons/lang3/builder/ToStringStyle.java <ide> */ <ide> private static final ThreadLocal<WeakHashMap<Object, Object>> REGISTRY = <ide> new ThreadLocal<WeakHashMap<Object,Object>>(); <add> /* <add> * Note that objects of this class are generally shared between t...
Java
apache-2.0
515b57fcc61e93512652326378b5fc0edb22ce94
0
ingenieux/beanstalker,ingenieux/beanstalker
package br.com.ingenieux.mojo.beanstalk.env; /* * 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 appli...
beanstalk-maven-plugin/src/main/java/br/com/ingenieux/mojo/beanstalk/env/ReplaceEnvironmentMojo.java
package br.com.ingenieux.mojo.beanstalk.env; /* * 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 appli...
Adding exclusion for NTARN Option Setting
beanstalk-maven-plugin/src/main/java/br/com/ingenieux/mojo/beanstalk/env/ReplaceEnvironmentMojo.java
Adding exclusion for NTARN Option Setting
<ide><path>eanstalk-maven-plugin/src/main/java/br/com/ingenieux/mojo/beanstalk/env/ReplaceEnvironmentMojo.java <ide> "aws:cloudformation:template:parameter") && curOptionSetting <ide> .getOptionName().equals("AppSource")); <ide> <add> if (!bInvalid) <add> bInvalid |= (curOptionSetting.getNamespace()....
Java
apache-2.0
d53605d9df1436307c020868f4450e6fc733aa24
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-2020 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. /* * Author: max */ package com.intellij.codeInspection.ex; import com.intellij.codeInspection.*; import com.intellij.codeInspection.util.InspectionMessage; import com.intell...
platform/lang-impl/src/com/intellij/codeInspection/ex/InspectionManagerEx.java
// Copyright 2000-2020 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. /* * Author: max */ package com.intellij.codeInspection.ex; import com.intellij.codeInspection.*; import com.intellij.codeInspection.util.InspectionMessage; import com.intell...
inspections view: simplify inspections results tab header may not work for localizations GitOrigin-RevId: 07dc5e358b4d32699defb210cc5e54b0e90707aa
platform/lang-impl/src/com/intellij/codeInspection/ex/InspectionManagerEx.java
inspections view: simplify inspections results tab header
<ide><path>latform/lang-impl/src/com/intellij/codeInspection/ex/InspectionManagerEx.java <ide> import com.intellij.openapi.wm.ToolWindowId; <ide> import com.intellij.openapi.wm.ToolWindowManager; <ide> import com.intellij.psi.PsiElement; <del>import com.intellij.ui.content.*; <add>import com.intellij.ui.content.Content...
Java
agpl-3.0
45cdb97204ccbd247806906f19bdf37702430456
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
29ccd72a-2e61-11e5-9284-b827eb9e62be
hello.java
29c74706-2e61-11e5-9284-b827eb9e62be
29ccd72a-2e61-11e5-9284-b827eb9e62be
hello.java
29ccd72a-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>29c74706-2e61-11e5-9284-b827eb9e62be <add>29ccd72a-2e61-11e5-9284-b827eb9e62be
Java
mit
1d3ce4bb9c0be84055a8cf45098e28e2ebbe0f60
0
we4sz/DAT076,we4sz/DAT076
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.chalmers.dat076.moviefinder.controller; import edu.chalmers.dat076.moviefinder.model.User; import edu.chalmers.dat076.movi...
MovieFinder/src/main/java/edu/chalmers/dat076/moviefinder/controller/LoginController.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.chalmers.dat076.moviefinder.controller; import edu.chalmers.dat076.moviefinder.model.User; import edu.chalmers.dat076.movi...
Changed logout to not destroy session. Destroying the session on logout breaks the csrf-token, as the value is stored by spring-security in the session. Changed it instead to just unset the "user" property.
MovieFinder/src/main/java/edu/chalmers/dat076/moviefinder/controller/LoginController.java
Changed logout to not destroy session.
<ide><path>ovieFinder/src/main/java/edu/chalmers/dat076/moviefinder/controller/LoginController.java <ide> @RequestMapping(value = "/logout", method = RequestMethod.POST) <ide> @ResponseStatus(value = HttpStatus.OK) <ide> public void logout(HttpSession s) { <del> s.invalidate(); <add> s.removeA...
Java
apache-2.0
81d79cd1a938b654ccff38197a1a59c3a0ee3f2a
0
dataArtisans/cascading-flink
/* * Copyright 2015 data Artisans 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 agreed...
src/main/java/com/dataartisans/flink/cascading/planner/FlinkFlowStepJob.java
/* * Copyright 2015 data Artisans 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 agreed...
Fix project after commit 0ee0c1f on apache/flink
src/main/java/com/dataartisans/flink/cascading/planner/FlinkFlowStepJob.java
Fix project after commit 0ee0c1f on apache/flink
<ide><path>rc/main/java/com/dataartisans/flink/cascading/planner/FlinkFlowStepJob.java <ide> import scala.concurrent.Await; <ide> import scala.concurrent.duration.FiniteDuration; <ide> <del>import java.io.File; <ide> import java.io.IOException; <ide> import java.net.URISyntaxException; <add>import java.net.URL; <ide> ...
Java
unlicense
f271a707e67ab0fbf5e5c874877f70464da25d48
0
PatandFioneTakeAI/Bags-and-Weights
package heaney.lebold.bagsandweights; import heaney.lebold.bagsandweights.constraints.BagFilledConstraint; import heaney.lebold.bagsandweights.constraints.IConstraint; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.ut...
heaney/lebold/bagsandweights/BagsAndWeights.java
package heaney.lebold.bagsandweights; import heaney.lebold.bagsandweights.constraints.BagFilledConstraint; import heaney.lebold.bagsandweights.constraints.IConstraint; import java.io.File; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.ut...
Commented LCV
heaney/lebold/bagsandweights/BagsAndWeights.java
Commented LCV
<ide><path>eaney/lebold/bagsandweights/BagsAndWeights.java <ide> <ide> /* Order weights based on heuristic/forward checking */ <ide> private void applyLCVHeuristic(Bag bag, List<Weight> unsortedWeightsBase){ <add> //Get local copy of unplaced weights <ide> List<Weight> unsortedWeights = new ArrayList<Weight>(uns...
Java
apache-2.0
18848da6f0af6f89ed66a08e610a1479f6e054c1
0
calvinjia/tachyon,ShailShah/alluxio,PasaLab/tachyon,aaudiber/alluxio,bf8086/alluxio,Reidddddd/alluxio,EvilMcJerkface/alluxio,apc999/alluxio,jswudi/alluxio,Alluxio/alluxio,Reidddddd/alluxio,bf8086/alluxio,apc999/alluxio,jswudi/alluxio,riversand963/alluxio,Alluxio/alluxio,wwjiang007/alluxio,aaudiber/alluxio,madanadit/all...
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the โ€œLicenseโ€). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
tests/src/test/java/alluxio/master/file/FileSystemMasterIntegrationTest.java
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the โ€œLicenseโ€). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
fix integration
tests/src/test/java/alluxio/master/file/FileSystemMasterIntegrationTest.java
fix integration
<ide><path>ests/src/test/java/alluxio/master/file/FileSystemMasterIntegrationTest.java <ide> @Rule <ide> public LocalAlluxioClusterResource mLocalAlluxioClusterResource = <ide> new LocalAlluxioClusterResource(1000, Constants.GB, <del> Constants.SECURITY_AUTHENTICATION_TYPE, AuthType.SIMPLE.getAuthNam...
Java
apache-2.0
0f771cba10591c5fbf0001a5d874eca8dcfecade
0
nasrallahmounir/Footlights,nasrallahmounir/Footlights,trombonehero/Footlights,nasrallahmounir/Footlights,trombonehero/Footlights,nasrallahmounir/Footlights,trombonehero/Footlights,trombonehero/Footlights
/* * Copyright 2011 Jonathan Anderson * * 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...
Client/Core/src/main/java/me/footlights/core/data/File.java
/* * Copyright 2011 Jonathan Anderson * * 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...
Only count content bytes (not total block sizes).
Client/Core/src/main/java/me/footlights/core/data/File.java
Only count content bytes (not total block sizes).
<ide><path>lient/Core/src/main/java/me/footlights/core/data/File.java <ide> this.ciphertext = new ArrayList<EncryptedBlock>(ciphertext); <ide> <ide> long len = 0; <del> for (Block b : plaintext) len += b.bytes(); <add> for (Block b : plaintext) len += b.content().remaining(); <ide> this.stat = Stat.apply(heade...
Java
apache-2.0
07dc3297e26f6534304779a87fa18cf5d37e6574
0
csev/evaluation,buckett/evaluation,csev/evaluation,sakaiproject/evaluation,buckett/evaluation,sakaiproject/evaluation,sakaiproject/evaluation,buckett/evaluation,csev/evaluation
/* * Created on 23 Jan 2007 */ package org.sakaiproject.evaluation.tool; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.sakaiproject.evaluation.logic.EvalExternalLogic; import org.sakaiproject.evaluation.logic.EvalItemsLogic; import org.sakaiproject.evaluation.logic....
tool/src/java/org/sakaiproject/evaluation/tool/LocalTemplateLogic.java
/* * Created on 23 Jan 2007 */ package org.sakaiproject.evaluation.tool; import java.util.Date; import java.util.List; import org.sakaiproject.evaluation.logic.EvalExternalLogic; import org.sakaiproject.evaluation.logic.EvalItemsLogic; import org.sakaiproject.evaluation.logic.EvalTemplatesLogic; import o...
null guard for fetchTemplateItems git-svn-id: 6eed24e287f84bf0ab23ca377a3e397011128a6f@3217 fdecad78-55fc-0310-b1b2-d7d25cf747c9
tool/src/java/org/sakaiproject/evaluation/tool/LocalTemplateLogic.java
null guard for fetchTemplateItems
<ide><path>ool/src/java/org/sakaiproject/evaluation/tool/LocalTemplateLogic.java <ide> */ <ide> package org.sakaiproject.evaluation.tool; <ide> <add>import java.util.ArrayList; <ide> import java.util.Date; <ide> import java.util.List; <ide> <ide> } <ide> <ide> public List fetchTemplateItems(Long templateId) { <...
Java
apache-2.0
e99828165ab8a5f23c7f963e6c8c8ec01a7dc20e
0
lievendoclo/Valkyrie-RCP,lievendoclo/Valkyrie-RCP,lievendoclo/Valkyrie-RCP
/* * Copyright 2002-2008 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 appl...
valkyrie-rcp-integrations/valkyrie-rcp-vldocking/src/main/java/org/valkyriercp/application/docking/VLDockingApplicationPageFactory.java
/* * Copyright 2002-2008 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 appl...
configurable aspect added to class
valkyrie-rcp-integrations/valkyrie-rcp-vldocking/src/main/java/org/valkyriercp/application/docking/VLDockingApplicationPageFactory.java
configurable aspect added to class
<ide><path>alkyrie-rcp-integrations/valkyrie-rcp-vldocking/src/main/java/org/valkyriercp/application/docking/VLDockingApplicationPageFactory.java <ide> */ <ide> package org.valkyriercp.application.docking; <ide> <add>import com.vlsolutions.swing.docking.DockingContext; <add>import org.apache.commons.logging.Log; <add...
Java
apache-2.0
4f1c349b7865f5fa3d00b924c262174a69c736f5
0
MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim
package verification.platu.stategraph; import java.io.BufferedWriter; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.PrintStream; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; impor...
gui/src/verification/platu/stategraph/StateGraph.java
package verification.platu.stategraph; import java.io.BufferedWriter; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.PrintStream; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; impor...
Minor fix in printing debugging messages
gui/src/verification/platu/stategraph/StateGraph.java
Minor fix in printing debugging messages
<ide><path>ui/src/verification/platu/stategraph/StateGraph.java <ide> } <ide> // find newly enabled transition(s) based on the updated markings and variables <ide> if (Options.getDebugMode()) { <del>// System.out.println("Finding newly enabled transitions at updateEnabledTranVector."); <add>// ...
Java
apache-2.0
ae741d7a9c903011b48485422b7f2c517a40304e
0
alexandrnikitin/aerospike-client-java,Stratio/aerospike-client-java,pradeepsrinivasan/aerospike-client-java,pradeepsrinivasan/aerospike-client-java,alexandrnikitin/aerospike-client-java,wgpshashank/aerospike-client-java,wgpshashank/aerospike-client-java,Stratio/aerospike-client-java
/******************************************************************************* * Copyright 2012-2014 by Aerospike. * * 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...
client/src/com/aerospike/client/policy/RecordExistsAction.java
/******************************************************************************* * Copyright 2012-2014 by Aerospike. * * 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...
replace doc update
client/src/com/aerospike/client/policy/RecordExistsAction.java
replace doc update
<ide><path>lient/src/com/aerospike/client/policy/RecordExistsAction.java <ide> UPDATE_ONLY, <ide> <ide> /** <del> * Create or update record. <add> * Create or replace record. <ide> * Delete existing bins not referenced by write command bins. <ide> * Supported by Aerospike 2 server versions >= 2.7.5 and <ide>...
Java
apache-2.0
3bc1121b9d6f73f601776a20e6ec5b0e1ea0f4b2
0
spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework
/* * Copyright 2002-2016 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-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandler.java
/* * Copyright 2002-2016 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...
Check both connection and connected flag Issue: SPR-14703
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandler.java
Check both connection and connected flag
<ide><path>pring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompBrokerRelayMessageHandler.java <ide> public ListenableFuture<Void> forward(final Message<?> message, final StompHeaderAccessor accessor) { <ide> TcpConnection<byte[]> conn = this.tcpConnection; <ide> <del> if (!this.isStompCo...
Java
epl-1.0
78ccd0fe2c1629d1fe8c0724b33b82564742acda
0
amolenaar/fitnesse,rbevers/fitnesse,hansjoachim/fitnesse,amolenaar/fitnesse,rbevers/fitnesse,rbevers/fitnesse,hansjoachim/fitnesse,hansjoachim/fitnesse,jdufner/fitnesse,jdufner/fitnesse,amolenaar/fitnesse,jdufner/fitnesse
// Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved. // Released under the terms of the CPL Common Public License version 1.0. package fitnesse.http; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.text.SimpleDateFormat; import java.util.HashMap; import java.util....
src/fitnesse/http/Response.java
// Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved. // Released under the terms of the CPL Common Public License version 1.0. package fitnesse.http; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.text.SimpleDateFormat; import java.util.HashMap; import java.util....
Quick fix to make style not break on Chrome. See #283
src/fitnesse/http/Response.java
Quick fix to make style not break on Chrome. See #283
<ide><path>rc/fitnesse/http/Response.java <ide> public final String makeHttpHeaders() { <ide> if (!withHttpHeaders) <ide> return ""; <del> addStandardHeaders(); <add> if (status != 304) { <add> addStandardHeaders(); <add> } <ide> StringBuffer text = new StringBuffer(); <ide> if (!Forma...
Java
apache-2.0
d3b822645726711eb1600277907ea5fcf5d63bda
0
jackyglony/msgpack-java,suzukaze/msgpack-java,mikolak-net/msgpack-java,xerial/msgpack-java,dongjiaqiang/msgpack-java,DataDog/msgpack-java,xuwei-k/msgpack-java,jackyglony/msgpack-java,xuwei-k/msgpack-java,komamitsu/msgpack-java,komamitsu/msgpack-java,dongjiaqiang/msgpack-java,muga/msgpack-java-0.7,msgpack/msgpack-java,s...
// // MessagePack for Java // // Copyright (C) 2009-2011 FURUHASHI Sadayuki // // 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....
src/main/java/org/msgpack/template/TemplateRegistry.java
// // MessagePack for Java // // Copyright (C) 2009-2011 FURUHASHI Sadayuki // // 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....
refined TemplateRegistry.java
src/main/java/org/msgpack/template/TemplateRegistry.java
refined TemplateRegistry.java
<ide><path>rc/main/java/org/msgpack/template/TemplateRegistry.java <ide> if (flist == null) { <ide> throw new NullPointerException("FieldList object is null"); <ide> } <add> <ide> buildAndRegister(null, targetClass, false, flist); <ide> } <ide> <ide> if (tmpl == null) { <ide> throw new NullPointerExc...
Java
apache-2.0
71d2d31fe6d95aaa2aa05b10c2f48e56cf5ff01e
0
dimamo5/Terasology,AWildBeard/Terasology,mertserezli/Terasology,MarcinSc/Terasology,Nanoware/Terasology,MovingBlocks/Terasology,kartikey0303/Terasology,Nanoware/Terasology,Nanoware/Terasology,Malanius/Terasology,MarcinSc/Terasology,Josharias/Terasology,frankpunx/Terasology,frankpunx/Terasology,Halamix2/Terasology,india...
/* * Copyright 2014 MovingBlocks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
engine/src/main/java/org/terasology/world/generation/WorldBuilder.java
/* * Copyright 2014 MovingBlocks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Add updating providers after producing providers
engine/src/main/java/org/terasology/world/generation/WorldBuilder.java
Add updating providers after producing providers
<ide><path>ngine/src/main/java/org/terasology/world/generation/WorldBuilder.java <ide> throw new RuntimeException("Circular dependency detected when calculating facet provider ordering for " + facet); <ide> } <ide> Set<FacetProvider> orderedProviders = Sets.newLinkedHashSet(); <add> <add> ...
Java
apache-2.0
07ee4a522b65c73c7d770b618b0454e95e9e9544
0
mbudiu-vmw/hiero,uwieder/hiero,uwieder/hiero,lalithsuresh/hiero,lalithsuresh/hiero,mbudiu-vmw/hiero,mbudiu-vmw/hiero,lalithsuresh/hiero,lalithsuresh/hiero,uwieder/hiero,mbudiu-vmw/hiero,mbudiu-vmw/hiero,uwieder/hiero,uwieder/hiero,lalithsuresh/hiero
/* * Copyright (c) 2017 VMware Inc. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 * * 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/L...
hieroplatform/src/main/java/org/hiero/utils/Randomness.java
/* * Copyright (c) 2017 VMware Inc. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 * * 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/L...
Changed Randomness to be thread safe. Removed the .getInstance() method
hieroplatform/src/main/java/org/hiero/utils/Randomness.java
Changed Randomness to be thread safe. Removed the .getInstance() method
<ide><path>ieroplatform/src/main/java/org/hiero/utils/Randomness.java <ide> import javax.annotation.Nullable; <ide> <ide> public class Randomness { <del> //@Nullable <del> //private static Randomness prg; <ide> final private MersenneTwister myPrg; <ide> <ide> public Randomness() { <ide> this.myP...
Java
mpl-2.0
1efcbef2b2bbb0074adb54c28df436ae2cda725b
0
zeromq/jeromq,fredoboulo/jeromq,trevorbernard/jeromq,c-rack/jeromq,trevorbernard/jeromq,fredoboulo/jeromq,zeromq/jeromq
/* Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file This file is part of 0MQ. 0MQ is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
src/main/java/org/zeromq/ZBeacon.java
/* Copyright (c) 2007-2014 Contributors as noted in the AUTHORS file This file is part of 0MQ. 0MQ is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or ...
Problem: beacon messages are not always filtered out for local addresses Solution: Use different technique for checking whether the sender address is local.
src/main/java/org/zeromq/ZBeacon.java
Problem: beacon messages are not always filtered out for local addresses
<ide><path>rc/main/java/org/zeromq/ZBeacon.java <ide> <ide> import java.io.IOException; <ide> import java.net.DatagramSocket; <del>import java.net.Inet4Address; <ide> import java.net.InetAddress; <ide> import java.net.InetSocketAddress; <del>import java.net.NetworkInterface; <ide> import java.net.SocketAddress; <ide> ...
Java
apache-2.0
5e175fc190ef313dbde52961436e4bd2556a97ce
0
endeavourhealth/EDS,endeavourhealth/EDS,endeavourhealth/EDS,endeavourhealth/EDS,endeavourhealth/EDS
package org.endeavourhealth.hl7; import ca.uhn.hl7v2.DefaultHapiContext; import ca.uhn.hl7v2.HL7Exception; import ca.uhn.hl7v2.HapiContext; import ca.uhn.hl7v2.model.Message; import ca.uhn.hl7v2.model.v23.datatype.CX; import ca.uhn.hl7v2.model.v23.group.ADT_A44_PATIENT; import ca.uhn.hl7v2.model.v23.segment.MRG; impor...
src/utility-hl7-checker/src/main/java/org/endeavourhealth/hl7/Main.java
package org.endeavourhealth.hl7; import ca.uhn.hl7v2.DefaultHapiContext; import ca.uhn.hl7v2.HL7Exception; import ca.uhn.hl7v2.HapiContext; import ca.uhn.hl7v2.model.Message; import ca.uhn.hl7v2.model.v23.datatype.CX; import ca.uhn.hl7v2.model.v23.group.ADT_A44_PATIENT; import ca.uhn.hl7v2.model.v23.segment.MRG; impor...
Fix to HL7 Checker
src/utility-hl7-checker/src/main/java/org/endeavourhealth/hl7/Main.java
Fix to HL7 Checker
<ide><path>rc/utility-hl7-checker/src/main/java/org/endeavourhealth/hl7/Main.java <ide> <ide> } else { <ide> //if we can't ignore it, we need to raise an alert because the queue will now be backing up <del> Integer lastMessageId = previousMessagesInErr...
Java
apache-2.0
99a105f272ac95b932d28bd398f13ce625db559c
0
gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas
package uk.ac.ebi.atlas.species.services; import com.google.auto.value.AutoValue; import java.util.Comparator; @AutoValue abstract class PopularSpeciesInfo { static PopularSpeciesInfo create(String species, String kingdom, int baselineExperiments, int differentialExperiments) { return new AutoValue_Popul...
base/src/main/java/uk/ac/ebi/atlas/species/services/PopularSpeciesInfo.java
package uk.ac.ebi.atlas.species.services; import com.google.auto.value.AutoValue; @AutoValue abstract class PopularSpeciesInfo { static PopularSpeciesInfo create(String species, String kingdom, int baselineExperiments, int differentialExperiments) { return new AutoValue_PopularSpeciesInfo(species, kingdom...
Add a Comparator instead of implementing Comparable We then can use this class with FluentIterable.toSortedList.
base/src/main/java/uk/ac/ebi/atlas/species/services/PopularSpeciesInfo.java
Add a Comparator instead of implementing Comparable We then can use this class with FluentIterable.toSortedList.
<ide><path>ase/src/main/java/uk/ac/ebi/atlas/species/services/PopularSpeciesInfo.java <ide> package uk.ac.ebi.atlas.species.services; <ide> <ide> import com.google.auto.value.AutoValue; <add> <add>import java.util.Comparator; <ide> <ide> @AutoValue <ide> abstract class PopularSpeciesInfo { <ide> abstract int tota...
Java
mpl-2.0
aae88f895c70fe4ddac7d962fc6751e1a7e2eac4
0
carlwilson/veraPDF-library
package org.verapdf.model.impl.pb.cos; import org.apache.pdfbox.cos.COSFloat; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Ignore; import org.junit.Test; import org.verapdf.model.coslayer.CosReal; import org.verapdf.model.impl.BaseTest; import java.util.Random; ...
model-implementation/src/test/java/org/verapdf/model/impl/pb/cos/PBCosRealTest.java
package org.verapdf.model.impl.pb.cos; import org.apache.pdfbox.cos.COSFloat; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Ignore; import org.junit.Test; import org.verapdf.model.coslayer.CosReal; import org.verapdf.model.impl.BaseTest; import java.util.Random; ...
Fixes for CosReal test set
model-implementation/src/test/java/org/verapdf/model/impl/pb/cos/PBCosRealTest.java
Fixes for CosReal test set
<ide><path>odel-implementation/src/test/java/org/verapdf/model/impl/pb/cos/PBCosRealTest.java <ide> <ide> @Test <ide> // @carlwilson temporarily ignored as it's a "boxing box" issue <del> @Ignore public void testGetIntegerMethod() { <del> Assert.assertEquals(Long.valueOf(expected + ""), ((CosReal) ac...
Java
mit
c71a071fe719fde4d7ceed3b187d06b910138c5c
0
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
package com.elmakers.mine.bukkit.magic; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; imp...
Magic/src/main/java/com/elmakers/mine/bukkit/magic/MagicController.java
package com.elmakers.mine.bukkit.magic; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; imp...
I do not know why this didn't give an error before, nor why IntelliJ didn't put these two methods together when I reformatted :\
Magic/src/main/java/com/elmakers/mine/bukkit/magic/MagicController.java
I do not know why this didn't give an error before, nor why IntelliJ didn't put these two methods together when I reformatted :\
<ide><path>agic/src/main/java/com/elmakers/mine/bukkit/magic/MagicController.java <ide> return Wand.createBrushItem(brushKey, this, null, true); <ide> } <ide> <add> @Nullable <add> @Override <add> public ItemStack createBrushItem(String materialKey, com.elmakers.mine.bukkit.api.wand.Wand wand, boo...
Java
apache-2.0
f8eb7d36fc5e5389ab10f8fda25c1ddd25b078d2
0
Bananeweizen/cgeo,kumy/cgeo,tobiasge/cgeo,cgeo/cgeo,pstorch/cgeo,pstorch/cgeo,rsudev/c-geo-opensource,matej116/cgeo,kumy/cgeo,tobiasge/cgeo,auricgoldfinger/cgeo,rsudev/c-geo-opensource,tobiasge/cgeo,matej116/cgeo,S-Bartfast/cgeo,auricgoldfinger/cgeo,cgeo/cgeo,S-Bartfast/cgeo,cgeo/cgeo,S-Bartfast/cgeo,rsudev/c-geo-opens...
package cgeo.geocaching.connector.trackable; import org.xml.sax.InputSource; import java.util.List; import cgeo.geocaching.models.Trackable; import cgeo.geocaching.test.AbstractResourceInstrumentationTestCase; import cgeo.geocaching.test.R; import static org.assertj.core.api.Java6Assertions.assertThat; /** * test...
tests/src-android/cgeo/geocaching/connector/trackable/GeokretyConnectorTest.java
package cgeo.geocaching.connector.trackable; import org.xml.sax.InputSource; import java.util.List; import cgeo.geocaching.models.Trackable; import cgeo.geocaching.test.AbstractResourceInstrumentationTestCase; import cgeo.geocaching.test.R; import static org.assertj.core.api.Java6Assertions.assertThat; /** * test...
Reorder GeoKrety tests Since GK website upgrade, GK are received in another order
tests/src-android/cgeo/geocaching/connector/trackable/GeokretyConnectorTest.java
Reorder GeoKrety tests
<ide><path>ests/src-android/cgeo/geocaching/connector/trackable/GeokretyConnectorTest.java <ide> // * GK website always return list in the same order <ide> final List<Trackable> trackables = new GeokretyConnector().searchTrackables("OX5BRQK"); <ide> assertThat(trackables).hasSize(2); <del> ...
Java
mit
45eba2b989308aead4e5957f2c0c77b31d8b5a67
0
EvilMcJerkface/jessy,EvilMcJerkface/jessy,EvilMcJerkface/jessy,EvilMcJerkface/jessy,EvilMcJerkface/jessy,EvilMcJerkface/jessy
package fr.inria.jessy.transaction.termination; import static fr.inria.jessy.transaction.ExecutionHistory.TransactionType.BLIND_WRITE; import static fr.inria.jessy.transaction.TransactionState.COMMITTED; import java.io.Serializable; import java.util.HashSet; import java.util.Iterator; import java.util.List; import ja...
src/fr/inria/jessy/transaction/termination/DistributedTermination.java
package fr.inria.jessy.transaction.termination; import static fr.inria.jessy.transaction.ExecutionHistory.TransactionType.BLIND_WRITE; import static fr.inria.jessy.transaction.ExecutionHistory.TransactionType.READONLY_TRANSACTION; import static fr.inria.jessy.transaction.TransactionState.COMMITTED; import java.io.Ser...
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/regal/trunk/src/jessy@1025 334080fa-30e0-4884-a663-39494f8d70c4
src/fr/inria/jessy/transaction/termination/DistributedTermination.java
<ide><path>rc/fr/inria/jessy/transaction/termination/DistributedTermination.java <ide> package fr.inria.jessy.transaction.termination; <ide> <ide> import static fr.inria.jessy.transaction.ExecutionHistory.TransactionType.BLIND_WRITE; <del>import static fr.inria.jessy.transaction.ExecutionHistory.TransactionType.READON...
Java
apache-2.0
11f06c8189d9f694c15b51c2cf753ca2aad78fa3
0
burris/dwr,burris/dwr
/* * Copyright 2005 Joe Walker * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
demo/org/getahead/dwrdemo/clock/Clock.java
/* * Copyright 2005 Joe Walker * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
Use a scheduler rather than a special thread for the clock git-svn-id: ba1d8d5a2a2c535e023d6080c1e5c29aa0f5364e@1608 3a8262b2-faa5-11dc-8610-ff947880b6b2
demo/org/getahead/dwrdemo/clock/Clock.java
Use a scheduler rather than a special thread for the clock
<ide><path>emo/org/getahead/dwrdemo/clock/Clock.java <ide> <ide> import java.util.Collection; <ide> import java.util.Date; <add>import java.util.concurrent.ScheduledThreadPoolExecutor; <add>import java.util.concurrent.TimeUnit; <ide> <del>import javax.servlet.ServletContext; <del> <del>import org.apache.commons.loggi...
Java
apache-2.0
6a5a46783fcc40c6dd8a9957a89d29b7f41ced72
0
Hipparchus-Math/hipparchus,apache/commons-math,Hipparchus-Math/hipparchus,sdinot/hipparchus,sdinot/hipparchus,apache/commons-math,sdinot/hipparchus,apache/commons-math,sdinot/hipparchus,apache/commons-math,Hipparchus-Math/hipparchus,Hipparchus-Math/hipparchus
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
src/java/org/apache/commons/math/fraction/BigFraction.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 ...
removed an unneeded call to reduce() (the constructor already reduces the fraction) git-svn-id: 80d496c472b8b763a5e941dba212da9bf48aeceb@759678 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/commons/math/fraction/BigFraction.java
removed an unneeded call to reduce() (the constructor already reduces the fraction)
<ide><path>rc/java/org/apache/commons/math/fraction/BigFraction.java <ide> return ZERO; // normalize zero. <ide> } <ide> <del> return new BigFraction(numerator, denominator).reduce(); <add> return new BigFraction(numerator, denominator); <ide> } <ide> <ide> /**
Java
apache-2.0
60dfa34f20b5471ef5acc0880e52a78274dcb5da
0
ctripcorp/zeus,sdgdsffdsfff/zeus,sdgdsffdsfff/zeus,sdgdsffdsfff/zeus,ctripcorp/zeus,ctripcorp/zeus,sdgdsffdsfff/zeus,sdgdsffdsfff/zeus,ctripcorp/zeus
package com.ctrip.zeus.service.aop; import com.ctrip.zeus.model.entity.Group; import com.ctrip.zeus.model.entity.GroupServer; import com.ctrip.zeus.model.entity.Slb; import com.ctrip.zeus.model.entity.VirtualServer; import com.ctrip.zeus.model.transform.DefaultJsonParser; import com.ctrip.zeus.model.transform.DefaultS...
src/main/java/com/ctrip/zeus/service/aop/OperationLogAspect.java
package com.ctrip.zeus.service.aop; import com.ctrip.zeus.model.entity.Group; import com.ctrip.zeus.model.entity.Slb; import com.ctrip.zeus.model.entity.VirtualServer; import com.ctrip.zeus.model.transform.DefaultJsonParser; import com.ctrip.zeus.model.transform.DefaultSaxParser; import com.ctrip.zeus.service.aop.Oper...
update parseGroup in OperationLogAspect
src/main/java/com/ctrip/zeus/service/aop/OperationLogAspect.java
update parseGroup in OperationLogAspect
<ide><path>rc/main/java/com/ctrip/zeus/service/aop/OperationLogAspect.java <ide> package com.ctrip.zeus.service.aop; <ide> <ide> import com.ctrip.zeus.model.entity.Group; <add>import com.ctrip.zeus.model.entity.GroupServer; <ide> import com.ctrip.zeus.model.entity.Slb; <ide> import com.ctrip.zeus.model.entity.VirtualS...
Java
apache-2.0
d318e7c3307d5bbd2d0067d95f70e87cf7f2000b
0
gianpaj/mongo-java-driver,kay-kim/mongo-java-driver,rozza/mongo-java-driver,rozza/mongo-java-driver,jsonking/mongo-java-driver,jyemin/mongo-java-driver,jsonking/mongo-java-driver,PSCGroup/mongo-java-driver,jyemin/mongo-java-driver
/* * Copyright (c) 2008 - 2013 10gen, Inc. <http://10gen.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 ...
driver-compat/src/main/com/mongodb/DBCursor.java
/* * Copyright (c) 2008 - 2013 10gen, Inc. <http://10gen.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 ...
Changed visibility of getConnector method to private
driver-compat/src/main/com/mongodb/DBCursor.java
Changed visibility of getConnector method to private
<ide><path>river-compat/src/main/com/mongodb/DBCursor.java <ide> currentIterator = currentResult.getResults().iterator(); <ide> } <ide> <del> protected MongoConnector getConnector() { <add> private MongoConnector getConnector() { <ide> return getCollection().getConnector(); <ide> } <del> ...
Java
mit
80a570e26bf479af0fbe4c106480440ac332637f
0
j0ergo/react-native-maps,wannyk/react-native-maps,zigbang/react-native-maps,pjamrozowicz/react-native-maps,wannyk/react-native-maps,wannyk/react-native-maps,pjamrozowicz/react-native-maps,parkling/react-native-maps,j0ergo/react-native-maps,lelandrichardson/react-native-maps,lelandrichardson/react-native-maps,pjamrozowi...
package com.airbnb.android.react.maps; import android.content.Context; import android.content.pm.PackageManager; import android.content.res.ColorStateList; import android.graphics.Bitmap; import android.graphics.Color; import android.graphics.Point; import android.graphics.PorterDuff; import android.os.Build; import a...
lib/android/src/main/java/com/airbnb/android/react/maps/AirMapView.java
package com.airbnb.android.react.maps; import android.content.Context; import android.content.pm.PackageManager; import android.content.res.ColorStateList; import android.graphics.Bitmap; import android.graphics.Color; import android.graphics.Point; import android.graphics.PorterDuff; import android.os.Build; import a...
fix rare android crashes when map size is 0
lib/android/src/main/java/com/airbnb/android/react/maps/AirMapView.java
fix rare android crashes when map size is 0
<ide><path>ib/android/src/main/java/com/airbnb/android/react/maps/AirMapView.java <ide> // a proper camera move <ide> if (boundsToMove != null) { <ide> HashMap<String, Float> data = (HashMap<String, Float>) extraData; <del> float width = data.get("width"); <del> float height = data.get("height")...
JavaScript
mit
10f0f9a7fd773d6ebd1b7b65c9d2c264c5715cf6
0
ochakov/SpeechRecognitionPlugin,ochakov/SpeechRecognitionPlugin
var exec = require("cordova/exec"); /** attribute SpeechGrammarList grammars; attribute DOMString lang; attribute boolean continuous; attribute boolean interimResults; attribute unsigned long maxAlternatives; attribute DOMString serviceURI; */ var SpeechRecognition = function () { this.gr...
www/SpeechRecognition.js
var exec = require("cordova/exec"); /** attribute SpeechGrammarList grammars; attribute DOMString lang; attribute boolean continuous; attribute boolean interimResults; attribute unsigned long maxAlternatives; attribute DOMString serviceURI; */ var SpeechRecognition = function () { this.gr...
readyforspeech and rms events, maxAlternatives Support readyforspeech and rms events, send maxAlternatives
www/SpeechRecognition.js
readyforspeech and rms events, maxAlternatives
<ide><path>ww/SpeechRecognition.js <ide> this.onerror = null; <ide> this.onstart = null; <ide> this.onend = null; <add> this.onready = null; <add> this.onrms = null; <ide> <ide> exec(function() { <ide> console.log("initialized"); <ide> that.onstart(event); <ide> } else...
JavaScript
mit
dd696f6de8a9ac3354eb7be20475f5224dac2a4c
0
kilroy23/brackets,siddharta1337/brackets,Cartman0/brackets,chrisle/brackets,wakermahmud/brackets,ForkedRepos/brackets,chrismoulton/brackets,andrewnc/brackets,riselabs-ufba/RiPLE-HC-ExperimentalData,iamchathu/brackets,gcommetti/brackets,Wikunia/brackets,RamirezWillow/brackets,netlams/brackets,alicoding/nimble,cdot-brack...
/* * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. * * 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 ri...
test/spec/Menu-test.js
/* * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. * * 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 ri...
intermediate update
test/spec/Menu-test.js
intermediate update
<ide><path>est/spec/Menu-test.js <ide> define(function (require, exports, module) { <ide> 'use strict'; <ide> <del> var Menus, <add> var Commands, <add> Menus, <ide> SpecRunnerUtils = require("./SpecRunnerUtils.js"), <ide> Strings = require("strings"); <ide>...
Java
epl-1.0
8b0f7a54808ecd0802c6ddb5d47ac133754f6ce6
0
trajano/openid-connect,trajano/openid-connect
package net.trajano.openidconnect.jaspic.internal; import static net.trajano.auth.internal.OAuthParameters.CLIENT_ID; import static net.trajano.auth.internal.OAuthParameters.CODE; import static net.trajano.auth.internal.OAuthParameters.GRANT_TYPE; import static net.trajano.auth.internal.OAuthParameters.REDIRECT_URI; i...
openid-connect-jaspic-module/src/main/java/net/trajano/openidconnect/jaspic/internal/OAuthModule.java
package net.trajano.openidconnect.jaspic.internal; import static net.trajano.auth.internal.OAuthParameters.CLIENT_ID; import static net.trajano.auth.internal.OAuthParameters.CODE; import static net.trajano.auth.internal.OAuthParameters.GRANT_TYPE; import static net.trajano.auth.internal.OAuthParameters.REDIRECT_URI; i...
Removed more dependencies on server-auth-module
openid-connect-jaspic-module/src/main/java/net/trajano/openidconnect/jaspic/internal/OAuthModule.java
Removed more dependencies on server-auth-module
<ide><path>penid-connect-jaspic-module/src/main/java/net/trajano/openidconnect/jaspic/internal/OAuthModule.java <ide> <ide> import net.trajano.auth.internal.CipherUtil; <ide> import net.trajano.auth.internal.JsonWebKeySet; <del>import net.trajano.auth.internal.OAuthToken; <ide> import net.trajano.auth.internal.TokenCo...