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
bsd-3-clause
4cc5257bca46def222020968ef12f7b73c3f14b3
0
SalesforceFoundation/HEDAP,SalesforceFoundation/HEDAP,SalesforceFoundation/HEDAP
import { LightningElement, api, track } from "lwc"; import stgHealthCheckLoadingIndicator from "@salesforce/label/c.stgHealthCheckLoadingIndicator"; //Account Model Settings Labels import stgAccountModelSettingsTitle from "@salesforce/label/c.stgAccountModelSettingsTitle"; import stgAccModelTitle from "@salesforce/labe...
force-app/main/default/lwc/edaSettingsNavigation/edaSettingsNavigation.js
import { LightningElement, api, track } from "lwc"; import stgHealthCheckLoadingIndicator from "@salesforce/label/c.stgHealthCheckLoadingIndicator"; //Account Model Settings Labels import stgAccountModelSettingsTitle from "@salesforce/label/c.stgAccountModelSettingsTitle"; import stgAccModelTitle from "@salesforce/labe...
adding custom label to navigation
force-app/main/default/lwc/edaSettingsNavigation/edaSettingsNavigation.js
adding custom label to navigation
<ide><path>orce-app/main/default/lwc/edaSettingsNavigation/edaSettingsNavigation.js <ide> }, <ide> programSettings: { <ide> programSettings: stgProgramsSettingsNav, <del> programAutoEnrollmentMappings: "Program Auto-Enrollment Mappings", <add> programAutoEnrollmentMappi...
Java
bsd-2-clause
62faf38f87aeeff8a2d5a309175fcdfd13928255
0
Periodicraft-Dev/Periodicraft-Minecraft-Mod
package org.periodicraft.periodicraft; import org.periodicraft.periodicraft.block.PeriodicraftOre; import org.periodicraft.periodicraft.item.PeriodicraftArmor; import org.periodicraft.periodicraft.item.PeriodicraftAxe; import org.periodicraft.periodicraft.item.PeriodicraftEntityBullet; import org.periodicraft.periodic...
main/java/org/periodicraft/periodicraft/Periodicraft.java
package org.periodicraft.periodicraft; import org.periodicraft.periodicraft.block.PeriodicraftOre; import org.periodicraft.periodicraft.item.PeriodicraftArmor; import org.periodicraft.periodicraft.item.PeriodicraftAxe; import org.periodicraft.periodicraft.item.PeriodicraftEntityBullet; import org.periodicraft.periodic...
Preped for presentation
main/java/org/periodicraft/periodicraft/Periodicraft.java
Preped for presentation
<ide><path>ain/java/org/periodicraft/periodicraft/Periodicraft.java <ide> //Blazing <ide> ToolMaterialBlazing = EnumHelper.addToolMaterial("Blazing", 2, 300, 5.3F, 3.0F, 27); <ide> ArmorMaterialBlazing = EnumHelper.addArmorMaterial("Blazing", 15, new int[] {3, 6, 5, 3}, 27); <del> // Bloc...
JavaScript
mit
f58dcd1df1b52c4ff92752590fc7d14cbe835fab
0
Baqend/js-sdk,Baqend/js-sdk
"use strict"; var message = require('./message'); var error = require('./error'); var binding = require('./binding'); var util = require('./util'); var query = require('./query'); var UserFactory = require('./binding/UserFactory'); var EntityTransaction = require('./EntityTransaction'); var Metadata = require('./util...
lib/EntityManager.js
"use strict"; var message = require('./message'); var error = require('./error'); var binding = require('./binding'); var util = require('./util'); var query = require('./query'); var UserFactory = require('./binding/UserFactory'); var EntityTransaction = require('./EntityTransaction'); var Metadata = require('./util...
Fix empty promise in newPassword
lib/EntityManager.js
Fix empty promise in newPassword
<ide><path>ib/EntityManager.js <ide> }); <ide> <ide> return this.send(msg).then((response) => { <del> this._updateUser(response.entity); <add> return this._updateUser(response.entity); <ide> }); <ide> }); <ide> }
Java
agpl-3.0
36a2cade1ad0621c8cd867f07ffa35849f566595
0
JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio
/* * DataImportOptionsUiSav.java * * Copyright (C) 2009-16 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Publ...
src/gwt/src/org/rstudio/studio/client/workbench/views/environment/dataimport/DataImportOptionsUiSav.java
/* * DataImportOptionsUiSav.java * * Copyright (C) 2009-16 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Publ...
address pr feedback
src/gwt/src/org/rstudio/studio/client/workbench/views/environment/dataimport/DataImportOptionsUiSav.java
address pr feedback
<ide><path>rc/gwt/src/org/rstudio/studio/client/workbench/views/environment/dataimport/DataImportOptionsUiSav.java <ide> public HelpLink getHelpLink() <ide> { <ide> return new HelpLink( <del> "Reading statistical data using haven", <add> "Reading data using haven", <ide> "import_hav...
JavaScript
agpl-3.0
1361ce2b2bcf9cce55fed68876d0c6c44fb4923f
0
manuel/edgelisp,manuel/edgelisp
/* CyberLisp: A Lisp that compiles to JavaScript 1.5. Copyright (C) 2008, 2011 by Manuel Simoni. CyberLisp is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your optio...
runtime.js
/* CyberLisp: A Lisp that compiles to JavaScript 1.5. Copyright (C) 2008, 2011 by Manuel Simoni. CyberLisp is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your optio...
simplified lisp_specializers_lists_agree
runtime.js
simplified lisp_specializers_lists_agree
<ide><path>untime.js <ide> { <ide> if (actuals.length != formals.length) return false; <ide> for (var i = 0, len = actuals.length; i < len; i++) <del> if (!lisp_specializers_agree(actuals[i], formals[i])) <add> if (!lisp_subtypep(actuals[i], formals[i])) <ide> return false; <ide> r...
Java
agpl-3.0
b6b61180d09bd8a6447aebcef8266826c1b52135
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
e437a966-2e5f-11e5-9284-b827eb9e62be
hello.java
e432435e-2e5f-11e5-9284-b827eb9e62be
e437a966-2e5f-11e5-9284-b827eb9e62be
hello.java
e437a966-2e5f-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>e432435e-2e5f-11e5-9284-b827eb9e62be <add>e437a966-2e5f-11e5-9284-b827eb9e62be
Java
apache-2.0
0f30328d7c3fee1bf101ab1094169c753cb0295a
0
apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj,apache/uima-uimaj
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/util/Primitives.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")...
No jira, removed unused SuppressWarnings annotation. git-svn-id: a5af42c550a078756190f4e79161aff2e348b436@1004559 13f79535-47bb-0310-9956-ffa450edef68
uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/util/Primitives.java
No jira, removed unused SuppressWarnings annotation.
<ide><path>imaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/util/Primitives.java <ide> <ide> private final String mTypeName; <ide> <del> @SuppressWarnings("unchecked") <ide> private final Class mType; <ide> <del> @SuppressWarnings("unchecked") <ide> private Primitives(String typeName, Class ...
Java
mit
0e548afb4703aeda5ee247ab2de3244fdc8353f5
0
touist/touist,olzd/touist,FredMaris/touist,olzd/touist,touist/touist,touist/touist,touist/touist,olzd/touist,FredMaris/touist,FredMaris/touist
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package solution; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStream...
ui/solution/Solver.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package solution; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStream...
Deleted and modified to match the ModelsIterator class and the deleted the "OcamlResult" class
ui/solution/Solver.java
Deleted and modified to match the ModelsIterator class and the deleted the "OcamlResult" class
<ide><path>i/solution/Solver.java <ide> import java.io.InputStreamReader; <ide> import java.io.OutputStreamWriter; <ide> import java.io.PrintWriter; <del> <del>import translation.ResultatOcaml; <add>import java.util.Map; <ide> <ide> /** <ide> * This class <ide> * - launches the solver program with the DIMACS input <...
JavaScript
mit
e55fa9a3e502414528d5bec9bde23871ef929271
0
cesarmarinhorj/strata,bigeasy/strata,cesarmarinhorj/strata,bigeasy/strata
#!/usr/bin/env node require('./proof')(1, function (step, Strata, tmp, load, serialize, vivify, assert) { var strata = new Strata({ directory: tmp, leafSize: 3, branchSize: 3 }) step(function () { serialize(__dirname + '/fixtures/empties-non-pivot.before.json', tmp, step()) }, function () { ...
t/merge/empties-non-pivot.t.js
#!/usr/bin/env node require('./proof')(1, function (step, Strata, tmp, serialize, load, vivify, assert) { var strata = new Strata({ directory: tmp, leafSize: 3, branchSize: 3 }) step(function () { serialize(__dirname + '/fixtures/empties-non-pivot.before.json', tmp, step()) }, function () { ...
More tidy `empties-non-pivot.t.js`. See #351.
t/merge/empties-non-pivot.t.js
More tidy `empties-non-pivot.t.js`.
<ide><path>/merge/empties-non-pivot.t.js <ide> #!/usr/bin/env node <ide> <del>require('./proof')(1, function (step, Strata, tmp, serialize, load, vivify, assert) { <add>require('./proof')(1, function (step, Strata, tmp, load, serialize, vivify, assert) { <ide> var strata = new Strata({ directory: tmp, leafSize: 3,...
Java
apache-2.0
329732fc96e1d818c49e7be5cc3375fac1e78cc8
0
getlantern/lantern-java,lqch14102/lantern,lqch14102/lantern,lqch14102/lantern,lqch14102/lantern,lqch14102/lantern,getlantern/lantern-java,getlantern/lantern-java,getlantern/lantern-java,getlantern/lantern-java,getlantern/lantern-java,getlantern/lantern-java,getlantern/lantern-java,lqch14102/lantern,lqch14102/lantern,lq...
package org.lantern; import java.io.File; import org.apache.commons.lang3.SystemUtils; import org.lantern.exceptional4j.ExceptionalUtils; /** * Client-side constants. */ public class LanternClientConstants { public static final String FALLBACK_SERVER_HOST; public static final String FALLBACK_SERVER_PORT; ...
src/main/java/org/lantern/LanternClientConstants.java
package org.lantern; import java.io.File; import org.apache.commons.lang3.SystemUtils; import org.lantern.exceptional4j.ExceptionalUtils; /** * Client-side constants. */ public class LanternClientConstants { public static final String FALLBACK_SERVER_HOST; public static final String FALLBACK_SERVER_PORT; ...
Changed to use https for stats
src/main/java/org/lantern/LanternClientConstants.java
Changed to use https for stats
<ide><path>rc/main/java/org/lantern/LanternClientConstants.java <ide> <ide> public static void setControllerId(final String id) { <ide> LANTERN_JID = id + "@appspot.com"; <del> STATS_URL = "http://" + id + ".appspot.com/stats"; <add> STATS_URL = "https://" + id + ".appspot.com/stats"; <ide> ...
Java
apache-2.0
5ddf1fee43b623b6f4b22e208cb7bef4c6cfcb5b
0
Diusrex/CMPUT301-Assignment1
package com.example.assignment1; import java.util.Calendar; import java.util.Currency; import java.util.GregorianCalendar; public class TravelExpense { private Calendar date; private String description; private Category category; private float amount; private Currency currency; enum Category ...
src/com/example/assignment1/TravelExpense.java
package com.example.assignment1; public class TravelExpense { }
Set up the expense class with all its needed members
src/com/example/assignment1/TravelExpense.java
Set up the expense class with all its needed members
<ide><path>rc/com/example/assignment1/TravelExpense.java <ide> package com.example.assignment1; <ide> <add>import java.util.Calendar; <add>import java.util.Currency; <add>import java.util.GregorianCalendar; <add> <ide> public class TravelExpense { <add> private Calendar date; <add> private String description; <a...
JavaScript
mit
82e5d198ff7fcc39293e8dea1e02bea034545a0c
0
SpectrumBroad/xible,SpectrumBroad/xible
View.routes['/settings/general'] = function(EL) { EL.innerHTML = ` <section> <h1>General</h1> <section id="webserver"> <h2>Webserver</h2> <dl> <dt> <label for="settingsGeneralWebserverPort"> Port <div>The plain-HTTP (non-SSL) port this web interface and the API routes are hosted on. I...
editor/views/settings/general.js
View.routes['/settings/general'] = function(EL) { EL.innerHTML = ` <section> <h1>General</h1> <section id="webserver"> <h2>Webserver</h2> <dl> <dt> <label for="settingsGeneralWebserverPort"> Port <div>The plain-HTTP (non-SSL) port this web interface and the API routes are hosted on. I...
added configpaths for working ui
editor/views/settings/general.js
added configpaths for working ui
<ide><path>ditor/views/settings/general.js <ide> <div>The plain-HTTP (non-SSL) port this web interface and the API routes are hosted on. If SSL is enabled, requests from this port are redirected to a secure connection on this port number incremented by 1.<br/>For example, if port 9600 is configured here and SSL i...
Java
agpl-3.0
939f5cdd6b23b11546990f6e62031687ec64fd78
0
AlienQueen/HatchetHarry,AlienQueen/HatchetHarry,AlienQueen/HatchetHarry
package org.alienlabs.hatchetharry.service; import java.io.Serializable; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; import java.util.Set; import java.util.UUID; import org.alienlabs.hatchetharry.model.CardZone; import org.alienlabs.hatchetharry.model.CollectibleCard; import org.al...
src/main/java/org/alienlabs/hatchetharry/service/PersistenceService.java
package org.alienlabs.hatchetharry.service; import java.io.Serializable; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; import java.util.Set; import java.util.UUID; import org.alienlabs.hatchetharry.model.CardZone; import org.alienlabs.hatchetharry.model.CollectibleCard; import org.al...
FIXED bug
src/main/java/org/alienlabs/hatchetharry/service/PersistenceService.java
FIXED bug
<ide><path>rc/main/java/org/alienlabs/hatchetharry/service/PersistenceService.java <ide> p.setDeck(d); <ide> token.setPlayer(p); <ide> <add> final Long magicCardId = c.getId(); <add> <ide> this.deckDao.getSession().merge(d); <ide> <ide> Session session = this.magicCardDao.getSession(); <ide> Query query = ...
Java
unlicense
7979486f16d44fa6b3561b01b21250fe9281997d
0
Samourai-Wallet/samourai-wallet-android
package com.samourai.wallet; import android.animation.ObjectAnimator; import android.app.Activity; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.BroadcastReceiver; import android.content.ClipData; import android.content.Context; import android.content.DialogInterface; import...
app/src/main/java/com/samourai/wallet/BalanceActivity.java
package com.samourai.wallet; import android.animation.ObjectAnimator; import android.app.Activity; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.BroadcastReceiver; import android.content.ClipData; import android.content.Context; import android.content.DialogInterface; import...
Check for bech32 spend for boosted RBF
app/src/main/java/com/samourai/wallet/BalanceActivity.java
Check for bech32 spend for boosted RBF
<ide><path>pp/src/main/java/com/samourai/wallet/BalanceActivity.java <ide> if(obj.has("value")) { <ide> total_outputs += obj.getLong("value"); <ide> <del> String _addr = obj.getString("address"); <add> String _...
Java
apache-2.0
e5fca0d18fd9910c780b6dab2f3c2cc5c8a645e8
0
UKGovLD/registry-core,UKGovLD/registry-core,UKGovLD/registry-core,UKGovLD/registry-core
/****************************************************************** * File: TestAPI.java * Created by: Dave Reynolds * Created on: 1 Feb 2013 * * (c) Copyright 2013, Epimorphics Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complianc...
src/test/java/com/epimorphics/registry/webapi/TestAPI.java
/****************************************************************** * File: TestAPI.java * Created by: Dave Reynolds * Created on: 1 Feb 2013 * * (c) Copyright 2013, Epimorphics Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complianc...
Starting on further tests for import/export
src/test/java/com/epimorphics/registry/webapi/TestAPI.java
Starting on further tests for import/export
<ide><path>rc/test/java/com/epimorphics/registry/webapi/TestAPI.java <ide> import static org.junit.Assert.assertNotNull; <ide> import static org.junit.Assert.assertTrue; <ide> <add>import java.io.File; <ide> import java.io.FileInputStream; <ide> import java.io.IOException; <ide> import java.io.InputStream; <ide> s...
Java
mit
c3f8bfa9a102899804a48e8d59047210928384db
0
sharpstewie/ICS4UFinal
/* GUESS THAT CHAMPION * * ---------------------------------------------------------------------------- * "Guess That Champion!" isn't endorsed by Riot Games and doesn't reflect * the views or opinions of Riot Games or anyone * officially involved in producing or managing League of Legends. * League of...
src/guiGuess_v1_3.java
/* GUESS THAT CHAMPION * * ---------------------------------------------------------------------------- * "Guess That Champion!" isn't endorsed by Riot Games and doesn't reflect * the views or opinions of Riot Games or anyone * officially involved in producing or managing League of Legends. * League of...
Round ends immediately after running out of lives
src/guiGuess_v1_3.java
Round ends immediately after running out of lives
<ide><path>rc/guiGuess_v1_3.java <ide> <ide> // Start new round <ide> roundStart = roundEnd; <del> if((total < champions.size() - 3) && (gameStart < cap)) <add> if((total < champions.size() - 3) && (gameStart < cap) && (lives > 0)) <ide> nextRound(); <ide> else{ <ide> frame.disp...
JavaScript
mit
d28166805f72de1f76dcbc322e5c79ec50791882
0
GrayYoung/jQuery.UI.Extension,GrayYoung/jQuery.UI.Extension
/* * jQuery UI Droppable @VERSION * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Droppables * * Depends: * ui.core.js * ui.draggable.js */ (function($) { $.widget("ui.droppabl...
ui/ui.droppable.js
/* * jQuery UI Droppable @VERSION * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Droppables * * Depends: * ui.core.js * ui.draggable.js */ (function($) { $.widget("ui.droppabl...
droppable: greedy childs that dont accept the draggable dont block propagation anymore, fixes #4570
ui/ui.droppable.js
droppable: greedy childs that dont accept the draggable dont block propagation anymore, fixes #4570
<ide><path>i/ui.droppable.js <ide> var childrenIntersection = false; <ide> this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function() { <ide> var inst = $.data(this, 'droppable'); <del> if(inst.options.greedy && $.ui.intersect(draggable, $.extend(inst, { offset: inst.element.offset() }...
Java
mit
647038bd9eaffff9c3a845d1c88d5bea2fbffe69
0
ximsfei/Android-skin-support,ximsfei/Android-skin-support
package skin.support.widget; import android.content.Context; import android.content.res.TypedArray; import android.support.annotation.DrawableRes; import android.support.v7.widget.AppCompatCheckedTextView; import android.util.AttributeSet; import skin.support.R; import skin.support.content.res.SkinCompatResources; i...
android-support/skin-support/src/main/java/skin/support/widget/SkinCompatCheckedTextView.java
package skin.support.widget; import android.content.Context; import android.content.res.TypedArray; import android.support.annotation.DrawableRes; import android.support.v7.widget.AppCompatCheckedTextView; import android.util.AttributeSet; import skin.support.content.res.SkinCompatResources; import static skin.suppo...
CheckedTextView 低版本手机崩溃问题
android-support/skin-support/src/main/java/skin/support/widget/SkinCompatCheckedTextView.java
CheckedTextView 低版本手机崩溃问题
<ide><path>ndroid-support/skin-support/src/main/java/skin/support/widget/SkinCompatCheckedTextView.java <ide> import android.support.v7.widget.AppCompatCheckedTextView; <ide> import android.util.AttributeSet; <ide> <add>import skin.support.R; <ide> import skin.support.content.res.SkinCompatResources; <ide> <ide> impo...
Java
agpl-3.0
b488c7d2a38166c93809fbe3848a90ca53623d0d
0
jrnold/rstudio,tbarrongh/rstudio,suribes/rstudio,pssguy/rstudio,jzhu8803/rstudio,sfloresm/rstudio,thklaus/rstudio,more1/rstudio,githubfun/rstudio,jar1karp/rstudio,more1/rstudio,JanMarvin/rstudio,jrnold/rstudio,pssguy/rstudio,JanMarvin/rstudio,jzhu8803/rstudio,edrogers/rstudio,maligulzar/Rstudio-instrumented,maligulzar/...
/* * CompilePdfOutputPresenter.java * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABILIT...
src/gwt/src/org/rstudio/studio/client/workbench/views/output/compilepdf/CompilePdfOutputPresenter.java
/* * CompilePdfOutputPresenter.java * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABILIT...
show error message if we are unable to terminate a pdf compilation
src/gwt/src/org/rstudio/studio/client/workbench/views/output/compilepdf/CompilePdfOutputPresenter.java
show error message if we are unable to terminate a pdf compilation
<ide><path>rc/gwt/src/org/rstudio/studio/client/workbench/views/output/compilepdf/CompilePdfOutputPresenter.java <ide> @Override <ide> protected void onSuccess(Boolean wasTerminated) <ide> { <del> if (wasTerminated && (onTerminated != null)) <del> onTerminated.execute...
Java
apache-2.0
b07d93ef940c5be57ea058e478895a76731e5419
0
IvatSan/bigfish
package com.doit.bigfish; /** * Hello world! * */ public class App { public static void main( String[] args ) { System.out.println( "Wellcome to BigFish Application ! - DEV" ); } }
bigfish-app/src/main/java/com/doit/bigfish/App.java
package com.doit.bigfish; /** * Hello world! * */ public class App { public static void main( String[] args ) { System.out.println( "Wellcome to BigFish Application !" ); } }
comit - dev branch
bigfish-app/src/main/java/com/doit/bigfish/App.java
comit - dev branch
<ide><path>igfish-app/src/main/java/com/doit/bigfish/App.java <ide> { <ide> public static void main( String[] args ) <ide> { <del> System.out.println( "Wellcome to BigFish Application !" ); <add> System.out.println( "Wellcome to BigFish Application ! - DEV" ); <ide> } <ide> }
JavaScript
mit
6b73850c33bf9a1e3a7ef9e6f2807a2813bada37
0
fnogatz/tconsole
module.exports = createConsole; module.exports.load = load; module.exports.combine = combine; module.exports.getCellContent = getCellContent; module.exports.insert = insert; module.exports.insert.Array = insertArray; module.exports.insert.Object = insertObject; var Table = require('cli-table'); var requireAll = requi...
index.js
module.exports = createConsole; module.exports.load = load; module.exports.combine = combine; module.exports.getCellContent = getCellContent; module.exports.insert = insert; module.exports.insert.Array = insertArray; module.exports.insert.Object = insertObject; var Table = require('cli-table'); var requireAll = requi...
Throw Error for undefined tester
index.js
Throw Error for undefined tester
<ide><path>ndex.js <ide> <ide> for (var type in objects) { <ide> tester = objects[type].test; <del> if (!tester && /^array:/.test(type) && objects[type.replace(/^array:/, '')]) { <del> tester = objects[type.replace(/^array:/, '')].test; <add> if (!tester) { <add> if (/^array:/.test(ty...
Java
apache-2.0
97895bf0e346cf47b6611c19a6bc6a9d604eaaed
0
monkeymq/jgossip
// Copyright (c) 2017 The jgossip Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless r...
src/main/java/net/lvsq/jgossip/handler/ShutdownMessageHandler.java
package net.lvsq.jgossip.handler; import io.vertx.core.json.JsonObject; import net.lvsq.jgossip.core.GossipManager; import net.lvsq.jgossip.model.GossipMember; /** * Created by silv on 7/31/2017. */ public class ShutdownMessageHandler implements MessageHandler { @Override public void handle(Strin...
Update ShutdownMessageHandler.java
src/main/java/net/lvsq/jgossip/handler/ShutdownMessageHandler.java
Update ShutdownMessageHandler.java
<ide><path>rc/main/java/net/lvsq/jgossip/handler/ShutdownMessageHandler.java <add>// Copyright (c) 2017 The jgossip Authors. All rights reserved. <add>// <add>// Licensed under the Apache License, Version 2.0 (the "License"); <add>// you may not use this file except in compliance with the License. <add>// You may obtai...
Java
apache-2.0
37ce79e3ca871d06667fe40f80dc4af0b8b4d5e0
0
mizdebsk/xmvn,fedora-java/xmvn,fedora-java/xmvn,mizdebsk/xmvn,mizdebsk/xmvn,mizdebsk/xmvn,rvais/xmvn,rvais/xmvn,rvais/xmvn,rvais/xmvn,fedora-java/xmvn
/*- * Copyright (c) 2014 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
xmvn-tools/xmvn-install/src/main/java/org/fedoraproject/xmvn/tools/install/condition/Condition.java
/*- * Copyright (c) 2014 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Rework checks for empty XML text
xmvn-tools/xmvn-install/src/main/java/org/fedoraproject/xmvn/tools/install/condition/Condition.java
Rework checks for empty XML text
<ide><path>mvn-tools/xmvn-install/src/main/java/org/fedoraproject/xmvn/tools/install/condition/Condition.java <ide> import java.util.ArrayList; <ide> import java.util.List; <ide> <add>import org.codehaus.plexus.util.StringUtils; <ide> import org.codehaus.plexus.util.xml.Xpp3Dom; <ide> <ide> import org.fedoraproject.x...
Java
lgpl-2.1
31287d8e896fc5548e37530b3ccc12e9ad8acd14
0
ACS-Community/ACS,ACS-Community/ACS,csrg-utfsm/acscb,csrg-utfsm/acscb,csrg-utfsm/acscb,jbarriosc/ACSUFRO,ACS-Community/ACS,ACS-Community/ACS,csrg-utfsm/acscb,jbarriosc/ACSUFRO,csrg-utfsm/acscb,jbarriosc/ACSUFRO,jbarriosc/ACSUFRO,csrg-utfsm/acscb,jbarriosc/ACSUFRO,ACS-Community/ACS,ACS-Community/ACS,csrg-utfsm/acscb,jba...
/* * ALMA - Atacama Large Millimiter Array * (c) European Southern Observatory, 2004 * Copyright by ESO (in the framework of the ALMA collaboration), * All rights reserved * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Pub...
LGPL/CommonSoftware/jacsutil/src/alma/acs/classloading/JarOrderOptimizer.java
/* * ALMA - Atacama Large Millimiter Array * (c) European Southern Observatory, 2004 * Copyright by ESO (in the framework of the ALMA collaboration), * All rights reserved * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Pub...
added jars for alarm system initialization at container start to the top-jars-list git-svn-id: afcf11d89342f630bd950d18a70234a9e277d909@59358 523d945c-050c-4681-91ec-863ad3bb968a
LGPL/CommonSoftware/jacsutil/src/alma/acs/classloading/JarOrderOptimizer.java
added jars for alarm system initialization at container start to the top-jars-list
<ide><path>GPL/CommonSoftware/jacsutil/src/alma/acs/classloading/JarOrderOptimizer.java <ide> "acscomponent.jar", <ide> "jmanager.jar", <ide> "cdbDAL.jar", <add> "cdbErrType.jar", <ide> "archive_xmlstore_if.jar", <ide> "xmlentity.jar", <ide> "systementities.jar", <ide> "acserr.jar", <ide> "acserrj.jar"...
Java
mit
cd801fc3e9ceaaa79fcba17926bab6c225988c63
0
sunnydas/grokkingalgos,sunnydas/grokkingalgos
package com.sunny.grokkingalgorithms.basic_2020.warmup; public class CoinChange { /* * Given a value V, if we want to make a change for V Rs, and we have an infinite supply of each of the denominations in Indian currency, i.e., we have an infinite supply of { 1, 2, 5, 10, 20, 50, 100, 500, 1000} valued coins/note...
src/main/java/com/sunny/grokkingalgorithms/basic_2020/warmup/CoinChange.java
package com.sunny.grokkingalgorithms.basic_2020.warmup; public class CoinChange { /* * Given a value V, if we want to make a change for V Rs, and we have an infinite supply of each of the denominations in Indian currency, i.e., we have an infinite supply of { 1, 2, 5, 10, 20, 50, 100, 500, 1000} valued coins/note...
Coin change dp based.`
src/main/java/com/sunny/grokkingalgorithms/basic_2020/warmup/CoinChange.java
Coin change dp based.`
<ide><path>rc/main/java/com/sunny/grokkingalgorithms/basic_2020/warmup/CoinChange.java <ide> */ <ide> <ide> public static int coinChange(int[] coins,int v) { <add> int[] cache = new int[v+1]; <add> for(int i = 1; i < cache.length ; i++) { <add> cache[i] = Integer.MAX_VALUE; <add> } <add> for(int i = 1; i ...
Java
apache-2.0
2dc6e94a950688b6cbf5a66c9d89b4c010b6fd32
0
electrum/presto,mpilman/presto,11xor6/presto,DanielTing/presto,kietly/presto,mugglmenzel/presto,Zoomdata/presto,Svjard/presto,aramesh117/presto,xiangel/presto,y-lan/presto,soz-fb/presto,erichwang/presto,cawallin/presto,ebyhr/presto,elonazoulay/presto,pwz3n0/presto,erichwang/presto,mbeitchman/presto,miquelruiz/presto,ji...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
presto-cli/src/test/java/com/facebook/presto/cli/TestVerticalRecordPrinter.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Remove duplicate helper functions in test
presto-cli/src/test/java/com/facebook/presto/cli/TestVerticalRecordPrinter.java
Remove duplicate helper functions in test
<ide><path>resto-cli/src/test/java/com/facebook/presto/cli/TestVerticalRecordPrinter.java <ide> import java.io.StringWriter; <ide> import java.util.List; <ide> <del>import static java.util.Arrays.asList; <add>import static com.facebook.presto.cli.TestAlignedTablePrinter.row; <add>import static com.facebook.presto.cli....
Java
bsd-3-clause
757ffcab526b63fb8deb9b2b37a9fa0a4d8a971c
0
andrewkatis/jkind-1,andrewkatis/jkind-1,backesj/jkind,agacek/jkind,agacek/jkind,backesj/jkind,lgwagner/jkind,lgwagner/jkind
package jkind.processes; import java.math.BigInteger; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import jkind.JKindException; import jkind.invariant.Candidate; import jkind.invariant.CandidateGenerator; import jkind.invariant.Graph; import jkind.inva...
src/jkind/processes/InvariantProcess.java
package jkind.processes; import java.math.BigInteger; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import jkind.JKindException; import jkind.invariant.Candidate; import jkind.invariant.CandidateGenerator; import jkind.invariant.Graph; import jkind.inva...
Remove wrong line of code left over from months ago
src/jkind/processes/InvariantProcess.java
Remove wrong line of code left over from months ago
<ide><path>rc/jkind/processes/InvariantProcess.java <ide> return; <ide> } <ide> <del> assertInductiveTransition(k); <ide> sendInvariant(refineInductiveStep(k, graph)); <ide> } <ide> } catch (StopException se) {
Java
apache-2.0
d96149bd34074c669b6435d2ce570b8388537efd
0
NateShoffner/Seachem-Doser
package com.nateshoffner.seachemdoser.core.model.products.gravel; import com.nateshoffner.seachemdoser.DoserApplication; import com.nateshoffner.seachemdoser.R; import com.nateshoffner.seachemdoser.core.model.SeachemDosage; import com.nateshoffner.seachemdoser.core.model.UnitMeasurement; public class FlouriteSand ext...
app/src/main/java/com/nateshoffner/seachemdoser/core/model/products/gravel/FlouriteSand.java
package com.nateshoffner.seachemdoser.core.model.products.gravel; import com.nateshoffner.seachemdoser.DoserApplication; import com.nateshoffner.seachemdoser.R; import com.nateshoffner.seachemdoser.core.model.SeachemDosage; import com.nateshoffner.seachemdoser.core.model.UnitMeasurement; public class FlouriteSand ext...
Fixed note
app/src/main/java/com/nateshoffner/seachemdoser/core/model/products/gravel/FlouriteSand.java
Fixed note
<ide><path>pp/src/main/java/com/nateshoffner/seachemdoser/core/model/products/gravel/FlouriteSand.java <ide> public FlouriteSand() { <ide> super(DoserApplication.getContext().getString(R.string.product_flourite_sand)); <ide> <del> addNote(DoserApplication.getContext().getString(R.string.product_flou...
Java
apache-2.0
75428ec75d5811b49521d5300f050ce7ca720bb3
0
speedment/speedment,speedment/speedment
/** * * Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); You may not * use this file except in compliance with the License. You may obtain a copy of * the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
common/tuple/src/main/java/com/speedment/common/tuple/Tuple1.java
/** * * Copyright (c) 2006-2016, Speedment, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); You may not * use this file except in compliance with the License. You may obtain a copy of * the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
Tuple: Fix bug that Tuple1 indexed from 1 instead of 0
common/tuple/src/main/java/com/speedment/common/tuple/Tuple1.java
Tuple: Fix bug that Tuple1 indexed from 1 instead of 0
<ide><path>ommon/tuple/src/main/java/com/speedment/common/tuple/Tuple1.java <ide> <ide> @Override <ide> default Object get(int index) { <del> if (index == 1) { <add> if (index == 0) { <ide> return get0(); <ide> } else { <ide> throw new IllegalArgumentException(Stri...
JavaScript
isc
bc1e5755a9a9e247099872cc64f2fe498847ec1a
0
npm/slide-flow-control
/* usage: // do something to a list of things asyncMap(myListOfStuff, function (thing, cb) { doSomething(thing.foo, cb) }, cb) // do more than one thing to each item asyncMap(list, fooFn, barFn, cb) */ module.exports = asyncMap function asyncMap () { var steps = Array.prototype.slice.call(arguments) , list =...
lib/async-map.js
/* usage: // do something to a list of things asyncMap(myListOfStuff, function (thing, cb) { doSomething(thing.foo, cb) }, cb) // do more than one thing to each item asyncMap(list, fooFn, barFn, cb) */ module.exports = asyncMap function asyncMap () { var steps = Array.prototype.slice.call(arguments) , list =...
wait for all callbacks to complete
lib/async-map.js
wait for all callbacks to complete
<ide><path>ib/async-map.js <ide> , a = l * n <ide> if (!a) return cb_(null, []) <ide> function cb (er) { <del> if (errState) return <add> if (er && !errState) errState = er <add> <ide> var argLen = arguments.length <ide> for (var i = 1; i < argLen; i ++) if (arguments[i] !== undefined) { <ide> ...
Java
mit
f157eb4a1d5918dcb57f5515d47c1b086a90d8f7
0
Ziftr/nxt,fimkrypto/nxt,fimkrypto/nxt,fimkrypto/nxt,Ziftr/nxt,Ziftr/nxt,fimkrypto/nxt
package nxt; import nxt.db.Db; import nxt.db.DbIterator; import nxt.db.DbKey; import nxt.db.VersionedEntityDbTable; import nxt.peer.Peer; import nxt.peer.Peers; import nxt.util.Convert; import nxt.util.JSON; import nxt.util.Listener; import nxt.util.Listeners; import nxt.util.Logger; import nxt.util.ThreadPool; import...
src/java/nxt/TransactionProcessorImpl.java
package nxt; import nxt.db.Db; import nxt.db.DbIterator; import nxt.db.DbKey; import nxt.db.VersionedEntityDbTable; import nxt.peer.Peer; import nxt.peer.Peers; import nxt.util.Convert; import nxt.util.JSON; import nxt.util.Listener; import nxt.util.Listeners; import nxt.util.Logger; import nxt.util.ThreadPool; import...
trim unconfirmed transaction table before each expiration check
src/java/nxt/TransactionProcessorImpl.java
trim unconfirmed transaction table before each expiration check
<ide><path>rc/java/nxt/TransactionProcessorImpl.java <ide> try { <ide> try { <ide> int minHeight = 0; <del> try (Connection con = Db.getConnection(); <del> PreparedStatement pstmt = con.prepareStatement("SELECT MIN(height) AS min...
Java
apache-2.0
49a5587558d8183f5a054156f59a8bd5bacc9c67
0
lexandro/spring-boot,eddumelendez/spring-boot,isopov/spring-boot,mbogoevici/spring-boot,lucassaldanha/spring-boot,olivergierke/spring-boot,ihoneymon/spring-boot,bclozel/spring-boot,jvz/spring-boot,tiarebalbi/spring-boot,htynkn/spring-boot,javyzheng/spring-boot,Buzzardo/spring-boot,NetoDevel/spring-boot,vakninr/spring-b...
/* * Copyright 2012-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionHandler.java
/* * Copyright 2012-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Fully support `-cp` arguments The CLI application advertises `-cp` support but it appears that only `--cp` is really supported. The fix for gh-178 forgot to update the call to `getParser().parse(...)`. See gh-178
spring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionHandler.java
Fully support `-cp` arguments
<ide><path>pring-boot-cli/src/main/java/org/springframework/boot/cli/command/options/OptionHandler.java <ide> argsToUse[i] = "--cp"; <ide> } <ide> } <del> OptionSet options = getParser().parse(args); <add> OptionSet options = getParser().parse(argsToUse); <ide> return run(options); <ide> } <ide>
Java
apache-2.0
4974dc35f8f02bece1d189719857452b364bb6f4
0
apache/pdfbox,apache/pdfbox
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.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...
PDFBOX-4831: also consider rendering resolution when investigating whether the image is scaled up, as suggested by Gábor Stefanik git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1894101 13f79535-47bb-0310-9956-ffa450edef68
pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java
PDFBOX-4831: also consider rendering resolution when investigating whether the image is scaled up, as suggested by Gábor Stefanik
<ide><path>dfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java <ide> { <ide> bim = pdImage.getImage(); <ide> } <del> boolean isScaledUp = bim.getWidth() < Math.round(at.getScaleX()) || <del> bim.getHeight() < Math.round(at.ge...
Java
mit
1cb6efc556d8ae261d70f6b6d719006a8f7210b6
0
Azerom/tcpmfa
package fr.tcpmfa.display; import java.awt.Image; import fr.tcpmfa.util.Coordinate; public interface GraphicalElement { public Image getImage(Image){ return Image; } public void setImage(Image Image){ this.Image = Image; } public Coordinate getCoordinates(){ return Coordinate; }...
src/fr/tcpmfa/display/GraphicalElement.java
package fr.tcpmfa.display; public interface GraphicalElement { public default Image getImage(java.awt.Image Image){ return Image; } public default void setImage(java.awt.Image newImage){ } public Coordonnees getCoordinates(){ return Coordonnees; } public Coordonnees setCoordinate...
Low update GraphicalElement
src/fr/tcpmfa/display/GraphicalElement.java
Low update GraphicalElement
<ide><path>rc/fr/tcpmfa/display/GraphicalElement.java <ide> package fr.tcpmfa.display; <add> <add>import java.awt.Image; <add> <add>import fr.tcpmfa.util.Coordinate; <ide> <ide> <ide> public interface GraphicalElement { <ide> <del> public default Image getImage(java.awt.Image Image){ <add> public Image getImage(Ima...
Java
bsd-3-clause
116f455a2a585b6b699f421c96904e4a92c26137
0
drkabob/UltAscent1836
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
Knight.java
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
lowered the shooter and kicker speed in autonomous to 90%
Knight.java
lowered the shooter and kicker speed in autonomous to 90%
<ide><path>night.java <ide> double autonStart; <ide> int frisbeesThrown; <ide> public void autonomousInit() { <del> shooter.set(1); <del> kicker.set(1); <add> shooter.set(0.9); <add> kicker.set(0.9); <ide> autonStart = Timer.getFPGATimestamp(); <ide> frisbeesThrown = 0; <ide> driveGear.set(true);
JavaScript
mit
e61981a65a17a72f444765a1243f0fb9f3e7fd40
0
bkimminich/juice-shop,bonze/juice-shop,bkimminich/juice-shop,m4l1c3/juice-shop,bkimminich/juice-shop,m4l1c3/juice-shop,m4l1c3/juice-shop,bkimminich/juice-shop,bonze/juice-shop,m4l1c3/juice-shop,bonze/juice-shop,bonze/juice-shop,m4l1c3/juice-shop,bkimminich/juice-shop,bkimminich/juice-shop,bonze/juice-shop
var db = require('./index') var reviews = [ { _id: '3QxALD3cSdZ7ekW63', product: 1, message: 'One of my favorites!', author: 'admin@juice-sh.op' }, { product: 17, message: 'Has a nice flavor!', author: 'bender@juice-sh.op' }, { product: 3, message: 'I bought it, would buy again. 5/7', author: 'jim@juice-sh.op' }...
mongodb/datacreator.js
var db = require('./index') var reviews = [ { product: 1, message: 'One of my favorites!', author: 'admin@juice-sh.op' }, { product: 17, message: 'Has a nice flavor!', author: 'bender@juice-sh.op' }, { product: 3, message: 'I bought it, would buy again. 5/7', author: 'jim@juice-sh.op' }, { product: 14, message...
Added a fixed id for the first review, which is used in tests
mongodb/datacreator.js
Added a fixed id for the first review, which is used in tests
<ide><path>ongodb/datacreator.js <ide> var db = require('./index') <ide> <ide> var reviews = [ <del> { product: 1, message: 'One of my favorites!', author: 'admin@juice-sh.op' }, <add> { _id: '3QxALD3cSdZ7ekW63', product: 1, message: 'One of my favorites!', author: 'admin@juice-sh.op' }, <ide> { product: 17, messa...
Java
apache-2.0
dc42425e5f6318c80cec6d53280c17324060f9bf
0
gustavoleitao/Easy-Cassandra,otaviojava/Easy-Cassandra
/* * Copyright 2012 Otávio Gonçalves de Santana (otaviojava) * 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 applicab...
src/main/java/org/easycassandra/persistence/cassandra/ColumnUtil.java
/* * Copyright 2012 Otávio Gonçalves de Santana (otaviojava) * 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 applicab...
fix a bug
src/main/java/org/easycassandra/persistence/cassandra/ColumnUtil.java
fix a bug
<ide><path>rc/main/java/org/easycassandra/persistence/cassandra/ColumnUtil.java <ide> for (Field field : persistenceClass.getDeclaredFields()) { <ide> if (field.getAnnotation(Index.class) != null) { <ide> indexFieldList.add(field); <del> } else if (field.getAnnotation...
Java
apache-2.0
7ade603569510ecbd100f3e50cd98ed9a33f1312
0
nielsbasjes/yauaa,nielsbasjes/yauaa,nielsbasjes/yauaa,nielsbasjes/yauaa
/* * Yet Another UserAgent Analyzer * Copyright (C) 2013-2022 Niels Basjes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless...
webapp/src/main/java/nl/basjes/parse/useragent/servlet/user/HumanHtml.java
/* * Yet Another UserAgent Analyzer * Copyright (C) 2013-2022 Niels Basjes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless...
fix: The webservlet copy to clipboard works for multiple
webapp/src/main/java/nl/basjes/parse/useragent/servlet/user/HumanHtml.java
fix: The webservlet copy to clipboard works for multiple
<ide><path>ebapp/src/main/java/nl/basjes/parse/useragent/servlet/user/HumanHtml.java <ide> if (!useClientHints) { <ide> sb <ide> .append(" <a class=\"hideLink\" href=\"?ua=") <del> .append(URLEncoder.encode(userAgent.getU...
Java
mit
4a24fc7a6028b7b2462371ee75409e68c69227cd
0
SquidDev-CC/plethora,SquidDev-CC/plethora
package org.squiddev.plethora.integration.vanilla.meta; import com.google.common.collect.Maps; import net.minecraft.item.EnumDyeColor; import net.minecraft.item.ItemBanner; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; import net.minecraft.tileentity...
src/main/java/org/squiddev/plethora/integration/vanilla/meta/MetaItemBanner.java
package org.squiddev.plethora.integration.vanilla.meta; import com.google.common.collect.Maps; import net.minecraft.item.EnumDyeColor; import net.minecraft.item.ItemBanner; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; import net.minecraft.tileentity...
Fix using client only methods
src/main/java/org/squiddev/plethora/integration/vanilla/meta/MetaItemBanner.java
Fix using client only methods
<ide><path>rc/main/java/org/squiddev/plethora/integration/vanilla/meta/MetaItemBanner.java <ide> import net.minecraft.nbt.NBTTagCompound; <ide> import net.minecraft.nbt.NBTTagList; <ide> import net.minecraft.tileentity.TileEntityBanner; <add>import net.minecraftforge.fml.common.ObfuscationReflectionHelper; <ide> import...
JavaScript
mit
bcbda97f750d34e960b91cb1073d2c2085f92321
0
nowsecure/r2frida,nowsecure/r2frida,nowsecure/r2frida
/* eslint-disable comma-dangle */ 'use strict'; // TODO : implement tracelog eval var and dump trace info into this file // this cant be done from the agent-side const { stalkFunction, stalkEverything } = require('./stalker'); const fs = require('./fs'); const path = require('path'); const config = require('./config')...
src/agent/index.js
/* eslint-disable comma-dangle */ 'use strict'; // TODO : implement tracelog eval var and dump trace info into this file // this cant be done from the agent-side const { stalkFunction, stalkEverything } = require('./stalker'); const fs = require('./fs'); const path = require('path'); const config = require('./config')...
Add tmpdir and homedir in addition to bundledir to :i for iOS
src/agent/index.js
Add tmpdir and homedir in addition to bundledir to :i for iOS
<ide><path>rc/agent/index.js <ide> <ide> function radareSeek (args) { <ide> const addr = getPtr('' + args); <del> const cmdstr = 's ' + (addr || '' + args); <add> const cmdstr = 's ' + (addr || '' + args); <ide> return cmdstr; <ide> // XXX hangs <ide> // return hostCmd(cmdstr); <ide> const v = id.ob...
JavaScript
mit
58ffe14f9f6d0bcdd7e7f77d7490aa130f7a152f
0
cetic/sitcom,cetic/sitcom,aurels/sitcom,cetic/sitcom,aurels/sitcom,aurels/sitcom
class SocialShow extends React.Component { constructor(props) { super(props); this.state = { }; } render() { return ( <div className="social"> <div className="row"> { this.renderEdit() } { this.renderFacebook() } { this.renderLinkedin() } { ...
app/assets/javascripts/contacts/show/social_show.es6
class SocialShow extends React.Component { constructor(props) { super(props); this.state = { }; } render() { return ( <div className="social"> <div className="row"> { this.renderEdit() } { this.renderFacebook() } { this.renderLinkedin() } { ...
empty slate social links
app/assets/javascripts/contacts/show/social_show.es6
empty slate social links
<ide><path>pp/assets/javascripts/contacts/show/social_show.es6 <ide> ) <ide> } <ide> <add> renderSocialInside(url) { <add> if(url == '') { <add> return <em>non-renseigné</em>; <add> } <add> else { <add> return ( <add> <a href={ url } target="_blank"> <add> { url } <add> ...
Java
apache-2.0
79d406a6e924e5257230f5442e30df75642140aa
0
scala/scala,jvican/scala,scala/scala,lrytz/scala,scala/scala,jvican/scala,lrytz/scala,slothspot/scala,scala/scala,slothspot/scala,slothspot/scala,scala/scala,shimib/scala,martijnhoekstra/scala,felixmulder/scala,martijnhoekstra/scala,shimib/scala,jvican/scala,shimib/scala,martijnhoekstra/scala,felixmulder/scala,martijnh...
/* ____ ____ ____ ____ ______ *\ ** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala ** ** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL ** ** /_____/\____/\___/\____/____/ ** \* ...
sources/scalac/transformer/Erasure.java
/* ____ ____ ____ ____ ______ *\ ** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala ** ** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL ** ** /_____/\____/\___/\____/____/ ** \* ...
- Cleaned
sources/scalac/transformer/Erasure.java
- Cleaned
<ide><path>ources/scalac/transformer/Erasure.java <ide> assert tree.type != null : tree; <ide> Type owntype = eraseFully ? tree.type.fullErasure() : tree.type.erasure(); <ide> switch (tree) { <del> case ClassDef(_, _, AbsTypeDef[] tparams, ValDef[][] vparams, Tree tpe, Template impl): <add> case ClassDef(_, _, _, _,...
JavaScript
mit
4a3a7357f22ef96abba37cb496a509b74e82922f
0
FormidableLabs/victory-chart,GreenGremlin/victory-chart,FormidableLabs/victory-chart,GreenGremlin/victory-chart
import React from "react"; import { VictoryContainer, Selection, PropTypes as CustomPropTypes, Domain } from "victory-core"; import Helpers from "./container-helper-methods"; import { isFunction, isEqual } from "lodash"; export default class VictoryRangeContainer extends VictoryContainer { static displayName = "V...
src/components/containers/victory-range-container.js
import React from "react"; import { VictoryContainer, Selection, PropTypes as CustomPropTypes, Domain } from "victory-core"; import Helpers from "./container-helper-methods"; import { isFunction, isEqual } from "lodash"; export default class VictoryRangeContainer extends VictoryContainer { static displayName = "V...
constrain selection area
src/components/containers/victory-range-container.js
constrain selection area
<ide><path>rc/components/containers/victory-range-container.js <ide> fill: "black", <ide> fillOpacity: 0.2 <ide> }, <add> dimension: "x", <ide> handleWidth: 5 <ide> }; <ide> <ide> const { dimension, scale, selectedDomain } = targetProps; <ide> const fullDomain = targetProps.ful...
Java
mit
2e1067ecae388c9c4bd951e34a23325479759dc8
0
sake/bouncycastle-java
package org.bouncycastle.math.ec; import java.math.BigInteger; import java.util.Random; public abstract class ECFieldElement implements ECConstants { BigInteger x; protected ECFieldElement(BigInteger x) { this.x = x; } public BigInteger toBigInteger() { return x; ...
src/org/bouncycastle/math/ec/ECFieldElement.java
package org.bouncycastle.math.ec; import java.math.BigInteger; import java.util.Random; public abstract class ECFieldElement implements ECConstants { BigInteger x; protected ECFieldElement(BigInteger x) { this.x = x; } public BigInteger toBigInteger() { return x; ...
checkstyle change
src/org/bouncycastle/math/ec/ECFieldElement.java
checkstyle change
<ide><path>rc/org/bouncycastle/math/ec/ECFieldElement.java <ide> public ECFieldElement sqrt() <ide> { <ide> if (!q.testBit(0)) <add> { <ide> throw new RuntimeException("not done yet"); <add> } <ide> <ide> // p mod 4 == 3 <ide> if...
JavaScript
mit
0963f3d7d1a8e6c7f45c7f44427d0b289c50585e
0
appelgriebsch/Invaders-Phaser,appelgriebsch/Invaders-Phaser
(function () { 'use strict'; Phaser.Device.whenReady(function () { var width = window.screen.width; var height = window.screen.height - 100; if (Phaser.Device.desktop) { width = 400; height = 600; } var game = new Phaser.Game(width, height, Phaser.CANVAS, 'game', { preload:...
js/game.js
(function () { 'use strict'; Phaser.Device.whenReady(function () { var width = window.screen.width; var height = window.screen.height - 100; if (Phaser.Device.desktop) { width = 400; height = 600; } var game = new Phaser.Game(width, height, Phaser.CANVAS, 'game', { preload:...
js bugfix
js/game.js
js bugfix
<ide><path>s/game.js <ide> // And some controls to play the game with <ide> cursors = game.input.keyboard.createCursorKeys(); <ide> fireButton = game.input.keyboard.addKey(Phaser.Keyboard.SPACEBAR); <del> } <del> <del> game.input.touch.onTouchEnd(fireBullet); <add> <add> game.in...
Java
apache-2.0
46726bfb9f5dd4ac1df67398c9c92a9d1eb2c82f
0
McLeodMoores/starling,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,jerome79/OG-Platform,DevStreet/FinanceAnalytics,nssales/OG-Platform,jerome79/OG-Platform,jerome79/OG-Platform,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,ChinaQuants/OG-Platform,codeaudit/OG-Platform,McLeodMoores/starling,codeaudit/OG-Platfor...
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.volatility.surface; import it.unimi.dsi.fastutil.objects.ObjectArrayList; import java.util.Collections; import java.util.HashMap; import ...
projects/OG-Financial/src/com/opengamma/financial/analytics/volatility/surface/RawVolatilitySurfaceDataFunction.java
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.volatility.surface; import it.unimi.dsi.fastutil.objects.ObjectArrayList; import java.util.Collections; import java.util.HashMap; import ...
tiny local date cleanup
projects/OG-Financial/src/com/opengamma/financial/analytics/volatility/surface/RawVolatilitySurfaceDataFunction.java
tiny local date cleanup
<ide><path>rojects/OG-Financial/src/com/opengamma/financial/analytics/volatility/surface/RawVolatilitySurfaceDataFunction.java <ide> import java.util.Set; <ide> <ide> import javax.time.InstantProvider; <del>import javax.time.calendar.Clock; <add>import javax.time.calendar.LocalDate; <ide> import javax.time.calendar.Ti...
JavaScript
mit
f96f6c6dfa432886fc97f3c054a2a6c53e946f72
0
aspectron/iris-app,aspectron/iris-app
// // -- IRIS Toolkit - User Login // // Copyright (c) 2014 ASPECTRON Inc. // All Rights Reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, incl...
lib/login.js
// // -- IRIS Toolkit - User Login // // Copyright (c) 2014 ASPECTRON Inc. // All Rights Reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, incl...
resend activation
lib/login.js
resend activation
<ide><path>ib/login.js <ide> req.redirectWithMsg(options.activationRedirectUrl || '/', 'activation', {success: true}) <ide> }) <ide> } <add> <add> self.getResendActivation = function(req, res, next) { <add> var viewPath = options.resendActivationView || path.join(__dirname, 'views/resend-...
Java
epl-1.0
bd8b4345d17028f348e5651278a079d5e6a35390
0
junit-team/junit-lambda,sbrannen/junit-lambda
/* * Copyright 2015-2017 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution and is available at * * http://www.eclipse.org/legal/epl-v10.html */ packag...
junit-vintage-engine/src/main/java/org/junit/vintage/engine/discovery/UniqueIdFilter.java
/* * Copyright 2015-2017 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution and is available at * * http://www.eclipse.org/legal/epl-v10.html */ packag...
Use `Optional.map` and `ArrayDeque` more consistently - Use of `Optional.map` was reported by IntelliJ IDEA inspections. - `ArrayDeque` javadoc states that it is likely to be "faster than `LinkedList` when used as a queue".
junit-vintage-engine/src/main/java/org/junit/vintage/engine/discovery/UniqueIdFilter.java
Use `Optional.map` and `ArrayDeque` more consistently
<ide><path>unit-vintage-engine/src/main/java/org/junit/vintage/engine/discovery/UniqueIdFilter.java <ide> <ide> package org.junit.vintage.engine.discovery; <ide> <del>import static java.util.Collections.emptySet; <ide> import static java.util.stream.Collectors.toSet; <ide> <add>import java.util.ArrayDeque; <add>impo...
Java
bsd-3-clause
4c7797ea4345d03930b85a5be0868f72e6090f37
0
TheMrMilchmann/lwjgl3,bsmr-java/lwjgl3,LWJGL/lwjgl3,code-disaster/lwjgl3,LWJGL/lwjgl3,bsmr-java/lwjgl3,bsmr-java/lwjgl3,LWJGL/lwjgl3,LWJGL/lwjgl3,bsmr-java/lwjgl3,code-disaster/lwjgl3,code-disaster/lwjgl3,LWJGL-CI/lwjgl3,TheMrMilchmann/lwjgl3,LWJGL-CI/lwjgl3,TheMrMilchmann/lwjgl3,LWJGL-CI/lwjgl3,LWJGL-CI/lwjgl3,TheMrMi...
/* * Copyright LWJGL. All rights reserved. * License terms: http://lwjgl.org/license.php */ package org.lwjgl.glfw; import org.lwjgl.LWJGLUtil; import org.lwjgl.LWJGLUtil.TokenFilter; import org.lwjgl.system.APIBuffer; import org.lwjgl.system.libffi.Closure; import java.io.PrintStream; import java.lang.reflect.Fie...
src/core/org/lwjgl/glfw/Callbacks.java
/* * Copyright LWJGL. All rights reserved. * License terms: http://lwjgl.org/license.php */ package org.lwjgl.glfw; import org.lwjgl.LWJGLUtil; import org.lwjgl.LWJGLUtil.TokenFilter; import org.lwjgl.system.libffi.Closure; import java.io.PrintStream; import java.lang.reflect.Field; import java.nio.ByteBuffer; imp...
Add helper method that easily invokes GLFWWindowSizeCallback/GLFWFramebufferSizeCallback The window/framebuffer size callbacks are not guaranteed to be called after glfwShowWindow(). This method is useful to trigger any changes that must be done to support HiDPI rendering.
src/core/org/lwjgl/glfw/Callbacks.java
Add helper method that easily invokes GLFWWindowSizeCallback/GLFWFramebufferSizeCallback
<ide><path>rc/core/org/lwjgl/glfw/Callbacks.java <ide> <ide> import org.lwjgl.LWJGLUtil; <ide> import org.lwjgl.LWJGLUtil.TokenFilter; <add>import org.lwjgl.system.APIBuffer; <ide> import org.lwjgl.system.libffi.Closure; <ide> <ide> import java.io.PrintStream; <ide> <ide> import static org.lwjgl.Pointer.*; <ide> imp...
Java
apache-2.0
78153af0c3741213f9dc712d1759104844e72206
0
Yorxxx/playednext
package com.piticlistudio.playednext.game.ui.search.view; import android.content.Intent; import android.support.test.InstrumentationRegistry; import android.support.test.espresso.Espresso; import android.support.test.espresso.ViewInteraction; import android.support.test.espresso.contrib.RecyclerViewActions; import and...
app/src/androidTest/java/com/piticlistudio/playednext/game/ui/search/view/GameSearchFragmentTest.java
package com.piticlistudio.playednext.game.ui.search.view; import android.content.Intent; import android.support.test.InstrumentationRegistry; import android.support.test.espresso.Espresso; import android.support.test.espresso.ViewInteraction; import android.support.test.espresso.contrib.RecyclerViewActions; import and...
Enables two commented tests from GameSearchFragmentTest. Enables two previously commented out tests from GameSearchFragmentTest cases.
app/src/androidTest/java/com/piticlistudio/playednext/game/ui/search/view/GameSearchFragmentTest.java
Enables two commented tests from GameSearchFragmentTest.
<ide><path>pp/src/androidTest/java/com/piticlistudio/playednext/game/ui/search/view/GameSearchFragmentTest.java <ide> Thread.sleep(500); <ide> } <ide> <del> //@Test <add> @Test <ide> public void Given_Idle_When_ShowLoading_Then_ShowsLoading() throws Throwable { <ide> <ide> Espresso.close...
Java
mit
5d0d5fdadb20e596ed706ff208e8b06a61b769e3
0
bedditor/ohtu-Alarmclock
package ohtu.beddit.alarm; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import ohtu.beddit.activity.AlarmActivity; import java.util.Calendar; public class AlarmReceiver extends BroadcastReceiver { private final String TAG = "Al...
beddit_alarm/src/ohtu/beddit/alarm/AlarmReceiver.java
package ohtu.beddit.alarm; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import ohtu.beddit.activity.AlarmActivity; import java.util.Calendar; public class AlarmReceiver extends BroadcastReceiver { private final String TAG = "Al...
pieni yksinkertaistus alarmReceiveriin
beddit_alarm/src/ohtu/beddit/alarm/AlarmReceiver.java
pieni yksinkertaistus alarmReceiveriin
<ide><path>eddit_alarm/src/ohtu/beddit/alarm/AlarmReceiver.java <ide> <ide> Log.v(TAG, "Received alarm"); <ide> Log.v(TAG, "second until last wake up "+ getSecondsUntilLastWakeUpTime(context)); <del> if(getSecondsUntilLastWakeUpTime(context) < 5){ //last time reached, wake up <add> if(get...
Java
mpl-2.0
f7b22a6a955fb73ce8003ddc0dd350dce4f3ffbb
0
sainaen/rhino,tuchida/rhino,swannodette/rhino,rasmuserik/rhino,swannodette/rhino,tuchida/rhino,AlexTrotsenko/rhino,sainaen/rhino,tejassaoji/RhinoCoarseTainting,jsdoc3/rhino,tejassaoji/RhinoCoarseTainting,ashwinrayaprolu1984/rhino,lv7777/egit_test,qhanam/rhino,ashwinrayaprolu1984/rhino,sam/htmlunit-rhino-fork,tejassaoji...
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Netscape Public * License Version 1.1 (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.mozilla.org/N...
toolsrc/org/mozilla/javascript/tools/debugger/DebugGui.java
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Netscape Public * License Version 1.1 (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.mozilla.org/N...
Fix menu enable/disable misbehavior.
toolsrc/org/mozilla/javascript/tools/debugger/DebugGui.java
Fix menu enable/disable misbehavior.
<ide><path>oolsrc/org/mozilla/javascript/tools/debugger/DebugGui.java <ide> class Menubar extends JMenuBar implements ActionListener <ide> { <ide> <add> private Vector interruptOnlyItems = new Vector(); <add> private Vector runOnlyItems = new Vector(); <add> <ide> DebugGui debugGui; <ide> JMenu windowMen...
JavaScript
apache-2.0
2fba44409a6295482ac5a0fd1b5f903703154373
0
adam-serene/serene-mvp,adam-serene/serene-mvp
const express = require('express'); const router = express.Router(); const path = require('path'); const cookieParser = require('cookie-parser'); const bodyParser = require('body-parser'); const session = require('express-session'); const passport = require('passport'); const FitbitStrategy = require( 'passport-fitbit-...
routes/passport.js
const express = require('express'); const router = express.Router(); const path = require('path'); const cookieParser = require('cookie-parser'); const bodyParser = require('body-parser'); const session = require('express-session'); const passport = require('passport'); const FitbitStrategy = require( 'passport-fitbit-...
reveal OAuth Client ID
routes/passport.js
reveal OAuth Client ID
<ide><path>outes/passport.js <ide> <ide> //passport-fitbit-oauth2 routing <ide> passport.use(new FitbitStrategy({ <del> clientID: process.env.FITBIT_OAUTH2_CLIENT_ID, <del> clientSecret: process.env.FITBIT_OAUTH2_SECRET, <del> // callbackURL: "http://serene-green.herokuapp.com/auth/fitbit/callback" <del> c...
Java
mit
023496f455f78d14ec2d44addc426b65174f5491
0
spurious/kawa-mirror,spurious/kawa-mirror,spurious/kawa-mirror,spurious/kawa-mirror,spurious/kawa-mirror
package kawa; import kawa.lang.*; import gnu.kawa.lispexpr.LispReader; import kawa.standard.*; import gnu.mapping.*; import gnu.expr.*; import java.io.*; import gnu.text.*; import gnu.lists.*; /** Utility functions (static methods) for kawa.repl. * Should probably be merged with kawa.repl. FIXME. */ public class S...
kawa/Shell.java
package kawa; import kawa.lang.*; import gnu.kawa.lispexpr.LispReader; import kawa.standard.*; import gnu.mapping.*; import gnu.expr.*; import java.io.*; import gnu.text.*; import gnu.lists.*; /** Utility functions (static methods) for kawa.repl. * Should probably be merged with kawa.repl. FIXME. */ public class S...
Fix typo in comment. git-svn-id: 169764d5f12c41a1cff66b81d896619f3ce5473d@3224 5e0a886f-7f45-49c5-bc19-40643649e37f
kawa/Shell.java
Fix typo in comment.
<ide><path>awa/Shell.java <ide> } <ide> <ide> /** Return a Consumer that formats using the appropriate format. <del> * The format is choses depending on specified defaults. <add> * The format is chosen depending on specified defaults. <ide> * @param out The output where formatted output is sent to. <ide> ...
Java
apache-2.0
a6c4cdaba3b1a38fec08b6bb0ea0d562c8202cd5
0
wso2/carbon-identity-framework,wso2/carbon-identity-framework,wso2/carbon-identity-framework,wso2/carbon-identity-framework
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) 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...
components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/handler/request/impl/consent/SSOConsentServiceImpl.java
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) 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...
Resolve the tenant domain from the authenticated user.
components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/handler/request/impl/consent/SSOConsentServiceImpl.java
Resolve the tenant domain from the authenticated user.
<ide><path>omponents/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/handler/request/impl/consent/SSOConsentServiceImpl.java <ide> String spName = serviceProvider.getApplicationName(); <ide> ...
Java
mit
error: pathspec 'src/mr_kitten/Interface.java' did not match any file(s) known to git
b2512f14e67f91731347da53b398a509f8f1e937
1
ElodieCarpentier/Mr-Kitten,ElodieCarpentier/Mr-Kitten,ElodieCarpentier/Mr-Kitten,ElodieCarpentier/MrKitten_visual,ElodieCarpentier/MrKitten_visual,ElodieCarpentier/MrKitten_visual
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package mr_kitten; /** * * @author Arya */ public interface Interface { }
src/mr_kitten/Interface.java
Initialisation d'une interface
src/mr_kitten/Interface.java
Initialisation d'une interface
<ide><path>rc/mr_kitten/Interface.java <add>/* <add> * To change this license header, choose License Headers in Project Properties. <add> * To change this template file, choose Tools | Templates <add> * and open the template in the editor. <add> */ <add>package mr_kitten; <add> <add>/** <add> * <add> * @author Arya <ad...
Java
apache-2.0
b27697ecaf66cf38091d6f595846637751dc8e08
0
sangramjadhav/testrs
2385cbde-2ece-11e5-905b-74de2bd44bed
hello.java
23853606-2ece-11e5-905b-74de2bd44bed
2385cbde-2ece-11e5-905b-74de2bd44bed
hello.java
2385cbde-2ece-11e5-905b-74de2bd44bed
<ide><path>ello.java <del>23853606-2ece-11e5-905b-74de2bd44bed <add>2385cbde-2ece-11e5-905b-74de2bd44bed
Java
mit
00ca6337111765a0253e7f42f3a4382ad1e54d0e
0
anasabau/FlightManager,anasabau/FlightManager
package ro.uvt.entity; import java.time.LocalDate; import ro.uvt.entity.dao.Persistent; import java.util.Set; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToMany; import javax.persi...
FlightManager/entity/src/main/java/ro/uvt/entity/Flight.java
package ro.uvt.entity; import ro.uvt.entity.dao.Persistent; import java.util.Date; import java.util.Set; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToMany; import javax.persistenc...
javaee-8 migration, Date to LocalDate
FlightManager/entity/src/main/java/ro/uvt/entity/Flight.java
javaee-8 migration, Date to LocalDate
<ide><path>lightManager/entity/src/main/java/ro/uvt/entity/Flight.java <ide> package ro.uvt.entity; <ide> <add>import java.time.LocalDate; <ide> import ro.uvt.entity.dao.Persistent; <del>import java.util.Date; <ide> import java.util.Set; <ide> import javax.persistence.Entity; <ide> import javax.persistence.GeneratedVa...
Java
apache-2.0
error: pathspec 'java/leetcode/peeking_iterator/PeekingIterator.java' did not match any file(s) known to git
9e5182f8164d34aa915321a139fe85f423ae0358
1
ckclark/leetcode,ckclark/leetcode,ckclark/leetcode,ckclark/leetcode,ckclark/leetcode,ckclark/leetcode
package leetcode.peeking_iterator; import java.util.Iterator; class PeekingIterator implements Iterator<Integer> { private Iterator<Integer> mIterator; private Integer mNext; private boolean mHasNext; private final void nextInternal(){ mHasNext = mIterator.hasNext(); if(mHasN...
java/leetcode/peeking_iterator/PeekingIterator.java
Add solution for 284. Peeking Iterator 284. Peeking Iterator: https://leetcode.com/problems/peeking-iterator/
java/leetcode/peeking_iterator/PeekingIterator.java
Add solution for 284. Peeking Iterator
<ide><path>ava/leetcode/peeking_iterator/PeekingIterator.java <add>package leetcode.peeking_iterator; <add> <add>import java.util.Iterator; <add> <add>class PeekingIterator implements Iterator<Integer> { <add> <add> private Iterator<Integer> mIterator; <add> private Integer mNext; <add> private boolean mHa...
Java
apache-2.0
f3420318ac28923b0cc99402ecbc82a5436998eb
0
vivantech/kc_fixes,vivantech/kc_fixes,vivantech/kc_fixes,vivantech/kc_fixes,vivantech/kc_fixes,vivantech/kc_fixes
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless required by...
src/main/java/org/kuali/kra/award/web/struts/action/AwardAction.java
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless required by...
Issue #101 / [#92147692] Adding comments to the code and fixing file version in KC-fixes and EKC.
src/main/java/org/kuali/kra/award/web/struts/action/AwardAction.java
Issue #101 / [#92147692] Adding comments to the code and fixing file version in KC-fixes and EKC.
<ide><path>rc/main/java/org/kuali/kra/award/web/struts/action/AwardAction.java <ide> AwardTemplateSyncService awardTemplateSyncService = KraServiceLocator.getService(AwardTemplateSyncService.class); <ide> AwardForm awardForm = (AwardForm)form; <ide> AwardDocument awardDocument = awardForm.getAwa...
Java
apache-2.0
403703e503ef48762887cf09cecde57afbe67c21
0
cloudeventbus/cloudeventbus
/* * Copyright (c) 2012 Mike Heath. 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 re...
server-core/src/main/java/cloudeventbus/server/ServerHandler.java
/* * Copyright (c) 2012 Mike Heath. 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 re...
Removed TODO item.
server-core/src/main/java/cloudeventbus/server/ServerHandler.java
Removed TODO item.
<ide><path>erver-core/src/main/java/cloudeventbus/server/ServerHandler.java <ide> private static final int SUPPORTED_VERSION = 1; <ide> <ide> private final String agentString; <del> private final Hub<PublishFrame> hub; // TODO How to publish to WebSocket hub, etc. <add> private final Hub<PublishFrame> hub; <ide> pr...
Java
lgpl-2.1
fcad4fd980273159c7782a4a1c16a7250d644a01
0
pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform
package org.xwiki.platform; import junit.framework.TestCase; import org.xwiki.platform.patchservice.api.RWOperation; import org.xwiki.platform.patchservice.impl.OperationFactoryImpl; import com.xpn.xwiki.XWikiException; public class CheckAllOperationsImplementedTest extends TestCase { public void testAllOperati...
xwiki-patchservice/src/test/java/org/xwiki/platform/CheckAllOperationsImplementedTest.java
package org.xwiki.platform; import java.io.ByteArrayInputStream; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import javax.xml.parsers.DocumentBuilderFactory; import junit.framework.TestCase; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.ls.DOMImplementati...
XWIKI-1977: Create a patchservice data model Tests cleanup. git-svn-id: cfa2b40e478804c47c05d0f328c574ec5aa2b82e@6618 f329d543-caf0-0310-9063-dda96c69346f
xwiki-patchservice/src/test/java/org/xwiki/platform/CheckAllOperationsImplementedTest.java
XWIKI-1977: Create a patchservice data model Tests cleanup.
<ide><path>wiki-patchservice/src/test/java/org/xwiki/platform/CheckAllOperationsImplementedTest.java <ide> package org.xwiki.platform; <del> <del>import java.io.ByteArrayInputStream; <del>import java.util.HashMap; <del>import java.util.Iterator; <del>import java.util.Map; <del> <del>import javax.xml.parsers.DocumentBui...
Java
apache-2.0
d2b2ff6960e3b82d31c4f6b65a4f72ed65a9c355
0
davidmoten/pulley
package pulley.streams; import static pulley.Stream.stream; import java.util.ArrayList; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicReference; import pul...
src/main/java/pulley/streams/Merge.java
package pulley.streams; import static pulley.Stream.stream; import java.util.ArrayList; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicReference; import pul...
remove merged streams as they complete
src/main/java/pulley/streams/Merge.java
remove merged streams as they complete
<ide><path>rc/main/java/pulley/streams/Merge.java <ide> <ide> for (int i = 0; i < promises.size(); i++) { <ide> final int index = i; <del> promises.get(index).scheduler().schedule(new A0() { <add> Promise<Optional<Cons<T>>> p = promises.get(index); <add> ...
Java
apache-2.0
a0f4be4cbcfbeb9a7facc6b03c4c5d5414c2d10c
0
oalles/camel,lburgazzoli/camel,tdiesler/camel,josefkarasek/camel,veithen/camel,curso007/camel,woj-i/camel,trohovsky/camel,skinzer/camel,onders86/camel,nicolaferraro/camel,sebi-hgdata/camel,aaronwalker/camel,iweiss/camel,sebi-hgdata/camel,driseley/camel,josefkarasek/camel,royopa/camel,tlehoux/camel,YoshikiHigo/camel,gra...
/** * 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...
components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsProducer.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...
CAMEL-3328: jms producer should be started before it can be used. git-svn-id: 11f3c9e1d08a13a4be44fe98a6d63a9c00f6ab23@1034004 13f79535-47bb-0310-9956-ffa450edef68
components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsProducer.java
CAMEL-3328: jms producer should be started before it can be used.
<ide><path>omponents/camel-jms/src/main/java/org/apache/camel/component/jms/JmsProducer.java <ide> */ <ide> package org.apache.camel.component.jms; <ide> <add>import java.util.concurrent.RejectedExecutionException; <ide> import java.util.concurrent.atomic.AtomicBoolean; <ide> import javax.jms.Destination; <ide> impor...
JavaScript
apache-2.0
033dc2cba6d72aac29ce8fc30efc496959936db0
0
matrix-org/matrix-appservice-irc,matrix-org/matrix-appservice-irc,matrix-org/matrix-appservice-irc
/*eslint no-invalid-this: 0*/ // eslint doesn't understand Promise.coroutine wrapping "use strict"; var Promise = require("bluebird"); var log = require("../logging").get("PublicitySyncer"); // This class keeps the +s state of every channel bridged synced with the RoomVisibility // of any rooms that are connected to t...
lib/bridge/PublicitySyncer.js
/*eslint no-invalid-this: 0*/ // eslint doesn't understand Promise.coroutine wrapping "use strict"; var Promise = require("bluebird"); var log = require("../logging").get("PublicitySyncer"); // This class keeps the +s state of every channel bridged synced with the RoomVisibility // of any rooms that are connected to t...
Response to code review
lib/bridge/PublicitySyncer.js
Response to code review
<ide><path>ib/bridge/PublicitySyncer.js <ide> if (hasChanged) { <ide> clearTimeout(solveVisibilityTimeoutId); <ide> <del> log.info('Solving in 10s'); <ide> solveVisibilityTimeoutId = setTimeout(() => { <ide> this._solveVisibility().catch((err) => { <del> log.error(...
Java
apache-2.0
54fa630ba5e2d46a4156fceeb11b0997c9451b93
0
edigrid/camel,johnpoth/camel,bgaudaen/camel,mzapletal/camel,drsquidop/camel,anoordover/camel,davidwilliams1978/camel,mohanaraosv/camel,joakibj/camel,veithen/camel,sirlatrom/camel,atoulme/camel,rmarting/camel,mzapletal/camel,nboukhed/camel,yury-vashchyla/camel,brreitme/camel,gilfernandes/camel,stravag/camel,jamesnethert...
/** * 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...
components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentTest.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...
Polish.
components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentTest.java
Polish.
<ide><path>omponents/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentTest.java <ide> * indexes. <ide> */ <ide> private Map<String, String> createIndexedData(String... additionalPrefixes) { <del> Map<String, String> map = new HashMap<String, String>()...
Java
apache-2.0
3610361095af0ace500819c69de79d3f5971b36b
0
subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai
/** * DISCLAIMER * * The quality of the code is such that you should not copy any of it as best * practice how to build Vaadin applications. * * @author jouni@vaadin.com * */ package org.safehaus.subutai.server.ui.views; import com.vaadin.event.LayoutEvents; import com.vaadin.navigator.View; import com.vaadin...
management/server/vaadin/vaadin-ui/src/main/java/org/safehaus/subutai/server/ui/views/ModulesView.java
/** * DISCLAIMER * * The quality of the code is such that you should not copy any of it as best * practice how to build Vaadin applications. * * @author jouni@vaadin.com * */ package org.safehaus.subutai.server.ui.views; import com.vaadin.event.LayoutEvents; import com.vaadin.navigator.View; import com.vaadin...
-m Only one tab for module can be opened. Former-commit-id: fe5ab73a2d78d0cfa94154724251b15353c7da9c
management/server/vaadin/vaadin-ui/src/main/java/org/safehaus/subutai/server/ui/views/ModulesView.java
-m Only one tab for module can be opened.
<ide><path>anagement/server/vaadin/vaadin-ui/src/main/java/org/safehaus/subutai/server/ui/views/ModulesView.java <ide> <ide> private void addModule(final PortalModule module) { <ide> if (module.getImage() != null) { <del> CssLayout moduleLayout = new CssLayout(); <del> moduleLayout.setId(module.getId()); <del> ...
Java
apache-2.0
2640f36dabc5b4434b0cac3159f5931a90dc5f32
0
lucastheisen/apache-directory-server,apache/directory-server,lucastheisen/apache-directory-server,apache/directory-server,drankye/directory-server,darranl/directory-server,darranl/directory-server,drankye/directory-server
/* * Copyright 2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
main/src/main/java/org/apache/ldap/server/jndi/ServerContextFactory.java
/* * Copyright 2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Found and fixed bug where the objectClass name was used for the RDN of the loaded LDIF file instead of the RDN attribute. All works nicely now. git-svn-id: 90776817adfbd895fc5cfa90f675377e0a62e745@329711 13f79535-47bb-0310-9956-ffa450edef68
main/src/main/java/org/apache/ldap/server/jndi/ServerContextFactory.java
Found and fixed bug where the objectClass name was used for the RDN of the loaded LDIF file instead of the RDN attribute. All works nicely now.
<ide><path>ain/src/main/java/org/apache/ldap/server/jndi/ServerContextFactory.java <ide> StringBuffer buf = new StringBuffer(); <ide> buf.append( rdnAttr ); <ide> buf.append( "=" ); <del> buf.append( ldif.getAbsolutePath() ); <add> buf.append( getCanonical( ldif ) ); <ide> ...
Java
bsd-3-clause
e818f1ab24b4c6802026a487fb7b9871ff511cd5
0
vivo-project/Vitro,vivo-project/Vitro,vivo-project/Vitro,vivo-project/Vitro
/* $This file is distributed under the terms of the license in /doc/license.txt$ */ package edu.cornell.mannlib.vitro.webapp.searchengine.solr; import static edu.cornell.mannlib.vitro.webapp.search.VitroSearchTermNames.ALLTEXT; import static edu.cornell.mannlib.vitro.webapp.search.VitroSearchTermNames.ALLTEXTUNSTEMME...
webapp/src/edu/cornell/mannlib/vitro/webapp/searchengine/solr/SolrConversionUtils.java
/* $This file is distributed under the terms of the license in /doc/license.txt$ */ package edu.cornell.mannlib.vitro.webapp.searchengine.solr; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.solr.client.solrj.SolrQuery...
VIVO-986 Limit the concatenation of string values to ALLTEXT and ALLTEXTUNSTEMMED
webapp/src/edu/cornell/mannlib/vitro/webapp/searchengine/solr/SolrConversionUtils.java
VIVO-986 Limit the concatenation of string values to ALLTEXT and ALLTEXTUNSTEMMED
<ide><path>ebapp/src/edu/cornell/mannlib/vitro/webapp/searchengine/solr/SolrConversionUtils.java <ide> /* $This file is distributed under the terms of the license in /doc/license.txt$ */ <ide> <ide> package edu.cornell.mannlib.vitro.webapp.searchengine.solr; <add> <add>import static edu.cornell.mannlib.vitro.webapp.se...
Java
apache-2.0
86d4d5304e6911c0c2ce6b485f0b6bfced36392a
0
roshanch/GearVRf,Samsung/GearVRf,xcaostagit/GearVRf,xcaostagit/GearVRf,Samsung/GearVRf,NolaDonato/GearVRf,NolaDonato/GearVRf,NolaDonato/GearVRf,NolaDonato/GearVRf,xcaostagit/GearVRf,Samsung/GearVRf,thomasflynn/GearVRf,Samsung/GearVRf,roshanch/GearVRf,thomasflynn/GearVRf,thomasflynn/GearVRf,Samsung/GearVRf,thomasflynn/G...
/* Copyright 2015 Samsung Electronics Co., LTD * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
GVRf/Framework/framework/src/main/java/org/gearvrf/scene_objects/view/GVRWebView.java
/* Copyright 2015 Samsung Electronics Co., LTD * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
vulkan: fixes gvr-renderableview (#1366)
GVRf/Framework/framework/src/main/java/org/gearvrf/scene_objects/view/GVRWebView.java
vulkan: fixes gvr-renderableview (#1366)
<ide><path>VRf/Framework/framework/src/main/java/org/gearvrf/scene_objects/view/GVRWebView.java <ide> import android.graphics.Canvas; <ide> import android.view.View; <ide> import android.webkit.WebView; <add>import android.webkit.WebViewClient; <ide> <ide> /** <ide> * This class represents a {@link WebView} that is r...
Java
apache-2.0
c6de095cdef430ceb871f58abff74f9114f5c7d0
0
dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android
package org.commcare.android.view; import org.commcare.android.adapters.EntityDetailAdapter; import org.commcare.android.adapters.EntityDetailPagerAdapter; import org.commcare.android.util.AndroidUtil; import org.commcare.dalvik.R; import org.commcare.suite.model.Detail; import org.commcare.suite.model.DisplayU...
app/src/org/commcare/android/view/TabbedDetailView.java
package org.commcare.android.view; import org.commcare.android.adapters.EntityDetailAdapter; import org.commcare.android.adapters.EntityDetailPagerAdapter; import org.commcare.android.util.AndroidUtil; import org.commcare.dalvik.R; import org.commcare.suite.model.Detail; import org.commcare.suite.model.DisplayU...
Making TabbedDetailView work in edit mode
app/src/org/commcare/android/view/TabbedDetailView.java
Making TabbedDetailView work in edit mode
<ide><path>pp/src/org/commcare/android/view/TabbedDetailView.java <ide> <ide> public TabbedDetailView(Context context, AttributeSet attrs) { <ide> super(context, attrs); <add> if(isInEditMode()) return; <ide> mContext = (FragmentActivity) context; <ide> } <ide>
Java
mit
4d5dd6ffd7b5ed87457d06935cf0be829aa47796
0
raoulvdberge/refinedstorage,way2muchnoise/refinedstorage,way2muchnoise/refinedstorage,raoulvdberge/refinedstorage
package storagecraft.tile; import io.netty.buffer.ByteBuf; import net.minecraft.block.Block; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.BlockPos; import storagecraft.block.BlockMachine; import storagecraft.tile.settings.IRedstoneModeSetting; import storagecraft.tile.settings.RedstoneMode; publ...
src/main/java/storagecraft/tile/TileMachine.java
package storagecraft.tile; import io.netty.buffer.ByteBuf; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.BlockPos; import storagecraft.block.BlockMachine; import storagecraft.tile.settings.IRedstoneModeSetting; import storagecraft.tile.settings.RedstoneMode; public abstract class TileMachine exte...
fix crash on explosion in machines
src/main/java/storagecraft/tile/TileMachine.java
fix crash on explosion in machines
<ide><path>rc/main/java/storagecraft/tile/TileMachine.java <ide> package storagecraft.tile; <ide> <ide> import io.netty.buffer.ByteBuf; <add>import net.minecraft.block.Block; <ide> import net.minecraft.nbt.NBTTagCompound; <ide> import net.minecraft.util.BlockPos; <ide> import storagecraft.block.BlockMachine; <ide> <i...
Java
apache-2.0
4ecea30babfa89316b14965fd6399c77172ad1be
0
unprofessional/journowatch-spring-api-xml,unprofessional/journowatch-spring-api-xml
package com.devcru.journowatch.api.controllers; import com.devcru.journowatch.api.constants.Constants; import com.devcru.journowatch.api.objects.User; import com.devcru.journowatch.api.services.UserService; import freemarker.core.ParseException; import freemarker.template.Configuration; import freemarker.temp...
src/main/java/com/devcru/journowatch/api/controllers/UserController.java
package com.devcru.journowatch.api.controllers; import com.devcru.journowatch.api.constants.Constants; import com.devcru.journowatch.api.objects.User; import com.devcru.journowatch.api.services.UserService; import freemarker.core.ParseException; import freemarker.template.Configuration; import freemarker.temp...
Add basic CORS in UserController 7
src/main/java/com/devcru/journowatch/api/controllers/UserController.java
Add basic CORS in UserController 7
<ide><path>rc/main/java/com/devcru/journowatch/api/controllers/UserController.java <ide> <ide> @Controller <ide> //@CrossOrigin(origins = "http://" + Constants.BASEURL_OPENSHIFT, methods={RequestMethod.PUT, RequestMethod.DELETE}) // use https:// when appropriate <del>@CrossOrigin(origins = {"http://journowatchwebclien...
Java
mit
3161aff2ae6624145d4462b52c6adb4fc52d7751
0
JosueDanielBust/EventsManagerSoftware
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Mundo; /** * * @author Julian */ public class Ticket { public Ticket(){} public static String preguntaPersona(){ ...
EVS/src/Mundo/Ticket.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Mundo; /** * * @author Julian */ public class Ticket { public Ticket(){} public static String preguntaPersona(){ ...
Corrigiendo interfaces
EVS/src/Mundo/Ticket.java
Corrigiendo interfaces
<ide><path>VS/src/Mundo/Ticket.java <ide> <ide> //boletas compradas para el evento con dicha descripción anterior <ide> public static String buscarBoletas(String lugar,String fecha,String ciudad){ <del> return("SELECT DISTINCT tick_type,ttype_cost,count(TICKET_ID)" + <add> return("SELECT tick...
JavaScript
bsd-3-clause
344055b761dd3fc02aa402f192ca11b62fd6b9f4
0
0u812/nteract,nteract/composition,rgbkrk/nteract,nteract/composition,jdfreder/nteract,rgbkrk/nteract,jdetle/nteract,jdetle/nteract,temogen/nteract,rgbkrk/nteract,captainsafia/nteract,rgbkrk/nteract,nteract/nteract,nteract/nteract,jdfreder/nteract,0u812/nteract,temogen/nteract,rgbkrk/nteract,captainsafia/nteract,nteract...
import React from 'react'; import Immutable from 'immutable'; import { Provider } from 'react-redux'; import { shallow, mount, render } from 'enzyme'; import { displayOrder, transforms } from '../../../src/notebook/components/transforms'; const TestBackend = require('react-dnd-test-backend'); import { DragDropContext...
test/renderer/components/notebook-spec.js
import React from 'react'; import Immutable from 'immutable'; import { Provider } from 'react-redux'; import { shallow, mount, render } from 'enzyme'; import { displayOrder, transforms } from '../../../src/notebook/components/transforms'; const TestBackend = require('react-dnd-test-backend'); import { DragDropContext...
refactor(test): Remove DnD test until it can be improved
test/renderer/components/notebook-spec.js
refactor(test): Remove DnD test until it can be improved
<ide><path>est/renderer/components/notebook-spec.js <ide> }); <ide> }); <ide> }); <del> <del>describe('Notebook DnD', () => { <del> it('drag and drop can be tested', () => { <del> const TestNotebook = DragDropContext(TestBackend)(Notebook); <del> <del> const component = mount( <del> <Provider store={d...
Java
apache-2.0
d39c90d2e4e431a01ff4561897911bd070b650e4
0
kHRYSTAL/Leonids,Volcanoscar/Leonids,Mybrc91/Leonids,Coder-leilei/Leonids,vaavaa/Leonids,tieusangaka/Leonids,aaaliua/Leonids,hanhailong/Leonids,plattysoft/Leonids,Juneor/Leonids,azizjonm/Leonids
package com.plattysoft.leonids.initializers; import java.util.Random; import com.plattysoft.leonids.Particle; public class SpeeddModuleAndRangeInitializer implements ParticleInitializer { private float mSpeedMin; private float mSpeedMax; private int mMinAngle; private int mMaxAngle; public SpeeddModuleAndRang...
LeonidasLib/src/com/plattysoft/leonids/initializers/SpeeddModuleAndRangeInitializer.java
package com.plattysoft.leonids.initializers; import java.util.Random; import com.plattysoft.leonids.Particle; public class SpeeddModuleAndRangeInitializer implements ParticleInitializer { private float mSpeedMin; private float mSpeedMax; private int mMinAngle; private int mMaxAngle; public SpeeddModuleAndRang...
removing commented out code
LeonidasLib/src/com/plattysoft/leonids/initializers/SpeeddModuleAndRangeInitializer.java
removing commented out code
<ide><path>eonidasLib/src/com/plattysoft/leonids/initializers/SpeeddModuleAndRangeInitializer.java <ide> while (mMinAngle < 0) { <ide> mMinAngle+=360; <ide> } <del> mMinAngle = mMinAngle%360; <ide> while (mMaxAngle < 0) { <ide> mMaxAngle+=360; <ide> } <del> mMaxAngle = mMaxAngle%360; <ide> // Also mak...
JavaScript
apache-2.0
30fe5e22c1b5b2ca167f5606e8a2c8e2ab79921c
0
OpenBEL/belhop,OpenBEL/belhop,OpenBEL/belhop
/** * @file BELHop JavaScript library. * @author OpenBEL Committers * @license Apache-2.0 */ (function() { 'use strict'; var root = this; var _defaultAPIURL = 'http://next.belframework.org/api'; var _defaultSchemaURL = 'http://next.belframework.org/schema'; function _invalid() { var x, i; for (i ...
src/belhop.js
/** * @file BELHop JavaScript library. * @author OpenBEL Committers * @license Apache-2.0 */ (function() { 'use strict'; var root = this; var _defaultAPIURL = 'http://next.belframework.org/api'; var _defaultSchemaURL = 'http://next.belframework.org/schema'; function _invalid() { var x, i; for (i ...
redefine Callback type and improve jsdoc fu
src/belhop.js
redefine Callback type and improve jsdoc fu
<ide><path>rc/belhop.js <ide> <ide> /** <ide> * BELHop callback type definition. <add> * These types can be created in {@link belhop.factory the factory}. <add> * <ide> * @name Callback <ide> * @typedef {Callback} Callback <del> * @property {function} success - Function called on success <del> * @pr...
Java
mit
b75ade48bdb5132ab587c9c953c727b998663aec
0
effine/shopping
/** * @author effine * @Date 2016年2月1日 下午8:51:44 * @email iballader#gmail.com * @site http://www.effine.cn */ package cn.effine.test; import org.junit.Test; import cn.effine.utils.XmlUtils; public class XmlTest { @Test public void parseXmlTest() { XmlUtils.parserXml("src/main...
src/test/java/cn/effine/test/XmlTest.java
/** * @author effine * @Date 2016年2月1日 下午8:51:44 * @email iballader#gmail.com * @site http://www.effine.cn */ package cn.effine.test; import org.junit.Test; import cn.effine.utils.XmlUtils; public class XmlTest { @Test public void parseXmlTest() { XmlUtils.parserXml("src/main/resources/t...
update
src/test/java/cn/effine/test/XmlTest.java
update
<ide><path>rc/test/java/cn/effine/test/XmlTest.java <ide> <ide> public class XmlTest { <ide> <del> @Test <del> public void parseXmlTest() { <del> XmlUtils.parserXml("src/main/resources/test.xml"); <del> } <add> @Test <add> public void parseXmlTest() { <add> XmlUtils.parserXml("src/main/resources/test.xm...
Java
agpl-3.0
3a7dbb0646da4e8d72e80636eb7948e76243ab43
0
akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow
package org.waterforpeople.mapping.app.web.rest; import java.io.IOException; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLEncoder; import java.util.HashMap; import java.util.List; import java.util.Map; import org.codehaus.jackson.JsonNode; import org.codehaus.jackson.map.ObjectMapper; i...
GAE/src/org/waterforpeople/mapping/app/web/rest/CartodbRestService.java
package org.waterforpeople.mapping.app.web.rest; import java.io.IOException; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLEncoder; import java.util.HashMap; import java.util.List; import java.util.Map; import org.codehaus.jackson.JsonNode; import org.codehaus.jackson.map.ObjectMapper; i...
[#1280] small objectMapper refactor
GAE/src/org/waterforpeople/mapping/app/web/rest/CartodbRestService.java
[#1280] small objectMapper refactor
<ide><path>AE/src/org/waterforpeople/mapping/app/web/rest/CartodbRestService.java <ide> <ide> private static final String API_KEY = PropertyUtil.getProperty("cartodbApiKey"); <ide> private static final String SQL_API = PropertyUtil.getProperty("cartodbSqlApi"); <add> private static final ObjectMapper object...
Java
apache-2.0
833d076952d2bb1cb35df9a0d2d083cb408866c5
0
deib-polimi/tower4clouds,deib-polimi/tower4clouds,deib-polimi/tower4clouds,deib-polimi/tower4clouds,deib-polimi/tower4clouds,deib-polimi/tower4clouds
/** * Copyright (C) 2014 Politecnico di Milano (marco.miglierina@polimi.it) * * 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 * *...
manager/manager-server/src/main/java/it/polimi/tower4clouds/manager/server/MMServer.java
/** * Copyright (C) 2014 Politecnico di Milano (marco.miglierina@polimi.it) * * 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 * *...
removed unused endpoint
manager/manager-server/src/main/java/it/polimi/tower4clouds/manager/server/MMServer.java
removed unused endpoint
<ide><path>anager/manager-server/src/main/java/it/polimi/tower4clouds/manager/server/MMServer.java <ide> SingleRuleDataServer.class); <ide> router.attach("/" + apiVersion + "/metrics", <ide> MultipleMetricsDataServer.class); <del> router.attach("/" + apiVersion + "/metrics/{metricname}", <del> SingleMetri...
Java
apache-2.0
903c77d559e6703ea5aa486d6c120d603680f2c7
0
MichaelNedzelsky/intellij-community,retomerz/intellij-community,clumsy/intellij-community,caot/intellij-community,muntasirsyed/intellij-community,Distrotech/intellij-community,muntasirsyed/intellij-community,muntasirsyed/intellij-community,clumsy/intellij-community,supersven/intellij-community,signed/intellij-community...
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/diff-impl/src/com/intellij/diff/tools/simple/SimpleDiffChange.java
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
diff: cleanup
platform/diff-impl/src/com/intellij/diff/tools/simple/SimpleDiffChange.java
diff: cleanup
<ide><path>latform/diff-impl/src/com/intellij/diff/tools/simple/SimpleDiffChange.java <ide> myHighlighters.clear(); <ide> <ide> for (MyGutterOperation operation : myOperations) { <del> operation.destroy(); <add> operation.dispose(); <ide> } <ide> myOperations.clear(); <ide> } <ide> } <i...
Java
apache-2.0
a600c17f6d4c99547d8350d8b5c3740e887fccac
0
Bernardo-MG/Tabletop-Punkapocalyptic-Model,Bernardo-MG/Tabletop-Punkapocalyptic-Model
package com.wandrell.tabletop.business.model.punkapocalyptic.unit; import static com.google.common.base.Preconditions.checkNotNull; import java.util.Collection; import java.util.EventObject; import java.util.LinkedList; import javax.swing.event.EventListenerList; import com.google.common.base.MoreObjects; import co...
src/main/java/com/wandrell/tabletop/business/model/punkapocalyptic/unit/GroupedUnitWrapper.java
package com.wandrell.tabletop.business.model.punkapocalyptic.unit; import static com.google.common.base.Preconditions.checkNotNull; import java.util.Collection; import java.util.EventObject; import javax.swing.event.EventListenerList; import com.google.common.base.MoreObjects; import com.wandrell.tabletop.business....
Groupe Units now support mutations.
src/main/java/com/wandrell/tabletop/business/model/punkapocalyptic/unit/GroupedUnitWrapper.java
Groupe Units now support mutations.
<ide><path>rc/main/java/com/wandrell/tabletop/business/model/punkapocalyptic/unit/GroupedUnitWrapper.java <ide> <ide> import java.util.Collection; <ide> import java.util.EventObject; <add>import java.util.LinkedList; <ide> <ide> import javax.swing.event.EventListenerList; <ide> <ide> import com.wandrell.tabletop.bus...
Java
mit
b7f9679e25450d377fc9e9049e304c4f44abf114
0
joetde/LucyTheMoocher,joetde/LucyTheMoocher
package com.lucythemoocher.graphics; import com.lucythemoocher.Globals.Globals; import com.lucythemoocher.actors.PlayerCharacter; import com.lucythemoocher.controls.GlobalController; import com.lucythemoocher.physics.Box; import com.lucythemoocher.util.Direction; import com.lucythemoocher.util.Resources; import andro...
LucyTheMoocher/src/com/lucythemoocher/graphics/Camera.java
package com.lucythemoocher.graphics; import com.lucythemoocher.Globals.Globals; import com.lucythemoocher.actors.PlayerCharacter; import com.lucythemoocher.controls.GlobalController; import com.lucythemoocher.physics.Box; import com.lucythemoocher.util.Direction; import com.lucythemoocher.util.Resources; import andro...
Simplist HUD
LucyTheMoocher/src/com/lucythemoocher/graphics/Camera.java
Simplist HUD
<ide><path>ucyTheMoocher/src/com/lucythemoocher/graphics/Camera.java <ide> <ide> hudPaints_ = new SparseArray<Paint>(); <ide> initHudColors(new int[] {Color.GRAY, Color.BLACK}); <del> hudOval_ = new RectF(-100, -100, w + 100, h + 100); <add> hudOval_ = new RectF(0, 0, w, h); <ide> <ide> getHolder().addCal...
Java
mit
1f80573be28670305ffb906a9c0416e7c879fedb
0
bptlab/JEngine,BP2014W1/JEngine,bptlab/JEngine,BP2014W1/JEngine,bptlab/JEngine,bptlab/JEngine,BP2014W1/JEngine,BP2014W1/JEngine
package de.uni_potsdam.hpi.bpt.bp2014.util; import com.google.gson.Gson; import java.util.HashMap; import java.util.LinkedList; /** * Created by Sven Ihde on 23.02.2015. */ /** * This class provides the helper methods/classes used for the JSON representation for the REST connections. */ public class JsonUtil { ...
src/main/java/de/uni_potsdam/hpi/bpt/bp2014/util/JsonUtil.java
package de.uni_potsdam.hpi.bpt.bp2014.util; import com.google.gson.Gson; import java.util.HashMap; import java.util.LinkedList; /** * Created by Ihdefix on 23.02.2015. */ public class JsonUtil { /** * @param content contains a LinkedList * @return a wrapped json */ public static String JsonW...
added java-doc for JsonUtil class
src/main/java/de/uni_potsdam/hpi/bpt/bp2014/util/JsonUtil.java
added java-doc for JsonUtil class
<ide><path>rc/main/java/de/uni_potsdam/hpi/bpt/bp2014/util/JsonUtil.java <ide> import java.util.LinkedList; <ide> <ide> /** <del> * Created by Ihdefix on 23.02.2015. <add> * Created by Sven Ihde on 23.02.2015. <add> */ <add> <add>/** <add> * This class provides the helper methods/classes used for the JSON representati...
JavaScript
mit
60243d9bdef3eecdbaa69b61da13fa74d5f3fd11
0
longze/my-cellar,longze/my-cellar,longze/my-cellar
/** * Created by zhaoxiaoqiang on 15/6/19. * * 提供http的接口探测和查找可用端口服务 */ const DefaultPort = 8080; /** * 查看端口是否可用 * * @param {String | Number} port 要检查的端口 * @param {Function} callback 回调函数 * {Boolean} isAvailable 是否可用(给回调的参数) */ function isAvailable(port, callback) { port = port / 1; // 参数校验 ...
server/lib/port.js
/** * Created by zhaoxiaoqiang on 15/6/19. * * 提供http的接口探测和查找可用端口服务 */ var DefaultPort = 8080; /** * 查看端口是否可用 * * @param {String | Number} port 要检查的端口 * @param {Function} callback 回调函数 * {Boolean} isAvailable 是否可用(给回调的参数) */ function isAvailable(port, callback) { port = port / 1; // 参数校验 i...
部分改成了 ES6 的语法
server/lib/port.js
部分改成了 ES6 的语法
<ide><path>erver/lib/port.js <ide> * 提供http的接口探测和查找可用端口服务 <ide> */ <ide> <del>var DefaultPort = 8080; <add>const DefaultPort = 8080; <add> <ide> /** <ide> * 查看端口是否可用 <ide> * <ide> } <ide> // 检查端口是否占用 <ide> else { <del> var net = require('net'); <del> var tester = net.createServer().once('...
Java
mit
6ece6c4a691e7cea136597cb77e7c803bb002814
0
KJ4IPS/KaBan
package guru.haun.kaban.listener; import java.util.Calendar; import java.util.Date; import java.util.TimeZone; import java.util.UUID; import guru.haun.kaban.KaBan; import guru.haun.kaban.KaBanBanEntry; import org.bukkit.ChatColor; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.buk...
src/main/java/guru/haun/kaban/listener/KabanPreLoginListener.java
package guru.haun.kaban.listener; import java.util.Calendar; import java.util.Date; import java.util.TimeZone; import java.util.UUID; import guru.haun.kaban.KaBan; import guru.haun.kaban.KaBanBanEntry; import org.bukkit.ChatColor; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.buk...
Re-enabled ban expiry check
src/main/java/guru/haun/kaban/listener/KabanPreLoginListener.java
Re-enabled ban expiry check
<ide><path>rc/main/java/guru/haun/kaban/listener/KabanPreLoginListener.java <ide> UUID uuid = e.getUniqueId(); <ide> String banmsg; <ide> for(KaBanBanEntry ban : kaban.banlist){ <del> if(ban.getBanned().equals(uuid)){ <add> if(ban.getBanned().equals(uuid)&&!ban.hasExpired()){ <ide> e.setLoginResult(Result...
Java
epl-1.0
error: pathspec 'src/main/java/kuleuven/group2/TestDaemon.java' did not match any file(s) known to git
777342e4b0746bd8045c174078e2ce4e2a045d09
1
MattiasBuelens/junit,MattiasBuelens/junit,MattiasBuelens/junit,MattiasBuelens/junit
package kuleuven.group2; import java.util.HashSet; import java.util.Set; import java.util.concurrent.Executors; import java.util.concurrent.RejectedExecutionException; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import org.junit.runner.JUnitCore; import org.ju...
src/main/java/kuleuven/group2/TestDaemon.java
TestDaemon: initial import TODO: atomic operations needed Adding a listener or changing the class may never result in a block of the requester or a block of the run task. So no synchronization is allowed for this purpose.
src/main/java/kuleuven/group2/TestDaemon.java
TestDaemon: initial import
<ide><path>rc/main/java/kuleuven/group2/TestDaemon.java <add>package kuleuven.group2; <add> <add>import java.util.HashSet; <add>import java.util.Set; <add>import java.util.concurrent.Executors; <add>import java.util.concurrent.RejectedExecutionException; <add>import java.util.concurrent.ScheduledExecutorService; <add>i...
Java
apache-2.0
3ddfb0fbe86811abe8bdf6784abcc9d7a6fac84e
0
wrooot/Spark,speedy01/Spark,wrooot/Spark,igniterealtime/Spark,wrooot/Spark,igniterealtime/Spark,speedy01/Spark,igniterealtime/Spark,wrooot/Spark,guusdk/Spark,guusdk/Spark,speedy01/Spark,speedy01/Spark,guusdk/Spark,guusdk/Spark,igniterealtime/Spark
package org.jivesoftware.spark.roar; import java.util.PropertyResourceBundle; import java.util.ResourceBundle; import org.jivesoftware.spark.util.log.Log; public class RoarResources { private static PropertyResourceBundle prb; static ClassLoader cl = RoarResources.class.getClassLoader(); static { prb...
plugins/roar/src/main/java/org/jivesoftware/spark/roar/RoarResources.java
package org.jivesoftware.spark.roar; import java.util.PropertyResourceBundle; import java.util.ResourceBundle; import org.jivesoftware.spark.util.log.Log; public class RoarResources { private static PropertyResourceBundle prb; static ClassLoader cl = RoarResources.class.getClassLoader(); static { prb...
SPARK-2093 plugins fixes
plugins/roar/src/main/java/org/jivesoftware/spark/roar/RoarResources.java
SPARK-2093 plugins fixes
<ide><path>lugins/roar/src/main/java/org/jivesoftware/spark/roar/RoarResources.java <ide> <ide> public static final String getString(String propertyName) { <ide> try { <del> return prb.getString(propertyName); <add> /* Revert to this code after Spark is moved to Java 11 or newer <add> return prb...
Java
apache-2.0
4de329aa5b8c9c5f131c2c0109e3c2a94acb5599
0
andrewshadura/omim,victorbriz/omim,Zverik/omim,augmify/omim,syershov/omim,matsprea/omim,stangls/omim,edl00k/omim,Zverik/omim,vng/omim,TimurTarasenko/omim,bykoianko/omim,rokuz/omim,albertshift/omim,TimurTarasenko/omim,victorbriz/omim,dobriy-eeh/omim,simon247/omim,felipebetancur/omim,Komzpa/omim,VladiMihaylenko/omim,augm...
package com.mapswithme.maps.downloader; import java.io.BufferedInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.concurrent.Executor; import java.util.conc...
android/src/com/mapswithme/maps/downloader/DownloadChunkTask.java
package com.mapswithme.maps.downloader; import java.io.BufferedInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.concurrent.Executor; import java.util.conc...
[android] Increased java's buffer size when downloading chunks
android/src/com/mapswithme/maps/downloader/DownloadChunkTask.java
[android] Increased java's buffer size when downloading chunks
<ide><path>ndroid/src/com/mapswithme/maps/downloader/DownloadChunkTask.java <ide> // @TODO Else display received web page to user - router is redirecting us to some page <ide> } <ide> <del> return downloadFromStream(new BufferedInputStream(urlConnection.getInputStream())); <add> return download...
Java
apache-2.0
error: pathspec 'rxlist/src/main/java/rx/list/ReMapList.java' did not match any file(s) known to git
fb8ad4fe07c5702a7e84fb5732ef993cee20c5eb
1
yongjhih/RxList
package rx.list; import java.lang.reflect.Array; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.ListIterator; import android.support.v4.util.LruCache; public class ReMapList<E> extends ArrayList<E> { privat...
rxlist/src/main/java/rx/list/ReMapList.java
Add ReMapList for restructuring
rxlist/src/main/java/rx/list/ReMapList.java
Add ReMapList for restructuring
<ide><path>xlist/src/main/java/rx/list/ReMapList.java <add>package rx.list; <add> <add>import java.lang.reflect.Array; <add>import java.util.ArrayList; <add>import java.util.Collection; <add>import java.util.Collections; <add>import java.util.Iterator; <add>import java.util.List; <add>import java.util.ListIterator; <ad...
JavaScript
apache-2.0
5469566f8546d124d2bb27656b39522ea6e15c06
0
VishwasShashidhar/SymphonyElectron,KiranNiranjan/SymphonyElectron,VishwasShashidhar/SymphonyElectron,KiranNiranjan/SymphonyElectron,KiranNiranjan/SymphonyElectron,VishwasShashidhar/SymphonyElectron,KiranNiranjan/SymphonyElectron,VishwasShashidhar/SymphonyElectron
'use strict'; const fs = require('fs'); const randomString = require('randomstring'); const electron = require('electron'); const childProcess = require('child_process'); const app = electron.app; const path = require('path'); const isDevEnv = require('../utils/misc.js').isDevEnv; const isMac = require('../utils/misc...
js/search/search.js
'use strict'; const fs = require('fs'); const randomString = require('randomstring'); const electron = require('electron'); const childProcess = require('child_process'); const app = electron.app; const path = require('path'); const isDevEnv = require('../utils/misc.js').isDevEnv; const isMac = require('../utils/misc...
Fixed eslint
js/search/search.js
Fixed eslint
<ide><path>s/search/search.js <ide> const BATCH_RANDOM_INDEX_PATH_LENGTH = 20; <ide> <ide> class Search { <del> //TODO: fix eslint class-methods-use-this <del> /*eslint-disable class-methods-use-this */ <ide> <ide> constructor(userId) { <ide> this.isInitialized = false; <ide> this.userId = u...
Java
mit
54c1a92c3770e84d6d19fa3b85b340f1e045c460
0
mchaynes/northpine,mchaynes/northpine,mchaynes/northpine
package com.northpine; import org.apache.http.HttpResponse; import org.apache.http.client.config.RequestConfig; import org.apache.http.client.methods.HttpGet; import org.apache.http.concurrent.FutureCallback; import org.apache.http.impl.nio.client.CloseableHttpAsyncClient; import org.apache.http.impl.nio.client.HttpAs...
src/main/java/com/northpine/ScrapeJob.java
package com.northpine; import org.apache.http.HttpResponse; import org.apache.http.client.config.RequestConfig; import org.apache.http.client.methods.HttpGet; import org.apache.http.concurrent.FutureCallback; import org.apache.http.impl.nio.client.CloseableHttpAsyncClient; import org.apache.http.impl.nio.client.HttpAs...
trying to capitalize ESPG to see if that works with old ogr2ogr
src/main/java/com/northpine/ScrapeJob.java
trying to capitalize ESPG to see if that works with old ogr2ogr
<ide><path>rc/main/java/com/northpine/ScrapeJob.java <ide> } catch ( IOException io ) { <ide> log.error("couldn't get body of response", io); <ide> } <del> String finalBody = body; <del> CompletableFuture.supplyAsync( () -> writeJSON( new J...
Java
mit
28f6b762a1671bc947805b2df2efb5528fccf9e7
0
aquarellian/jenkins,jenkinsci/jenkins,jzjzjzj/jenkins,recena/jenkins,olivergondza/jenkins,samatdav/jenkins,rsandell/jenkins,wuwen5/jenkins,thomassuckow/jenkins,vvv444/jenkins,morficus/jenkins,wuwen5/jenkins,jglick/jenkins,github-api-test-org/jenkins,wangyikai/jenkins,v1v/jenkins,CodeShane/jenkins,liorhson/jenkins,jglic...
/* * The MIT License * * Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi, * Daniel Dyer, Tom Huybrechts, Yahoo!, 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 Sof...
core/src/main/java/hudson/model/AbstractItem.java
/* * The MIT License * * Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi, * Daniel Dyer, Tom Huybrechts, Yahoo!, 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 Sof...
Missing @since.
core/src/main/java/hudson/model/AbstractItem.java
Missing @since.
<ide><path>ore/src/main/java/hudson/model/AbstractItem.java <ide> <ide> /** <ide> * Updates Job by its XML definition. <add> * @since 1.473 <ide> */ <ide> public void updateByXml(Source source) throws IOException { <ide> checkPermission(CONFIGURE);
JavaScript
mit
152ecc22d4b41d515a3ade105b245fafb122db51
0
jeffh/YACS,JGrippo/YACS,JGrippo/YACS,JGrippo/YACS,jeffh/YACS,jeffh/YACS,jeffh/YACS,JGrippo/YACS
'use strict'; describe("networkIndicator", function(){ var $rootScope, networkIndicator; beforeEach(inject(function($injector){ $rootScope = $injector.get('$rootScope'); networkIndicator = $injector.get('networkIndicator'); })); it("should start out hidden", function(){ expect(networkIndicator.isVisible())....
spec/javascripts/domain/APIClientSpec.js
'use strict'; describe("networkIndicator", function(){ var $rootScope, networkIndicator; beforeEach(inject(function($injector){ $rootScope = $injector.get('$rootScope'); networkIndicator = $injector.get('networkIndicator'); })); it("should start out hidden", function(){ expect(networkIndicator.isVisible())....
fixed broken specs
spec/javascripts/domain/APIClientSpec.js
fixed broken specs
<ide><path>pec/javascripts/domain/APIClientSpec.js <ide> var result; <ide> beforeEach(function(){ <ide> var response = {success: true, result: [1, 2]}; <del> $httpBackend.whenPOST('/api/4/', {semester_id: 1}).respond(response); <add> $httpBackend.whenPOST('/api/4/', 'semester_id=1').respond(response); <...
Java
apache-2.0
9d62ab2bd18715dd2d3ce9acea946ae931ac4ed5
0
paulcadman/reviki,strr/reviki,CoreFiling/reviki,paulcadman/reviki,ashirley/reviki,paulcadman/reviki,CoreFiling/reviki,ashirley/reviki,strr/reviki,strr/reviki,ashirley/reviki,ashirley/reviki,paulcadman/reviki,strr/reviki,CoreFiling/reviki,ashirley/reviki,CoreFiling/reviki,CoreFiling/reviki,strr/reviki
package net.hillsdon.svnwiki.wiki.renderer; import java.io.IOException; import java.util.regex.Matcher; import net.hillsdon.svnwiki.text.Escape; import net.hillsdon.svnwiki.vc.PageReference; import com.uwyn.jhighlight.renderer.XhtmlRendererFactory; /** * Syntax formatting for java as in vqwiki. * * A general sy...
src/net/hillsdon/svnwiki/wiki/renderer/JavaSyntaxHighlightedNode.java
package net.hillsdon.svnwiki.wiki.renderer; import java.io.IOException; import java.util.regex.Matcher; import net.hillsdon.svnwiki.text.Escape; import net.hillsdon.svnwiki.vc.PageReference; import com.uwyn.jhighlight.renderer.XhtmlRendererFactory; /** * Syntax formatting for java as in vqwiki. * * A general sy...
Fix group referenced.
src/net/hillsdon/svnwiki/wiki/renderer/JavaSyntaxHighlightedNode.java
Fix group referenced.
<ide><path>rc/net/hillsdon/svnwiki/wiki/renderer/JavaSyntaxHighlightedNode.java <ide> } <ide> <ide> public String handle(final PageReference page, final Matcher matcher) { <del> String content = matcher.group(1); <add> String content = matcher.group(2); <ide> try { <ide> return XhtmlRendererFactory...
Java
apache-2.0
37b4854775e7f0084e4352ad5306084538159ba9
0
cloudevents/sdk-java
/** * Copyright 2018 The CloudEvents Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
api/src/main/java/io/cloudevents/json/Json.java
/** * Copyright 2018 The CloudEvents Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
read from inputstream using typeinference Signed-off-by: Fabio José <34f3a7e4e4d9fe971c99ebc4af947a5309eca653@gmail.com>
api/src/main/java/io/cloudevents/json/Json.java
read from inputstream using typeinference
<ide><path>pi/src/main/java/io/cloudevents/json/Json.java <ide> + e.getMessage()); <ide> } <ide> } <add> <add> public static <T> T fromInputStream(final InputStream inputStream, <add> final TypeReference<T> type) { <add> try { <add> return MAPPER.readValue(inputStre...
Java
apache-2.0
e557b879d87ebf1306d5c82ba79fa853d585aa0b
0
almende/dialog,almende/dialog,almende/dialog
package com.almende.dialog.util; import java.io.IOException; import java.net.URLDecoder; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.Locale; import java.util.UUID; import java.util.regex.Matcher; import java.util...
dialoghandler/src/test/java/com/almende/dialog/util/UtilTest.java
package com.almende.dialog.util; import java.io.IOException; import java.net.URLDecoder; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.Locale; import java.util.UUID; import java.util.regex.Matcher; import java.util...
update: added unit test for checking server time for last month start
dialoghandler/src/test/java/com/almende/dialog/util/UtilTest.java
update: added unit test for checking server time for last month start
<ide><path>ialoghandler/src/test/java/com/almende/dialog/util/UtilTest.java <ide> String timeFormat3 = dateFormat.format(new Date(currentTime)); <ide> Assert.assertThat(timeFormat3, Matchers.is(timeformat2)); <ide> } <add> <add> /** <add> * Test to check the utils method that the previous...
JavaScript
mit
a13dcc121cc40d1368e3f7b95f03fe106b821402
0
takashiharano/debug.js,takashiharano/debug.js
/*! * debug.js * Copyright 2015 Takashi Harano * Released under the MIT license * https://debugjs.net/ */ var DebugJS = DebugJS || function() { this.v = '201901090000'; this.DEFAULT_OPTIONS = { visible: false, keyAssign: { key: 113, shift: undefined, ctrl: undefined, alt: undef...
debug.js
/*! * debug.js * Copyright 2015 Takashi Harano * Released under the MIT license * https://debugjs.net/ */ var DebugJS = DebugJS || function() { this.v = '201901082111'; this.DEFAULT_OPTIONS = { visible: false, keyAssign: { key: 113, shift: undefined, ctrl: undefined, alt: undef...
Fix: dbg.balse()
debug.js
Fix: dbg.balse()
<ide><path>ebug.js <ide> * https://debugjs.net/ <ide> */ <ide> var DebugJS = DebugJS || function() { <del> this.v = '201901082111'; <add> this.v = '201901090000'; <ide> <ide> this.DEFAULT_OPTIONS = { <ide> visible: false, <ide> this.ledPanel = null; <ide> this.led = 0; <ide> this.msgLabel = null; <del>...
Java
apache-2.0
cc0f5016af6085be0096d592ed78db3a3024f4c4
0
synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung
package org.synyx.urlaubsverwaltung.sicknote; import org.springframework.data.jpa.domain.AbstractPersistable; import org.synyx.urlaubsverwaltung.period.DayLength; import org.synyx.urlaubsverwaltung.period.Period; import org.synyx.urlaubsverwaltung.person.Person; import org.synyx.urlaubsverwaltung.util.DateFormat; imp...
src/main/java/org/synyx/urlaubsverwaltung/sicknote/SickNote.java
package org.synyx.urlaubsverwaltung.sicknote; import org.springframework.data.jpa.domain.AbstractPersistable; import org.synyx.urlaubsverwaltung.period.DayLength; import org.synyx.urlaubsverwaltung.period.Period; import org.synyx.urlaubsverwaltung.person.Person; import org.synyx.urlaubsverwaltung.util.DateFormat; imp...
Remove not used method from old toString of SickNote
src/main/java/org/synyx/urlaubsverwaltung/sicknote/SickNote.java
Remove not used method from old toString of SickNote
<ide><path>rc/main/java/org/synyx/urlaubsverwaltung/sicknote/SickNote.java <ide> ", status=" + status + <ide> '}'; <ide> } <del> <del> private Object formatNullable(LocalDate date) { <del> return date != null ? date.format(DateTimeFormatter.ofPattern(DateFormat.PATTERN)) : null; <d...
JavaScript
mit
29eb99ee93d1821e2dfa5e137a90ab05c28eafb8
0
ajcrites/babybel,kaicataldo/babel,garyjN7/babel,Jeremy017/babel,claudiopro/babel,hulkish/babel,ysmood/babel,dekelcohen/babel,iamstarkov/babel,iamchenxin/babel,chengky/babel,nishant8BITS/babel,VukDukic/babel,hzoo/babel,ellbee/babel,megawac/babel,macressler/babel,KualiCo/babel,greyhwndz/babel,samwgoldman/babel,mgcrea/bab...
import * as t from "../../../types"; export var metadata = { group: "builtin-trailing" }; function remap(path, key, create) { // ensure that we're shadowed if (!path.inShadow()) return; var shadowed = path.node._shadowedFunctionLiteral; var fnPath = path.findParent(function (path) { if (shadowed) { ...
src/babel/transformation/transformers/internal/shadow-functions.js
import * as t from "../../../types"; export var metadata = { group: "builtin-trailing" }; function remap(path, key, create) { // ensure that we're shadowed if (!path.inShadow()) return; var fnPath = path.findParent((path) => !path.is("shadow") && (path.isFunction() || path.isProgram())); var shadowed = pa...
rejigger shadowd function findParent logic
src/babel/transformation/transformers/internal/shadow-functions.js
rejigger shadowd function findParent logic
<ide><path>rc/babel/transformation/transformers/internal/shadow-functions.js <ide> // ensure that we're shadowed <ide> if (!path.inShadow()) return; <ide> <del> var fnPath = path.findParent((path) => !path.is("shadow") && (path.isFunction() || path.isProgram())); <add> var shadowed = path.node._shadowedFunctionL...