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
JavaScript
mit
021f77742c7d2e9cbefecc64435bb0487fdf6e54
0
mhkeller/alphabits
var fs = require('fs'), Scraper = require('../lib/scratch-n-sniff.js'), _ = require('underscore'); var years = [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013]; var scrape = Scraper() .data(years) .url('http://www.imdb.com/event/ev0000003/', ...
examples/noms.js
var fs = require('fs'), Scraper = require('../lib/scratch-n-sniff.js'), _ = require('underscore'); var years = [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013]; var scrape = Scraper() .data(years) .url('http://www.imdb.com/event/ev0000003/', ...
format
examples/noms.js
format
<ide><path>xamples/noms.js <ide> .extractor(parsePage, function(d) { return d } ) <ide> .rateLimit(1000) <ide> .format('csv'); // Defaults to json <add> <ide> <ide> function parsePage($, year, callback, status){ <ide> console.log(status) // Print which page we're fetching
Java
apache-2.0
6fc367323a3fba3987b13cde913a2ec232c7340c
0
opensingular/singular-core,opensingular/singular-core,opensingular/singular-core,opensingular/singular-core
/* * Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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 ...
form/wicket/src/main/java/org/opensingular/form/wicket/model/AbstractSInstanceItemListaModel.java
/* * Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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 ...
adicionando chaves à condições do getObject para melhoria de legibilidade
form/wicket/src/main/java/org/opensingular/form/wicket/model/AbstractSInstanceItemListaModel.java
adicionando chaves à condições do getObject para melhoria de legibilidade
<ide><path>orm/wicket/src/main/java/org/opensingular/form/wicket/model/AbstractSInstanceItemListaModel.java <ide> @Override <ide> public I getObject() { <ide> SIList<I> iLista = getRootTarget(); <del> if (iLista == null || getIndex() < 0 || getIndex() >= iLista.size()) <add> if (iLista == ...
Java
mit
15d1229a2c6c87ebb17d194da590e06f94531154
0
cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic
package com.haxademic.core.draw.context; import com.haxademic.core.app.P; import processing.core.PApplet; import processing.core.PConstants; import processing.core.PGraphics; import processing.opengl.Texture; public class DrawUtil { /** * Clears all drawing properties so we may always have the same starting * p...
src/com/haxademic/core/draw/context/DrawUtil.java
package com.haxademic.core.draw.context; import com.haxademic.core.app.P; import processing.core.PApplet; import processing.core.PConstants; import processing.core.PGraphics; import processing.opengl.Texture; public class DrawUtil { /** * Clears all drawing properties so we may always have the same starting * p...
Add amplitude to basic mouse camera
src/com/haxademic/core/draw/context/DrawUtil.java
Add amplitude to basic mouse camera
<ide><path>rc/com/haxademic/core/draw/context/DrawUtil.java <ide> } <ide> <ide> public static void basicCameraFromMouse(PGraphics pg) { <del> pg.rotateX(P.map(P.p.mousePercentY(), 0, 1, P.PI, -P.PI)); <del> pg.rotateY(P.map(P.p.mousePercentX(), 0, 1, -P.PI, P.PI)); <add> basicCameraFromMouse(pg, 1f); <add> } <ad...
JavaScript
mpl-2.0
0496759e168f7d782329b375269feb5aa071d501
0
AdamHillier/activity-stream,mozilla/activity-stream,rlr/activity-streams,AdamHillier/activity-stream,mozilla/activity-streams,rlr/activity-streams,Mardak/activity-stream,rlr/activity-streams,sarracini/activity-stream,mozilla/activity-stream,AdamHillier/activity-stream,Mardak/activity-stream,sarracini/activity-stream,Ad...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; Cu.importGlobalProperties(["fetch"]); ChromeUtils.import("resource://gre/modules/Services.jsm"); Chr...
system-addon/lib/AboutPreferences.jsm
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; Cu.importGlobalProperties(["fetch"]); ChromeUtils.import("resource://gre/modules/Services.jsm"); Chr...
fix(preferences): Prevent "2 rows" menu item from getting cropped (#4168) Fix Bug 1457239 - Setting for number of rows is truncated making the label not readable unless you click on it
system-addon/lib/AboutPreferences.jsm
fix(preferences): Prevent "2 rows" menu item from getting cropped (#4168)
<ide><path>ystem-addon/lib/AboutPreferences.jsm <ide> <ide> // Add appropriate number of localized entries to the dropdown <ide> const menulist = createAppend("menulist", detailHbox); <add> menulist.setAttribute("crop", "none"); <ide> const menupopup = createAppend("menupopup", m...
Java
apache-2.0
8ba7a9b2dccadbab10637d93204988487590a896
0
fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode
package com.fishercoder; import com.fishercoder.solutions._207; import org.junit.BeforeClass; import org.junit.Test; import static junit.framework.Assert.assertEquals; public class _207Test { private static _207.Solution1 solution1; private static _207.Solution2 solution2; private static int[][] prerequi...
src/test/java/com/fishercoder/_207Test.java
package com.fishercoder; import com.fishercoder.solutions._207; import org.junit.BeforeClass; import org.junit.Test; import static junit.framework.Assert.assertEquals; public class _207Test { private static _207.Solution1 test; private static int[][] prerequisites; private static int numCourses; @Be...
refactor 207
src/test/java/com/fishercoder/_207Test.java
refactor 207
<ide><path>rc/test/java/com/fishercoder/_207Test.java <ide> import static junit.framework.Assert.assertEquals; <ide> <ide> public class _207Test { <del> private static _207.Solution1 test; <add> private static _207.Solution1 solution1; <add> private static _207.Solution2 solution2; <ide> private static in...
JavaScript
mit
9632cf772e6c6ae3569439e9e84068be9202df8e
0
TadeoKondrak/circleclicker,TadeoKondrak/circleclicker
if (localStorage.save) { var game = JSON.parse(atob(localStorage.save)); } else { var game = { clicks: 0, upgrades: [0, 0, 0, 0, 0, 0, 0, 0], cps: 0, upgradePrice: [15, 100, 500, 2000, 7000, 50000, 1000000, 100000000], upgradeCps: [0.1, 0.5, 4, 10, 40, 100, 400, ...
js/main.js
if (localStorage.save) { var game = JSON.parse(atob(localStorage.save)); } else { var game = { clicks: 0, upgrades: [0, 0, 0, 0, 0, 0, 0, 0], cps: 0, upgradePrice: [15, 100, 500, 2000, 7000, 50000, 1000000, 100000000], upgradeCps: [0.1, 0.5, 4, 10, 40, 100, 400, ...
Update main.js
js/main.js
Update main.js
<ide><path>s/main.js <ide> var gameLoopInterval = setInterval(gameLoop, 1000); <ide> <ide> function updateView() { <del> $("#count").html(Math.round(game.clicks)); <add> $("#count").html(Math.round(game.clicks).toLocaleString()); <ide> $("#cps").html((Math.round(game.cps * 10) / 10).toFixed(1)); <ide> ...
Java
apache-2.0
6f77c99b2da6301d252d8b6653c5416b2a2c0bf6
0
jdeppe-pivotal/geode,jdeppe-pivotal/geode,masaki-yamakawa/geode,masaki-yamakawa/geode,smgoller/geode,smgoller/geode,masaki-yamakawa/geode,jdeppe-pivotal/geode,masaki-yamakawa/geode,masaki-yamakawa/geode,masaki-yamakawa/geode,masaki-yamakawa/geode,jdeppe-pivotal/geode,smgoller/geode,smgoller/geode,smgoller/geode,jdeppe-...
/* * 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 not ...
geode-apis-compatible-with-redis/src/commonTest/java/org/apache/geode/NativeRedisTestRule.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 not ...
GEODE-9442: Add logging when Native Redis container is stopped (#6791) Authored-by: Donal Evans <83ed898a4f9a4be57e595068ada94bede01cc08a@vmware.com>
geode-apis-compatible-with-redis/src/commonTest/java/org/apache/geode/NativeRedisTestRule.java
GEODE-9442: Add logging when Native Redis container is stopped (#6791)
<ide><path>eode-apis-compatible-with-redis/src/commonTest/java/org/apache/geode/NativeRedisTestRule.java <ide> .withCommand("redis-server --maxclients " + max_clients); <ide> <ide> redisContainer.start(); <add> int mappedPort = getPort(); <ide> logger.info("Started redis containe...
Java
lgpl-2.1
0a9be109b4b376808954569ba3cd19f36988a9a1
0
concord-consortium/sensor,concord-consortium/sensor
/** * */ package org.concord.sensor.state; import java.util.ArrayList; import java.util.Vector; import org.concord.framework.data.stream.DataListener; import org.concord.framework.data.stream.DataProducer; import org.concord.framework.data.stream.DataStreamDescription; import org.concord.framework.data.stream.Data...
src/org/concord/sensor/state/SensorDataProxy.java
/** * */ package org.concord.sensor.state; import java.util.ArrayList; import java.util.Vector; import org.concord.framework.data.stream.DataListener; import org.concord.framework.data.stream.DataProducer; import org.concord.framework.data.stream.DataStreamDescription; import org.concord.framework.data.stream.Data...
Improved scanning of devices when the current device is no longer attached. git-svn-id: 3690ca8e8b93aad95f5b520fc409c00b09b1d475@19483 6e01202a-0783-4428-890a-84243c50cc2b
src/org/concord/sensor/state/SensorDataProxy.java
Improved scanning of devices when the current device is no longer attached.
<ide><path>rc/org/concord/sensor/state/SensorDataProxy.java <ide> // start two requests at once. <ide> <ide> ExperimentRequest request = experimentRequest; <add> if (sensorDataProducer != null && !sensorDataProducer.isAttached()){ <add> sensorDataProducer.close(); <add> sensorDataProducer = null; <add> } ...
Java
lgpl-2.1
129198b4fd28ff6e7bfae55d2dd4dff42de68d03
0
KengoTODA/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,sewe/spotbugs,sewe/spotbugs,sewe/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,sewe/spotbugs,KengoTODA/spotbugs
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2004-2005 University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, o...
findbugs/src/java/edu/umd/cs/findbugs/SAXBugCollectionHandler.java
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2004-2005 University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, o...
fix for null pointer warnings git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@14475 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
findbugs/src/java/edu/umd/cs/findbugs/SAXBugCollectionHandler.java
fix for null pointer warnings
<ide><path>indbugs/src/java/edu/umd/cs/findbugs/SAXBugCollectionHandler.java <ide> <ide> private static boolean DEBUG = false; <ide> <add> @SuppressWarnings("hiding") <ide> @Override <ide> public void startElement(String uri, String name, String qName, Attributes attributes) throws SAXException { <ide>...
Java
apache-2.0
a56c70c13040d6242d0d22c89470ca19dcd948c6
0
metaborg/spoofax-modelware
package org.spoofax.modelware.gmf; public class Debouncer { private final int debounceConstant = 500; private long lastText2model; private boolean text2model; private boolean textSelection; private boolean diagramSelection; public Debouncer() { text2model = true; textSelection = true; diagramSelection =...
org.spoofax.modelware.gmf/src/org/spoofax/modelware/gmf/Debouncer.java
package org.spoofax.modelware.gmf; public class Debouncer { private final int debounceConstant = 500; private long lastText2model; private boolean text2model; private boolean textSelection; private boolean diagramSelection; public Debouncer() { text2model = true; textSelection = true; diagramSelection =...
Bugfix
org.spoofax.modelware.gmf/src/org/spoofax/modelware/gmf/Debouncer.java
Bugfix
<ide><path>rg.spoofax.modelware.gmf/src/org/spoofax/modelware/gmf/Debouncer.java <ide> } <ide> <ide> public synchronized boolean text2modelAllowed() { <add> boolean result = text2model; <add> <ide> if (text2model) <ide> lastText2model = System.currentTimeMillis(); <add> else <add> text2model = true; <ide...
Java
lgpl-2.1
8cf5f10ba35c206df1a6e43e0b83f99b211bbf07
0
sbliven/biojava,sbliven/biojava,sbliven/biojava
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
src/org/biojava/bio/structure/AtomIterator.java
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
added a mechanism to get the current chain git-svn-id: ed25c26de1c5325e8eb0deed0b990ab8af8a4def@4067 7c6358e6-4a41-0410-a743-a5b2a554c398
src/org/biojava/bio/structure/AtomIterator.java
added a mechanism to get the current chain
<ide><path>rc/org/biojava/bio/structure/AtomIterator.java <ide> } <ide> else <ide> group = null ; <add> } <add> <add> /** get the chain that contains the current atom <add> * <add> * @return a Chain object <add> */ <add> public Chain getCurrentChain(){ <add> ...
Java
mit
81da5918087dc38ecb09f5bfa09b68c736d802da
0
leavjenn/Hews
package com.leavjenn.hews.ui; import android.app.Activity; import android.app.Fragment; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.design.widget.Snackbar; import android.support.v4.widget.SwipeRefreshLayout; import android.sup...
app/src/main/java/com/leavjenn/hews/ui/SearchFragment.java
package com.leavjenn.hews.ui; import android.app.Activity; import android.app.Fragment; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.design.widget.Snackbar; import android.support.v4.widget.SwipeRefreshLayout; import android.sup...
fix (getArguments() NPE): get mKeyword and other stuff from savedInstanceState.
app/src/main/java/com/leavjenn/hews/ui/SearchFragment.java
fix (getArguments() NPE): get mKeyword and other stuff from savedInstanceState.
<ide><path>pp/src/main/java/com/leavjenn/hews/ui/SearchFragment.java <ide> }); <ide> mShowPostSummary = SharedPrefsManager.getShowPostSummary(prefs, getActivity()); <ide> if (savedInstanceState != null) { <del> mKeyword = getArguments().getString(KEY_KEYWORD); <del> mDateRa...
Java
mit
028781e73b69dfb9bff7d19899f38831f7fc5aea
0
lunaticPenguin/forkJoinAndThreadComparator
package tools; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Set; import process.IProcessAdapter; /** * This class is able to store multiple results from several tests. * It gains interests when it is used with another tool able ...
src/tools/Timer.java
package tools; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Set; import process.IProcessAdapter; /** * This class is able to store multiple results from several tests. * It gains interests when it is used with another tool able ...
L'export des données fonctionne désormais de façon normale.
src/tools/Timer.java
L'export des données fonctionne désormais de façon normale.
<ide><path>rc/tools/Timer.java <ide> data = fjData; <ide> } <ide> <add> StringBuilder sbContent = new StringBuilder(); <ide> StringBuilder sbDataTitle = new StringBuilder(); <del> StringBuilder sbData = new StringBuilder(); <ide> StringBuilder sbDataHeader = new StringBuilder(); <ide> <ide> if (data....
Java
mpl-2.0
eb44fe70a43ada9e3e3afbc77e9a3eab0d144ada
0
RoyalDev/RoyalCommands,joansmith/RoyalCommands
package org.royaldev.royalcommands.rcommands.kits; import org.bukkit.enchantments.Enchantment; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; import org.royaldev.royalcommands.RoyalCommands; import org.royaldev.royalcommands.shaded.com.sk89q.util.config.ConfigurationNode; import jav...
modules/RoyalCommands/src/main/java/org/royaldev/royalcommands/rcommands/kits/Kit.java
package org.royaldev.royalcommands.rcommands.kits; import org.bukkit.enchantments.Enchantment; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.meta.ItemMeta; import org.royaldev.royalcommands.RoyalCommands; import org.royaldev.royalcommands.shaded.com.sk89q.util.config.ConfigurationNode; import jav...
Fixed: Kit enchantments
modules/RoyalCommands/src/main/java/org/royaldev/royalcommands/rcommands/kits/Kit.java
Fixed: Kit enchantments
<ide><path>odules/RoyalCommands/src/main/java/org/royaldev/royalcommands/rcommands/kits/Kit.java <ide> for (final ConfigurationNode enchantment : enchantments) { <ide> final Enchantment realEnchantment = this.getEnchantment(enchantment); <ide> if (realEnchantment == null) continue; <del>...
Java
apache-2.0
40f5bebf479b8b4feabadeb34b62f8181a18ca96
0
Sargul/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,serge-rider/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,dbeaver/dbeaver
/* * DBeaver - Universal Database Manager * Copyright (C) 2016-2016 Karl Griesser (fullref@gmail.com) * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a c...
plugins/org.jkiss.dbeaver.ext.exasol/src/org/jkiss/dbeaver/ext/exasol/model/cache/ExasolTableForeignKeyCache.java
/* * DBeaver - Universal Database Manager * Copyright (C) 2016-2016 Karl Griesser (fullref@gmail.com) * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a c...
Typo in SQL to retrieve schema FKs Former-commit-id: cad2ba5f72c14df7db0139b941f8845b53b597b8
plugins/org.jkiss.dbeaver.ext.exasol/src/org/jkiss/dbeaver/ext/exasol/model/cache/ExasolTableForeignKeyCache.java
Typo in SQL to retrieve schema FKs
<ide><path>lugins/org.jkiss.dbeaver.ext.exasol/src/org/jkiss/dbeaver/ext/exasol/model/cache/ExasolTableForeignKeyCache.java <ide> " where\r\n" + <ide> " CONSTRAINT_SCHEMA = '%s' and\r\n" + <ide> " CONSTRAINT_TYPE = 'FOREIGN KEY' \r\n" + <del> " ORDER BY 1,2...
Java
epl-1.0
e7173c706ffecc6b907157b2fdd123dafda164e5
0
gnodet/wikitext
/******************************************************************************* * Copyright (c) 2009 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 distribution, and...
org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/CopyDetailsActionTest.java
/******************************************************************************* * Copyright (c) 2009 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 distribution, and...
REOPENED - bug 296760: prepend bug prefix to text that is generated by copy details https://bugs.eclipse.org/bugs/show_bug.cgi?id=296760
org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/CopyDetailsActionTest.java
REOPENED - bug 296760: prepend bug prefix to text that is generated by copy details https://bugs.eclipse.org/bugs/show_bug.cgi?id=296760
<ide><path>rg.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/CopyDetailsActionTest.java <ide> import junit.framework.TestCase; <ide> <ide> import org.eclipse.mylyn.internal.tasks.ui.actions.CopyTaskDetailsAction; <del>import org.eclipse.mylyn.tasks.tests.connector.MockRepositoryConnector; <ide> import org...
Java
epl-1.0
018d5b24ee0c8e0055d4bad8de3a66297788c089
0
Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * 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 availabl...
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/ImageDialog.java
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * 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 availabl...
Fix Bug#251048 on behalf of Xingsheng Zhu:Setting scatter chart background with embedded image doesn't work.
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/ImageDialog.java
Fix Bug#251048 on behalf of Xingsheng Zhu:Setting scatter chart background with embedded image doesn't work.
<ide><path>hart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/ImageDialog.java <ide> { <ide> boolean complete = uriEditor.getText( ) != null <ide> && uriEditor.getText( ).trim( ).length( ) > 0; <add> URL url = null; <add> try <add> { <add> url = new URL( uriEditor.getText(...
Java
apache-2.0
f0b97ba8ca24a470b2ba010a139da8fa1b8a6a58
0
tbroyer/gwt-maven-plugin,tbroyer/gwt-maven-plugin
package net.ltgt.gwt.maven; import java.io.File; import java.util.Arrays; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Nullable; import org.apache.maven.artifact.Artifact; import org.apache.maven.model.Resourc...
src/main/java/net/ltgt/gwt/maven/TestMojo.java
package net.ltgt.gwt.maven; import java.io.File; import java.util.Arrays; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.Nullable; import org.apache.maven.artifact.Artifact; import org.apache.maven.model.Resourc...
Fix gwt:test's includes documentation wrt the default value Fixes #97
src/main/java/net/ltgt/gwt/maven/TestMojo.java
Fix gwt:test's includes documentation wrt the default value
<ide><path>rc/main/java/net/ltgt/gwt/maven/TestMojo.java <ide> * A list of &lt;include> elements specifying the tests (by pattern) that should be included in testing. When not <ide> * specified and when the <code>test</code> parameter is not specified, the default includes will be <code><br/> <ide> * &lt;inclu...
Java
lgpl-2.1
1b18c7c0a73e0d39cd4f757cb031ec9aabe10850
0
CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine
/* * Copyright (c) 2004-2005 Javlin Consulting s.r.o. All rights reserved. * * $Header$ */ package org.jetel.graph; import java.io.IOException; import java.nio.ByteBuffer; import java.util.Random; import org.jetel.data.DataRecord; import org.jetel.data.tape.DataRecordTape; import org.jetel.exception...
cloveretl.engine/src/org/jetel/graph/EdgeDebuger.java
/* * Copyright (c) 2004-2005 Javlin Consulting s.r.o. All rights reserved. * * $Header$ */ package org.jetel.graph; import java.io.IOException; import java.nio.ByteBuffer; import java.util.Random; import org.jetel.data.DataRecord; import org.jetel.data.tape.DataRecordTape; import org.jetel.exception...
MINOR:rename sampleMode to sampleData git-svn-id: 7003860f782148507aa0d02fa3b12992383fb6a5@3812 a09ad3ba-1a0f-0410-b1b9-c67202f10d70
cloveretl.engine/src/org/jetel/graph/EdgeDebuger.java
MINOR:rename sampleMode to sampleData
<ide><path>loveretl.engine/src/org/jetel/graph/EdgeDebuger.java <ide> <ide> private int debugMaxRecords; // max number of debugged records; 0 -> infinite <ide> private int debuggedRecords = 0; // currently number of debugged records <del> private boolean sampleMode; <add> private boolean sampleData; ...
JavaScript
mit
256c58299fddf039b4f1912b7b009ef7aebfe43b
0
ondrejhudek/pinboard,ondrejhudek/hudy-app,ondrejhudek/hudy-app,ondrejhudek/pinboard
import { applyMiddleware, compose, createStore } from 'redux' import { browserHistory } from 'react-router' import { syncHistory } from 'react-router-redux' import thunkMiddleware from 'redux-thunk' import createLogger from 'redux-logger' import DevTools from './../containers/DevTools' import rootReducer from '../redu...
src/main/app/scripts/store/configureStore.js
import { applyMiddleware, compose, createStore } from 'redux' import { browserHistory } from 'react-router' import { syncHistory } from 'react-router-redux' import thunkMiddleware from 'redux-thunk' import createLogger from 'redux-logger' import DevTools from './../containers/DevTools' import rootReducer from '../redu...
Next commit
src/main/app/scripts/store/configureStore.js
Next commit
<ide><path>rc/main/app/scripts/store/configureStore.js <ide> const store = finalCreateStore(rootReducer) <ide> middleware.listenForReplays(store) <ide> <del>//store.dispatch(fetchNotes()) <add>store.dispatch(fetchNotes()) <ide> store.dispatch(fetchTodos()) <ide> <ide> export default store
JavaScript
apache-2.0
95ed851341646b82860929c0c29b908e2b9df445
0
ssunkara1/bqplot,dmadeka/bqplot,SylvainCorlay/bqplot,bloomberg/bqplot,ssunkara1/bqplot,SylvainCorlay/bqplot,bloomberg/bqplot,SylvainCorlay/bqplot,ChakriCherukuri/bqplot,rmenegaux/bqplot,ChakriCherukuri/bqplot,bloomberg/bqplot,rmenegaux/bqplot,dmadeka/bqplot,ChakriCherukuri/bqplot
/* Copyright 2015 Bloomberg Finance L.P. * * 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 ag...
bqplot/nbextension/bqplot/Scatter.js
/* Copyright 2015 Bloomberg Finance L.P. * * 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 ag...
Scatter bug fix for adding points
bqplot/nbextension/bqplot/Scatter.js
Scatter bug fix for adding points
<ide><path>qplot/nbextension/bqplot/Scatter.js <ide> <ide> //container for mouse clicks <ide> this.el.append("rect") <del> .attr("class", "intselmouse") <add> .attr("class", "mouseeventrect") <ide> .attr("x", 0) <ide> .attr("y", 0) <...
Java
apache-2.0
63895c8e9fed65d2ad99f32703a2d20f6d833567
0
haroldcarr/rdf-triple-browser,haroldcarr/rdf-triple-browser
// // Created : 2006 Jun 14 (Wed) 18:29:38 by Harold Carr. // Last Modified : 2006 Sep 16 (Sat) 08:19:23 by Harold Carr. // package com.differentity.client; import com.google.gwt.user.client.ui.Button; import com.google.gwt.user.client.ui.Frame; import com.google.gwt.user.client.ui.HorizontalPanel; import com.g...
gwt/src/main/java/org/openhc/triplebrowser/gwt/client/SPVItem.java
// // Created : 2006 Jun 14 (Wed) 18:29:38 by Harold Carr. // Last Modified : 2006 Sep 12 (Tue) 18:30:12 by Harold Carr. // package com.differentity.client; import com.google.gwt.user.client.ui.Button; import com.google.gwt.user.client.ui.Frame; import com.google.gwt.user.client.ui.HorizontalPanel; import com.g...
["on my way to history\n", "And replaced incorrect use of GWT Hyperlink with label.\n", ""]
gwt/src/main/java/org/openhc/triplebrowser/gwt/client/SPVItem.java
["on my way to history\n", "And replaced incorrect use of GWT Hyperlink with label.\n", ""]
<ide><path>wt/src/main/java/org/openhc/triplebrowser/gwt/client/SPVItem.java <ide> // <ide> // Created : 2006 Jun 14 (Wed) 18:29:38 by Harold Carr. <del>// Last Modified : 2006 Sep 12 (Tue) 18:30:12 by Harold Carr. <add>// Last Modified : 2006 Sep 16 (Sat) 08:19:23 by Harold Carr. <ide> // <ide> <ide> package co...
Java
apache-2.0
2e979b4bc436949442e4ac18f2376c9746d78892
0
Kirezzz/java_programming
package ru.stqa.java.sandbox; /** * Created by Sony on 03.10.2016. */ public class Collections { public static void main(String args[]) { String[] langs = {"Java","C#","Python", "PHP"}; } }
sandbox/src/main/java/ru/stqa/java/sandbox/Collections.java
package ru.stqa.java.sandbox; /** * Created by Sony on 03.10.2016. */ public class Collections { public static void main(String args[]) { String[] langs = new String[4]; langs[0] = "Java"; langs[1] = "C#"; langs[2] = "Python"; langs[3] = "PHP"; } }
Упрощенная версия реализации массива
sandbox/src/main/java/ru/stqa/java/sandbox/Collections.java
Упрощенная версия реализации массива
<ide><path>andbox/src/main/java/ru/stqa/java/sandbox/Collections.java <ide> */ <ide> public class Collections { <ide> public static void main(String args[]) { <del> String[] langs = new String[4]; <del> langs[0] = "Java"; <del> langs[1] = "C#"; <del> langs[2] = "Python"; <del> langs[3] = "PHP"; <add> ...
Java
mit
b56543c75a54b41464d71a02706d1954492c91ab
0
CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab
package org.xcolab.view.pages.contestmanagement.controller.manager; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotati...
view/src/main/java/org/xcolab/view/pages/contestmanagement/controller/manager/AdminTabController.java
package org.xcolab.view.pages.contestmanagement.controller.manager; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotati...
Change invalid format error message
view/src/main/java/org/xcolab/view/pages/contestmanagement/controller/manager/AdminTabController.java
Change invalid format error message
<ide><path>iew/src/main/java/org/xcolab/view/pages/contestmanagement/controller/manager/AdminTabController.java <ide> for (String memberString : memberStrings) { <ide> final String[] values = memberString.split(";"); <ide> if (values.length != 3) { <del> AlertMessage.dange...
Java
apache-2.0
883a74040942a605d43625ea6a5996077039d2b3
0
BrotherlyBoiler/Sunshine
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
app/src/main/java/com/example/android/sunshine/app/FetchWeatherTask.java
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Fix FetchWeatherTask according to solution
app/src/main/java/com/example/android/sunshine/app/FetchWeatherTask.java
Fix FetchWeatherTask according to solution
<ide><path>pp/src/main/java/com/example/android/sunshine/app/FetchWeatherTask.java <ide> */ <ide> package com.example.android.sunshine.app; <ide> <add>import android.content.ContentUris; <ide> import android.content.ContentValues; <ide> import android.content.Context; <ide> import android.content.SharedPreferences;
Java
apache-2.0
b8ae1e9815f2788e176cb7a2837312ffe6008787
0
cosmocode/cosmocode-commons
/** * Copyright 2010 CosmoCode 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/de/cosmocode/collections/utility/Convert.java
/** * Copyright 2010 CosmoCode 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...
suppressed findbugs warning
src/main/java/de/cosmocode/collections/utility/Convert.java
suppressed findbugs warning
<ide><path>rc/main/java/de/cosmocode/collections/utility/Convert.java <ide> return new IllegalArgumentException(message); <ide> } <ide> <add> @edu.umd.cs.findbugs.annotations.SuppressWarnings("NP_BOOLEAN_RETURN_NULL") <ide> private static Boolean doIntoBoolean(Object value) { <ide> if (v...
Java
epl-1.0
7d42d5ad6f2c80405d235a1dcdeb96cf6f9c4bca
0
laercioferracini/junit,marcphilipp/junit,UnimibSoftEngCourse1516/lab2-es3-e.nani1,Clairebi/JUnit-Clone,UnimibSoftEngCourse1516/lab2-es3-i.pigazzini,feisuo/junit,edwardmlyte/junit,alb-i986/junit,mnk/junit,feisuo/junit,UnimibSoftEngCourse1516/lab2-es3-i.pigazzini,UrsMetz/junit,janocat/junit,freezhan/junit,yusuke/junit,Un...
package junit.swingui; import java.awt.*; import javax.swing.*; /** * A panel with test run counters */ public class CounterPanel extends JPanel { private JTextField fNumberOfErrors; private JTextField fNumberOfFailures; private JTextField fNumberOfRuns; private Icon fFailureIcon= TestRunner.getIconResource(ge...
junit/swingui/CounterPanel.java
package junit.swingui; import java.awt.*; import java.awt.GridLayout; import javax.swing.*; /** * A panel with test run counters */ public class CounterPanel extends JPanel { private JTextField fNumberOfErrors; private JTextField fNumberOfFailures; private JTextField fNumberOfRuns; private Icon fFailureIcon= T...
Remove extra import.
junit/swingui/CounterPanel.java
Remove extra import.
<ide><path>unit/swingui/CounterPanel.java <ide> package junit.swingui; <ide> <ide> import java.awt.*; <del>import java.awt.GridLayout; <ide> <ide> import javax.swing.*; <ide> <ide> private Icon fErrorIcon= TestRunner.getIconResource(getClass(), "icons/error.gif"); <ide> <ide> private int fTotal; <del> <add> <ide...
Java
mit
862f8f30ea1f34416abc8c8149b22a324c63a78d
0
sephiroth74/Material-BottomNavigation,sephiroth74/Material-BottomNavigation
/** * The MIT License (MIT) * <p> * Copyright (c) 2016 Alessandro Crugnola * <p> * 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 righ...
bottom-navigation/src/main/java/it/sephiroth/android/library/bottomnavigation/BottomNavigation.java
package it.sephiroth.android.library.bottomnavigation; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Typeface; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.LayerDrawabl...
comments
bottom-navigation/src/main/java/it/sephiroth/android/library/bottomnavigation/BottomNavigation.java
comments
<ide><path>ottom-navigation/src/main/java/it/sephiroth/android/library/bottomnavigation/BottomNavigation.java <add>/** <add> * The MIT License (MIT) <add> * <p> <add> * Copyright (c) 2016 Alessandro Crugnola <add> * <p> <add> * Permission is hereby granted, free of charge, to any person obtaining a copy of this softwar...
Java
mit
ef31810310f9ae0dd1505868b03ff2848738a586
0
Obeyed/authentication-and-access-control
package dk.obeid; import dk.obeid.unused.TrustedThirdParty; //import javax.crypto.*; //import java.io.UnsupportedEncodingException; import java.rmi.Naming; import java.sql.Date; import java.sql.Timestamp; import java.text.SimpleDateFormat; import java.util.Scanner; //import static dk.obeid.Client.AES.dec...
rmi-print/src/dk/obeid/Client.java
package dk.obeid; import dk.obeid.unused.TrustedThirdParty; //import javax.crypto.*; //import java.io.UnsupportedEncodingException; import java.rmi.Naming; import java.sql.Date; import java.sql.Timestamp; import java.text.SimpleDateFormat; import java.util.Scanner; //import static dk.obeid.Client.AES.dec...
this version was handed in for the assignment
rmi-print/src/dk/obeid/Client.java
this version was handed in for the assignment
<ide><path>mi-print/src/dk/obeid/Client.java <ide> */ <ide> private static boolean giveAccessInfo(Scanner input, String user, String password) throws Exception { <ide> // if (session != null && service.verifySession(encryptData(session.toString(), sharedKey))) { <add> if (session != null) System....
Java
apache-2.0
62993e64a6ef94be7462bde863ec2e5dc998a5b9
0
Sumei1009/HubTurbo,saav/HubTurbo,Honoo/HubTurbo,Sumei1009/HubTurbo,gaieepo/HubTurbo,ianngiaw/HubTurbo,saav/HubTurbo,gaieepo/HubTurbo,ianngiaw/HubTurbo,Honoo/HubTurbo,HyungJon/HubTurbo,HyungJon/HubTurbo
package backend.json; import backend.interfaces.RepoStore; import backend.resource.Model; import backend.resource.serialization.SerializableModel; import java.util.concurrent.CompletableFuture; /** * Same as JSONStore, but with the save function disabled. * Saves the effort of tearing down every time a test is wri...
src/main/java/backend/json/JSONStoreStub.java
package backend.json; import backend.interfaces.RepoStore; import backend.resource.Model; import backend.resource.serialization.SerializableModel; import java.util.concurrent.CompletableFuture; /** * Same as JSONStore, but with the save function disabled. * Saves the effort of tearing down every time a test is wri...
Fixed bug where StoreTest did not test JSONStore loadRepository function
src/main/java/backend/json/JSONStoreStub.java
Fixed bug where StoreTest did not test JSONStore loadRepository function
<ide><path>rc/main/java/backend/json/JSONStoreStub.java <ide> * (explicit command line argument required for proper JSON Store to <ide> * activate during test mode) <ide> */ <del>public class JSONStoreStub extends RepoStore { <del> <del> @Override <del> public CompletableFuture<Model> loadRepository(String repoId) {...
Java
apache-2.0
a0c81857a79788f6dd54471fb0868642077ae447
0
tacoo/monex-stock-summary,tacoo/monex-stock-summary
package tacoo.monex.stock.summary; import java.io.File; import java.io.FileInputStream; import java.io.InputStreamReader; import java.math.BigDecimal; import java.math.RoundingMode; import java.text.DecimalFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import ja...
src/main/java/tacoo/monex/stock/summary/AllPrint.java
package tacoo.monex.stock.summary; import java.io.File; import java.io.FileInputStream; import java.io.InputStreamReader; import java.text.DecimalFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util....
refactoring
src/main/java/tacoo/monex/stock/summary/AllPrint.java
refactoring
<ide><path>rc/main/java/tacoo/monex/stock/summary/AllPrint.java <ide> import java.io.File; <ide> import java.io.FileInputStream; <ide> import java.io.InputStreamReader; <add>import java.math.BigDecimal; <add>import java.math.RoundingMode; <ide> import java.text.DecimalFormat; <ide> import java.text.ParseException; <ide...
Java
apache-2.0
d1e08acb61f5ec0a247714e65dafbf5d077922d9
0
Whiley/WhileyCompiler,hjwylde/whiley-compiler,hjwylde/whiley-compiler,hjwylde/whiley-compiler,hjwylde/whiley-compiler,hjwylde/whiley-compiler
// Copyright (c) 2011, David J. Pearce (David J. Pearce@ecs.vuw.ac.nz) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyrig...
src/wyil/lang/Code.java
// Copyright (c) 2011, David J. Pearce (David J. Pearce@ecs.vuw.ac.nz) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyrig...
More documentation. Basically, almost done on that.
src/wyil/lang/Code.java
More documentation. Basically, almost done on that.
<ide><path>rc/wyil/lang/Code.java <ide> * return ((x * y) + 1) / 2 <ide> * </pre> <ide> * <del> * translates into the following WYIL code: <add> * can be translated into the following WYIL code: <ide> * <ide> * <pre> <ide> * int f(int x, int y): <ide> * return x + 1 <ide> * </pre> <ide> * ...
Java
apache-2.0
89ce193228e5fae2341de69276af5a739cf1cc86
0
ouzman/frisbee,gdg-x/frisbee,PareshMayani/frisbee,Splaktar/frisbee,PareshMayani/frisbee,gdg-x/frisbee,gdg-x/frisbee,PareshMayani/frisbee,fnk0/frisbee,Splaktar/frisbee,ouzman/frisbee,fnk0/frisbee,ouzman/frisbee
/* * Copyright 2013-2015 The GDG Frisbee Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
app/src/main/java/org/gdg/frisbee/android/onboarding/FirstStartStep1Fragment.java
/* * Copyright 2013-2015 The GDG Frisbee Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
fix NPE by disabling the confirm button when location not available on startup
app/src/main/java/org/gdg/frisbee/android/onboarding/FirstStartStep1Fragment.java
fix NPE by disabling the confirm button when location not available on startup
<ide><path>pp/src/main/java/org/gdg/frisbee/android/onboarding/FirstStartStep1Fragment.java <ide> mChapterSpinnerView.setText(mSelectedChapter.toString(), true); <ide> } else { <ide> mChapterSpinnerView.showDropDown(); <add> mConfirmButton.setEnabled(false); <ide> } <i...
Java
apache-2.0
0be6d1b35444ba4d7e10bf2d51d5fbeb5bc62661
0
smkniazi/HDFS-Distributed-BenchMark,smkniazi/hammer-bench,smkniazi/hammer-bench,smkniazi/HDFS-Distributed-BenchMark
/** * 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/io/hops/experiments/benchmarks/blockreporting/BlockReportingBenchmark.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 ...
updates
src/main/java/io/hops/experiments/benchmarks/blockreporting/BlockReportingBenchmark.java
updates
<ide><path>rc/main/java/io/hops/experiments/benchmarks/blockreporting/BlockReportingBenchmark.java <ide> } <ide> } catch (Exception e) { <ide> failedOps.incrementAndGet(); <add> System.out.println(e); <ide> Logger.error(e); <ide> } <ide> }
Java
apache-2.0
d11d984705af3ec5aadd068ce059a4aaae31dbd8
0
Hipparchus-Math/hipparchus,apache/commons-math,Hipparchus-Math/hipparchus,apache/commons-math,sdinot/hipparchus,Hipparchus-Math/hipparchus,apache/commons-math,apache/commons-math,Hipparchus-Math/hipparchus,sdinot/hipparchus,sdinot/hipparchus,sdinot/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/optimization/linear/SimplexTableau.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 ...
fixed javadoc error git-svn-id: 80d496c472b8b763a5e941dba212da9bf48aeceb@758924 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/commons/math/optimization/linear/SimplexTableau.java
fixed javadoc error
<ide><path>rc/java/org/apache/commons/math/optimization/linear/SimplexTableau.java <ide> /** Set an entry of the tableau. <ide> * @param row row index <ide> * @param column column index <del> * param value for the entry <add> * @param value for the entry <ide> */ <ide> protected final voi...
JavaScript
apache-2.0
51cf63e89a0cb55cf12fac5598eef2e3de37071b
0
chinarustin/uproxy,jpevarnek/uproxy,IveWong/uproxy,uProxy/uproxy,MinFu/uproxy,MinFu/uproxy,itplanes/uproxy,dhkong88/uproxy,uProxy/uproxy,qida/uproxy,MinFu/uproxy,jpevarnek/uproxy,MinFu/uproxy,roceys/uproxy,qida/uproxy,IveWong/uproxy,IveWong/uproxy,uProxy/uproxy,IveWong/uproxy,qida/uproxy,chinarustin/uproxy,dhkong88/upr...
#!/usr/bin/env nodejs var child_process = require('child_process'); var fs = require('fs'); var Promise = require('es6-promise').Promise; console.log('Setup repos script...\n '+ ' * to test: `ssh -T git@github.com` \n ' + ' * to list your ssh agents: `ssh-add -l` \n '); var args = []; process.argv.slice(2).forE...
tools/setup_repos.js
#!/usr/bin/env nodejs var child_process = require('child_process'); var fs = require('fs'); var Promise = require('es6-promise').Promise; console.log('Setup repos script...\n '+ ' * to test: `ssh -T git@github.com` \n ' + ' * to list your ssh agents: `ssh-add -l` \n '); var args = []; process.argv.slice(2).forE...
added handling of freedom repos + allow different directory names
tools/setup_repos.js
added handling of freedom repos + allow different directory names
<ide><path>ools/setup_repos.js <ide> }); <ide> <ide> var repoNames = [ <del> 'uProxy', <del> 'socks-rtc', <del> 'sas-rtc', <del> 'uTransformers', <del> 'uproxy-lib', <del> 'libfte', <del> 'uProbe', <del> 'turn-relay', <del> 'uproxy-website', <add> {repo: 'git@github.com:uProxy/uProxy.git', dir: 'uproxy' }, <...
JavaScript
mit
16b941a37c90c01d2fd4beb1bfbdd4f7885aef3b
0
Seldaek/rustdoc_web,Seldaek/rustdoc_web
/*jslint node: true, stupid: true, es5: true, regexp: true, nomen: true */ "use strict"; /* * This file is part of the rustdoc_web package. * * (c) Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. *...
rustdoc.js
/*jslint node: true, stupid: true, es5: true, regexp: true, nomen: true */ "use strict"; /* * This file is part of the rustdoc_web package. * * (c) Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. *...
Ignore broken std-macros links
rustdoc.js
Ignore broken std-macros links
<ide><path>ustdoc.js <ide> if (!element.source) { <ide> throw new Error('Element has no source: ' + JSON.stringify(element)); <ide> } <add> if (element.source.match(/^<std-macros>:/)) { <add> return ''; <add> } <ide> matches = element.source.match(/^([a-z0-9_...
JavaScript
agpl-3.0
eebc8bd441817c34521f00ad6aafb6c6832f5839
0
Kagee/fixmystreet-mobile,FiksGataMi/fixmystreet-mobile,ciudadanointeligente/fixmystreet-mobile,altinukshini/fixmystreet-mobile,Kagee/fixmystreet-mobile,otmezger/fixmystreet-mobile,otmezger/fixmystreet-mobile,otmezger/fixmystreet-mobile,FiksGataMi/fixmystreet-mobile,opencorato/fixmystreet-mobile,opencorato/fixmystreet-m...
var can_geolocate = false; Storage.prototype.setObject = function(key, value) { this.setItem(key, JSON.stringify(value)); }; Storage.prototype.getObject = function(key) { var item = this.getItem(key); // if we try to parse an empty thing on Android then // it falls over :( if ( item ) { re...
www/js/mobile.js
var can_geolocate = false; Storage.prototype.setObject = function(key, value) { this.setItem(key, JSON.stringify(value)); }; Storage.prototype.getObject = function(key) { var item = this.getItem(key); // if we try to parse an empty thing on Android then // it falls over :( if ( item ) { re...
show loading screen a bit earlier for locate and report posting
www/js/mobile.js
show loading screen a bit earlier for locate and report posting
<ide><path>ww/js/mobile.js <ide> var submit_clicked = null; <ide> <ide> function postReport(e) { <add> $.mobile.loading( 'show' ); <ide> if ( e ) { <ide> e.preventDefault(); <ide> } <ide> <ide> <ide> function decide_front_page() { <add> $.mobile.loading( 'show' ); <ide> if ( !can_geolocate ...
JavaScript
mit
601de2d6843a0c19c627c7d17b1047afe7dafb3d
0
jonbnewman/footwork,footworkjs/footwork,jonbnewman/footwork,reflectiveSingleton/footwork,reflectiveSingleton/footwork,footworkjs/footwork
define(['footwork', 'lodash', 'jquery', 'tools'], function(fw, _, $, tools) { describe('router', function() { beforeEach(tools.prepareTestEnv); afterEach(tools.cleanTestEnv); beforeAll(function() { fw.router.disableHistory(true); }); it('has the ability to create a router',...
tests/spec/router.spec.js
define(['footwork', 'lodash', 'jquery', 'tools'], function(fw, _, $, tools) { describe('router', function() { beforeEach(tools.prepareTestEnv); afterEach(tools.cleanTestEnv); beforeAll(function() { fw.router.disableHistory(true); }); it('has the ability to create a router',...
router test now using pushState
tests/spec/router.spec.js
router test now using pushState
<ide><path>ests/spec/router.spec.js <ide> <ide> setTimeout(function() { <ide> expect(initializeSpy).toHaveBeenCalled(); <del> router.replaceState(mockNamedState, { named: true }); <add> router.pushState(mockNamedState, { named: true }); <ide> expect(routeControllerSpy).toH...
Java
apache-2.0
7275eed576bbae437a8c8bdd37e7093ff0a49e85
0
cloudant/sync-android,cloudant/sync-android
/* * Copyright (c) 2013, 2016 IBM Corp. 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 applic...
cloudant-sync-datastore-core/src/main/java/com/cloudant/sync/replication/GetRevisionTaskThreaded.java
/* * Copyright (c) 2013, 2016 IBM Corp. 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 applic...
Name Threads in the ThreadPool for PullReplications Each time a request is being made the remote, the thread will be renamed to be in the form of "GetRevisionThread: <RemoteIdentifier>". The name is set during the executeRequest call because the threads are reused between replicator instances.
cloudant-sync-datastore-core/src/main/java/com/cloudant/sync/replication/GetRevisionTaskThreaded.java
Name Threads in the ThreadPool for PullReplications
<ide><path>loudant-sync-datastore-core/src/main/java/com/cloudant/sync/replication/GetRevisionTaskThreaded.java <ide> import java.util.concurrent.ExecutionException; <ide> import java.util.concurrent.Future; <ide> import java.util.concurrent.LinkedBlockingQueue; <add>import java.util.concurrent.ThreadFactory; <ide> imp...
Java
apache-2.0
b5eb956ddb90ac2c19d775034d6a251c7bfe9af1
0
FasterXML/jackson-core,FasterXML/jackson-core
package com.fasterxml.jackson.core.io; import java.math.BigDecimal; import java.util.Arrays; // Based on a great idea of Eric Obermühlner to use a tree of smaller BigDecimals for parsing // really big numbers with O(n^1.5) complexity instead of O(n^2) when using the constructor // for a decimal representation from JD...
src/main/java/com/fasterxml/jackson/core/io/BigDecimalParser.java
package com.fasterxml.jackson.core.io; import java.math.BigDecimal; import java.util.Arrays; // Based on a great idea of Eric Obermühlner to use a tree of smaller BigDecimals for parsing // really big numbers with O(n^1.5) complexity instead of O(n^2) when using the constructor // for a decimal representation from JD...
Avoid copy when parsing BigDecimal (#798)
src/main/java/com/fasterxml/jackson/core/io/BigDecimalParser.java
Avoid copy when parsing BigDecimal (#798)
<ide><path>rc/main/java/com/fasterxml/jackson/core/io/BigDecimalParser.java <ide> } <ide> <ide> public static BigDecimal parse(char[] chars, int off, int len) { <del> if (off > 0 || len != chars.length) { <del> chars = Arrays.copyOfRange(chars, off, off+len); <del> } <del> retur...
JavaScript
mit
7690bbd7fa28de7d167ddd937932c32e776351cd
0
bevacqua/grunt-testling
var fs = require('fs'); var path = require('path'); var spawn = require('child_process').spawn; module.exports = function (grunt) { grunt.registerTask('testling', function () { var done = this.async(); var local = path.join(process.cwd(), 'node_modules/testling/bin/cmd.js'); var isLocal = fs.existsSync(l...
tasks/testling.js
var fs = require('fs'); var path = require('path'); var spawn = require('child_process').spawn; module.exports = function (grunt) { grunt.registerTask('testling', function () { var done = this.async(); var local = path.join(process.cwd(), 'node_modules/testling/bin/cmd.js'); var isLocal = fs.existsSync(l...
Ensure grunt fails when tests fail The previous code was just calling grunt async done when the tests failed. It needs to pass a boolean for whether the task actually failed or not. The code returned will be 0 if successful and a number (usually 1) if not. So we pass the inverse of this to fail or pass the task.
tasks/testling.js
Ensure grunt fails when tests fail
<ide><path>asks/testling.js <ide> var local = path.join(process.cwd(), 'node_modules/testling/bin/cmd.js'); <ide> var isLocal = fs.existsSync(local); <ide> var opts = { stdio: 'inherit' }; <add> var process; <ide> <del> spawn(isLocal ? local : 'testling', [], opts).on('exit', done); <add> process ...
Java
bsd-3-clause
e206d6d2d774c2e477ffc3fdba13fe2cb3be09b1
0
Kingsford-Group/kourami,Kingsford-Group/kourami
/* Part of Kourami HLA typer/assembler (c) 2017 by Heewook Lee, Carl Kingsford, and Carnegie Mellon University. See LICENSE for licensing. */ import java.util.*; import java.io.*; public class FormatIMGT{ public static void main(String[] args){ if(args.length != 3){ System.err.println("USAGE: java FormatIM...
src/FormatIMGT.java
/* Part of Kourami HLA typer/assembler (c) 2017 by Heewook Lee, Carl Kingsford, and Carnegie Mellon University. See LICENSE for licensing. */ import java.util.*; import java.io.*; public class FormatIMGT{ public static void main(String[] args){ if(args.length != 3){ System.err.println("USAGE: java FormatIM...
update version fetching conditional
src/FormatIMGT.java
update version fetching conditional
<ide><path>rc/FormatIMGT.java <ide> <ide> if(args[1].equals("0")){ <ide> imgtVer = getVersionNum(imgtpath + File.separator + "A_gen.txt"); <del> System.err.println("IMGTver " + imgtVer); <add> if(imgtVer != null) <add> System.err.println("IMGTver " + imgtVer); <add> else{ <add> System.err.println(...
Java
mit
467544e6de1641fae9a12f429b9c180bb53ef45a
0
edrdo/jdbdt,edrdo/jdbdt
package org.jdbdt; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.ListIterator; /** * Data set. * * <p>A data set represents a collection of rows.</p> * * @since 0.1 * */ public class DataSet implements Iterable<Row> { /** * D...
src/main/java/org/jdbdt/DataSet.java
package org.jdbdt; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.ListIterator; /** * Data set. * * <p>A data set represents a collection of rows.</p> * * @since 0.1 * */ public class DataSet implements Iterable<Row> { /** * D...
DataSet: Javadoc improvements
src/main/java/org/jdbdt/DataSet.java
DataSet: Javadoc improvements
<ide><path>rc/main/java/org/jdbdt/DataSet.java <ide> * Data source. <ide> */ <ide> final DataSource source; <del> <add> <ide> /** <ide> * Rows in the data set. <ide> */ <ide> private final List<Row> rows; <del> <add> <ide> /** <ide> * Read-only flag. <ide> */ <ide> private final boolean ...
Java
unlicense
c249fe0fd74c99b6d9d3658feab430fd341e6504
0
paulo-raca/jts-polygonizer
import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import java.util.SortedMap; import java.util.TreeMap; import com.google.common.base.Function; import com.google.common.base.Predicate; import com.google.comm...
src/RangeMultiMap.java
import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Map.Entry; import java.util.SortedMap; import java.util.TreeMap; import com.google.common.base.Function; import com.google.common.collect.Abs...
Better search implementation on RangeMultiMap
src/RangeMultiMap.java
Better search implementation on RangeMultiMap
<ide><path>rc/RangeMultiMap.java <ide> import java.util.Collection; <ide> import java.util.Comparator; <ide> import java.util.HashMap; <del>import java.util.Iterator; <ide> import java.util.Map; <ide> import java.util.Map.Entry; <ide> import java.util.SortedMap; <ide> import java.util.TreeMap; <ide> <ide> import com.g...
JavaScript
mit
ba29804b0b3ea8c94bd8b4943ecdfc18e252eefa
0
edrap/edrap.github.io,edrap/edrap.github.io,edrap/edrap.github.io
function leaflet_alert() { var newLine = "\r\n" var brows = "The map was tested on Firefox and Safari. To use it on Chrome you must allow mixed contents." var resp = "The users take full responsibility for using the map for outdoor activities." msg = brows + newLine + newLine + resp; alert(msg); } ...
leaflet/js/custom_funct.js
function leaflet_alert() { var newLine = "\r\n" var brows = "The map was tested on Firefox and Safari. To use it on Chrome you must allow mixed contents." var resp = "The users take full responsibility for using the map for outdoor activities." msg = brows + newLine + newLine + resp; alert(msg); } ...
Update custom_funct.js
leaflet/js/custom_funct.js
Update custom_funct.js
<ide><path>eaflet/js/custom_funct.js <ide> //layer.bringToFront(); <ide> } <ide> <del>function readTextFile(file) <add>function readTextFile(feature, layer) <ide> { <ide> var rawFile = new XMLHttpRequest(); <del> rawFile.open("GET", file, false); <add> rawFile.open("GET", "https://www.meteoaquilano.it/abru...
JavaScript
unlicense
8d0ba2c73a421e8e227bf6a5c5cadd902c3748ec
0
lamassu/lamassu-server,lamassu/lamassu-server,naconner/lamassu-server,naconner/lamassu-server,lamassu/lamassu-server,naconner/lamassu-server
const qs = require('querystring') const axios = require('axios') const _ = require('lodash/fp') const { fetchRBF } = require('../../wallet/bitcoind/bitcoind') module.exports = { authorize } function highConfidence (confidence, txref) { if (txref.double_spend) return 0 if (txref.rbf) return 0 if (txref.confirmat...
lib/plugins/zero-conf/blockcypher/blockcypher.js
const qs = require('querystring') const axios = require('axios') const _ = require('lodash/fp') const { fetchRBF } = require('../../wallet/bitcoind/bitcoind') module.exports = { authorize } function highConfidence (confidence, txref) { if (txref.double_spend) return 0 if (txref.rbf) return 0 if (txref.confirmat...
refactor: variable rename and remove trailing spaces
lib/plugins/zero-conf/blockcypher/blockcypher.js
refactor: variable rename and remove trailing spaces
<ide><path>ib/plugins/zero-conf/blockcypher/blockcypher.js <ide> } <ide> <ide> function authorize (account, toAddress, cryptoAtoms, cryptoCode, isBitcoindAvailable) { <del> var promise = [] <add> let promise = [] <ide> return Promise.resolve() <ide> .then(() => { <ide> if (cryptoCode !== 'BTC') throw new...
Java
mit
35ba3b83bb27a5fa8c62ec02c572f0e20bd6111a
0
judovana/jenkins-scm-koji-plugin,judovana/jenkins-scm-koji-plugin,judovana/jenkins-scm-koji-plugin
package org.fakekoji.api.xmlrpc; import hudson.plugins.scm.koji.model.Build; import hudson.plugins.scm.koji.model.RPM; import org.fakekoji.DataGenerator; import org.fakekoji.core.AccessibleSettings; import org.fakekoji.core.FakeKojiDB; import org.fakekoji.jobmanager.JenkinsJobTemplateBuilder; import org.fakekoji.xmlrp...
fake-koji/src/test/java/org/fakekoji/api/xmlrpc/NewApiTest.java
package org.fakekoji.api.xmlrpc; import hudson.plugins.scm.koji.model.Build; import hudson.plugins.scm.koji.model.RPM; import org.fakekoji.DataGenerator; import org.fakekoji.core.AccessibleSettings; import org.fakekoji.core.FakeKojiDB; import org.fakekoji.jobmanager.JenkinsJobTemplateBuilder; import org.fakekoji.xmlrp...
Fix test setup
fake-koji/src/test/java/org/fakekoji/api/xmlrpc/NewApiTest.java
Fix test setup
<ide><path>ake-koji/src/test/java/org/fakekoji/api/xmlrpc/NewApiTest.java <ide> import org.junit.Test; <ide> import org.junit.rules.TemporaryFolder; <ide> <del>import java.io.File; <ide> import java.io.IOException; <ide> import java.util.Arrays; <ide> import java.util.HashSet; <ide> <ide> @BeforeClass <ide> p...
Java
apache-2.0
180f0be3aa26e271853547746e5319141bccd0a3
0
reactor/reactor-netty,reactor/reactor-netty
/* * Copyright (c) 2011-2016 Pivotal Software 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 * * Unles...
src/main/java/reactor/ipc/netty/resources/PoolResources.java
/* * Copyright (c) 2011-2016 Pivotal Software 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 * * Unles...
increase default pool size
src/main/java/reactor/ipc/netty/resources/PoolResources.java
increase default pool size
<ide><path>rc/main/java/reactor/ipc/netty/resources/PoolResources.java <ide> */ <ide> int DEFAULT_POOL_MAX_CONNECTION = <ide> Integer.parseInt(System.getProperty("reactor.ipc.netty.pool.maxConnections", <del> "" + Runtime.getRuntime() <del> .availableProcessors())); <add> "" + Math.max(Runtime.g...
Java
apache-2.0
44f41b13d3a397be11630ab35a9daee4e2c1fa7b
0
b2ihealthcare/snow-owl,IHTSDO/snow-owl,b2ihealthcare/snow-owl,IHTSDO/snow-owl,b2ihealthcare/snow-owl,IHTSDO/snow-owl,b2ihealthcare/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...
snomed/com.b2international.snowowl.snomed.api.rest.tests/src/com/b2international/snowowl/snomed/api/rest/SnomedRefSetRestRequests.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...
SO-2154 Add bulk member update method to SnomedRefSetRestRequests
snomed/com.b2international.snowowl.snomed.api.rest.tests/src/com/b2international/snowowl/snomed/api/rest/SnomedRefSetRestRequests.java
SO-2154 Add bulk member update method to SnomedRefSetRestRequests
<ide><path>nomed/com.b2international.snowowl.snomed.api.rest.tests/src/com/b2international/snowowl/snomed/api/rest/SnomedRefSetRestRequests.java <ide> .then(); <ide> } <ide> <add> public static ValidatableResponse bulkUpdateMembers(IBranchPath branchPath, String refSetId, Map<?, ?> bulkRequest) { <add> return gi...
JavaScript
bsd-2-clause
423a3c60d34d760188123b3bb85869c80b778b01
0
BeerShift/BeerShift
function createDrankDetailWindow(e) { var windowBeerDetails = Ti.UI.createWindow({ width : 320, height : 480, top : 0, left : 0, backgroundColor : 'black', title : L('winBeerDetails'), barImage : 'images/navbar.png' }); var detailsView = Ti.UI.createView({ width : 320, height : windowBeerDetails.h...
Resources/whereDrank.js
function createDrankDetailWindow(e) { var windowBeerDetails = Ti.UI.createWindow({ width : 320, height : 480, top : 0, left : 0, backgroundColor : 'black', title : L('winBeerDetails'), barImage : 'images/navbar.png' }); var detailsView = Ti.UI.createView({ width : 320, height : windowBeerDetails.h...
Cleanup
Resources/whereDrank.js
Cleanup
<ide><path>esources/whereDrank.js <ide> }); <ide> <ide> // Add our UI elements to our view <del> var beerAnnotation = Titanium.Map.createAnnotation({ <del> latitude : 41.88925, <del> longitude : -87.632638, <del> title : e._title, <del> subtitle : e._when, <del> pincolor : Titanium.Map.ANNOTATION_RED, <del> a...
JavaScript
mit
7070b8331f2e10a23747175b03448a7d7ac31a41
0
umd-mith/TILE,umd-mith/TILE
///TILE LOGBAR //TODO: make proper documentation //TILE_ENGINE: {Object} main engine for running the LogBar and Layout of TILE interface //Global Constants that other plugins can use var URL_LIST=[]; (function($){ var TILE=this; var jsonTags={"schema":"","transcript":"","group":"","shape":""}; /**Main Engine **/ ...
lib/_Interface/tile_logbar.js
///TILE LOGBAR //TODO: make proper documentation //TILE_ENGINE: {Object} main engine for running the LogBar and Layout of TILE interface //Global Constants that other plugins can use var URL_LIST=[]; (function($){ var TILE=this; var jsonTags={"schema":"","transcript":"","group":"","shape":""}; /**Main Engine **/ ...
git-svn-id: http://peach.umd.edu/svn/TILE/postJuly@461 059f972f-e69e-4bc1-b02e-01f4d4c914a7
lib/_Interface/tile_logbar.js
<ide><path>ib/_Interface/tile_logbar.js <ide> $.merge(tlines,d[tr].transcript); <ide> } <ide> } <add> //TODO: get correct json format for loading/saving <ide> if(!obj.json) obj.json=d; <ide> $("body:first").trigger("loadImageList"); <ide> $("body:first").trigger("closeImpD");
Java
apache-2.0
5e29ff1a6f53c6227485f8debcf1737f47cd0351
0
spring-cloud/spring-cloud-commons
/* * Copyright 2013-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/encrypt/KeyProperties.java
/* * Copyright 2013-2015 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...
Add new type property to KeyStore properties. (#486)
spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/encrypt/KeyProperties.java
Add new type property to KeyStore properties. (#486)
<ide><path>pring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/encrypt/KeyProperties.java <ide> */ <ide> private String secret; <ide> <add> /** <add> * The KeyStore type. Defaults to jks. <add> */ <add> private String type = "jks"; <add> <ide> public String getAlias() { <ide> return ...
Java
mit
03d443b869c4a5a0d68bbb9cf85229afe80d5957
0
tomsik68/mclauncher-api,tomsik68/mclauncher-api
package sk.tomsik68.mclauncher.impl.versions.mcdownload; import net.minidev.json.JSONObject; import net.minidev.json.JSONValue; import org.junit.Before; import org.junit.Test; public final class TestRuleParser { @Test public void parseRuleWithFeatures() { String r = "{ \"action\": \"allow\", \"featur...
src/test/java/sk/tomsik68/mclauncher/impl/versions/mcdownload/TestRuleParser.java
package sk.tomsik68.mclauncher.impl.versions.mcdownload; import net.minidev.json.JSONObject; import net.minidev.json.JSONValue; import org.junit.Before; import org.junit.Test; public final class TestRuleParser { @Test public void parseRuleWithFeatures() { String r = "{ \"action\": \"allow\", \"featur...
Fix Rule unit tests
src/test/java/sk/tomsik68/mclauncher/impl/versions/mcdownload/TestRuleParser.java
Fix Rule unit tests
<ide><path>rc/test/java/sk/tomsik68/mclauncher/impl/versions/mcdownload/TestRuleParser.java <ide> @Test <ide> public void parseRuleWithFeatures() { <ide> String r = "{ \"action\": \"allow\", \"features\": { \"has_custom_resolution\": true } }"; <del> Rule rule = new Rule((JSONObject) JSONValue.pa...
Java
agpl-3.0
ea8e195466c266843c92f12b2c05717961dd789c
0
ianopolous/Peergos,Peergos/Peergos,ianopolous/Peergos,ianopolous/Peergos,Peergos/Peergos,Peergos/Peergos
package peergos.tests; import org.junit.*; import peergos.corenode.*; import peergos.crypto.*; import peergos.fuse.*; import peergos.server.Start; import peergos.user.*; import peergos.util.*; import java.io.*; import java.lang.*; import java.lang.reflect.*; import java.net.*; import java.nio.file.Path; import java.n...
src/peergos/tests/FuseTests.java
package peergos.tests; import org.junit.*; import peergos.corenode.*; import peergos.crypto.*; import peergos.fuse.*; import peergos.server.Start; import peergos.user.*; import peergos.util.*; import java.io.*; import java.lang.*; import java.lang.reflect.*; import java.net.*; import java.nio.file.Path; import java.n...
Make sure FuseTests use insecure random from beginning!
src/peergos/tests/FuseTests.java
Make sure FuseTests use insecure random from beginning!
<ide><path>rc/peergos/tests/FuseTests.java <ide> <ide> @BeforeClass <ide> public static void init() throws Exception { <add> // use insecure random otherwise tests take ages <add> setFinalStatic(TweetNaCl.class.getDeclaredField("prng"), new Random()); <add> <ide> Args.parse(new String[]{"...
JavaScript
apache-2.0
be0d0c95e039849e05607c6abfc54c5a459d9050
0
bird-house/pyramid-phoenix,bird-house/pyramid-phoenix,bird-house/pyramid-phoenix,bird-house/pyramid-phoenix
var map = null; var wmsLayer = null; var animateLayer = null; var animateURL = null; var start_time, end_time; var layerList; var selectedLayer = null; var selectedTimeIndex = null; function initMap() { initGlobe(); initGlobeButtons(); initLayerList(); } function initBaseLayer() { var baseLayer = new OpenLaye...
phoenix/static/js/map.js
var map = null; var wmsLayer = null; var animateLayer = null; var animateURL = null; var start_time, end_time; var layerList; var selectedLayer = null; var selectedTimeIndex = null; function initMap() { initGlobe(); initGlobeButtons(); initLayerList(); } function initBaseLayer() { var baseLayer = new OpenLaye...
show2d for play buttons
phoenix/static/js/map.js
show2d for play buttons
<ide><path>hoenix/static/js/map.js <ide> //console.log('prev button clicked'); <ide> current = $("#slider").slider( "values", 0 ); <ide> if (current > 0 ) { <add> show2D(); <ide> $("#slider").slider( "value", current - 1 ); <ide> } <ide> }); <ide> text: false, <ide> }).click(function(...
Java
apache-2.0
780b6f8f97e248d86b7b5c03c4c560b84899e036
0
apache/manifoldcf-integration-solr-3.x
package org.apache.lucene.index; /** * 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, Versi...
lucene/backwards/src/test/org/apache/lucene/index/TestThreadedOptimize.java
package org.apache.lucene.index; /** * 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, Versi...
add verbosity on intermittant test failure git-svn-id: 34e8a356306b8ce34b8875a802e5b81f93f12ba3@988505 13f79535-47bb-0310-9956-ffa450edef68
lucene/backwards/src/test/org/apache/lucene/index/TestThreadedOptimize.java
add verbosity on intermittant test failure
<ide><path>ucene/backwards/src/test/org/apache/lucene/index/TestThreadedOptimize.java <ide> writer.setMaxBufferedDocs(2); <ide> <ide> IndexReader reader = IndexReader.open(directory, true); <del> assertTrue(reader.isOptimized()); <add> assertTrue("reader=" + reader + " numDocs=" + reader.numDocs(...
Java
mit
77f90a7d017a75ccfd171628c674e87109f3cbb0
0
Przemek625/Spring-MVC-webshop,Przemek625/Spring-MVC-webshop
package com.packt.webstore.configuration; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.PropertySource; import org.springframework.context.support....
webstore/src/main/java/com/packt/webstore/configuration/DataConfig.java
package com.packt.webstore.configuration; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.PropertySource; import org.springframework.context.support....
I removed JPA from the project.
webstore/src/main/java/com/packt/webstore/configuration/DataConfig.java
I removed JPA from the project.
<ide><path>ebstore/src/main/java/com/packt/webstore/configuration/DataConfig.java <ide> sessionFactoryBean.setHibernateProperties(null); <ide> return sessionFactoryBean; <ide> } <del> <del>//JPA configuration <del> @Bean <del> public JpaVendorAdapter jpaVendorAdapter(){ <del> HibernateJ...
Java
apache-2.0
bfea7676113fa14926d1fa4b6f3ce79246a65575
0
bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud
package com.planet_ink.coffee_mud.Items.Basic; import com.planet_ink.coffee_mud.Items.Basic.StdPortal; import com.planet_ink.coffee_mud.Items.BasicTech.GenSpaceShip; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.interfaces.ItemPossessor.Expire; import com.planet_ink.coff...
com/planet_ink/coffee_mud/Items/Basic/GenSailingShip.java
package com.planet_ink.coffee_mud.Items.Basic; import com.planet_ink.coffee_mud.Items.Basic.StdPortal; import com.planet_ink.coffee_mud.Items.BasicTech.GenSpaceShip; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.interfaces.ItemPossessor.Expire; import com.planet_ink.coff...
jump overboard git-svn-id: 0cdf8356e41b2d8ccbb41bb76c82068fe80b2514@19015 0d6f1817-ed0e-0410-87c9-987e46238f29
com/planet_ink/coffee_mud/Items/Basic/GenSailingShip.java
jump overboard
<ide><path>om/planet_ink/coffee_mud/Items/Basic/GenSailingShip.java <ide> SINK, <ide> TENDER, <ide> RAISE, <del> LOWER <add> LOWER, <add> JUMP <ide> ; <ide> } <ide> <ide> final CMMsg damageMsg=CMClass.getMsg(msg.source(), this, CMMsg.MSG_DAMAGE, "SINK!!!"); <ide> damageMsg.setValue(99999); <ide> ...
Java
mit
9cb7c0d75772f766cd9bc164548b2661b4668057
0
BakkerTom/happy-news,BakkerTom/happy-news,BakkerTom/happy-news,BakkerTom/happy-news
package nl.fhict.happynews.api; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.CorsRegistry; import org.springframework.web.servlet.config.annotation.EnableWebMvc; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; im...
api/src/main/java/nl/fhict/happynews/api/WebMvcConfig.java
package nl.fhict.happynews.api; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.CorsRegistry; import org.springframework.web.servlet.config.annotation.EnableWebMvc; import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; @...
Re-add swagger UI
api/src/main/java/nl/fhict/happynews/api/WebMvcConfig.java
Re-add swagger UI
<ide><path>pi/src/main/java/nl/fhict/happynews/api/WebMvcConfig.java <ide> import org.springframework.context.annotation.Configuration; <ide> import org.springframework.web.servlet.config.annotation.CorsRegistry; <ide> import org.springframework.web.servlet.config.annotation.EnableWebMvc; <add>import org.springframewor...
Java
apache-2.0
bc7933c92a4caaa556bfe66b6719131e9616e709
0
yingyun001/ovirt-engine,walteryang47/ovirt-engine,eayun/ovirt-engine,zerodengxinchao/ovirt-engine,zerodengxinchao/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,yapengsong/ovirt-engine,yapengsong/ovirt-engine,walteryang47/ovirt-engine,yapengsong/ovirt-engine,yingyun001/ovirt-engine,OpenUniversity/ovirt-en...
package org.ovirt.engine.core.bll.gluster; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.Callable; import org.ovirt.engine.core.common.AuditLogType; import org.ovirt.engine.core.co...
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterServiceSyncJob.java
package org.ovirt.engine.core.bll.gluster; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.concurrent.Callable; import org.ovirt.engine.core.common.AuditLogType; import org.ovirt.engine.core.co...
gluster: Correct SWIFT status if no hosts in cluster If there are no hosts available under a cluster the SWIFT status was being displayed as Up. Corrected the same to show Unknown is no hosts available under a cluster or removed all the hosts from the cluster. Change-Id: I17080ac2d3eb5ec87b2efcc86bdca750995bce0e Bug-...
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterServiceSyncJob.java
gluster: Correct SWIFT status if no hosts in cluster
<ide><path>ackend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterServiceSyncJob.java <ide> if (supportsGlusterServicesFeature(cluster)) { <ide> try { <ide> List<VDS> serversList = getClusterUtils().getAllServers(cluster.getId()); <del> ...
JavaScript
mit
065fb4525d4f36f46f01377d50341dcb575ec8e0
0
javuio/MySQLNodeBootstrapAngular,javuio/MySQLNodeBootstrapAngular,javuio/MySQLNodeBootstrapAngular
///global var $javuApp = angular.module('javu',['ngRoute','ui.bootstrap']); $javuApp.config(['$routeProvider',function ($routeProvider) { $routeProvider .when('/', {templateUrl: '/pages/templates/dashboard.html'}) .when('/login', {templateUrl: '/pages/templates/login.html'}) .when('/page1...
client/controlPanel/app.js
///global var $javuApp = angular.module('javu',['ngRoute','ui.bootstrap']); $javuApp.config(['$routeProvider',function ($routeProvider) { $routeProvider .when('/', {templateUrl: '/pages/templates/dashboard.html'}) .when('/login', {templateUrl: '/pages/templates/login.html'}) .when('/page1...
fix routes
client/controlPanel/app.js
fix routes
<ide><path>lient/controlPanel/app.js <ide> , {title: 'Page1', hash: 'page1', className: ''} <ide> ]; <ide> }]); <del> <del> <del>
JavaScript
mit
38fbbb638eb3b965f08dc45eefaf9325765ec01d
0
node4good/asynctrace,TheNodeILs/asynctrace
'use strict'; Error.stackTraceLimit = Infinity; try { var tracing = require('tracing'); } catch (e) { if (e.code !== 'MODULE_NOT_FOUND') throw e; require('async-listener'); tracing = process; } try { var util = require('util'); var debug = util.debuglog('asynctrace'); } catch (e) { debug = c...
asynctrace.js
'use strict'; Error.stackTraceLimit = Infinity; try { var tracing = require('tracing'); } catch (e) { if (e.code !== 'MODULE_NOT_FOUND') throw e; require('async-listener'); tracing = process; } var util = require('util'); var PATH_PREFIX = process.cwd().toLowerCase(); var sep = require('path').sep; var...
safer `mocha` detection
asynctrace.js
safer `mocha` detection
<ide><path>synctrace.js <ide> require('async-listener'); <ide> tracing = process; <ide> } <del>var util = require('util'); <add>try { <add> var util = require('util'); <add> var debug = util.debuglog('asynctrace'); <add>} catch (e) { <add> debug = console.error.bind(console); <add>} <ide> var PATH_PREF...
Java
apache-2.0
9d91a4c6988b12fcf31329bf91812634b6417966
0
nelt/codingmatters-value-objects,nelt/codingmatters-value-objects
package org.codingmatters.value.objects.utils; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; /** * Created by nelt on 9/3/16. */ public class Utils { static public InputStream streamFor(String str) throws IOException { return new ByteArrayInputStream(str.g...
cdm-value-objects-generation/src/test/java/org/codingmatters/value/objects/utils/Utils.java
package org.codingmatters.value.objects.utils; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; /** * Created by nelt on 9/3/16. */ public class Utils { static public InputStream streamFor(String str) throws IOException { return new ByteArrayInputStream(str.g...
cleaned sysout
cdm-value-objects-generation/src/test/java/org/codingmatters/value/objects/utils/Utils.java
cleaned sysout
<ide><path>dm-value-objects-generation/src/test/java/org/codingmatters/value/objects/utils/Utils.java <ide> } <ide> <ide> public String build() { <del> System.out.println("builded " + this.internal.toString()); <ide> return this.internal.toString(); <ide> } <ide> }
Java
apache-2.0
error: pathspec 'web/api/src/test/java/org/onosproject/rest/resources/NetworkConfigWebResourceTest.java' did not match any file(s) known to git
37a5d8c3da358ccfe8a4583cb790626b31c1f699
1
opennetworkinglab/onos,kuujo/onos,mengmoya/onos,Shashikanth-Huawei/bmp,sdnwiselab/onos,VinodKumarS-Huawei/ietf96yang,planoAccess/clonedONOS,LorenzReinhart/ONOSnew,sdnwiselab/onos,oplinkoms/onos,Shashikanth-Huawei/bmp,maheshraju-Huawei/actn,donNewtonAlpha/onos,y-higuchi/onos,VinodKumarS-Huawei/ietf96yang,osinstom/onos,S...
/* * Copyright 2015 Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
web/api/src/test/java/org/onosproject/rest/resources/NetworkConfigWebResourceTest.java
Unit tests for network config REST API. Change-Id: I1b09035ff7aaa463889f62bbc9709a37a920d800
web/api/src/test/java/org/onosproject/rest/resources/NetworkConfigWebResourceTest.java
Unit tests for network config REST API.
<ide><path>eb/api/src/test/java/org/onosproject/rest/resources/NetworkConfigWebResourceTest.java <add>/* <add> * Copyright 2015 Open Networking Laboratory <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <add> * You ...
Java
apache-2.0
096f054d562978a768d346f66b50332c686919a0
0
apache/solr,apache/solr,apache/solr,apache/solr,apache/solr
/* * 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 ...
lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90FieldInfosFormat.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 ...
LUCENE-9705: Reset internal version in Lucene90FieldInfosFormat. (#2339) Since this is a fresh format, we can remove older version logic and reset the internal version to 0.
lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90FieldInfosFormat.java
LUCENE-9705: Reset internal version in Lucene90FieldInfosFormat. (#2339)
<ide><path>ucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90FieldInfosFormat.java <ide> int pointNumBytes; <ide> int pointIndexDimensionCount = pointDataDimensionCount; <ide> if (pointDataDimensionCount != 0) { <del> if (version >= Lucene90FieldInfosFormat.FORMAT_SE...
Java
apache-2.0
4ced1775b5da8dae5963a89e4776d99bad37cd41
0
YolandaMDavis/nifi,patricker/nifi,m-hogue/nifi,aperepel/nifi,aperepel/nifi,pvillard31/nifi,YolandaMDavis/nifi,YolandaMDavis/nifi,pvillard31/nifi,m-hogue/nifi,mcgilman/nifi,mattyb149/nifi,trixpan/nifi,mcgilman/nifi,mcgilman/nifi,trixpan/nifi,MikeThomsen/nifi,pvillard31/nifi,mattyb149/nifi,m-hogue/nifi,trixpan/nifi,mcgil...
/* * 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 ...
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ModifyBytes.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 ...
NIFI-7487 - Added batch support and displayName to ModifyBytes processor Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com> This closes #4302.
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ModifyBytes.java
NIFI-7487 - Added batch support and displayName to ModifyBytes processor
<ide><path>ifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ModifyBytes.java <ide> import org.apache.nifi.annotation.behavior.InputRequirement; <ide> import org.apache.nifi.annotation.behavior.InputRequirement.Requirement; <ide> import org.apache.nifi.annot...
Java
apache-2.0
89c90d0e2789296f5859648927893ca666328f35
0
googleads/googleads-ima-android
package com.google.ads.interactivemedia.v3.samples.videoplayerapp; import android.app.UiModeManager; import android.content.res.Configuration; import android.os.Build; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import androidx.appcompat.app.AppCompatActi...
AdvancedExample/app/src/main/java/com/google/ads/interactivemedia/v3/samples/videoplayerapp/MyActivity.java
package com.google.ads.interactivemedia.v3.samples.videoplayerapp; import android.content.res.Configuration; import android.os.Build; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import androidx.appcompat.app.AppCompatActivity; import androidx.fragment.app...
Internal change PiperOrigin-RevId: 327457051
AdvancedExample/app/src/main/java/com/google/ads/interactivemedia/v3/samples/videoplayerapp/MyActivity.java
Internal change
<ide><path>dvancedExample/app/src/main/java/com/google/ads/interactivemedia/v3/samples/videoplayerapp/MyActivity.java <ide> package com.google.ads.interactivemedia.v3.samples.videoplayerapp; <ide> <add>import android.app.UiModeManager; <ide> import android.content.res.Configuration; <ide> import android.os.Build; <ide...
Java
mit
1d178e11c40c72ff9c90f005cca91c4a659f0185
0
TheDudeFromCI/Talantra-Old,TheDudeFromCI/WraithavensConquest
package com.wraithavens.conquest.SinglePlayer.Particles; import java.nio.FloatBuffer; import java.util.ArrayList; import java.util.Comparator; import org.lwjgl.BufferUtils; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL15; import org.lwjgl.opengl.GL20; import org.lwjgl.opengl.GL31; import org.lwjgl...
ConquestRTS/src/com/wraithavens/conquest/SinglePlayer/Particles/ParticleBatch.java
package com.wraithavens.conquest.SinglePlayer.Particles; import java.nio.FloatBuffer; import java.util.ArrayList; import java.util.Comparator; import org.lwjgl.BufferUtils; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL15; import org.lwjgl.opengl.GL20; import org.lwjgl.opengl.GL31; import org.lwjgl...
Fixed glitch with turning off particles. Signed-off-by: TheDudeFromCI <7582d01251f4656304390543974d7b17a3e25c54@yahoo.com>
ConquestRTS/src/com/wraithavens/conquest/SinglePlayer/Particles/ParticleBatch.java
Fixed glitch with turning off particles.
<ide><path>onquestRTS/src/com/wraithavens/conquest/SinglePlayer/Particles/ParticleBatch.java <ide> shader.dispose(); <ide> } <ide> public void render(){ <del> if(particles.size()==0) <add> if(particles.size()==0||maxParticleCount==0) <ide> return; <ide> shader.bind(); <ide> GL11.glEnable(GL11.GL_BLEND);
Java
apache-2.0
f28d2e97bb53e8e3f5066dda64bf15ef2fe6c93d
0
chibenwa/james,aduprat/james,rouazana/james,rouazana/james,rouazana/james,rouazana/james,aduprat/james,aduprat/james,chibenwa/james,aduprat/james,chibenwa/james,chibenwa/james
/* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software License * version 1.1, a copy of which has been included with this distribution in * the LICENSE file. */ package org.apache.james.core; import org.apache.avalon.framewor...
trunk/src/java/org/apache/james/core/AvalonMailStore.java
/* * Copyright (C) The Apache Software Foundation. All rights reserved. * * This software is published under the terms of the Apache Software License * version 1.1, a copy of which has been included with this distribution in * the LICENSE file. */ package org.apache.james.core; import org.apache.avalon.framewor...
Fixed a major bug that was exposed by a recent change to JDBCMailRepository to restore dbfile capability. This bug caused configurations of one repository to be used by another differently configured repository of the same class. For some configurations, this means that a formerly db repository behaved as if it were ...
trunk/src/java/org/apache/james/core/AvalonMailStore.java
Fixed a major bug that was exposed by a recent change to JDBCMailRepository to restore dbfile capability.
<ide><path>runk/src/java/org/apache/james/core/AvalonMailStore.java <ide> // map of [protocol(destinationURL) + type ]->classname of repository; <ide> private HashMap classes; <ide> <del> // map of [Repository Class]->default config for repository. <add> // map of [protocol(destinationURL) + type ]->defa...
Java
apache-2.0
860903db2972eba0f42cb421e486f12681c3fc9c
0
ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma
/* * The Gemma project * * Copyright (c) 2005 Columbia University * * 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 ...
src/web/edu/columbia/gemma/web/controller/BaseFormController.java
/* * The Gemma project * * Copyright (c) 2005 Columbia University * * 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 ...
made abstract
src/web/edu/columbia/gemma/web/controller/BaseFormController.java
made abstract
<ide><path>rc/web/edu/columbia/gemma/web/controller/BaseFormController.java <ide> * @author pavlidis <ide> * @version $Id$ <ide> */ <del>public class BaseFormController extends SimpleFormController { <add>public abstract class BaseFormController extends SimpleFormController { <ide> protected final transient Log ...
Java
apache-2.0
2be3288b92d8460f24f43b5e03f5b3e4599b086f
0
SpectraLogic/ds3_java_sdk,DenverM80/ds3_java_sdk,RachelTucker/ds3_java_sdk,rpmoore/ds3_java_sdk,RachelTucker/ds3_java_sdk,RachelTucker/ds3_java_sdk,DenverM80/ds3_java_sdk,SpectraLogic/ds3_java_sdk,rpmoore/ds3_java_sdk,rpmoore/ds3_java_sdk,rpmoore/ds3_java_sdk,SpectraLogic/ds3_java_sdk,SpectraLogic/ds3_java_sdk,DenverM8...
/* * ****************************************************************************** * Copyright 2014-2015 Spectra Logic Corporation. 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. A copy of the License i...
ds3-sdk-integration/src/test/java/com/spectralogic/ds3client/integration/BucketIntegration_Test.java
/* * ****************************************************************************** * Copyright 2014-2015 Spectra Logic Corporation. 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. A copy of the License i...
Adding a fix for the getTape tests so that it does not fail on systems that do not have any tapes
ds3-sdk-integration/src/test/java/com/spectralogic/ds3client/integration/BucketIntegration_Test.java
Adding a fix for the getTape tests so that it does not fail on systems that do not have any tapes
<ide><path>s3-sdk-integration/src/test/java/com/spectralogic/ds3client/integration/BucketIntegration_Test.java <ide> final GetTapesResponse response = client.getTapes(new GetTapesRequest()); <ide> final Tapes tapes = response.getTapes(); <ide> <add> assumeThat(tapes, is(notNullValue())); <add> ...
Java
mit
d7c792911b552312c86f55fbdbeb3042c18ba87e
0
contentful/blog-app-android
package blog.contentful.loaders; import blog.contentful.adapters.PostListAdapter; import blog.contentful.lib.LinkGenerator; import blog.contentful.vault.Author; import blog.contentful.vault.Post; import com.commonsware.cwac.anddown.AndDown; import com.contentful.vault.Asset; import java.util.List; import org.joda.time...
app/src/main/java/blog/contentful/loaders/PostLoader.java
package blog.contentful.loaders; import blog.contentful.adapters.PostListAdapter; import blog.contentful.lib.LinkGenerator; import blog.contentful.vault.Author; import blog.contentful.vault.Post; import com.commonsware.cwac.anddown.AndDown; import com.contentful.vault.Asset; import java.util.List; import org.joda.time...
Post body is optional
app/src/main/java/blog/contentful/loaders/PostLoader.java
Post body is optional
<ide><path>pp/src/main/java/blog/contentful/loaders/PostLoader.java <ide> import com.contentful.vault.Asset; <ide> import java.util.List; <ide> import org.joda.time.format.ISODateTimeFormat; <add> <add>import static org.apache.commons.lang3.StringUtils.defaultString; <ide> <ide> public class PostLoader extends AbsAsyn...
Java
apache-2.0
038f2ff573ca0d457b7b6dcf55b18c786c2296be
0
oliverwehrens/jpowermeter
package com.maxheapsize.jpm; import org.springframework.stereotype.Service; import java.math.BigDecimal; @Service public class ReadingBuffer { private SmartMeterReading smartMeterReading; public SmartMeterReading getSmartMeterReading() { return smartMeterReading; } public void setSmartMeter...
src/main/java/com/maxheapsize/jpm/ReadingBuffer.java
package com.maxheapsize.jpm; import org.springframework.stereotype.Service; import java.math.BigDecimal; @Service public class ReadingBuffer { private SmartMeterReading smartMeterReading; public SmartMeterReading getSmartMeterReading() { return smartMeterReading; } public void setSmartMeter...
rounding mode
src/main/java/com/maxheapsize/jpm/ReadingBuffer.java
rounding mode
<ide><path>rc/main/java/com/maxheapsize/jpm/ReadingBuffer.java <ide> <ide> public SmartMeterReading getSmartMeterReadingInKwh() { <ide> SmartMeterReading smartMeterReadingInKwh = new SmartMeterReading(); <del> smartMeterReadingInKwh.consumptionTotal.value = smartMeterReading.consumptionTotal.value.d...
Java
agpl-3.0
20ae9279b3f66665b8e99104f761dd17148d8652
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
fcff0d02-2e61-11e5-9284-b827eb9e62be
hello.java
fcf98102-2e61-11e5-9284-b827eb9e62be
fcff0d02-2e61-11e5-9284-b827eb9e62be
hello.java
fcff0d02-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>fcf98102-2e61-11e5-9284-b827eb9e62be <add>fcff0d02-2e61-11e5-9284-b827eb9e62be
JavaScript
mit
60364f1517490ef43deb58f691e8ba9a71a30cdb
0
sebthedev/PrincetonCourses,sebthedev/PrincetonCourses
//convert time to military time var parseMilitaryTime = function(time) { parsedTime = time.split(" ") parsedTime[0] = parsedTime[0].replace(':', '') mTime = parseInt(parsedTime[0]) if (parsedTime[1] == "PM" && parsedTime[0].substring(0,2) != "12") { mTime += 1200 } return mTime } //check whether two g...
courseClashDetector.js
//convert time to military time var parseMilitaryTime = function(time) { parsedTime = time.split(" ") parsedTime[0] = parsedTime[0].replace(':', '') mTime = parseInt(parsedTime[0]) if (parsedTime[1] == "pm") { mTime += 1200 } return mTime } //check whether two given timeframes have no overlap by usin...
Continued debugging for clash algorithm Logic and database access bugs
courseClashDetector.js
Continued debugging for clash algorithm
<ide><path>ourseClashDetector.js <ide> parsedTime = time.split(" ") <ide> parsedTime[0] = parsedTime[0].replace(':', '') <ide> mTime = parseInt(parsedTime[0]) <del> if (parsedTime[1] == "pm") { <add> if (parsedTime[1] == "PM" && parsedTime[0].substring(0,2) != "12") { <ide> mTime += 1200 <ide> } <del> <id...
Java
apache-2.0
2765b16a9383638c139fc10f32c347b33d1e0ec7
0
apache/geronimo,apache/geronimo,apache/geronimo,apache/geronimo
/* * 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 ...
maven-plugins/selenium-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/selenium/StartServerMojo.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 ...
Do not let ant log errors... allow all output to be captured by the log file git-svn-id: 0d16bf2c240b8111500ec482b35765e5042f5526@463568 13f79535-47bb-0310-9956-ffa450edef68
maven-plugins/selenium-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/selenium/StartServerMojo.java
Do not let ant log errors... allow all output to be captured by the log file
<ide><path>aven-plugins/selenium-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/selenium/StartServerMojo.java <ide> <ide> log.info("Redirecting output to: " + logFile); <ide> <del> java.setLogError(true); <ide> java.setOutput(logFile); <ide> } <ide> ...
Java
apache-2.0
5f49fa243006cc6e503161ae90862157d57b0ca2
0
mikosik/smooth-build,mikosik/smooth-build
package org.smoothbuild.acceptance.lang; import static com.google.common.truth.Truth.assertThat; import static java.lang.String.format; import java.io.IOException; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.smoothbuild.acceptance.AcceptanceTestCase; import org.smoothbuild.acce...
src/acceptance/org/smoothbuild/acceptance/lang/FunctionTest.java
package org.smoothbuild.acceptance.lang; import static com.google.common.truth.Truth.assertThat; import java.io.IOException; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.smoothbuild.acceptance.AcceptanceTestCase; import org.smoothbuild.acceptance.testing.ThrowException; public ...
added test cases to FunctionTest.parameter_default_argument concerning native functions
src/acceptance/org/smoothbuild/acceptance/lang/FunctionTest.java
added test cases to FunctionTest.parameter_default_argument concerning native functions
<ide><path>rc/acceptance/org/smoothbuild/acceptance/lang/FunctionTest.java <ide> package org.smoothbuild.acceptance.lang; <ide> <ide> import static com.google.common.truth.Truth.assertThat; <add>import static java.lang.String.format; <ide> <ide> import java.io.IOException; <ide> <ide> import org.junit.jupiter.api.Ne...
Java
bsd-3-clause
10d11ba6a8ec9d694b795bb9b536b25b816a0b22
0
bdezonia/zorbage,bdezonia/zorbage
/* * Zorbage: an algebraic data hierarchy for use in numeric processing. * * Copyright (c) 2016-2021 Barry DeZonia All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * Redistributions of s...
src/main/java/nom/bdezonia/zorbage/dataview/PlaneView.java
/* * Zorbage: an algebraic data hierarchy for use in numeric processing. * * Copyright (c) 2016-2021 Barry DeZonia All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * Redistributions of s...
Extend PlaneView to work with 10-d data sources
src/main/java/nom/bdezonia/zorbage/dataview/PlaneView.java
Extend PlaneView to work with 10-d data sources
<ide><path>rc/main/java/nom/bdezonia/zorbage/dataview/PlaneView.java <ide> case 9: <ide> accessor = new Accessor9d<U>(data); <ide> break; <add> case 10: <add> accessor = new Accessor10d<U>(data); <add> break; <ide> default: <ide> throw new IllegalArgumentException(""+numD+" dimensions not yet supporte...
Java
apache-2.0
7ef46219629079d55cbeeb65a2449b8239a29c8f
0
mathemage/h2o-3,h2oai/h2o-dev,mathemage/h2o-3,mathemage/h2o-3,michalkurka/h2o-3,h2oai/h2o-3,h2oai/h2o-3,spennihana/h2o-3,michalkurka/h2o-3,h2oai/h2o-3,h2oai/h2o-dev,michalkurka/h2o-3,h2oai/h2o-dev,michalkurka/h2o-3,spennihana/h2o-3,michalkurka/h2o-3,michalkurka/h2o-3,h2oai/h2o-3,h2oai/h2o-dev,h2oai/h2o-3,h2oai/h2o-dev,...
package ai.h2o.automl; import hex.*; import water.*; import water.api.schemas3.KeyV3; import water.exceptions.H2OIllegalArgumentException; import water.util.Log; import water.util.TwoDimTable; import java.text.SimpleDateFormat; import java.util.*; import static water.DKV.getGet; import static water.Key.make; /** *...
h2o-automl/src/main/java/ai/h2o/automl/Leaderboard.java
package ai.h2o.automl; import hex.*; import water.*; import water.api.schemas3.KeyV3; import water.exceptions.H2OIllegalArgumentException; import water.util.Log; import water.util.TwoDimTable; import java.text.SimpleDateFormat; import java.util.*; import static water.DKV.getGet; import static water.Key.make; /** *...
Print actual metric used in leaderboard
h2o-automl/src/main/java/ai/h2o/automl/Leaderboard.java
Print actual metric used in leaderboard
<ide><path>2o-automl/src/main/java/ai/h2o/automl/Leaderboard.java <ide> return sb.toString(); <ide> } <ide> <del> protected static final String[] colHeaders = { <del> "model ID", <del> "timestamp", <del> "metric" }; <add> protected static final String[] colHeaders(String metric) { <a...
Java
bsd-2-clause
d8cb93baeb0ac7af46c472c91403e421d868dde3
0
chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio
package com.jme3.app; import java.util.logging.Logger; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.pm.ActivityInfo; import android.opengl.GLSurfaceView; import android.os.Bundle; import android.view.SurfaceView; import android....
engine/src/android/com/jme3/app/AndroidHarness.java
package com.jme3.app; import java.util.logging.Logger; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.opengl.GLSurfaceView; import android.os.Bundle; import android.view.SurfaceView; import android.view.View; import android.view.Window; ...
Android: Fixed deadlock in AndroidHarness.onDestroy() and added screenOrientation git-svn-id: 5afc437a751a4ff2ced778146f5faadda0b504ab@7791 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
engine/src/android/com/jme3/app/AndroidHarness.java
Android: Fixed deadlock in AndroidHarness.onDestroy() and added screenOrientation
<ide><path>ngine/src/android/com/jme3/app/AndroidHarness.java <ide> import android.app.Activity; <ide> import android.app.AlertDialog; <ide> import android.content.DialogInterface; <add>import android.content.pm.ActivityInfo; <ide> import android.opengl.GLSurfaceView; <ide> import android.os.Bundle; <ide> import androi...
Java
mit
f1c49f061d21b9324575e62f855a64b61a6b1536
0
nking/curvature-scale-space-corners-and-transformations,nking/curvature-scale-space-corners-and-transformations
package algorithms.imageProcessing; import algorithms.compGeometry.PointPartitioner; import static algorithms.imageProcessing.PointMatcher.minTolerance; import algorithms.imageProcessing.util.MatrixUtil; import algorithms.misc.MiscMath; import algorithms.util.PairFloat; import algorithms.util.PairFloatArray; import al...
src/algorithms/imageProcessing/PointMatcher.java
package algorithms.imageProcessing; import algorithms.compGeometry.PointPartitioner; import static algorithms.imageProcessing.PointMatcher.minTolerance; import algorithms.imageProcessing.util.MatrixUtil; import algorithms.misc.MiscMath; import algorithms.util.PairFloat; import algorithms.util.PairFloatArray; import al...
more improvements in PointMatcher
src/algorithms/imageProcessing/PointMatcher.java
more improvements in PointMatcher
<ide><path>rc/algorithms/imageProcessing/PointMatcher.java <ide> log.fine(" partition compare \n **==> bestFit=" + bestFit.toString() + "\n fit=" + fit.toString()); <ide> } <ide> <del> boolean fitIsBetter = fitIsBetter(bestFit, fit); <del> <del>if (fitIsBetter) { <del>log.fine(" partition ...
Java
mit
4bb07b1a5d26c37b6e5bb6543c23141be0b57ecb
0
sarahtattersall/PIPE,sjdayday/PIPE,frig-neutron/PIPE
package pipe.views; import static org.junit.Assert.*; import java.awt.Color; import java.util.Observable; import java.util.Observer; import org.junit.Before; import org.junit.Test; import pipe.models.PipeObservable; import pipe.models.component.token.Token; public class MarkingViewTest implements Observer { priva...
pipe-gui/src/test/java/pipe/views/MarkingViewTest.java
package pipe.views; import static org.junit.Assert.*; import java.awt.Color; import java.util.Observable; import java.util.Observer; import org.junit.Before; import org.junit.Test; import pipe.models.PipeObservable; import pipe.models.component.token.Token; public class MarkingViewTest implements Observer { priva...
Remove buggy unit test
pipe-gui/src/test/java/pipe/views/MarkingViewTest.java
Remove buggy unit test
<ide><path>ipe-gui/src/test/java/pipe/views/MarkingViewTest.java <ide> tokenView.disableAndNotifyObservers(); <ide> assertNull(markingView.getToken()); <ide> } <del> @Test <del> public void verifyMarkingViewTellsObserversToDeleteSelfIfItsTokenViewIsSetDisabled() throws Exception <del> { <del> markingView = new ...
Java
apache-2.0
error: pathspec 'teaapps/src/main/java/org/teatrove/teaapps/contexts/JMXContext.java' did not match any file(s) known to git
69965dfb0b0f4b45b8aa57f902a0c31534694264
1
teatrove/teatrove,teatrove/teatrove
package org.teatrove.teaapps.contexts; import java.lang.management.ClassLoadingMXBean; import java.lang.management.CompilationMXBean; import java.lang.management.GarbageCollectorMXBean; import java.lang.management.ManagementFactory; import java.lang.management.MemoryMXBean; import java.lang.management.MemoryMan...
teaapps/src/main/java/org/teatrove/teaapps/contexts/JMXContext.java
- adding JMXContext to build
teaapps/src/main/java/org/teatrove/teaapps/contexts/JMXContext.java
- adding JMXContext to build
<ide><path>eaapps/src/main/java/org/teatrove/teaapps/contexts/JMXContext.java <add>package org.teatrove.teaapps.contexts; <add> <add>import java.lang.management.ClassLoadingMXBean; <add>import java.lang.management.CompilationMXBean; <add>import java.lang.management.GarbageCollectorMXBean; <add>import java.lang.manageme...
Java
bsd-2-clause
61094aebb570232632f8584ac8fd470819c5b37b
0
bogovicj/bigdataviewer-core,bigdataviewer/bigdataviewer-core,bogovicj/bigdataviewer-core,bigdataviewer/bigdataviewer-core
/* * #%L * BigDataViewer core classes with minimal dependencies. * %% * Copyright (C) 2012 - 2020 BigDataViewer developers. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source c...
src/main/java/bdv/img/n5/N5ImageLoader.java
/* * #%L * BigDataViewer core classes with minimal dependencies. * %% * Copyright (C) 2012 - 2020 BigDataViewer developers. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source c...
Handle missing n5 blocks (#104) handle missing n5 blocks by creating empty arrays TODO consider handling this in the CachedCellImg or possibly re-using arrays to reduce RAM consumption/ better utilize cache Co-authored-by: Christian Tischer <286865aa29e22e60dce26b2e22ea1773a6d4e8eb@embl.de>
src/main/java/bdv/img/n5/N5ImageLoader.java
Handle missing n5 blocks (#104)
<ide><path>rc/main/java/bdv/img/n5/N5ImageLoader.java <ide> import net.imglib2.type.volatiles.VolatileUnsignedShortType; <ide> import net.imglib2.util.Cast; <ide> import net.imglib2.view.Views; <del>import org.janelia.saalfeldlab.n5.DataBlock; <del>import org.janelia.saalfeldlab.n5.DataType; <del>import org.janelia.saa...
Java
apache-2.0
c7e6e4e004be97744d24bbf3f235119e1fb22f97
0
btmura/rbb
/* * Copyright (C) 2012 Brian Muramatsu * * 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 a...
src/com/btmura/android/reddit/activity/LoginBrowserActivity.java
/* * Copyright (C) 2012 Brian Muramatsu * * 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 a...
Add back home up button support
src/com/btmura/android/reddit/activity/LoginBrowserActivity.java
Add back home up button support
<ide><path>rc/com/btmura/android/reddit/activity/LoginBrowserActivity.java <ide> package com.btmura.android.reddit.activity; <ide> <ide> import android.app.ActionBar; <del>import android.app.FragmentManager; <ide> import android.app.ActionBar.OnNavigationListener; <ide> import android.app.Activity; <add>import android...
Java
lgpl-2.1
71f45f765962b76c1a15e8764e9d724e72f28b88
0
spotbugs/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,sewe/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,sewe/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2004-2006 University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, o...
findbugs/src/java/edu/umd/cs/findbugs/detect/FindSelfComparison.java
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2004-2006 University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, o...
Fix for the false positives? git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@11339 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
findbugs/src/java/edu/umd/cs/findbugs/detect/FindSelfComparison.java
Fix for the false positives?
<ide><path>indbugs/src/java/edu/umd/cs/findbugs/detect/FindSelfComparison.java <ide> package edu.umd.cs.findbugs.detect; <ide> <ide> import org.apache.bcel.classfile.Code; <add>import org.apache.bcel.classfile.LineNumberTable; <ide> <ide> import edu.umd.cs.findbugs.BugAccumulator; <ide> import edu.umd.cs.findbugs.Bug...
Java
bsd-3-clause
29083ff2c7800a2f54a568838a6c580573e6d8ff
0
Pesegato/MonkeySheet
package com.pesegato.collision; import com.jme3.math.Quaternion; import com.jme3.math.Vector3f; import com.jme3.renderer.RenderManager; import com.jme3.renderer.ViewPort; import com.jme3.scene.Spatial; import com.pesegato.collision.hitbox.HBRect; import org.dyn4j.collision.CategoryFilter; import org.dyn4j.collision.br...
src/main/java/com/pesegato/collision/Dyn4JShapeControl.java
package com.pesegato.collision; import com.jme3.math.Quaternion; import com.jme3.math.Vector3f; import com.jme3.renderer.RenderManager; import com.jme3.renderer.ViewPort; import com.jme3.scene.Spatial; import com.pesegato.collision.hitbox.HBRect; import org.dyn4j.collision.broadphase.BroadphaseDetector; import org.dyn...
Added categoryfilter, removed old code
src/main/java/com/pesegato/collision/Dyn4JShapeControl.java
Added categoryfilter, removed old code
<ide><path>rc/main/java/com/pesegato/collision/Dyn4JShapeControl.java <ide> import com.jme3.renderer.ViewPort; <ide> import com.jme3.scene.Spatial; <ide> import com.pesegato.collision.hitbox.HBRect; <add>import org.dyn4j.collision.CategoryFilter; <ide> import org.dyn4j.collision.broadphase.BroadphaseDetector; <ide> imp...
Java
mit
bbce8d2dfff43404347f5971c98f59bd2347ca24
0
uber/jaeger-client-java,uber/jaeger-client-java
/* * Copyright (c) 2016, Uber Technologies, Inc * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, me...
jaeger-core/src/test/java/com/uber/jaeger/reporters/protocols/JaegerThriftSpanConverterTest.java
/* * Copyright (c) 2016, Uber Technologies, Inc * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, me...
remove formatter comments (#167)
jaeger-core/src/test/java/com/uber/jaeger/reporters/protocols/JaegerThriftSpanConverterTest.java
remove formatter comments (#167)
<ide><path>aeger-core/src/test/java/com/uber/jaeger/reporters/protocols/JaegerThriftSpanConverterTest.java <ide> <ide> @DataProvider <ide> public static Object[][] dataProviderBuildTag() { <del> // @formatter:off <ide> return new Object[][] { <ide> { "value", TagType.STRING, "value" }, <ide> ...
Java
mit
f751c403d475dc9e92c009f3432df81bc1001f5e
0
lemmy/tlaplus,lemmy/tlaplus,lemmy/tlaplus,lemmy/tlaplus,tlaplus/tlaplus,tlaplus/tlaplus,tlaplus/tlaplus,tlaplus/tlaplus
// Copyright (c) 2003 Compaq Corporation. All rights reserved. // Portions Copyright (c) 2003 Microsoft Corporation. All rights reserved. // Last modified on Wed 4 Jul 2007 at 17:46:34 PST by lamport // modified on Fri Jan 18 11:33:51 PST 2002 by yuanyu package tlc2.tool; import java.io.IOException; impo...
tlatools/src/tlc2/tool/ModelChecker.java
// Copyright (c) 2003 Compaq Corporation. All rights reserved. // Portions Copyright (c) 2003 Microsoft Corporation. All rights reserved. // Last modified on Wed 4 Jul 2007 at 17:46:34 PST by lamport // modified on Fri Jan 18 11:33:51 PST 2002 by yuanyu package tlc2.tool; import java.io.IOException; impo...
Remove left over debug syserr statement.
tlatools/src/tlc2/tool/ModelChecker.java
Remove left over debug syserr statement.
<ide><path>latools/src/tlc2/tool/ModelChecker.java <ide> // Do not suspend the state queue if neither check-pointing nor <ide> // liveness-checking is going to happen. Suspending is expensive. <ide> // It stops all workers. <del> System.err.println("§§grlksejglkfdjglsk§"); <ide> return true; <ide> } <id...
Java
apache-2.0
b60e8f6890daa8ad4eed26f7bea43bbf38bf307d
0
zqian/sakai,tl-its-umich-edu/sakai,rodriguezdevera/sakai,buckett/sakai-gitflow,clhedrick/sakai,ktakacs/sakai,kingmook/sakai,bkirschn/sakai,hackbuteer59/sakai,introp-software/sakai,udayg/sakai,rodriguezdevera/sakai,kingmook/sakai,buckett/sakai-gitflow,hackbuteer59/sakai,pushyamig/sakai,surya-janani/sakai,clhedrick/sakai...
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2004, 2005, 2006 The Sakai Foundation. * * Licensed under the Educational Community License, Version 1.0 (the"Li...
samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/author/ItemAuthorBean.java
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2004, 2005, 2006 The Sakai Foundation. * * Licensed under the Educational Community License, Version 1.0 (the"Li...
SAK-11253 git-svn-id: 574bb14f304dbe16c01253ed6697ea749724087f@34308 66ffb92e-73f9-0310-93c1-f5514f145a0a
samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/author/ItemAuthorBean.java
SAK-11253
<ide><path>amigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/author/ItemAuthorBean.java <ide> import java.io.Serializable; <ide> import java.util.ArrayList; <ide> import java.util.Collections; <add>import java.util.Comparator; <ide> import java.util.HashMap; <ide> import java.util.HashSet; <ide> import...
JavaScript
mit
af1573725f4c4b5ac816b009666d3baddf187419
0
ngzax/urbit,jfranklin9000/urbit,jfranklin9000/urbit,urbit/urbit,ngzax/urbit,jfranklin9000/urbit,jfranklin9000/urbit,urbit/urbit,urbit/urbit,ngzax/urbit,urbit/urbit,ngzax/urbit,urbit/urbit,urbit/urbit,jfranklin9000/urbit,ngzax/urbit,jfranklin9000/urbit,ngzax/urbit,ngzax/urbit,urbit/urbit,jfranklin9000/urbit
import React, { Component } from 'react' import classnames from 'classnames'; import { Route, Link } from 'react-router-dom'; import urbitOb from 'urbit-ob'; //TODO textarea + join button to make an api call export class JoinScreen extends Component { constructor(props) { super(props); this.state = { ...
pkg/interface/publish/src/js/components/lib/join.js
import React, { Component } from 'react' import classnames from 'classnames'; import { Route, Link } from 'react-router-dom'; import urbitOb from 'urbit-ob'; //TODO textarea + join button to make an api call export class JoinScreen extends Component { constructor(props) { super(props); this.state = { ...
don't allow spurious newline in input
pkg/interface/publish/src/js/components/lib/join.js
don't allow spurious newline in input
<ide><path>kg/interface/publish/src/js/components/lib/join.js <ide> rows={1} <ide> onKeyPress={e => { <ide> if (e.key === "Enter") { <add> e.preventDefault(); <ide> this.onClickJoin(); <ide> } <ide> }}
JavaScript
mit
b92a22a6d6d4835208798e75ce1d9818cfe0da79
0
OpenCollective/frontend
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { graphql, compose } from 'react-apollo'; import gql from 'graphql-tag'; import { get, omit, pick } from 'lodash'; import { Box, Flex } from '@rebass/grid'; import styled from 'styled-components'; impor...
src/pages/createOrderNewFlow.js
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { graphql, compose } from 'react-apollo'; import gql from 'graphql-tag'; import { get, omit, pick } from 'lodash'; import { Box, Flex } from '@rebass/grid'; import styled from 'styled-components'; impor...
feat(pages/createOrderNewFlow): set default amount for tiers Signed-off-by: François Hodierne <5187da0b934cc25eb2201a3ec9206c24b13cb23b@hodierne.net>
src/pages/createOrderNewFlow.js
feat(pages/createOrderNewFlow): set default amount for tiers
<ide><path>rc/pages/createOrderNewFlow.js <ide> <ide> constructor(props) { <ide> super(props); <add> <add> const tier = this.getTier(); <ide> const interval = (props.interval || '').toLowerCase().replace(/ly$/, ''); <add> const amountOptions = (tier && tier.presets) || [500, 1000, 2000, 5000]; <add> ...
Java
apache-2.0
6b20f23ce548ebacd953507ca59bbebfbdef148a
0
osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi
/* * Copyright (c) OSGi Alliance (2013). All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
org.osgi.service.zigbee/src/org/osgi/service/zigbee/data/LinkQuality.java
/* * Copyright (c) OSGi Alliance (2013). 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 ...
RFC192: fix a typo in a method name.
org.osgi.service.zigbee/src/org/osgi/service/zigbee/data/LinkQuality.java
RFC192: fix a typo in a method name.
<ide><path>rg.osgi.service.zigbee/src/org/osgi/service/zigbee/data/LinkQuality.java <ide> * @return the relationship between {@link ZigBeeNode} returning this and <ide> * the {@link ZigBeeNode} identified by the {@link #getNeighbour()} <ide> */ <del> public int getRelathionship(); <add> public int getRela...
Java
apache-2.0
38b322d3bc13b1752c65616c2cf66f5c14c369b9
0
mjanicek/rembulan,kroepke/luna
package net.sandius.rembulan.compiler.gen.block; import net.sandius.rembulan.compiler.gen.Slots; import net.sandius.rembulan.util.Check; import net.sandius.rembulan.util.IntContainer; import net.sandius.rembulan.util.IntSet; public class Capture extends Linear implements LocalVariableEffect { public final IntSet in...
rembulan-compiler/src/main/java/net/sandius/rembulan/compiler/gen/block/Capture.java
package net.sandius.rembulan.compiler.gen.block; import net.sandius.rembulan.compiler.gen.Slots; import net.sandius.rembulan.util.Check; import net.sandius.rembulan.util.IntVector; public class Capture extends Linear implements LocalVariableEffect { public final IntVector indices; public Capture(IntVector indices...
Using integer sets in capture nodes.
rembulan-compiler/src/main/java/net/sandius/rembulan/compiler/gen/block/Capture.java
Using integer sets in capture nodes.
<ide><path>embulan-compiler/src/main/java/net/sandius/rembulan/compiler/gen/block/Capture.java <ide> <ide> import net.sandius.rembulan.compiler.gen.Slots; <ide> import net.sandius.rembulan.util.Check; <del>import net.sandius.rembulan.util.IntVector; <add>import net.sandius.rembulan.util.IntContainer; <add>import net.s...
JavaScript
mit
fe7c52f0c457c43c3d405e1482621d09b006ac0f
0
geowa4/pajamas
!(function (factory) { if (typeof module !== 'undefined' && module.exports) module.exports = factory(require('q')) else if (typeof define === 'function' && define.amd) define(['q'], factory) else this['qjax'] = factory(this['Q']) } (function (Q) { var win = window , readyState = 'readyState' , xm...
src/qjax.js
!(function (factory) { if (typeof module !== 'undefined' && module.exports) module.exports = factory(require('q')) else if (typeof define === 'function' && define.amd) define(['q'], factory) else this['qjax'] = factory(this['Q']) } (function (Q) { var win = window , readyState = 'readyState' , xm...
process data like jquery does
src/qjax.js
process data like jquery does
<ide><path>rc/qjax.js <ide> , o = options == null ? {} : options <ide> , method = (o.method || 'GET').toUpperCase() <ide> , url = o.url || '' <del> , data = (o.processData !== false && o.data) ? <add> , data = (o.data && o.processData && typeof o.data !== 'string') ? <ide> toQueryS...
Java
mit
637de1fe288bece8452eaa5e595df2b3ef0fecfe
0
CMPUT301W17T10/psychic-engine
app/src/main/java/com/psychic_engine/cmput301w17t10/feelsappman/EditMoodController.java
package com.psychic_engine.cmput301w17t10.feelsappman; import android.location.Location; import com.psychic_engine.cmput301w17t10.feelsappman.Enums.MoodState; import com.psychic_engine.cmput301w17t10.feelsappman.Enums.SocialSetting; import com.psychic_engine.cmput301w17t10.feelsappman.Models.Mood; import com.psychic_...
Delete EditMoodController.java
app/src/main/java/com/psychic_engine/cmput301w17t10/feelsappman/EditMoodController.java
Delete EditMoodController.java
<ide><path>pp/src/main/java/com/psychic_engine/cmput301w17t10/feelsappman/EditMoodController.java <del>package com.psychic_engine.cmput301w17t10.feelsappman; <del> <del>import android.location.Location; <del> <del>import com.psychic_engine.cmput301w17t10.feelsappman.Enums.MoodState; <del>import com.psychic_engine.cmput...
Java
apache-2.0
6d0141aa982b26cac7ccb2304b6864388771cf0d
0
abarisain/dmix,jcnoir/dmix,hurzl/dmix,abarisain/dmix,hurzl/dmix,0359xiaodong/dmix,0359xiaodong/dmix,jcnoir/dmix,joansmith/dmix,joansmith/dmix
package org.a0z.mpd; import org.a0z.mpd.exception.MPDClientException; import org.a0z.mpd.exception.MPDConnectionException; import org.a0z.mpd.exception.MPDServerException; import android.content.Context; import android.util.Log; import java.net.InetAddress; import java.net.URL; import java.net.UnknownHostException;...
JMPDComm/src/org/a0z/mpd/MPD.java
package org.a0z.mpd; import android.content.Context; import android.util.Log; import org.a0z.mpd.exception.MPDClientException; import org.a0z.mpd.exception.MPDConnectionException; import org.a0z.mpd.exception.MPDServerException; import java.net.InetAddress; import java.net.URL; import java.net.UnknownHostException;...
MPD.java: Don't change MPD state when replacing on the playlist. While playing if 'Add, Replace and Play' or 'Add and replace' are selected, don't stop, clear, add and play. Rather than invoke a MPD state change, move the current playing playlist queue item to queue postition 0, then remove the remaining playlist item...
JMPDComm/src/org/a0z/mpd/MPD.java
MPD.java: Don't change MPD state when replacing on the playlist.
<ide><path>MPDComm/src/org/a0z/mpd/MPD.java <ide> <ide> package org.a0z.mpd; <del> <del>import android.content.Context; <del>import android.util.Log; <ide> <ide> import org.a0z.mpd.exception.MPDClientException; <ide> import org.a0z.mpd.exception.MPDConnectionException; <ide> import org.a0z.mpd.exception.MPDServerExce...
Java
apache-2.0
0924ed1241ec67282082fd3b977f127d7f229b74
0
apache/commons-validator,apache/commons-validator,apache/commons-validator
/* * 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/test/java/org/apache/commons/validator/routines/UrlValidatorTest.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 ...
=> JUnit4
src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java
=> JUnit4
<ide><path>rc/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java <ide> */ <ide> package org.apache.commons.validator.routines; <ide> <add>import static org.junit.Assert.*; <add> <ide> import org.apache.commons.validator.ResultPair; <del> <del>import junit.framework.TestCase; <add>import org.junit.B...
Java
apache-2.0
45444ed2b9e27997ef8b3927a82291bfba098325
0
apache/groovy,paulk-asert/groovy,paulk-asert/incubator-groovy,apache/groovy,apache/incubator-groovy,apache/incubator-groovy,paulk-asert/incubator-groovy,shils/groovy,paulk-asert/groovy,shils/groovy,armsargis/groovy,apache/groovy,paulk-asert/incubator-groovy,armsargis/groovy,shils/incubator-groovy,paulk-asert/groovy,shi...
/* * 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")...
src/main/java/org/codehaus/groovy/ast/decompiled/DecompiledClassNode.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")...
Tweak lazy logic with double-checked locking
src/main/java/org/codehaus/groovy/ast/decompiled/DecompiledClassNode.java
Tweak lazy logic with double-checked locking
<ide><path>rc/main/java/org/codehaus/groovy/ast/decompiled/DecompiledClassNode.java <ide> public class DecompiledClassNode extends ClassNode { <ide> private final ClassStub classData; <ide> private final AsmReferenceResolver resolver; <del> private boolean supersInitialized = false; <del> private boolean ...