lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
mit
10bbee4719a6378d698c5b2ba43403b923bc0121
0
DevelopersGuild/rebel-invader,DevelopersGuild/pew-pew,DevelopersGuild/pew-pew,DevelopersGuild/pew-pew,DevelopersGuild/rebel-invader,DevelopersGuild/rebel-invader
package io.developersguild.rebelinvader; import com.badlogic.ashley.core.Entity; import com.badlogic.ashley.core.PooledEngine; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.math.Interpolation; import com.badlogic.gdx.math.MathUtils; import com.badlo...
core/src/io/developersguild/rebelinvader/Level.java
package io.developersguild.rebelinvader; import com.badlogic.ashley.core.Entity; import com.badlogic.ashley.core.PooledEngine; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.TextureRegion; import com.badlogic.gdx.math.Interpolation; import com.badlogic.gdx.math.MathUtils; import com.badlo...
Explosion radius larger
core/src/io/developersguild/rebelinvader/Level.java
Explosion radius larger
<ide><path>ore/src/io/developersguild/rebelinvader/Level.java <ide> float x = origin.getComponent(TransformComponent.class).pos.x; <ide> float y = origin.getComponent(TransformComponent.class).pos.y + origin.getComponent(BoundsComponent.class).bounds.height / 2f; <ide> <del> float scaleRatio = 1...
Java
apache-2.0
3e9a15a4e66891d2b7cda699756e27d3f9634245
0
cniesen/rice,jwillia/kc-rice1,cniesen/rice,shahess/rice,jwillia/kc-rice1,gathreya/rice-kc,rojlarge/rice-kc,kuali/kc-rice,geothomasp/kualico-rice-kc,rojlarge/rice-kc,sonamuthu/rice-1,bhutchinson/rice,kuali/kc-rice,rojlarge/rice-kc,sonamuthu/rice-1,ewestfal/rice,jwillia/kc-rice1,gathreya/rice-kc,ewestfal/rice,UniversityO...
package org.kuali.rice.kew.api.document.lookup; import org.kuali.rice.core.api.CoreConstants; import org.kuali.rice.core.api.mo.AbstractDataTransferObject; import org.kuali.rice.core.api.mo.ModelBuilder; import org.kuali.rice.kew.api.document.Document; import org.kuali.rice.kew.api.document.attribute.DocumentAttribute...
kew/api/src/main/java/org/kuali/rice/kew/api/document/lookup/DocumentLookupResult.java
package org.kuali.rice.kew.api.document.lookup; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Map; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax...
KULRICE-5056 - simple code cleanup
kew/api/src/main/java/org/kuali/rice/kew/api/document/lookup/DocumentLookupResult.java
KULRICE-5056 - simple code cleanup
<ide><path>ew/api/src/main/java/org/kuali/rice/kew/api/document/lookup/DocumentLookupResult.java <ide> package org.kuali.rice.kew.api.document.lookup; <ide> <del>import java.io.Serializable; <del>import java.util.ArrayList; <del>import java.util.Collection; <del>import java.util.Collections; <del>import java.util.List...
Java
apache-2.0
f193aac4053e0ccd4487bb5f784bd44f3e7f072f
0
jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim
/* * JaamSim Discrete Event Simulation * Copyright (C) 2012 Ausenco Engineering Canada Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at you...
src/main/java/com/jaamsim/controllers/RenderManager.java
/* * JaamSim Discrete Event Simulation * Copyright (C) 2012 Ausenco Engineering Canada Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at you...
JS: Fix for bug when using the XY-plane view button with new controls Signed-off-by: Matt Chudleigh <0ca390ed93f516590d05286882efa52bb3b35616@ausenco.com> Signed-off-by: Harvey Harrison <eadbd6b462bf3c97df0300a934c12bc2e5d1fe51@ausenco.com>
src/main/java/com/jaamsim/controllers/RenderManager.java
JS: Fix for bug when using the XY-plane view button with new controls
<ide><path>rc/main/java/com/jaamsim/controllers/RenderManager.java <ide> CameraControl control = _windowControls.get(_activeWindowID); <ide> if (control == null) return; <ide> <del> control.setRotationAngles(0.0, 0.0); <add> // Do not look straight down the Z axis as that is actually a degenerate state <add> co...
Java
apache-2.0
0bf804227ee298065e478dd3900e91e40a72df71
0
luisfdeandrade/client,viniciusboson/client,christianrafael/client,projectbuendia/client,christianrafael/client,viniciusboson/client,llvasconcellos/client,projectbuendia/client,projectbuendia/client,fcruz/client,luisfdeandrade/client,llvasconcellos/client,viniciusboson/client,G1DR4/client,pedromarins/client,jvanz/client...
package org.msf.records.ui; import android.app.ActionBar; import android.app.ProgressDialog; import android.content.ContentUris; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; impor...
app/src/main/java/org/msf/records/ui/PatientListActivity.java
package org.msf.records.ui; import android.app.ActionBar; import android.app.ProgressDialog; import android.content.ContentUris; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; impor...
Removed animations due to a UI race condition.
app/src/main/java/org/msf/records/ui/PatientListActivity.java
Removed animations due to a UI race condition.
<ide><path>pp/src/main/java/org/msf/records/ui/PatientListActivity.java <ide> updateAvailableSnackbar = Snackbar.with(this) <ide> .text("Application update available") <ide> .actionLabel("Download") <del> .swipeToDismiss(false) <add> .swipeToDismiss(...
Java
apache-2.0
cfd45b30e8f5045e3e96a67762dac3ec9e14e67f
0
wschaeferB/autopsy,rcordovano/autopsy,wschaeferB/autopsy,esaunders/autopsy,esaunders/autopsy,rcordovano/autopsy,wschaeferB/autopsy,rcordovano/autopsy,wschaeferB/autopsy,esaunders/autopsy,wschaeferB/autopsy,rcordovano/autopsy,esaunders/autopsy,rcordovano/autopsy,rcordovano/autopsy,esaunders/autopsy
/* * Autopsy * * Copyright 2019 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lice...
Core/src/org/sleuthkit/autopsy/filequery/FileSearchPanel.java
/* * Autopsy * * Copyright 2019 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/lice...
5673 enable parent filter
Core/src/org/sleuthkit/autopsy/filequery/FileSearchPanel.java
5673 enable parent filter
<ide><path>ore/src/org/sleuthkit/autopsy/filequery/FileSearchPanel.java <ide> objectsFilterSettings(true, enabled, !resetSelected && objectsCheckbox.isSelected(), null); <ide> hashSetFilterSettings(true, enabled, !resetSelected && hashSetCheckbox.isSelected(), null); <ide> interestingItemsFilter...
Java
apache-2.0
6c60bc9f6cf0f62c8557296dcab9335b680951b5
0
mahak/hbase,gustavoanatoly/hbase,Eshcar/hbase,JingchengDu/hbase,ultratendency/hbase,ChinmaySKulkarni/hbase,Apache9/hbase,vincentpoon/hbase,vincentpoon/hbase,ndimiduk/hbase,vincentpoon/hbase,ultratendency/hbase,mahak/hbase,HubSpot/hbase,ChinmaySKulkarni/hbase,ChinmaySKulkarni/hbase,mahak/hbase,gustavoanatoly/hbase,HubSp...
/** * * 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"); ...
hbase-server/src/main/java/org/apache/hadoop/hbase/mapred/TableOutputFormat.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"); ...
HBASE-16017 HBase TableOutputFormat has connection leak in getRecordWriter (Zhan Zhang)
hbase-server/src/main/java/org/apache/hadoop/hbase/mapred/TableOutputFormat.java
HBASE-16017 HBase TableOutputFormat has connection leak in getRecordWriter (Zhan Zhang)
<ide><path>base-server/src/main/java/org/apache/hadoop/hbase/mapred/TableOutputFormat.java <ide> */ <ide> protected static class TableRecordWriter implements RecordWriter<ImmutableBytesWritable, Put> { <ide> private BufferedMutator m_mutator; <del> <add> private Connection connection; <ide> /** <ide> ...
Java
mit
b0d6a7923725e07fc587056dcaf2052f8235f599
0
FlareBot/FlareBot,binaryoverload/FlareBot,weeryan17/FlareBot
package com.bwfcwalshy.flarebot.music.extractors; import com.arsenarsen.lavaplayerbridge.player.Player; import com.arsenarsen.lavaplayerbridge.player.Track; import com.bwfcwalshy.flarebot.FlareBot; import com.bwfcwalshy.flarebot.MessageUtils; import com.sedmelluq.discord.lavaplayer.source.AudioSourceManager; import co...
src/main/java/com/bwfcwalshy/flarebot/music/extractors/YouTubeExtractor.java
package com.bwfcwalshy.flarebot.music.extractors; import com.arsenarsen.lavaplayerbridge.player.Player; import com.arsenarsen.lavaplayerbridge.player.Track; import com.bwfcwalshy.flarebot.FlareBot; import com.bwfcwalshy.flarebot.MessageUtils; import com.sedmelluq.discord.lavaplayer.source.AudioSourceManager; import co...
Make sure YouTubeExtractor.java ignores additional URL parameters
src/main/java/com/bwfcwalshy/flarebot/music/extractors/YouTubeExtractor.java
Make sure YouTubeExtractor.java ignores additional URL parameters
<ide><path>rc/main/java/com/bwfcwalshy/flarebot/music/extractors/YouTubeExtractor.java <ide> .appendField("Songs:", String.valueOf(c), false).build(), message); <ide> } else { <ide> try { <add> if (input.contains("&")) <add> input = input.substri...
Java
apache-2.0
437153dfda6ca325228514904c936ffca211b880
0
epiphany27/SeriesGuide,hoanganhx86/SeriesGuide,UweTrottmann/SeriesGuide,r00t-user/SeriesGuide,UweTrottmann/SeriesGuide,artemnikitin/SeriesGuide,0359xiaodong/SeriesGuide
/* * Copyright 2012 Uwe Trottmann * * 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 ...
SeriesGuide/src/com/battlelancer/seriesguide/ui/FirstRunFragment.java
/* * Copyright 2012 Uwe Trottmann * * 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 ...
New events for first run fragment.
SeriesGuide/src/com/battlelancer/seriesguide/ui/FirstRunFragment.java
New events for first run fragment.
<ide><path>eriesGuide/src/com/battlelancer/seriesguide/ui/FirstRunFragment.java <ide> <ide> private static final String PREF_KEY_FIRSTRUN = "accepted_eula"; <ide> <del> protected static final String TAG = "FirstRunFragment"; <add> protected static final String TAG = "First Run"; <ide> <ide> private OnF...
Java
agpl-3.0
3a4bbf8be133769f84424a59be6121bd9db3d1f0
0
arenaoftitans/arena-of-titans,arenaoftitans/arena-of-titans,arenaoftitans/arena-of-titans
package com.derniereligne.engine.cards; import com.derniereligne.engine.board.Square; import java.util.Set; /** * <b>Interface used to to abstract the way we get probable squares from the board.</b> * * @author "Dernière Ligne" first development team */ @FunctionalInterface public interface ProbableSquaresGetter ...
src/main/java/com/derniereligne/engine/cards/ProbableSquaresGetter.java
package com.derniereligne.engine.cards; import com.derniereligne.engine.board.Square; import java.util.Set; /** * <b>Interface used to to abstract the way we get probable squares from the board.</b> * * @author "Dernière Ligne" first development team */ @FunctionalInterface public interface ProbableSquaresGetter ...
doc(ProbableSquaresGetter): improve javadoc.
src/main/java/com/derniereligne/engine/cards/ProbableSquaresGetter.java
doc(ProbableSquaresGetter): improve javadoc.
<ide><path>rc/main/java/com/derniereligne/engine/cards/ProbableSquaresGetter.java <ide> public interface ProbableSquaresGetter { <ide> <ide> /** <add> * <b>Returns the set of the probable squares.</b> <ide> * <ide> * @param currentSquare <add> * The start square. <add> * <ide> * @...
JavaScript
mit
58454fbab46e0d95368307b92b651928024175fb
0
quasarframework/quasar,fsgiudice/quasar,fsgiudice/quasar,rstoenescu/quasar-framework,rstoenescu/quasar-framework,pdanpdan/quasar,rstoenescu/quasar-framework,quasarframework/quasar,quasarframework/quasar,pdanpdan/quasar,pdanpdan/quasar,quasarframework/quasar,fsgiudice/quasar,pdanpdan/quasar
import Vue from 'vue' import QField from '../field/QField.js' import QIcon from '../icon/QIcon.js' import QChip from '../chip/QChip.js' import QItem from '../list/QItem.js' import QItemSection from '../list/QItemSection.js' import QItemLabel from '../list/QItemLabel.js' import QMenu from '../menu/QMenu.js' import QD...
ui/src/components/select/QSelect.js
import Vue from 'vue' import QField from '../field/QField.js' import QIcon from '../icon/QIcon.js' import QChip from '../chip/QChip.js' import QItem from '../list/QItem.js' import QItemSection from '../list/QItemSection.js' import QItemLabel from '../list/QItemLabel.js' import QMenu from '../menu/QMenu.js' import QD...
perf(QSelect): avoid Vue re-attaching QDialog events on each render
ui/src/components/select/QSelect.js
perf(QSelect): avoid Vue re-attaching QDialog events on each render
<ide><path>i/src/components/select/QSelect.js <ide> transitionHide: this.transitionHide <ide> }, <ide> on: { <del> 'before-hide': () => { <del> this.focused = false <del> }, <del> hide: e => { <del> this.hidePopup() <del> this.$emit('...
JavaScript
mit
1510e0fcac5d3c084405cf330c9daa3986087f49
0
shopapps/sparkphase-couchbase-orm
/* Sparkphase Couchbase ORM Version 0.1.0 Updated: Friday 17th October 2014 Author: Jonathan Bristow <jonathanbristow@me.com> Repository: https://github.com/JonathanBristow/Sparky */ module.exports = function(Options) { }
index.js
/* Sparky Version 0.1.0 Updated: Friday 17th October 2014 Author: Jonathan Bristow <jonathanbristow@me.com> Repository: https://github.com/JonathanBristow/Sparky */ module.exports = function Sparky(Options) { console.log(Options.Type+' => '+Options.Group+' => '+Options.Message); if (Options.Detail) { console....
Update
index.js
Update
<ide><path>ndex.js <ide> /* <del> Sparky Version 0.1.0 <add> Sparkphase Couchbase ORM Version 0.1.0 <ide> Updated: Friday 17th October 2014 <ide> Author: Jonathan Bristow <jonathanbristow@me.com> <ide> Repository: https://github.com/JonathanBristow/Sparky <ide> */ <ide> <del>module.exports = function Sparky(Options...
Java
bsd-2-clause
8c820861b7648827d96f2e746989075bf22a0db4
0
zlamalp/perun-wui,zlamalp/perun-wui,zlamalp/perun-wui
package cz.metacentrum.perun.wui.json; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.core.client.Scheduler; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.http.client.Reques...
perun-wui-core/src/main/java/cz/metacentrum/perun/wui/json/JsonClient.java
package cz.metacentrum.perun.wui.json; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.core.client.Scheduler; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.http.client.Reques...
fix(registrar): CSRF authentication bug * Second request sometimes fails with 403 due to CSRF cookie and user have to refresh window.
perun-wui-core/src/main/java/cz/metacentrum/perun/wui/json/JsonClient.java
fix(registrar): CSRF authentication bug
<ide><path>erun-wui-core/src/main/java/cz/metacentrum/perun/wui/json/JsonClient.java <ide> import com.google.gwt.json.client.JSONValue; <ide> import com.google.gwt.regexp.shared.MatchResult; <ide> import com.google.gwt.regexp.shared.RegExp; <add>import com.google.gwt.storage.client.Storage; <ide> import com.google.gwt....
Java
apache-2.0
4403befbf053504b461c4282416d21ad5bdf5cf0
0
mreutegg/jackrabbit-oak,anchela/jackrabbit-oak,apache/jackrabbit-oak,mreutegg/jackrabbit-oak,anchela/jackrabbit-oak,anchela/jackrabbit-oak,mreutegg/jackrabbit-oak,apache/jackrabbit-oak,trekawek/jackrabbit-oak,apache/jackrabbit-oak,apache/jackrabbit-oak,mreutegg/jackrabbit-oak,trekawek/jackrabbit-oak,amit-jain/jackrabbi...
/* * 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 ...
oak-it/src/test/java/org/apache/jackrabbit/oak/plugins/index/AsyncIndexUpdateLeaseTest.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 ...
OAK-5893 - Async index abort should work even during traversals without index updates Given that traversedNode can be called in reindexing also the test case should ensure that initial index update is done git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1796039 13f79535-47bb-0310-9956-ffa450edef68
oak-it/src/test/java/org/apache/jackrabbit/oak/plugins/index/AsyncIndexUpdateLeaseTest.java
OAK-5893 - Async index abort should work even during traversals without index updates
<ide><path>ak-it/src/test/java/org/apache/jackrabbit/oak/plugins/index/AsyncIndexUpdateLeaseTest.java <ide> <ide> @Test <ide> public void testLeaseUpdateAndNumberOfChanges() throws Exception { <add> // take care of initial reindex before <add> new AsyncIndexUpdate(name, store, provider).run(); <i...
Java
apache-2.0
f2d122bd62394db030dd54634d26d82f17ed34fe
0
esaunders/autopsy,rcordovano/autopsy,APriestman/autopsy,dgrove727/autopsy,narfindustries/autopsy,dgrove727/autopsy,millmanorama/autopsy,karlmortensen/autopsy,esaunders/autopsy,APriestman/autopsy,mhmdfy/autopsy,millmanorama/autopsy,mhmdfy/autopsy,narfindustries/autopsy,APriestman/autopsy,esaunders/autopsy,karlmortensen/...
/* * Autopsy Forensic Browser * * Copyright 2011-2015 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
Core/src/org/sleuthkit/autopsy/casemodule/CaseCloseAction.java
/* * Autopsy Forensic Browser * * Copyright 2011-2015 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
Make CaseCloseAction public
Core/src/org/sleuthkit/autopsy/casemodule/CaseCloseAction.java
Make CaseCloseAction public
<ide><path>ore/src/org/sleuthkit/autopsy/casemodule/CaseCloseAction.java <ide> * The action to close the current Case. This class should be disabled on <ide> * creation and it will be enabled on new case creation or case opened. <ide> */ <del>final class CaseCloseAction extends CallableSystemAction implements Presen...
JavaScript
mit
e4e2d551f0d4ed164e82e2b11ec36c8df977d680
0
0x00evil/TiCachedImages,sukima/TiCachedImages,0x00evil/TiCachedImages,sukima/TiCachedImages
// FileLoader - A caching file downloader for Titanium // // Public Domain. Use, modify and distribute it any way you like. No attribution required. // // NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. // // This is a reinvention of [David Geller's caching code][1]. It will download // a file and cache it on t...
file_loader.js
// FileLoader - A caching file downloader for Titanium // // Public Domain. Use, modify and distribute it any way you like. No attribution required. // // NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. // // This is a reinvention of [David Geller's caching code][1]. It will download // a file and cache it on t...
Complete replacement of pinkySwear to then/promise
file_loader.js
Complete replacement of pinkySwear to then/promise
<ide><path>ile_loader.js <ide> } <ide> }; <ide> <del>// Export File class {{{2 <del>FileLoader.File = File; <del> <del>// PinkySwear - Minimalistic implementation of the Promises/A+ spec {{{1 <del>// Public Domain. Use, modify and distribute it any way you like. No attribution required. <del>// NO WARRANTY EXPRESSED...
JavaScript
mit
45e167d6a9d36470a2c087487a6cd008ae8359c2
0
atom-minimap/minimap
'use strict' import { Emitter, CompositeDisposable } from 'atom' import MinimapElement from './minimap-element' import Minimap from './minimap' import config from './config.json' import * as PluginManagement from './plugin-management' import { treeSitterWarning } from './performance-monitor' import DOMStylesReader fro...
lib/main.js
'use strict' import { Emitter, CompositeDisposable } from 'atom' import MinimapElement from './minimap-element' import Minimap from './minimap' import config from './config.json' import * as PluginManagement from './plugin-management' import { treeSitterWarning } from './performance-monitor' import DOMStylesReader fro...
chore: rename value to minimap [skip ci]
lib/main.js
chore: rename value to minimap [skip ci]
<ide><path>ib/main.js <ide> toggled = false <ide> <ide> if (editorsMinimaps) { <del> editorsMinimaps.forEach((value, key) => { <del> value.destroy() <add> editorsMinimaps.forEach((minimap, key) => { <add> minimap.destroy() <ide> editorsMinimaps.delete(key) <ide> }) <ide> ...
Java
bsd-3-clause
abd61cdad55f92ac5ab07ab6c97aafe3adef0e1f
0
cerebro/ggp-base,cerebro/ggp-base
package util.match; import java.util.ArrayList; import java.util.Date; import java.util.HashSet; import java.util.List; import java.util.Random; import java.util.Set; import external.JSON.JSONArray; import external.JSON.JSONException; import external.JSON.JSONObject; import util.crypto.SignableJSON; import util.cryp...
ggp-base/src/util/match/Match.java
package util.match; import java.util.ArrayList; import java.util.Date; import java.util.HashSet; import java.util.List; import java.util.Random; import java.util.Set; import external.JSON.JSONArray; import external.JSON.JSONException; import external.JSON.JSONObject; import util.crypto.SignableJSON; import util.cryp...
Stop publishing the game names and game role names, since that information should be derivable from the game metadata URL. git-svn-id: 4739e81c2fe647bfb539b919360e2c658e6121ea@379 716a755e-b13f-cedc-210d-596dafc6fb9b
ggp-base/src/util/match/Match.java
Stop publishing the game names and game role names, since that information should be derivable from the game metadata URL.
<ide><path>gp-base/src/util/match/Match.java <ide> private final int startClock; <ide> private final Date startTime; <ide> private final Game theGame; <del> private final List<String> theRoleNames; <add> private final List<String> theRoleNames; // TODO: remove this <ide> private final List<List<GdlSentence>>...
Java
apache-2.0
error: pathspec 'modules/citrus-http/src/test/java/com/consol/citrus/http/message/HttpMessageTest.java' did not match any file(s) known to git
50957086d3f849f7936d46b99214f8bc78a8c64d
1
christophd/citrus,christophd/citrus
/* * Copyright 2018 the original author or authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
modules/citrus-http/src/test/java/com/consol/citrus/http/message/HttpMessageTest.java
(#569) Added tests for the root cause of the issue
modules/citrus-http/src/test/java/com/consol/citrus/http/message/HttpMessageTest.java
(#569) Added tests for the root cause of the issue
<ide><path>odules/citrus-http/src/test/java/com/consol/citrus/http/message/HttpMessageTest.java <add>/* <add> * Copyright 2018 the original author or authors <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. ...
JavaScript
mit
9fa5030349a88baaeabbddafe6c8a611621dd458
0
ModelSEED/ModelSEED-UI,ModelSEED/ModelSEED-UI,ModelSEED/ModelSEED-UI,ModelSEED/ModelSEED-UI
/* * auth.js * Angular.js module for using authentication services * * Authors: * https://github.com/nconrad * */ angular.module('Auth', []) .service('Auth', ['$state', '$http', 'config', '$window', function($state, $http, config, $window) { var self = this; this.user; this.token; var auth = ...
app/services/auth.js
/* * auth.js * Angular.js module for using authentication services * * Authors: * https://github.com/nconrad * */ angular.module('Auth', []) .service('Auth', ['$state', '$http', 'config', '$window', function($state, $http, config, $window) { var self = this; this.user; this.token; var auth = ...
redirect to home after logout
app/services/auth.js
redirect to home after logout
<ide><path>pp/services/auth.js <ide> <ide> this.logout = function() { <ide> $window.localStorage.removeItem('auth'); <del> $window.location.reload(); <add> $state.transitionTo('main.home', {}, { reload: true, inherit: true, notify: false }) <add> .then(function() { <add> ...
Java
apache-2.0
54525ffaed5e8925d97657a622532a00a0006347
0
GerritCodeReview/plugins_reviewnotes
// Copyright (C) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
src/main/java/com/googlesource/gerrit/plugins/reviewnotes/CreateReviewNotes.java
// Copyright (C) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
CreateReviewNotes: Don't use deprecated Repository.getAllRefs Change-Id: I867c5003185c9b41c5182b8d05e9db2d9dae2cfa
src/main/java/com/googlesource/gerrit/plugins/reviewnotes/CreateReviewNotes.java
CreateReviewNotes: Don't use deprecated Repository.getAllRefs
<ide><path>rc/main/java/com/googlesource/gerrit/plugins/reviewnotes/CreateReviewNotes.java <ide> } <ide> } <ide> <del> private void markUninteresting(Repository git, String branch, RevWalk rw, ObjectId oldObjectId) { <del> for (Ref r : git.getAllRefs().values()) { <add> private void markUninteresting(Reposi...
Java
apache-2.0
93392b44773e28a4eb12a0b7840890db977c0c21
0
TeamTyro/color-maze-game
/* MazeGame Class * By Tyler Compton for Team Tyro * * This is a very simple and minimal map game. It's official name is * "Color Maze Game." */ import java.applet.Applet; import java.awt.BorderLayout; import java.awt.Canvas; import java.net.MalformedURLException; import java.net.URL; import java.text.SimpleDate...
ColorMazeGame/src/MazeGame.java
/* MazeGame Class * By Tyler Compton for Team Tyro * * This is a very simple and minimal map game. It's official name is * "Color Maze Game." */ import java.applet.Applet; import java.awt.BorderLayout; import java.awt.Canvas; import java.net.MalformedURLException; import java.net.URL; import java.text.SimpleDate...
Add loading orbs.
ColorMazeGame/src/MazeGame.java
Add loading orbs.
<ide><path>olorMazeGame/src/MazeGame.java <ide> boolean running; <ide> Thread gameThread, sendThread; <ide> <add> int cirTheta, cirRadius; <add> boolean cirInc; <add> <ide> boolean showDiagonal = true; <ide> <ide> /** Function startLWJGL() <ide> operation = 3; <ide> <ide> currentAction = 0; <add> <add...
Java
agpl-3.0
7c50f94af5aedf4e4ae7be1fb53b1689a4a89b1d
0
duncte123/SkyBot,duncte123/SkyBot,duncte123/SkyBot,duncte123/SkyBot
/* * Skybot, a multipurpose discord bot * Copyright (C) 2017 - 2018 Duncan "duncte123" Sterken & Ramid "ramidzkh" Khan & Maurice R S "Sanduhr32" * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free S...
src/main/java/ml/duncte123/skybot/audio/TrackScheduler.java
/* * Skybot, a multipurpose discord bot * Copyright (C) 2017 - 2018 Duncan "duncte123" Sterken & Ramid "ramidzkh" Khan & Maurice R S "Sanduhr32" * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free S...
Add listeer for stuck tracks
src/main/java/ml/duncte123/skybot/audio/TrackScheduler.java
Add listeer for stuck tracks
<ide><path>rc/main/java/ml/duncte123/skybot/audio/TrackScheduler.java <ide> package ml.duncte123.skybot.audio; <ide> <ide> import com.sedmelluq.discord.lavaplayer.player.AudioPlayer; <add>import com.sedmelluq.discord.lavaplayer.tools.FriendlyException; <ide> import com.sedmelluq.discord.lavaplayer.track.AudioTrack; <i...
Java
apache-2.0
82af47d4e150fe4ecfc5620da530a60b892a65af
0
dotta/async-http-client,Aulust/async-http-client,Aulust/async-http-client,bomgar/async-http-client
/* * Copyright 2010-2013 Ning, Inc. * * Ning licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
client/src/main/java/org/asynchttpclient/RequestBuilderBase.java
/* * Copyright 2010-2013 Ning, Inc. * * Ning licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Fix RequestBuilderBase when building from prototype
client/src/main/java/org/asynchttpclient/RequestBuilderBase.java
Fix RequestBuilderBase when building from prototype
<ide><path>lient/src/main/java/org/asynchttpclient/RequestBuilderBase.java <ide> this.address = prototype.getAddress(); <ide> this.localAddress = prototype.getLocalAddress(); <ide> this.headers.add(prototype.getHeaders()); <del> this.cookies = new ArrayList<Cookie>(prototype.getCookies())...
Java
apache-2.0
37ab584277f18913b2367bf5b0594cf7606609e2
0
izonder/intellij-community,allotria/intellij-community,allotria/intellij-community,caot/intellij-community,ftomassetti/intellij-community,adedayo/intellij-community,ibinti/intellij-community,adedayo/intellij-community,Distrotech/intellij-community,salguarnieri/intellij-community,orekyuu/intellij-community,orekyuu/intel...
python/testSrc/com/jetbrains/python/PyPackagingTest.java
package com.jetbrains.python; import com.intellij.openapi.diagnostic.Logger; import com.jetbrains.python.env.debug.PyEnvTestCase; import com.jetbrains.python.fixtures.PyTestCase; import com.jetbrains.python.packaging.PyExternalProcessException; import com.jetbrains.python.packaging.PyPackage; import com.jetbrains.pyth...
PyPackagingTest converted to envtests
python/testSrc/com/jetbrains/python/PyPackagingTest.java
PyPackagingTest converted to envtests
<ide><path>ython/testSrc/com/jetbrains/python/PyPackagingTest.java <del>package com.jetbrains.python; <del> <del>import com.intellij.openapi.diagnostic.Logger; <del>import com.jetbrains.python.env.debug.PyEnvTestCase; <del>import com.jetbrains.python.fixtures.PyTestCase; <del>import com.jetbrains.python.packaging.PyExt...
Java
mit
7be6ea2572f9761e10db5379daa9832b8c94255a
0
cflee/sloca-checker
package slocachecker; import is203.JWTUtility; import java.io.IOException; import java.net.URISyntaxException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.HashMap; import java.util.Map; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; import org.apache...
src/slocachecker/SlocaChecker.java
package slocachecker; import is203.JWTUtility; import java.io.IOException; import java.net.URISyntaxException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.HashMap; import java.util.Map; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; import org.apache...
Fix output numbering of checks for complex 'checks' usage
src/slocachecker/SlocaChecker.java
Fix output numbering of checks for complex 'checks' usage
<ide><path>rc/slocachecker/SlocaChecker.java <ide> if (check.getString("type").equals("exact")) { <ide> JSONObject expectedResult = check.getJSONObject("value"); <ide> <del> if (!performExactCheck(t, c, description, expectedResu...
Java
apache-2.0
411511c090bd9e4c50b3224ca90f0813a3bb1b73
0
ResearchWorx/Cresco-Agent-Controller-Plugin
package ActiveMQ; import java.util.HashMap; import java.util.Map; public class BrokeredAgent { public Map<String,BrokerStatusType> addressMap; public BrokerStatusType brokerStatus; public String activeAddress; public String agentPath; public BrokerMonitor bm; public BrokeredAgent(String active...
src/main/java/ActiveMQ/BrokeredAgent.java
package ActiveMQ; import java.util.HashMap; import java.util.Map; public class BrokeredAgent { public Map<String,BrokerStatusType> addressMap; public BrokerStatusType brokerStatus; public String activeAddress; public String agentPath; public BrokerMonitor bm; public BrokeredAgent(String active...
Looking into BrokerMonitor
src/main/java/ActiveMQ/BrokeredAgent.java
Looking into BrokerMonitor
<ide><path>rc/main/java/ActiveMQ/BrokeredAgent.java <ide> <ide> public BrokeredAgent(String activeAddress, String agentPath) <ide> { <del> System.out.println("Creating BrokerAgnet : " + agentPath + " address: " + activeAddress); <add> System.out.println("Creating BrokerAgent : " + agentPath + " address: " +...
JavaScript
apache-2.0
c5e88ea7c820c98654e277d0c54c8aff84b52b3b
0
GoogleForCreators/web-stories-wp,GoogleForCreators/web-stories-wp,GoogleForCreators/web-stories-wp,GoogleForCreators/web-stories-wp,GoogleForCreators/web-stories-wp
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
assets/src/dashboard/utils/usePagePreviewSize.js
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
wip working resize on cards to take up all available space
assets/src/dashboard/utils/usePagePreviewSize.js
wip working resize on cards to take up all available space
<ide><path>ssets/src/dashboard/utils/usePagePreviewSize.js <ide> /** <ide> * External dependencies <ide> */ <del>import { useEffect, useMemo, useState } from 'react'; <add>import { useEffect, useMemo, useState, useRef } from 'react'; <ide> /** <ide> * Internal dependencies <ide> */ <ide> const descendingBreakpointK...
Java
apache-2.0
d1d1b02d19d06efad5bbbdb2116d8f09778a90ed
0
freeVM/freeVM,freeVM/freeVM,freeVM/freeVM,freeVM/freeVM,freeVM/freeVM
/* * 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...
modules/tools/src/main/java/org/apache/harmony/tools/appletviewer/ViewerAudioClip.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...
Patch for HARMONY-5444 "[jdktools][appletviewer] appletviewer doesn't play sound tracks" svn path=/harmony/enhanced/jdktools/trunk/; revision=617103
modules/tools/src/main/java/org/apache/harmony/tools/appletviewer/ViewerAudioClip.java
Patch for HARMONY-5444 "[jdktools][appletviewer] appletviewer doesn't play sound tracks"
<ide><path>odules/tools/src/main/java/org/apache/harmony/tools/appletviewer/ViewerAudioClip.java <ide> import java.applet.AudioClip; <ide> import java.net.URL; <ide> <del>import javax.sound.midi.MidiSystem; <del>import javax.sound.midi.Receiver; <del>import javax.sound.midi.Sequence; <del>import javax.sound.midi.Seque...
Java
mit
472d1752b9ca6363c893d95e382d8fea64bb48aa
0
aterai/java-swing-tips,aterai/java-swing-tips,aterai/java-swing-tips,aterai/java-swing-tips
package example; //-*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: //@homepage@ import java.awt.*; import java.awt.event.*; import javax.swing.*; public final class MainPanel extends JPanel { private MainPanel() { super(new BorderLayout()); ImageIcon icon = new ImageIcon(getClass()...
Zoom/src/java/example/MainPanel.java
package example; //-*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: //@homepage@ import java.awt.*; import java.awt.event.*; import javax.swing.*; public final class MainPanel extends JPanel { private MainPanel() { super(new BorderLayout()); ImageIcon icon = new ImageIcon(getClass()...
refactor: use a lambda expression instead of an anonymous class(MouseWheelListener)
Zoom/src/java/example/MainPanel.java
refactor: use a lambda expression instead of an anonymous class(MouseWheelListener)
<ide><path>oom/src/java/example/MainPanel.java <ide> @Override public void updateUI() { <ide> removeMouseWheelListener(handler); <ide> super.updateUI(); <del> handler = new MouseWheelListener() { <del> @Override public void mouseWheelMoved(MouseWheelEvent e) { <del> ...
Java
bsd-3-clause
b0133963035cc47cbf05cb3eaf5a0aec21e3e28f
0
wnbittle/praisenter
/* * Praisenter: A free open source church presentation software. * Copyright (C) 2012-2013 William Bittle http://www.praisenter.org/ * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundat...
gpl/org/praisenter/media/player/XugglerMediaPlayer.java
/* * Praisenter: A free open source church presentation software. * Copyright (C) 2012-2013 William Bittle http://www.praisenter.org/ * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundat...
Fixed a NPE bug when a video had no audio
gpl/org/praisenter/media/player/XugglerMediaPlayer.java
Fixed a NPE bug when a video had no audio
<ide><path>pl/org/praisenter/media/player/XugglerMediaPlayer.java <ide> <ide> // initialize the playback threads <ide> int audioConversions = this.audioPlayerThread.initialize(audioCoder); <del> if (audioConversions != XugglerAudioData.CONVERSION_NONE) { <add> // make sure the initialization worked (-1 if it d...
JavaScript
agpl-3.0
aac0467d03163a0abd91c447146c0012cc821bca
0
ONLYOFFICE/web-apps,ONLYOFFICE/web-apps,ONLYOFFICE/web-apps,ONLYOFFICE/web-apps
/* * * (c) Copyright Ascensio System SIA 2010-2019 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGPL it...
apps/spreadsheeteditor/main/app/controller/FormulaDialog.js
/* * * (c) Copyright Ascensio System SIA 2010-2019 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGPL it...
[SSE] Fix Bug 42510
apps/spreadsheeteditor/main/app/controller/FormulaDialog.js
[SSE] Fix Bug 42510
<ide><path>pps/spreadsheeteditor/main/app/controller/FormulaDialog.js <ide> allFunctions.push(func); <ide> } <ide> <del> formulaGroup.set('functions', functions); <add> formulaGroup.set('functions', _.sortBy(functions, fu...
Java
apache-2.0
1028df468267452c2046d22512140f25c6381427
0
liuyuanyuan/dbeaver,AndrewKhitrin/dbeaver,AndrewKhitrin/dbeaver,liuyuanyuan/dbeaver,liuyuanyuan/dbeaver,AndrewKhitrin/dbeaver,liuyuanyuan/dbeaver,AndrewKhitrin/dbeaver,liuyuanyuan/dbeaver
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/license...
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/editors/sql/SQLScriptBindingType.java
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/license...
#3846 Script->connection mapping read/write
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/editors/sql/SQLScriptBindingType.java
#3846 Script->connection mapping read/write
<ide><path>lugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/editors/sql/SQLScriptBindingType.java <ide> spec.append(DataSourceUtils.PARAM_NAME).append("=").append(dataSource.getName()); <ide> } <ide> }, <del> URL("URL", "DataSource URL (jdbc:dbms://host:port/...)") { <add> URL("URL",...
Java
apache-2.0
53790247cb8013f347748ca60e10791a4ffc895c
0
tr3vr/jena,kidaa/jena,kamir/jena,samaitra/jena,samaitra/jena,CesarPantoja/jena,apache/jena,samaitra/jena,apache/jena,kidaa/jena,samaitra/jena,CesarPantoja/jena,apache/jena,tr3vr/jena,kamir/jena,apache/jena,tr3vr/jena,kamir/jena,kamir/jena,kidaa/jena,kamir/jena,CesarPantoja/jena,apache/jena,tr3vr/jena,samaitra/jena,apac...
/** * 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...
jena-arq/src/main/java/org/apache/jena/sparql/engine/join/JoinKey.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...
Create single variable join keys.
jena-arq/src/main/java/org/apache/jena/sparql/engine/join/JoinKey.java
Create single variable join keys.
<ide><path>ena-arq/src/main/java/org/apache/jena/sparql/engine/join/JoinKey.java <ide> List<Var> intersection = DS.list() ; <ide> for ( Var v : vars1 ) { <ide> if ( vars2.contains(v) ) <del> intersection.add(v) ; <add> // First and single key. <add> ...
Java
lgpl-2.1
0a5714b6619026766692d36da9ba28bbeae957e8
0
threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya
// // $Id: DObject.java,v 1.61 2003/03/30 19:38:56 mdb Exp $ package com.threerings.presents.dobj; import java.lang.reflect.Field; import java.util.ArrayList; import com.samskivert.util.ListUtil; import com.samskivert.util.StringUtil; import com.threerings.io.Streamable; import com.threerings.presents.Log; /** *...
src/java/com/threerings/presents/dobj/DObject.java
// // $Id: DObject.java,v 1.60 2003/03/10 18:29:54 mdb Exp $ package com.threerings.presents.dobj; import java.lang.reflect.Field; import java.util.ArrayList; import com.samskivert.util.ListUtil; import com.samskivert.util.StringUtil; import com.threerings.io.Streamable; import com.threerings.presents.Log; /** *...
Safety first! git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@2354 542714f4-19e9-0310-aa3c-eee0fc999fb1
src/java/com/threerings/presents/dobj/DObject.java
Safety first!
<ide><path>rc/java/com/threerings/presents/dobj/DObject.java <ide> // <del>// $Id: DObject.java,v 1.60 2003/03/10 18:29:54 mdb Exp $ <add>// $Id: DObject.java,v 1.61 2003/03/30 19:38:56 mdb Exp $ <ide> <ide> package com.threerings.presents.dobj; <ide> <ide> // if we're on the authoritative server, we upda...
Java
apache-2.0
e0f87c6098fd50b2da20ff09e63658c7ec3acc5d
0
FasterXML/jackson-databind,FasterXML/jackson-databind
package com.fasterxml.jackson.databind.node; import java.math.BigDecimal; import java.util.*; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; /** * Addit...
src/test/java/com/fasterxml/jackson/databind/node/TestObjectNode.java
package com.fasterxml.jackson.databind.node; import java.math.BigDecimal; import java.util.*; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; /** * Addit...
trying to reproduce #366
src/test/java/com/fasterxml/jackson/databind/node/TestObjectNode.java
trying to reproduce #366
<ide><path>rc/test/java/com/fasterxml/jackson/databind/node/TestObjectNode.java <ide> verifyException(e, "duplicate field 'a'"); <ide> } <ide> } <add> <add> public void testEqualityWrtOrder() throws Exception <add> { <add> ObjectNode ob1 = MAPPER.createObjectNode(); <add> Obj...
Java
apache-2.0
daee8bd13375a79994d48350535cc90dff7f23b1
0
gingerwizard/elasticsearch,robin13/elasticsearch,gingerwizard/elasticsearch,HonzaKral/elasticsearch,uschindler/elasticsearch,GlenRSmith/elasticsearch,gfyoung/elasticsearch,robin13/elasticsearch,HonzaKral/elasticsearch,gingerwizard/elasticsearch,robin13/elasticsearch,coding0011/elasticsearch,nknize/elasticsearch,scorpio...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
client/rest-high-level/src/main/java/org/elasticsearch/client/RestHighLevelClient.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
HLRC+MINOR: Remove Unused Private Method (#33165) * This one seems to be unused since 92eb32477
client/rest-high-level/src/main/java/org/elasticsearch/client/RestHighLevelClient.java
HLRC+MINOR: Remove Unused Private Method (#33165)
<ide><path>lient/rest-high-level/src/main/java/org/elasticsearch/client/RestHighLevelClient.java <ide> <ide> package org.elasticsearch.client; <ide> <del>import org.apache.http.Header; <ide> import org.apache.http.HttpEntity; <ide> import org.elasticsearch.ElasticsearchException; <ide> import org.elasticsearch.Elasti...
Java
mit
4a03c5870dfdbbaa89925608df2f1534fdd2a6ae
0
bignerdranch/expandable-recycler-view,Reline/realm-expandable-recycler-view,bignerdranch/expandable-recycler-view
package com.bignerdranch.expandablerecyclerview; import android.app.Activity; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.ViewGroup; import com.bignerdranch.expandablerecyclerview.model.ExpandableWrapper; import com.bignerdran...
expandablerecyclerview/src/main/java/com/bignerdranch/expandablerecyclerview/ExpandableRecyclerAdapter.java
package com.bignerdranch.expandablerecyclerview; import android.app.Activity; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.ViewGroup; import com.bignerdranch.expandablerecyclerview.model.ExpandableWrapper; import com.bignerdran...
fix collapsing and expanding via object to reference original wrapper getItem() to return childListItem, not ChildItemList
expandablerecyclerview/src/main/java/com/bignerdranch/expandablerecyclerview/ExpandableRecyclerAdapter.java
fix collapsing and expanding via object to reference original wrapper getItem() to return childListItem, not ChildItemList
<ide><path>xpandablerecyclerview/src/main/java/com/bignerdranch/expandablerecyclerview/ExpandableRecyclerAdapter.java <ide> return; <ide> } <ide> <del> expandViews(parentWrapper, parentWrapperIndex); <add> expandViews(mItemList.get(parentWrapperIndex), parentWrapperIndex); <ide> }...
Java
mit
error: pathspec 'src/pp/arithmetic/all/_69_mySqrt.java' did not match any file(s) known to git
9f9924fb8bacfc3bd0270b461ff3808dd470bb92
1
pphdsny/ArithmeticTest
package pp.arithmetic.all; /** * Created by wangpeng on 2019-03-15. * 69. x 的平方根 * <p> * 实现 int sqrt(int x) 函数。 * <p> * 计算并返回 x 的平方根,其中 x 是非负整数。 * <p> * 由于返回类型是整数,结果只保留整数的部分,小数部分将被舍去。 * <p> * 示例 1: * <p> * 输入: 4 * 输出: 2 * 示例 2: * <p> * 输入: 8 * 输出: 2 * 说明: 8 的平方根是 2.82842..., * 由于返回类型是整数,小数部分将被舍去。 *...
src/pp/arithmetic/all/_69_mySqrt.java
feat(EASY): 69_mySqrt
src/pp/arithmetic/all/_69_mySqrt.java
feat(EASY): 69_mySqrt
<ide><path>rc/pp/arithmetic/all/_69_mySqrt.java <add>package pp.arithmetic.all; <add> <add>/** <add> * Created by wangpeng on 2019-03-15. <add> * 69. x 的平方根 <add> * <p> <add> * 实现 int sqrt(int x) 函数。 <add> * <p> <add> * 计算并返回 x 的平方根,其中 x 是非负整数。 <add> * <p> <add> * 由于返回类型是整数,结果只保留整数的部分,小数部分将被舍去。 <add> * <p> <add> * 示例 1...
JavaScript
mit
3ccd8c21c8fc57960154e01ddb60323a6ac4b81d
0
opennode/waldur-homeport,opennode/waldur-homeport,opennode/waldur-homeport,opennode/waldur-homeport
const HELPDESK_ITEMS = [ { label: gettext('Helpdesk'), icon: 'fa-headphones', link: 'support.helpdesk' } ]; const DASHBOARD_ITEMS = [ { label: gettext('Dashboard'), icon: 'fa-th-large', link: 'support.dashboard' }, { label: gettext('Support requests'), icon: 'fa-list', lin...
src/issues/workspace/issue-navigation-service.js
const HELPDESK_ITEMS = [ { label: gettext('Helpdesk'), icon: 'fa-headphones', link: 'support.helpdesk' } ]; const DASHBOARD_ITEMS = [ { label: gettext('Dashboard'), icon: 'fa-th-large', link: 'support.dashboard' }, { label: gettext('Support requests'), icon: 'fa-list', lin...
Redirect by default to marketplace resource list in support workspace [WAL-2346]
src/issues/workspace/issue-navigation-service.js
Redirect by default to marketplace resource list in support workspace [WAL-2346]
<ide><path>rc/issues/workspace/issue-navigation-service.js <ide> <ide> gotoDashboard() { <ide> if (!this.features.isVisible('support')) { <del> return this.$state.go('support.resources'); <add> if (this.features.isVisible('marketplace')) { <add> return this.$state.go('marketplace-support-resourc...
JavaScript
agpl-3.0
f83cd274158862cf1d2b98a4bf4a50d035324475
0
mupi/timtec,hacklabr/timtec,mupi/tecsaladeaula,virgilio/timtec,AllanNozomu/tecsaladeaula,AllanNozomu/tecsaladeaula,hacklabr/timtec,hacklabr/timtec,GustavoVS/timtec,mupi/timtec,mupi/tecsaladeaula,mupi/escolamupi,virgilio/timtec,AllanNozomu/tecsaladeaula,hacklabr/timtec,mupi/escolamupi,GustavoVS/timtec,mupi/timtec,AllanN...
(function(angular){ var app = angular.module('edit-lesson'); app.controller('EditLessonController', ['$scope', 'Course', 'CourseProfessor', 'Lesson', 'VideoData', 'youtubePlayerApi', function($scope, Course, CourseProfessor, Lesson, VideoData, youtubePlayerApi){ $scope.errors = {}; ...
administration/static/js/edit-lesson/controllers.js
(function(angular){ var app = angular.module('edit-lesson'); app.controller('EditLessonController', ['$scope', 'Course', 'CourseProfessor', 'Lesson', 'VideoData', 'youtubePlayerApi', function($scope, Course, CourseProfessor, Lesson, VideoData, youtubePlayerApi){ $scope.errors = {}; ...
re-select unit after save lesson
administration/static/js/edit-lesson/controllers.js
re-select unit after save lesson
<ide><path>dministration/static/js/edit-lesson/controllers.js <ide> }; <ide> <ide> $scope.saveLesson = function() { <add> var unitIndex = $scope.lesson.units.indexOf($scope.currentUnit); <add> <ide> $scope.lesson.saveOrUpdate() <ide> .then(func...
Java
lgpl-2.1
e0bf822d7bce71f99eea31a35ab4bbd087850649
0
xwiki-contrib/currikiorg,xwiki-contrib/currikiorg,xwiki-contrib/currikiorg,xwiki-contrib/currikiorg,i2geo/i2gCurrikiFork,i2geo/i2gCurrikiFork,xwiki-contrib/currikiorg,xwiki-contrib/currikiorg,i2geo/i2gCurrikiFork,i2geo/i2gCurrikiFork,i2geo/i2gCurrikiFork,i2geo/i2gCurrikiFork,i2geo/i2gCurrikiFork
/** * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * <p/> * This is free software;you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation;either version2.1of * ...
plugins/spacemanager/src/main/java/org/xwiki/plugin/spacemanager/impl/SpaceManagerImpl.java
/** * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * <p/> * This is free software;you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation;either version2.1of * ...
CURRIKI-1179 Added call to add user to group cache when adding to group svn@6461
plugins/spacemanager/src/main/java/org/xwiki/plugin/spacemanager/impl/SpaceManagerImpl.java
CURRIKI-1179 Added call to add user to group cache when adding to group
<ide><path>lugins/spacemanager/src/main/java/org/xwiki/plugin/spacemanager/impl/SpaceManagerImpl.java <ide> } else { <ide> xwiki.getHibernateStore().saveXWikiObject(memberObject, context, true); <ide> } <add> // we need to make sure we add the user to the group cache <add> xwik...
JavaScript
bsd-3-clause
caca0d72d9890577d8062c4333703b725f19e57c
0
huntergdavis/Quick-Grapher
//var parsedEquation = undefined; // I put the passed in values into separate arrays // we should move them to objects // if we need them after the initial parse var variableMinHash = []; var variableMaxHash = []; var variableStepHash = []; var variableLastHash = []; var variableVisHash = []; /* LoadTitleBarHash loa...
js/plain/quick_graph.js
//var parsedEquation = undefined; // I put the passed in values into separate arrays // we should move them to objects // if we need them after the initial parse var variableMinHash = []; var variableMaxHash = []; var variableStepHash = []; var variableLastHash = []; var variableVisHash = []; /* LoadTitleBarHash loa...
Changing var scope
js/plain/quick_graph.js
Changing var scope
<ide><path>s/plain/quick_graph.js <ide> addFunctionToGraph(name, parsedEquation, context); <ide> <ide> // Update row color <del> color = $("#subgraph").color(name); <add> var color = $("#subgraph").color(name); <ide> if(typeof color == "undefined") <ide> ...
Java
apache-2.0
42c52e4fe6ddd86381625aaad2884591f6da1d0b
0
hierynomus/sshj,hierynomus/sshj
/* * Copyright (C)2009 - SSHJ Contributors * * 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...
src/main/java/net/schmizz/sshj/transport/Encoder.java
/* * Copyright (C)2009 - SSHJ Contributors * * 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...
Fixed logging of Encoder to log correct sequence number
src/main/java/net/schmizz/sshj/transport/Encoder.java
Fixed logging of Encoder to log correct sequence number
<ide><path>rc/main/java/net/schmizz/sshj/transport/Encoder.java <ide> long encode(SSHPacket buffer) { <ide> encodeLock.lock(); <ide> try { <del> if (log.isTraceEnabled()) <del> log.trace("Encoding packet #{}: {}", seq, buffer.printHex()); <add> if (log.isTraceEna...
Java
mit
41931b5852dd1b6dfad69c41b34d20ac7e5be25d
0
kmdouglass/Micro-Manager,kmdouglass/Micro-Manager
/////////////////////////////////////////////////////////////////////////////// //FILE: MMStudioMainFrame.java //PROJECT: Micro-Manager //SUBSYSTEM: mmstudio //----------------------------------------------------------------------------- //AUTHOR: Nenad Amodaj, nenad@amodaj.com, Jul 18, 2005 /...
mmstudio/src/org/micromanager/MMStudioMainFrame.java
/////////////////////////////////////////////////////////////////////////////// //FILE: MMStudioMainFrame.java //PROJECT: Micro-Manager //SUBSYSTEM: mmstudio //----------------------------------------------------------------------------- //AUTHOR: Nenad Amodaj, nenad@amodaj.com, Jul 18, 2005 /...
Fixed autoshutter checkbox bug git-svn-id: 03a8048b5ee8463be5048a3801110fb50f378627@8235 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
mmstudio/src/org/micromanager/MMStudioMainFrame.java
Fixed autoshutter checkbox bug
<ide><path>mstudio/src/org/micromanager/MMStudioMainFrame.java <ide> private JLabel labelImageDimensions_; <ide> private JToggleButton toggleButtonLive_; <ide> private JCheckBox autoShutterCheckBox_; <del> private boolean autoShutterOrg_; <del> private boolean shutterOrg_; <add> private boolean shutterOr...
Java
lgpl-2.1
06b31c421e5bd57c25c2d87e50d3ffb0830ea3ec
0
sewe/spotbugs,sewe/spotbugs,sewe/spotbugs,johnscancella/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,sewe/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs
/* * FindBugs - Find Bugs in Java programs * Copyright (C) 2003-2008 University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, o...
findbugsTestCases/src/java/sfBugs/Bug3104124.java
/* * FindBugs - Find Bugs in Java programs * Copyright (C) 2003-2008 University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, o...
more notes about expected warnings git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@13966 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
findbugsTestCases/src/java/sfBugs/Bug3104124.java
more notes about expected warnings
<ide><path>indbugsTestCases/src/java/sfBugs/Bug3104124.java <ide> import java.io.FileReader; <ide> import java.io.IOException; <ide> <add>import edu.umd.cs.findbugs.annotations.Confidence; <ide> import edu.umd.cs.findbugs.annotations.DesireWarning; <del>import edu.umd.cs.findbugs.annotations.Confidence; <add>import ed...
JavaScript
mit
d1c4052a9a1ea922c205c5963c25fbd9597a17c7
0
ArnaudBuchholz/bubu-timer
"use strict"; /*eslint-disable no-alert*/ require("./compatibility"); const TOTAL_OUTER = 0.98, TOTAL_INNER = 0.88, STEP_OUTER = 0.83, STEP_INNER = 0.73, browser = require("./browser"), dom = require("./dom"), svg = require("./svg"), colors = require("./colors"), gradients = req...
src/run.js
"use strict"; /*eslint-disable no-alert*/ require("./compatibility"); const TOTAL_OUTER = 0.98, TOTAL_INNER = 0.88, STEP_OUTER = 0.83, STEP_INNER = 0.73, browser = require("./browser"), dom = require("./dom"), svg = require("./svg"), colors = require("./colors"), gradients = req...
Adds an edit button to go back to edit
src/run.js
Adds an edit button to go back to edit
<ide><path>rc/run.js <ide> color: colors.progress.step <ide> })) <ide> .concat([ <add> svg.circle({id: "edit", r: 0.15, cx: 0, cy: -0.4, <add> fill: colors.circle.light, stroke: "url(#innerBorder)", "stroke-width": 0.01}), <add> sv...
Java
apache-2.0
91177cdca42fa81f6970d28ae8e402217419342e
0
indigo-dc/orchestrator,indigo-dc/orchestrator
/* * Copyright © 2015-2017 Santer Reply S.p.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
src/main/java/it/reply/orchestrator/service/ToscaServiceImpl.java
/* * Copyright © 2015-2017 Santer Reply S.p.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
Remove tmp csar files after parsing
src/main/java/it/reply/orchestrator/service/ToscaServiceImpl.java
Remove tmp csar files after parsing
<ide><path>rc/main/java/it/reply/orchestrator/service/ToscaServiceImpl.java <ide> try (ByteArrayInputStream is = new ByteArrayInputStream(toscaTemplate.getBytes());) { <ide> Path zipPath = Files.createTempFile("csar", ".zip"); <ide> zip(is, zipPath); <del> return parser.parse(zipPath); <add> ...
Java
epl-1.0
ad0b4e9717a3afcd24b9f8ccbbaf583c4dcbb3b0
0
junit-team/junit-lambda,sbrannen/junit-lambda
/* * Copyright 2015-2019 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 v2.0 which * accompanies this distribution and is available at * * https://www.eclipse.org/legal/epl-v20.html */ packa...
documentation/src/test/java/example/ConditionalTestExecutionDemo.java
/* * Copyright 2015-2019 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 v2.0 which * accompanies this distribution and is available at * * https://www.eclipse.org/legal/epl-v20.html */ packa...
Fix typo
documentation/src/test/java/example/ConditionalTestExecutionDemo.java
Fix typo
<ide><path>ocumentation/src/test/java/example/ConditionalTestExecutionDemo.java <ide> <ide> @Test <ide> @DisabledForJreRange(min = JAVA_9) <del> void notFromJava9toCurrentJavaFeatureNumber()() { <add> void notFromJava9toCurrentJavaFeatureNumber() { <ide> // ... <ide> } <ide>
Java
bsd-3-clause
error: pathspec 'src/org/team2168/utils/Util.java' did not match any file(s) known to git
4704b9efc079669e0fb743e43602286e66f82212
1
Team2168/FRC2014_Main_Robot
package org.team2168.utils; import java.util.Vector; /** * Contains basic functions that are used often. * * Initial revision from 254's 2013 robot code: * https://github.com/Team254/FRC-2013/blob/master/src/com/team254/lib/util/Util.java * * @author richard@team254.com (Richard Lin) * @author brandon.gonzalez.451@...
src/org/team2168/utils/Util.java
Create Util.java Initial revision.
src/org/team2168/utils/Util.java
Create Util.java
<ide><path>rc/org/team2168/utils/Util.java <add>package org.team2168.utils; <add> <add>import java.util.Vector; <add> <add>/** <add>* Contains basic functions that are used often. <add>* <add>* Initial revision from 254's 2013 robot code: <add>* https://github.com/Team254/FRC-2013/blob/master/src/com/team254/lib/util...
Java
apache-2.0
882857fa9cc058c880db3e55061e2409cf8370b3
0
sebi-hgdata/camel,joakibj/camel,koscejev/camel,apache/camel,isavin/camel,bdecoste/camel,arnaud-deprez/camel,prashant2402/camel,cunningt/camel,lasombra/camel,mnki/camel,duro1/camel,JYBESSON/camel,dmvolod/camel,chirino/camel,mzapletal/camel,jpav/camel,YoshikiHigo/camel,FingolfinTEK/camel,acartapanis/camel,iweiss/camel,pr...
/** * 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-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.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-7836: Fixed potential ConcurrentModificationException when calling getRoutes.
camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
CAMEL-7836: Fixed potential ConcurrentModificationException when calling getRoutes.
<ide><path>amel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java <ide> return routeStartupOrder; <ide> } <ide> <del> public List<Route> getRoutes() { <add> public synchronized List<Route> getRoutes() { <ide> // lets return a copy of the collection as objects are removed later...
Java
mit
a24196e1a9bc2a5854de01aad2290d547b5c0f2c
0
hres/cfg-task-service,hres/cfg-task-service,hres/cfg-task-service
package ca.gc.ip346.classification.resource; import static javax.ws.rs.HttpMethod.*; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; // import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.PUT; import...
src/main/java/ca/gc/ip346/classification/resource/RulesResource.java
package ca.gc.ip346.classification.resource; import static javax.ws.rs.HttpMethod.*; import java.util.HashMap; import java.util.Map; import javax.servlet.http.HttpServletRequest; // import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.PUT; import...
changed to GenericType when reading the response from cfg-classification-service
src/main/java/ca/gc/ip346/classification/resource/RulesResource.java
changed to GenericType when reading the response from cfg-classification-service
<ide><path>rc/main/java/ca/gc/ip346/classification/resource/RulesResource.java <ide> import javax.ws.rs.Produces; <ide> import javax.ws.rs.client.ClientBuilder; <ide> import javax.ws.rs.core.Context; <add>import javax.ws.rs.core.GenericType; <ide> import javax.ws.rs.core.MediaType; <ide> import javax.ws.rs.core.Respons...
Java
apache-2.0
e7e62ee38cea71948fd75e46ab53672ceb7e5285
0
ganskef/LittleProxy-mitm
package de.ganskef.test; import io.netty.bootstrap.Bootstrap; import io.netty.buffer.ByteBuf; import io.netty.channel.Channel; import io.netty.channel.ChannelHandler; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelPipeline; import io.netty.chan...
src/test/java/de/ganskef/test/NettyClient_NoHttps.java
package de.ganskef.test; import io.netty.bootstrap.Bootstrap; import io.netty.buffer.ByteBuf; import io.netty.channel.Channel; import io.netty.channel.ChannelHandler; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelPipeline; import io.netty.chan...
Fix blocking behavior in the Netty based test client.
src/test/java/de/ganskef/test/NettyClient_NoHttps.java
Fix blocking behavior in the Netty based test client.
<ide><path>rc/test/java/de/ganskef/test/NettyClient_NoHttps.java <ide> import io.netty.channel.nio.NioEventLoopGroup; <ide> import io.netty.channel.socket.SocketChannel; <ide> import io.netty.channel.socket.nio.NioSocketChannel; <del>import io.netty.handler.codec.http.DefaultHttpRequest; <add>import io.netty.handler.co...
Java
apache-2.0
31ae41b42bf8ba48c80a914c85077ac3d4f5ddd3
0
apache/wink,apache/wink,apache/wink,os890/wink_patches,os890/wink_patches
/******************************************************************************* * 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...
wink-server/src/main/java/org/apache/wink/server/internal/RequestProcessor.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...
Reduce logging in error path case Stacktraces/exception objects still avaialble in debug mode but in normal mode a simpler info message is logged. Exception still thrown to container and in Geronim/Tomcat this means the stack trace is still printed out to the container log outside of Wink. See [WINK-240] git-svn-id...
wink-server/src/main/java/org/apache/wink/server/internal/RequestProcessor.java
Reduce logging in error path case
<ide><path>ink-server/src/main/java/org/apache/wink/server/internal/RequestProcessor.java <ide> handleRequestWithoutFaultBarrier(request, response); <ide> } catch (Throwable t) { <ide> // exception was not handled properly <del> logger.error(Messages.getMessage("unhandledExcep...
Java
lgpl-2.1
d3d0973548d7f047e1778fb56d674bf22a2cd50e
0
meg0man/languagetool,meg0man/languagetool,janissl/languagetool,janissl/languagetool,lopescan/languagetool,meg0man/languagetool,lopescan/languagetool,jimregan/languagetool,languagetool-org/languagetool,lopescan/languagetool,jimregan/languagetool,languagetool-org/languagetool,janissl/languagetool,lopescan/languagetool,ja...
/* LanguageTool, a natural language style checker * Copyright (C) 2005 Daniel Naber (http://www.danielnaber.de) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
trunk/JLanguageTool/src/java/de/danielnaber/languagetool/gui/Main.java
/* LanguageTool, a natural language style checker * Copyright (C) 2005 Daniel Naber (http://www.danielnaber.de) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
fix hang when giving wrong number of arguments - patch by Srinath Warrier
trunk/JLanguageTool/src/java/de/danielnaber/languagetool/gui/Main.java
fix hang when giving wrong number of arguments - patch by Srinath Warrier
<ide><path>runk/JLanguageTool/src/java/de/danielnaber/languagetool/gui/Main.java <ide> .println("Usage: java de.danielnaber.languagetool.gui.Main [-t|--tray]"); <ide> System.out <ide> .println(" -t, --tray: dock LanguageTool to system tray on startup"); <add> prg.stopServer(); <i...
Java
apache-2.0
3b3ba3d3ccd018ca5a90818defe3b11c858ac436
0
alibaba/java-dns-cache-manipulator,alibaba/java-dns-cache-manipulator,alibaba/java-dns-cache-manipulator,alibaba/java-dns-cache-manipulator
package com.alibaba.dcm; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import javax.annotation.Nonnull; import javax.annotation.concurrent.Immutable; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; /** * @author Jerry Lee (oldratlee at gma...
library/src/main/java/com/alibaba/dcm/DnsCacheEntry.java
package com.alibaba.dcm; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import javax.annotation.Nonnull; import javax.annotation.concurrent.Immutable; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; /** * @author Jerry Lee (oldratlee at gma...
! simplify code: use clone instead of explicit copy for String[]
library/src/main/java/com/alibaba/dcm/DnsCacheEntry.java
! simplify code: use clone instead of explicit copy for String[]
<ide><path>ibrary/src/main/java/com/alibaba/dcm/DnsCacheEntry.java <ide> <ide> @Nonnull <ide> public String[] getIps() { <del> String[] copy = new String[ips.length]; <del> System.arraycopy(ips, 0, copy, 0, ips.length); // defensive copy <del> return copy; <add> return ips.clone(); ...
Java
apache-2.0
4fcca68c854f392f88b9f09c35b76636a37f9501
0
mikeb01/Aeron,mikeb01/Aeron,galderz/Aeron,EvilMcJerkface/Aeron,mikeb01/Aeron,EvilMcJerkface/Aeron,EvilMcJerkface/Aeron,real-logic/Aeron,EvilMcJerkface/Aeron,real-logic/Aeron,real-logic/Aeron,galderz/Aeron,galderz/Aeron,galderz/Aeron,mikeb01/Aeron,real-logic/Aeron
/* * Copyright 2014-2017 Real Logic Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
aeron-driver/src/main/java/io/aeron/driver/NetworkPublication.java
/* * Copyright 2014-2017 Real Logic Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
[Java] Minor tidyup.
aeron-driver/src/main/java/io/aeron/driver/NetworkPublication.java
[Java] Minor tidyup.
<ide><path>eron-driver/src/main/java/io/aeron/driver/NetworkPublication.java <ide> } <ide> } <ide> <del> conductor.cleanupSpies(NetworkPublication.this); <add> conductor.cleanupSpies(this); <ide> for (final ReadablePosition position : spyPositions) <ide> ...
JavaScript
mpl-2.0
928c82436b5caeac5f8a3149c0196ba10a937e8b
0
schmite1/ReadMore,schmite1/ReadMore
// Name: Eric Schmitt // Course: CSC 415 // Semester: Spring 2015 // Instructor: Dr. Pulimood // Project name: ReadMore // Description: A Mozilla Firefox add-on that prevents users from browsing certain sites denoted by a customizable blacklist, not by preventing site access entirely, but by redirecting to productive a...
data/whitelist.js
var random = Math.floor(Math.random()*2) var whiteList = ["http://www.gutenberg.org/ebooks/search/?sort_order=downloads", "https://en.wikipedia.org/wiki/Special:Random"] window.location.replace(whiteList[random]);
Update header information Added header for maintenance documentation
data/whitelist.js
Update header information
<ide><path>ata/whitelist.js <add>// Name: Eric Schmitt <add>// Course: CSC 415 <add>// Semester: Spring 2015 <add>// Instructor: Dr. Pulimood <add>// Project name: ReadMore <add>// Description: A Mozilla Firefox add-on that prevents users from browsing certain sites denoted by a customizable blacklist, not by preventin...
Java
mit
47f5ed5eaec97a592d0a3d755f35b41a2275cb8e
0
JBYoshi/SpongeAPI,boomboompower/SpongeAPI,SpongePowered/SpongeAPI,modwizcode/SpongeAPI,kashike/SpongeAPI,AlphaModder/SpongeAPI,modwizcode/SpongeAPI,kashike/SpongeAPI,DDoS/SpongeAPI,SpongePowered/SpongeAPI,boomboompower/SpongeAPI,DDoS/SpongeAPI,JBYoshi/SpongeAPI,SpongePowered/SpongeAPI,AlphaModder/SpongeAPI
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
src/main/java/org/spongepowered/api/data/merge/MergeFunction.java
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
Add some helpful error messages from MergeFunction. Signed-off-by: Gabriel Harris-Rouquette <f9869a2c93dad38a06e8fb39147155331a1102ab@me.com>
src/main/java/org/spongepowered/api/data/merge/MergeFunction.java
Add some helpful error messages from MergeFunction.
<ide><path>rc/main/java/org/spongepowered/api/data/merge/MergeFunction.java <ide> MergeFunction IGNORE_ALL = new MergeFunction() { <ide> @Override <ide> public <C extends ValueContainer<?>> C merge(@Nullable C original, @Nullable C replacement) { <del> return replacement == null ? checkNo...
Java
apache-2.0
1b017520be5a84e1f1e134b05d347edb1acc6e0e
0
echsylon/kraken
package com.echsylon.kraken; import android.net.Uri; import com.echsylon.blocks.callback.DefaultRequest; import com.echsylon.blocks.callback.Request; import com.echsylon.blocks.network.NetworkClient; import com.echsylon.blocks.network.OkHttpNetworkClient; import com.echsylon.kraken.dto.Asset; import com.echsylon.krak...
library/src/main/java/com/echsylon/kraken/Kraken.java
package com.echsylon.kraken; import android.net.Uri; import com.echsylon.blocks.callback.DefaultRequest; import com.echsylon.blocks.callback.Request; import com.echsylon.blocks.network.NetworkClient; import com.echsylon.blocks.network.OkHttpNetworkClient; import com.echsylon.kraken.dto.Asset; import com.echsylon.krak...
Fix Kraken error response trigger
library/src/main/java/com/echsylon/kraken/Kraken.java
Fix Kraken error response trigger
<ide><path>ibrary/src/main/java/com/echsylon/kraken/Kraken.java <ide> .fromJson(responseJson, type); <ide> <ide> // Throw exception if has error (to trigger error callbacks)... <del> if (response.error.length > 0) <add> if (response....
Java
bsd-3-clause
83b1433c24d564aee9e9ee2d92c3159e6d24746e
0
aic-sri-international/aic-expresso,aic-sri-international/aic-expresso
/* * Copyright (c) 2016, SRI International * All rights reserved. * Licensed under the The BSD 3-Clause License; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in source a...
src/main/java/com/sri/ai/expresso/type/FunctionType.java
/* * Copyright (c) 2016, SRI International * All rights reserved. * Licensed under the The BSD 3-Clause License; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in...
- minor changes
src/main/java/com/sri/ai/expresso/type/FunctionType.java
- minor changes
<ide><path>rc/main/java/com/sri/ai/expresso/type/FunctionType.java <ide> codomainVariables = new ArrayList<>(numCodomainValues); <ide> Map<Expression, Expression> symbolsAndTypes = new LinkedHashMap<>(); <ide> for (int i = 0; i < numCodomainValues; i++) { <del> Expression coDomainVariableI = makeSymbol("C"+...
JavaScript
mit
f3584141bbd5d59cec90250669fb94f2ef6b5048
0
kanso/underscore,kanso/underscore
/*global $: false */ var session = require('kanso/session'), templates = require('kanso/templates'), events = require('kanso/events'), utils = require('./utils'); exports.options = { include_design: true }; exports.rewrites = [ {from: '/static/*', to: 'static/*'}, {from: '/', to: '_list/appl...
admin/lib/app.js
/*global $: false */ var session = require('kanso/session'), templates = require('kanso/templates'), utils = require('./utils'); exports.options = { include_design: true }; exports.rewrites = [ {from: '/static/*', to: 'static/*'}, {from: '/', to: '_list/applist/apps'}, {from: '/:app', to: '_...
update admin app to use new events api
admin/lib/app.js
update admin app to use new events api
<ide><path>dmin/lib/app.js <ide> <ide> var session = require('kanso/session'), <ide> templates = require('kanso/templates'), <add> events = require('kanso/events'), <ide> utils = require('./utils'); <ide> <ide> <ide> }); <ide> }; <ide> <del>exports.init = function () { <add>events.on('init', function...
Java
mit
5e8ca141e8719021c1c806606c897051b59b14bc
0
ngageoint/geopackage-core-java
package mil.nga.geopackage.extension.properties; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import mil.nga.geopackage.GeoPackageCore; /** * Properties Manager Core using the Propertie...
src/main/java/mil/nga/geopackage/extension/properties/PropertiesManagerCore.java
package mil.nga.geopackage.extension.properties; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import mil.nga.geopackage.GeoPackageCore; /** * Properties Manager Core using the Propertie...
GeoPackage retrieval from missing property and missing value
src/main/java/mil/nga/geopackage/extension/properties/PropertiesManagerCore.java
GeoPackage retrieval from missing property and missing value
<ide><path>rc/main/java/mil/nga/geopackage/extension/properties/PropertiesManagerCore.java <ide> } <ide> <ide> /** <add> * Get the GeoPackages missing the property name <add> * <add> * @param property <add> * property name <add> * @return GeoPackages <add> */ <add> public List<T> missingProperty(St...
Java
apache-2.0
3648f80acea2e7d29bb808402ac816b788ec383b
0
jorgebay/tinkerpop,apache/incubator-tinkerpop,pluradj/incubator-tinkerpop,apache/incubator-tinkerpop,jorgebay/tinkerpop,pluradj/incubator-tinkerpop,krlohnes/tinkerpop,robertdale/tinkerpop,robertdale/tinkerpop,apache/tinkerpop,krlohnes/tinkerpop,jorgebay/tinkerpop,krlohnes/tinkerpop,apache/tinkerpop,apache/tinkerpop,krl...
/* * 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")...
gremlin-python/src/main/java/org/apache/tinkerpop/gremlin/python/jsr223/PythonTranslator.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")...
I had to tweak master/ on the last merge and the tweak I did was more clever than what I have in tp32/. Thus, back porting it. CTR.
gremlin-python/src/main/java/org/apache/tinkerpop/gremlin/python/jsr223/PythonTranslator.java
I had to tweak master/ on the last merge and the tweak I did was more clever than what I have in tp32/. Thus, back porting it. CTR.
<ide><path>remlin-python/src/main/java/org/apache/tinkerpop/gremlin/python/jsr223/PythonTranslator.java <ide> return "Vertex(" + convertToString(vertex.id()) + "," + convertToString(vertex.label()) + ")"; <ide> } else if (object instanceof Edge) { <ide> final Edge edge = (Edg...
Java
apache-2.0
5980d1e8e0cb60c66b58c3872c4f2291b3c7904c
0
helyho/Voovan,helyho/Voovan,helyho/Voovan
package org.voovan.tools.buffer; import org.voovan.Global; import org.voovan.tools.*; import org.voovan.tools.collection.ThreadObjectPool; import org.voovan.tools.log.Logger; import org.voovan.tools.reflect.TReflect; import sun.misc.Unsafe; import java.io.UnsupportedEncodingException; import java.lang.reflect.Constru...
Common/src/main/java/org/voovan/tools/buffer/TByteBuffer.java
package org.voovan.tools.buffer; import org.voovan.Global; import org.voovan.tools.*; import org.voovan.tools.collection.ThreadObjectPool; import org.voovan.tools.log.Logger; import org.voovan.tools.reflect.TReflect; import sun.misc.Unsafe; import java.io.UnsupportedEncodingException; import java.lang.reflect.Constru...
imp: TByteBuffer 优化
Common/src/main/java/org/voovan/tools/buffer/TByteBuffer.java
imp: TByteBuffer 优化
<ide><path>ommon/src/main/java/org/voovan/tools/buffer/TByteBuffer.java <ide> <ide> Deallocator deallocator = new Deallocator(address, capacity); <ide> <del> ByteBuffer byteBuffer = null; <del> byteBuffer = (ByteBuffer) TUnsafe.getUnsafe().allocateInstance(DIRECT_BYTE_BUFFER_CLASS); ...
Java
cc0-1.0
6fb56b5e19b9ba1be9b7eb73caeeae3779177006
0
masmangan/turbo-octo-lana
package pucrs.alpro3.arvores; public class BinarySearchTree { class Node { int value; Node left, right; } private Node root; public BinarySearchTree() { root = null; } public boolean isEmpty() { return root == null; } public int size() { // TODO return 0; } public void add(int value) { ...
src/pucrs/alpro3/arvores/BinarySearchTree.java
package pucrs.alpro3.arvores; public class BinarySearchTree { }
implementação inicial
src/pucrs/alpro3/arvores/BinarySearchTree.java
implementação inicial
<ide><path>rc/pucrs/alpro3/arvores/BinarySearchTree.java <ide> <ide> public class BinarySearchTree { <ide> <add> class Node { <add> int value; <add> Node left, right; <add> } <add> <add> private Node root; <add> <add> public BinarySearchTree() { <add> root = null; <add> } <add> <add> public boolean isEmpty() { ...
JavaScript
mit
313db40454e060c316898d9e0e837dff955e39a0
0
jhuang314/poet,jsantell/poet,Nayar/poet,Nayar/poet,r14r/fork_nodejs_poet,r14r/fork_nodejs_poet,jhuang314/poet,jsantell/poet
var options, storage, utils; module.exports = function ( _options, _storage ) { options = _options; storage = _storage; utils = require( './utils' ); return { // Posts postList : storage.orderedPosts, getPostCount : getPostCount, getPost : getPost, getPosts : getPosts, ...
lib/poet/core.js
var options, storage, utils; module.exports = function ( _options, _storage ) { options = _options; storage = _storage; utils = require( './utils' ); return { // Posts postList : storage.orderedPosts, getPostCount : getPostCount, getPost : getPost, getPosts : getPosts, ...
Formatting
lib/poet/core.js
Formatting
<ide><path>ib/poet/core.js <ide> if ( storage.postsTagged[ tag ] ) return storage.postsTagged[ tag ]; <ide> <ide> var ret = []; <del> storage.orderedPosts.forEach(function(p) { <add> storage.orderedPosts.forEach(function(p) { <ide> if (p.tags && ~p.tags.indexOf( tag )) { <ide> ret.push( p ); <ide> ...
Java
apache-2.0
de87a00e304b833c7ee1b6382aa9e5eed021f348
0
technology16/pgsqlblocks,technology16/pgsqlblocks
package ru.taximaxim.pgsqlblocks; import java.io.IOException; import java.net.URL; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurr...
src/main/java/ru/taximaxim/pgsqlblocks/MainForm.java
package ru.taximaxim.pgsqlblocks; import java.io.IOException; import java.net.URL; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurr...
doubleclick
src/main/java/ru/taximaxim/pgsqlblocks/MainForm.java
doubleclick
<ide><path>rc/main/java/ru/taximaxim/pgsqlblocks/MainForm.java <ide> private static final int[] VERTICAL_WEIGHTS = new int[] {80, 20}; <ide> private static final int[] HORIZONTAL_WEIGHTS = new int[] {12, 88}; <ide> private static final int SASH_WIDTH = 2; <del> private static final int TIMER_INTERVAL = 1...
Java
agpl-3.0
5bab11a827e163674ab4fd556943ad9f205a3a26
0
maurizi/otm-android,OpenTreeMap/otm-android,maurizi/otm-android,OpenTreeMap/otm-android,OpenTreeMap/otm-android,maurizi/otm-android
package org.azavea.otm.ui; /* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
OpenTreeMap/src/org/azavea/otm/ui/MainMapActivity.java
package org.azavea.otm.ui; /* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
protect against NPE when google play lib is missing
OpenTreeMap/src/org/azavea/otm/ui/MainMapActivity.java
protect against NPE when google play lib is missing
<ide><path>penTreeMap/src/org/azavea/otm/ui/MainMapActivity.java <ide> setUpMapIfNeeded(); <ide> plotPopup = (RelativeLayout) findViewById(R.id.plotPopup); <ide> setPopupViews(); <del> setTreeAddMode(CANCEL); <del> setUpBasemapControls(); <del> } <add> } <ide> <ide> @Override <ide> protected v...
Java
apache-2.0
5e1fe0188bed6d2c95fbeaeeecfa9b5230d75093
0
madurangasiriwardena/product-is,wso2/product-is,mefarazath/product-is,mefarazath/product-is,wso2/product-is,madurangasiriwardena/product-is,mefarazath/product-is,wso2/product-is,madurangasiriwardena/product-is,wso2/product-is,wso2/product-is,madurangasiriwardena/product-is,mefarazath/product-is,madurangasiriwardena/pro...
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/l...
modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/oauth2/OIDCMetadataTest.java
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/l...
Address PR review comments
modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/oauth2/OIDCMetadataTest.java
Address PR review comments
<ide><path>odules/integration/tests-integration/tests-backend/src/test/java/org/wso2/identity/integration/test/oauth2/OIDCMetadataTest.java <ide> HttpResponse response = client.execute(getRequest); <ide> return response; <ide> } <add> <ide> }
Java
mit
d66efbaf4deb8f0a05ca15e4bb713fc95c028305
0
oscarguindzberg/multibit-hd,bitcoin-solutions/multibit-hd,akonring/multibit-hd-modified,bitcoin-solutions/multibit-hd,akonring/multibit-hd-modified,oscarguindzberg/multibit-hd,akonring/multibit-hd-modified,bitcoin-solutions/multibit-hd,oscarguindzberg/multibit-hd
package org.multibit.hd.ui.views.components; import com.google.common.base.Optional; import com.google.common.base.Preconditions; import net.miginfocom.swing.MigLayout; import org.multibit.hd.core.dto.CoreMessageKey; import org.multibit.hd.core.managers.WalletManager; import org.multibit.hd.ui.MultiBitUI; import org.m...
mbhd-swing/src/main/java/org/multibit/hd/ui/views/components/Panels.java
package org.multibit.hd.ui.views.components; import com.google.common.base.Optional; import com.google.common.base.Preconditions; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import net.miginfocom.swing.MigLayout; import org.multibit.hd.core.dto.CoreMessageKey; import org.multibit.hd.core.managers.Wallet...
#427 Findbugs: Changed annotation and widened bug filter
mbhd-swing/src/main/java/org/multibit/hd/ui/views/components/Panels.java
#427 Findbugs: Changed annotation and widened bug filter
<ide><path>bhd-swing/src/main/java/org/multibit/hd/ui/views/components/Panels.java <ide> <ide> import com.google.common.base.Optional; <ide> import com.google.common.base.Preconditions; <del>import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; <ide> import net.miginfocom.swing.MigLayout; <ide> import org.multibi...
Java
mit
7b57e652b5fc59f6375f8c053cd10e2a61a2e198
0
baseballlover723/Avvo-interview-challenge
package testing; import static org.junit.Assert.*; import java.util.Arrays; import java.util.Collections; import org.junit.Test; import enums.Color; import enums.Number; import enums.Shading; import enums.Shape; import setGame.Board; import setGame.Card; import setGame.Set; public class BoardTest ...
src/testing/BoardTest.java
package testing; import static org.junit.Assert.*; import org.junit.Test; import enums.Color; import enums.Number; import enums.Shading; import enums.Shape; import setGame.Board; import setGame.Card; import setGame.Deck; public class BoardTest { @Test public void hasSetRevealedTest() { ...
added test for removing sets from the board
src/testing/BoardTest.java
added test for removing sets from the board
<ide><path>rc/testing/BoardTest.java <ide> package testing; <ide> <ide> import static org.junit.Assert.*; <add> <add>import java.util.Arrays; <add>import java.util.Collections; <ide> <ide> import org.junit.Test; <ide> <ide> import enums.Shape; <ide> import setGame.Board; <ide> import setGame.Card; <del>import setGam...
JavaScript
apache-2.0
27c529015386dbbc7682b695f35d3183026f84b6
0
miikarntkl/fb-bot
'use strict'; const apiai = require('apiai'); const express = require('express'); const bodyParser = require('body-parser'); const uuid = require('node-uuid'); const request = require('request'); const JSONbig = require('json-bigint'); const async = require('async'); const REST_PORT = (process.env.PORT || 5000); cons...
src/app.js
'use strict'; const apiai = require('apiai'); const express = require('express'); const bodyParser = require('body-parser'); const uuid = require('node-uuid'); const request = require('request'); const JSONbig = require('json-bigint'); const async = require('async'); const REST_PORT = (process.env.PORT || 5000); cons...
wait for location
src/app.js
wait for location
<ide><path>rc/app.js <ide> var text = event.message.text; <ide> <ide> if (!isDefined(text)) { <del> console.log('Text not defined'); <del> var x = event.message.attachments; <del> try { <del> var y = x.url; <del> console.log('url: ', y); <d...
Java
apache-2.0
3502084019296066b03983299c9bfb5ccda883e8
0
maciej-zygmunt/unitime,maciej-zygmunt/unitime,UniTime/unitime,UniTime/unitime,maciej-zygmunt/unitime,UniTime/unitime
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may...
JavaSource/org/unitime/timetable/onlinesectioning/custom/CustomCourseRequestsValidationHolder.java
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may...
Course Requests: Custom Status Update and Re-Validation - added ability to check/re-validate multiple students at a time (fixed a possible concurrent modification exception when accessing the parent's action log)
JavaSource/org/unitime/timetable/onlinesectioning/custom/CustomCourseRequestsValidationHolder.java
Course Requests: Custom Status Update and Re-Validation
<ide><path>avaSource/org/unitime/timetable/onlinesectioning/custom/CustomCourseRequestsValidationHolder.java <ide> protected boolean updateStudent(OnlineSectioningServer server, OnlineSectioningHelper helper, Long studentId) { <ide> helper.beginTransaction(); <ide> try { <del> helper.getAction().addOther(Onl...
Java
apache-2.0
17daed5f8eeadb6cebee686ca93c593fe609f307
0
brotherlogic/pictureframe,brotherlogic/pictureframe,brotherlogic/pictureframe
package com.github.brotherlogic.pictureframe; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import javax.swing.JFrame; import javax.swing.SwingUtilities; import org.apache....
src/main/java/com/github/brotherlogic/pictureframe/Frame.java
package com.github.brotherlogic.pictureframe; import io.grpc.BindableService; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import javax.swing.JFrame; import javax.swing.Sw...
Bug fix
src/main/java/com/github/brotherlogic/pictureframe/Frame.java
Bug fix
<ide><path>rc/main/java/com/github/brotherlogic/pictureframe/Frame.java <ide> package com.github.brotherlogic.pictureframe; <del> <del>import io.grpc.BindableService; <ide> <ide> import java.io.File; <ide> import java.io.FileInputStream; <ide> import org.apache.commons.cli.OptionBuilder; <ide> import org.apache.common...
Java
agpl-3.0
fcf2592b2e0b89ab8363b73349f0e9f183d2ed55
0
RestComm/jss7,RestComm/jss7
package org.mobicents.protocols.ss7.stream.tcp; import java.io.ByteArrayInputStream; import java.io.IOException; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Socket; import java.net.UnknownHostException; import java.nio.ByteBuffer; import java.nio.channels.ClosedChannelExcep...
mtp/src/main/java/org/mobicents/protocols/ss7/stream/tcp/M3UserAgent.java
package org.mobicents.protocols.ss7.stream.tcp; import java.io.ByteArrayInputStream; import java.io.IOException; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Socket; import java.net.UnknownHostException; import java.nio.ByteBuffer; import java.nio.channels.ClosedChannelExcep...
git-svn-id: https://mobicents.googlecode.com/svn/trunk/protocols/ss7@11841 bf0df8d0-2c1f-0410-b170-bd30377b63dc
mtp/src/main/java/org/mobicents/protocols/ss7/stream/tcp/M3UserAgent.java
<ide><path>tp/src/main/java/org/mobicents/protocols/ss7/stream/tcp/M3UserAgent.java <ide> cse.printStackTrace(); <ide> //check for server selector? <ide> disconnect(); <del> } catch (IOException e) { <add> } catch (Exception e) { <ide> // TODO Auto-generated catch block <ide> e.printStackTrace()...
Java
apache-2.0
0e77cb06589a0ecdb73464c2ffd3994be58ca068
0
atomfrede/gradle-crowdin-cli-plugin
package io.github.atomfrede.gradle.plugins.crowdincli.task.download; import io.github.atomfrede.gradle.plugins.crowdincli.CrowdinCliPlugin; import org.gradle.api.InvalidUserDataException; import org.gradle.api.Task; import org.gradle.api.file.RelativePath; import org.gradle.api.internal.file.FileResolver; import org.g...
src/main/java/io/github/atomfrede/gradle/plugins/crowdincli/task/download/CrowdinCliUnzipTask.java
package io.github.atomfrede.gradle.plugins.crowdincli.task.download; import io.github.atomfrede.gradle.plugins.crowdincli.CrowdinCliPlugin; import org.gradle.api.InvalidUserDataException; import org.gradle.api.Task; import org.gradle.api.file.RelativePath; import org.gradle.api.internal.file.FileResolver; import org.g...
extend copy instead of abstract copy action
src/main/java/io/github/atomfrede/gradle/plugins/crowdincli/task/download/CrowdinCliUnzipTask.java
extend copy instead of abstract copy action
<ide><path>rc/main/java/io/github/atomfrede/gradle/plugins/crowdincli/task/download/CrowdinCliUnzipTask.java <ide> import org.gradle.api.internal.file.copy.DestinationRootCopySpec; <ide> import org.gradle.api.internal.file.copy.FileCopyAction; <ide> import org.gradle.api.tasks.AbstractCopyTask; <add>import org.gradle.a...
JavaScript
mit
e2567533454d25497aa4dbe36e32cb1c38d6d67b
0
ProtonMail/WebClient,ProtonMail/WebClient,ProtonMail/WebClient
import React, { useState } from 'react'; import { c } from 'ttag'; import PropTypes from 'prop-types'; import { FormModal, Row, Field, Label, PasswordInput, Input, Checkbox, Select, useApi, useNotifications, useEventManager } from 'react-components'; import MemberStorageSele...
packages/components/containers/members/MemberModal.js
import React, { useState } from 'react'; import { c } from 'ttag'; import PropTypes from 'prop-types'; import { FormModal, Row, Field, Label, PasswordInput, Input, Checkbox, Select, useApi, useNotifications, useEventManager } from 'react-components'; import MemberStorageSele...
Review member modal structure
packages/components/containers/members/MemberModal.js
Review member modal structure
<ide><path>ackages/components/containers/members/MemberModal.js <ide> > <ide> <Row> <ide> <Label htmlFor="nameInput">{c('Label').t`Name`}</Label> <del> <Field className="flex-autogrid"> <del> <Input <del> id="nameInput" <del> ...
Java
apache-2.0
80310898a08da64e82314d6562a1a751d4e5f7d8
0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
server/src/main/java/io/spine/server/event/model/SubscriberMethod.java
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
Make method final
server/src/main/java/io/spine/server/event/model/SubscriberMethod.java
Make method final
<ide><path>erver/src/main/java/io/spine/server/event/model/SubscriberMethod.java <ide> protected abstract MessageFilter createFilter(); <ide> <ide> @Override <del> public MessageFilter filter() { <add> public final MessageFilter filter() { <ide> return filter.get(); <ide> } <ide>
Java
apache-2.0
803e6e2cea52e9ef57dfd5aba9bd25c58727532b
0
panossot/xnio,kabir/xnio,panossot/xnio,xnio/xnio,fl4via/xnio,stuartwdouglas/xnio,kabir/xnio,xnio/xnio,dmlloyd/xnio,fl4via/xnio
/* * JBoss, Home of Professional Open Source. * * Copyright 2011 Red Hat, Inc. and/or its affiliates, and individual * contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o...
api/src/main/java/org/xnio/XnioWorker.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2011 Red Hat, Inc. and/or its affiliates, and individual * contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o...
LinkedTransferQueue uses Thread.yield(), which is a big piece of shit. Remove this to get rid of stinky performance regression
api/src/main/java/org/xnio/XnioWorker.java
LinkedTransferQueue uses Thread.yield(), which is a big piece of shit. Remove this to get rid of stinky performance regression
<ide><path>pi/src/main/java/org/xnio/XnioWorker.java <ide> import java.util.concurrent.BlockingQueue; <ide> import java.util.concurrent.ExecutorService; <ide> import java.util.concurrent.LinkedBlockingQueue; <del>import java.util.concurrent.LinkedTransferQueue; <ide> import java.util.concurrent.RejectedExecutionHandler...
Java
bsd-3-clause
5a4a417b48e301f442253171859f1d2e9bdd3ad3
0
jxson/reader,jxson/reader,jxson/reader,vanadium/reader,vanadium/reader,jxson/reader,vanadium/reader
// Copyright 2015 The Vanadium Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package io.v.android.apps.reader.db; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Handle...
android/app/src/main/java/io/v/android/apps/reader/db/SyncbaseDB.java
// Copyright 2015 The Vanadium Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package io.v.android.apps.reader.db; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Handle...
TBR: reader/android: change colons to slashes Change-Id: Ifc5b8d774f63d9cb35eb1a9c0b2e93dba5174c2d
android/app/src/main/java/io/v/android/apps/reader/db/SyncbaseDB.java
TBR: reader/android: change colons to slashes
<ide><path>ndroid/app/src/main/java/io/v/android/apps/reader/db/SyncbaseDB.java <ide> for (List<VCertificate> chain : blessings.getCertificateChains()) { <ide> for (VCertificate certificate : Lists.reverse(chain)) { <ide> if (certificate.getExtension().contains("@")) { <del> ...
Java
mit
881acd31d78895147443116e30c05c0d634a22b5
0
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
package com.elmakers.mine.bukkit.magic; import java.util.HashSet; import java.util.Set; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.elmakers.mine.bukkit.api.magic.Mage; import com.elmakers.mine.bukkit.api.magic.MageController; public class MageParameters extends ParameterizedConfigu...
Magic/src/main/java/com/elmakers/mine/bukkit/magic/MageParameters.java
package com.elmakers.mine.bukkit.magic; import java.util.HashSet; import java.util.Set; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.elmakers.mine.bukkit.api.magic.Mage; import com.elmakers.mine.bukkit.api.magic.MageController; public class MageParameters extends ParameterizedConfigu...
Add missing @Override
Magic/src/main/java/com/elmakers/mine/bukkit/magic/MageParameters.java
Add missing @Override
<ide><path>agic/src/main/java/com/elmakers/mine/bukkit/magic/MageParameters.java <ide> attributes = new HashSet<>(attrs); <ide> } <ide> <add> @Override <ide> @Nullable <ide> protected Double evaluate(String expression) { <ide> if (mage.isPlayer()) {
Java
bsd-3-clause
b80fdaebe6e0ab821f4cb3735645756254f2ffc1
0
nka11/jintn3270
package com.sf.jintn3270.awt; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.Rectangle; import java.awt.RenderingHints; import java.awt.font.FontRenderContext; import java.aw...
src/com/sf/jintn3270/awt/DefaultTerminalRenderer.java
package com.sf.jintn3270.awt; import java.awt.Color; import java.awt.Component; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Point; import java.awt.Rectangle; import java.awt.RenderingHints; import java.awt.font.FontRenderContext; import java.aw...
Font scaling and stretching to match the size of the Terminal git-svn-id: f76f0d361b8045537d852970971daaa7b3f7adae@40 d6bd4e80-8031-4e1d-bd39-93c407d940fc
src/com/sf/jintn3270/awt/DefaultTerminalRenderer.java
Font scaling and stretching to match the size of the Terminal
<ide><path>rc/com/sf/jintn3270/awt/DefaultTerminalRenderer.java <ide> FontRenderContext fontContext; <ide> RenderingHints renderHints; <ide> <add> boolean scaleFont; <add> boolean stretchFont; <add> <ide> public DefaultTerminalRenderer() { <ide> super(); <ide> setFont(Font.decode("Monospaced-12")); <ide> ...
Java
apache-2.0
4fe81bcd9386ab6c7fc7dd60a9b12d5b405d7954
0
mcdan/sling,headwirecom/sling,ist-dresden/sling,mmanski/sling,labertasch/sling,tyge68/sling,awadheshv/sling,ist-dresden/sling,headwirecom/sling,ieb/sling,mcdan/sling,tmaret/sling,awadheshv/sling,trekawek/sling,awadheshv/sling,tyge68/sling,wimsymons/sling,vladbailescu/sling,labertasch/sling,vladbailescu/sling,mmanski/sl...
/* * 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 ...
bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrResourceUtil.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 ...
SLING-5513 : Deprecate JcrResourceUtil git-svn-id: 6eed74fe9a15c8da84b9a8d7f2960c0406113ece@1729982 13f79535-47bb-0310-9956-ffa450edef68
bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrResourceUtil.java
SLING-5513 : Deprecate JcrResourceUtil
<ide><path>undles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/JcrResourceUtil.java <ide> /** <ide> * The <code>JcrResourceUtil</code> class provides helper methods used <ide> * throughout this bundle. <add> * <add> * @deprecated Use the Resource API instead. <ide> */ <add>@Deprecated <ide> public class ...
Java
apache-2.0
3bdfeae8f1749919d674117543929579d490db5c
0
OpenHFT/Chronicle-Map
/* * Copyright 2014 Higher Frequency Trading * * http://www.higherfrequencytrading.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
src/test/java/net/openhft/chronicle/map/fromdocs/OpenJDKAndHashMapExamplesTest.java
/* * Copyright 2014 Higher Frequency Trading * * http://www.higherfrequencytrading.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
updated to use - chm.newValueInstance();
src/test/java/net/openhft/chronicle/map/fromdocs/OpenJDKAndHashMapExamplesTest.java
updated to use - chm.newValueInstance();
<ide><path>rc/test/java/net/openhft/chronicle/map/fromdocs/OpenJDKAndHashMapExamplesTest.java <ide> .keySize(10) <ide> .createPersistedTo(file); <ide> <del> BondVOInterface bondVO = DataValueClasses.newDirectReference(BondVOInterface.class); <add> BondVOInterface bondVO = ...
Java
mit
1b387221283f73d5a7ee7146d741df73595e45a4
0
opentdc/resources-service-opencrx
/** * The MIT License (MIT) * * Copyright (c) 2015 Arbalo AG * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
src/java/org/opentdc/resources/opencrx/OpencrxServiceProvider.java
/** * The MIT License (MIT) * * Copyright (c) 2015 Arbalo AG * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
cleanup of opencrx impl: new constructor, removed xri added name field
src/java/org/opentdc/resources/opencrx/OpencrxServiceProvider.java
cleanup of opencrx impl: new constructor, removed xri added name field
<ide><path>rc/java/org/opentdc/resources/opencrx/OpencrxServiceProvider.java <ide> protected ResourceModel newResourceModel( <ide> Resource resource <ide> ) { <del> ResourceModel r = new ResourceModel(resource.refGetPath().getLastSegment().toClassicRepresentation()); <del> r.setXri(resource.refGetPath().toXRI());...
Java
mit
70ef26954777b63f29d9f6ee473d40d065f97a9a
0
dbuxo/CommandHelper,Techcable/CommandHelper,Techcable/CommandHelper,sk89q/CommandHelper,sk89q/CommandHelper,dbuxo/CommandHelper,sk89q/CommandHelper,dbuxo/CommandHelper,dbuxo/CommandHelper,Techcable/CommandHelper,sk89q/CommandHelper,Techcable/CommandHelper
package com.laytonsmith.tools; import com.laytonsmith.PureUtilities.ClassLoading.ClassDiscovery; import com.laytonsmith.abstraction.Implementation; import com.laytonsmith.abstraction.enums.MCChatColor; import com.laytonsmith.annotations.api; import com.laytonsmith.core.Documentation; import com.laytonsmith.core.Stat...
src/main/java/com/laytonsmith/tools/SyntaxHighlighters.java
package com.laytonsmith.tools; import com.laytonsmith.PureUtilities.ClassLoading.ClassDiscovery; import com.laytonsmith.abstraction.Implementation; import com.laytonsmith.abstraction.enums.MCChatColor; import com.laytonsmith.annotations.api; import com.laytonsmith.core.Documentation; import com.laytonsmith.core.Stat...
Add atom to syntax help text
src/main/java/com/laytonsmith/tools/SyntaxHighlighters.java
Add atom to syntax help text
<ide><path>rc/main/java/com/laytonsmith/tools/SyntaxHighlighters.java <ide> + "\t\t(Create directories and files as needed)\n" <ide> + "\tnano - Use type\"nano\". Only the default theme is available.\n" <ide> + "\tSublime Text - Use type \"sublime\". Only the default theme is availab...
Java
apache-2.0
3f8c8323c29c62f3c3c9d78c2f0e7a602c24be2a
0
cuba-platform/cuba,cuba-platform/cuba,dimone-kun/cuba,dimone-kun/cuba,dimone-kun/cuba,cuba-platform/cuba
/* * Copyright (c) 2013 Haulmont Technology Ltd. All Rights Reserved. * Haulmont Technology proprietary and confidential. * Use is subject to license terms. */ package com.haulmont.cuba.web.sys; import com.haulmont.cuba.core.app.DataService; import com.haulmont.cuba.core.entity.Entity; import com.haulmont...
modules/web/src/com/haulmont/cuba/web/sys/LinkHandler.java
/* * Copyright (c) 2013 Haulmont Technology Ltd. All Rights Reserved. * Haulmont Technology proprietary and confidential. * Use is subject to license terms. */ package com.haulmont.cuba.web.sys; import com.haulmont.cuba.core.app.DataService; import com.haulmont.cuba.core.entity.Entity; import com.haulmont...
Add processing of 'openType' parameter in LinkHandler #PL-2006
modules/web/src/com/haulmont/cuba/web/sys/LinkHandler.java
Add processing of 'openType' parameter in LinkHandler #PL-2006
<ide><path>odules/web/src/com/haulmont/cuba/web/sys/LinkHandler.java <ide> <ide> protected void openWindow(WindowInfo windowInfo) { <ide> String itemStr = requestParams.get("item"); <add> String openTypeParam = requestParams.get("openType"); <add> WindowManager.OpenType openType = WindowManag...
Java
mit
876b87158ac444382d4437f3eb6b5ac3106f7b5c
0
azuqua/azuqua.java,azuqua/azuqua.java,azuqua/azuqua.java
package com.azuqua.java.client; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.lang.reflect.Type; import java.net.HttpURLConnection; import java.net.URL; i...
src/com/azuqua/java/client/Azuqua.java
package com.azuqua.java.client; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.lang.reflect.Type; import java.net.HttpURLConnection; import java.net.URL; i...
Delete import of DatatypeConverter
src/com/azuqua/java/client/Azuqua.java
Delete import of DatatypeConverter
<ide><path>rc/com/azuqua/java/client/Azuqua.java <ide> import javax.crypto.Mac; <ide> import javax.crypto.spec.SecretKeySpec; <ide> import javax.net.ssl.HttpsURLConnection; <del>import javax.xml.bind.DatatypeConverter; <ide> <ide> import com.google.gson.Gson; <ide> import com.google.gson.reflect.TypeToken;
Java
apache-2.0
848466d51a132d570207bf8aee9c992934686d9f
0
Blazemeter/blazemeter-teamcity-plugin
package com.blaze.agent; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.HashMap; import java.util.Map; import jetbrains.buildServer.RunBuildException; import jetbrains.buildServer.agent.AgentRunningBuild; import jetbrains.buildServer.agent.BuildAgent; import je...
agent/src/com/blaze/agent/BlazeAgentProcessor.java
package com.blaze.agent; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.HashMap; import java.util.Map; import jetbrains.buildServer.RunBuildException; import jetbrains.buildServer.agent.AgentRunningBuild; import jetbrains.buildServer.agent.BuildAgent; import je...
JEN-24
agent/src/com/blaze/agent/BlazeAgentProcessor.java
JEN-24
<ide><path>gent/src/com/blaze/agent/BlazeAgentProcessor.java <ide> <ide> logger = agentRunningBuild.getBuildLogger(); <ide> Map<String, String> buildSharedMap = agentRunningBuild.getSharedConfigParameters(); <del> blazeBean = new BlazeBean( <add> String proxyPortStr=buildSharedMap.get(BlazeMeterConstants.PROXY...
Java
bsd-3-clause
9552ea2d171aaff8790fcc34cd70e148e83383b7
0
ox-it/gaboto,ox-it/gaboto
/** * Copyright 2009 University of Oxford * * Written by Arno Mittelbach for the Erewhon Project * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code ...
src/main/java/org/oucs/gaboto/model/query/GabotoQueryImpl.java
/** * Copyright 2009 University of Oxford * * Written by Arno Mittelbach for the Erewhon Project * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code ...
Exception handling
src/main/java/org/oucs/gaboto/model/query/GabotoQueryImpl.java
Exception handling
<ide><path>rc/main/java/org/oucs/gaboto/model/query/GabotoQueryImpl.java <ide> import org.apache.log4j.Logger; <ide> import org.oucs.gaboto.entities.pool.GabotoEntityPool; <ide> import org.oucs.gaboto.entities.pool.GabotoEntityPoolConfiguration; <del>import org.oucs.gaboto.exceptions.EntityPoolInvalidConfigurationExcep...
Java
apache-2.0
36adebc6ba30e19fc5b40175d723b03ba873923f
0
joobn72/qi4j-sdk,Qi4j/qi4j-sdk,apache/zest-qi4j,ramtej/Qi4j.Repo.4.Sync,Qi4j/qi4j-libraries,apache/zest-qi4j,Qi4j/qi4j-sdk,joobn72/qi4j-sdk,apache/zest-qi4j,Qi4j/qi4j-libraries,ramtej/Qi4j.Repo.4.Sync,Qi4j/qi4j-libraries,apache/zest-qi4j,apache/zest-qi4j,joobn72/qi4j-sdk,joobn72/qi4j-sdk,Qi4j/qi4j-sdk,joobn72/qi4j-sdk,...
/* * Copyright 2008 Wen Tao. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agree...
beans/src/main/java/org/qi4j/library/beans/properties/OrAppliesToFilter.java
/* * Copyright 2008 Wen Tao. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agree...
Fix bug where OrAppliesToFilter behaves like 'and' instead of 'or' git-svn-id: c1a2cac32c804c97d56fc837c7a57bdf32d4af98@13421 9b982a3c-3ae5-0310-a4bc-d9a3335569bd
beans/src/main/java/org/qi4j/library/beans/properties/OrAppliesToFilter.java
Fix bug where OrAppliesToFilter behaves like 'and' instead of 'or'
<ide><path>eans/src/main/java/org/qi4j/library/beans/properties/OrAppliesToFilter.java <ide> */ <ide> package org.qi4j.library.beans.properties; <ide> <add>import java.lang.reflect.Method; <ide> import org.qi4j.composite.AppliesToFilter; <del>import java.lang.reflect.Method; <ide> <del>public final class OrAppliesToF...
Java
apache-2.0
e3c1ceddf4df05bd434deec40d65c30c8050167c
0
hurricup/intellij-community,supersven/intellij-community,ol-loginov/intellij-community,asedunov/intellij-community,adedayo/intellij-community,alphafoobar/intellij-community,muntasirsyed/intellij-community,hurricup/intellij-community,mglukhikh/intellij-community,idea4bsd/idea4bsd,izonder/intellij-community,izonder/intel...
package com.intellij.psi.formatter.java; import com.intellij.formatting.*; import com.intellij.lang.ASTNode; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.TextRange; import com.intellij.psi.*; import com.intellij.psi.codeStyle.CodeStyleSettings; import com.intellij.psi.formatter.Forma...
source/com/intellij/psi/formatter/java/AbstractJavaBlock.java
package com.intellij.psi.formatter.java; import com.intellij.formatting.*; import com.intellij.lang.ASTNode; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.TextRange; import com.intellij.psi.*; import com.intellij.psi.codeStyle.CodeStyleSettings; import com.intellij.psi.formatter.Forma...
long annotations are not wrapped (IDEADEV-25323)
source/com/intellij/psi/formatter/java/AbstractJavaBlock.java
long annotations are not wrapped (IDEADEV-25323)
<ide><path>ource/com/intellij/psi/formatter/java/AbstractJavaBlock.java <ide> } else if (role == ChildRole.WHILE_KEYWORD) { <ide> return Wrap.createWrap(WrapType.NORMAL, true); <ide> } <add> } else if (nodeType == JavaElementType.ANNOTATION_ARRAY_INITIALIZER) { <add> if (role == ChildRole.AN...
Java
apache-2.0
b7425124911b3293b46f3b48051ea681e66f140c
0
Terracotta-OSS/terracotta-platform,albinsuresh/terracotta-platform,Terracotta-OSS/terracotta-platform,chrisdennis/terracotta-platform,albinsuresh/terracotta-platform,chrisdennis/terracotta-platform
/* * Copyright Terracotta, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
lease/api/src/main/java/org/terracotta/lease/connection/TimeBudget.java
/* * Copyright Terracotta, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Added overloaded remaining() and toString() methods in TimeBudget class
lease/api/src/main/java/org/terracotta/lease/connection/TimeBudget.java
Added overloaded remaining() and toString() methods in TimeBudget class
<ide><path>ease/api/src/main/java/org/terracotta/lease/connection/TimeBudget.java <ide> <ide> public class TimeBudget { <ide> private final long budgetExpiry; <add> private final TimeUnit timeUnit; <ide> <ide> public TimeBudget(long timeout, TimeUnit timeUnit) { <del> long now = System.nanoTime(); <del> bu...
JavaScript
mit
36bd972638acb2b2f74d7a1899b4f679e9cd4415
0
zloirock/core-js,zloirock/core-js
var $ = require('../internals/export'); var uncurryThis = require('../internals/function-uncurry-this'); var $isCallable = require('../internals/is-callable'); var inspectSource = require('../internals/inspect-source'); var classRegExp = /^\s*class\b/; var exec = uncurryThis(classRegExp.exec); // `Function.isCallable...
packages/core-js/modules/esnext.function.is-callable.js
var $ = require('../internals/export'); var $isCallable = require('../internals/is-callable'); var inspectSource = require('../internals/inspect-source'); var classRegExp = /^\s*class\b/; var exec = classRegExp.exec; // `Function.isCallable` method // https://github.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-is...
refatoring
packages/core-js/modules/esnext.function.is-callable.js
refatoring
<ide><path>ackages/core-js/modules/esnext.function.is-callable.js <ide> var $ = require('../internals/export'); <add>var uncurryThis = require('../internals/function-uncurry-this'); <ide> var $isCallable = require('../internals/is-callable'); <ide> var inspectSource = require('../internals/inspect-source'); <ide> <ide...
Java
apache-2.0
2ad69698241b6cc15a7121c1f46ee325a7e00d50
0
zqian/sakai,rodriguezdevera/sakai,willkara/sakai,zqian/sakai,conder/sakai,joserabal/sakai,zqian/sakai,zqian/sakai,ouit0408/sakai,OpenCollabZA/sakai,joserabal/sakai,Fudan-University/sakai,willkara/sakai,frasese/sakai,willkara/sakai,OpenCollabZA/sakai,ouit0408/sakai,joserabal/sakai,frasese/sakai,OpenCollabZA/sakai,rodrig...
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2003, 2004, 2005, 2006, 2008 The Sakai Foundation * * Licensed under the Educational Community License, Version ...
velocity/tool/src/java/org/sakaiproject/vm/ActionURL.java
/********************************************************************************** * $URL$ * $Id$ *********************************************************************************** * * Copyright (c) 2003, 2004, 2005, 2006, 2008 The Sakai Foundation * * Licensed under the Educational Community License, Version ...
SAK-30419
velocity/tool/src/java/org/sakaiproject/vm/ActionURL.java
SAK-30419
<ide><path>elocity/tool/src/java/org/sakaiproject/vm/ActionURL.java <ide> import org.sakaiproject.thread_local.cover.ThreadLocalManager; <ide> import org.sakaiproject.tool.api.ToolURL; <ide> import org.sakaiproject.tool.api.ToolURLManager; <add>import org.sakaiproject.util.FormattedText; <ide> <ide> /** <ide> * <p> <...
Java
apache-2.0
b1cab871f6b5730875be61babddb12128041e9a8
0
cwenao/DSAA
/** * Company * Copyright (C) 2014-2017 All Rights Reserved. */ package com.cwenao.datastructure; import com.cwenao.util.DrawGraphForSearch; import com.cwenao.util.Vertexes; import java.util.ArrayDeque; import java.util.Queue; /** * @author cwenao * @version $Id BreadthFirstSearchPath.java, v 0.1 2017-07-07 8:1...
data-structure/src/main/java/com/cwenao/datastructure/BreadthFirstSearchPath.java
/** * Company * Copyright (C) 2014-2017 All Rights Reserved. */ package com.cwenao.datastructure; import com.cwenao.util.DrawGraphForSearch; import com.cwenao.util.Vertexes; import java.util.ArrayDeque; import java.util.Queue; /** * @author cwenao * @version $Id BreadthFirstSearchPath.java, v 0.1 2017-07-07 8:1...
update the breadthfirst
data-structure/src/main/java/com/cwenao/datastructure/BreadthFirstSearchPath.java
update the breadthfirst
<ide><path>ata-structure/src/main/java/com/cwenao/datastructure/BreadthFirstSearchPath.java <ide> */ <ide> public class BreadthFirstSearchPath { <ide> <del> private static final int maxVertexes = 5; <add> private static final int maxVertexes = 9; <ide> private static Vertexes[] vertexes; <ide> private s...
JavaScript
apache-2.0
d150f85045c2346fba71eba4c3020cb44828f452
0
minbrowser/min,minbrowser/min,minbrowser/min
/* Wraps APIs that are only available in the main process in IPC messages, so that the BrowserWindow can use them */ ipc.handle('test-invoke', function () { return 1 }) ipc.handle('reloadWindow', function () { mainWindow.webContents.reload() }) ipc.handle('startFileDrag', function (e, path) { app.getFileIcon(p...
main/remoteActions.js
/* Wraps APIs that are only available in the main process in IPC messages, so that the BrowserWindow can use them */ ipc.handle('test-invoke', function () { return 1 }) ipc.handle('reloadWindow', function () { mainWindow.webContents.reload() }) ipc.handle('startFileDrag', function (e, path) { app.getFileIcon(p...
clear additional storage types in clearStorageData (#1779)
main/remoteActions.js
clear additional storage types in clearStorageData (#1779)
<ide><path>ain/remoteActions.js <ide> }) <ide> <ide> ipc.handle('clearStorageData', function () { <del> /* It's important not to delete data from file:// here, since that would also remove internal browser data (such as bookmarks) */ <del> return session.fromPartition('persist:webcontent').clearStorageData({ origin:...
JavaScript
mit
7bbb6daf53dabda6ac982a6a3989eaeb88e2653a
0
jzitelli/cannon.js,mcanthony/cannon.js,mcanthony/cannon.js,schteppe/cannon.js,Tezirg/cannon.js,schteppe/cannon.js,beni55/cannon.js,Tezirg/cannon.js,jzitelli/cannon.js,beni55/cannon.js
var Vec3 = require('./Vec3'); var Quaternion = require('./Quaternion'); module.exports = Transform; /** * @class Transform * @constructor */ function Transform() { /** * @property {Vec3} position */ this.position = new Vec3(); /** * @property {Quaternion} quaternion */ this.quaternion = new Quaternion...
src/math/Transform.js
var Vec3 = require('./Vec3'); var Quaternion = require('./Quaternion'); module.exports = Transform; /** * @class Transform * @constructor */ function Transform() { /** * @property {Vec3} position */ this.position = new Vec3(); /** * @property {Quaternion} quaternion */ this.quaternion = new Quaternio...
added Transform.prototype.pointToLocal and .pointToWorld
src/math/Transform.js
added Transform.prototype.pointToLocal and .pointToWorld
<ide><path>rc/math/Transform.js <ide> * @property {Vec3} position <ide> */ <ide> this.position = new Vec3(); <del> <add> <ide> /** <ide> * @property {Quaternion} quaternion <ide> */ <ide> }; <ide> <ide> /** <add> * Get a global point in local transform coordinates. <add> * @param {Vec3} point <add> * @para...
Java
bsd-2-clause
0ae7f0a5673f2d72b5ce09a8902c318b75e8c32e
0
clementval/claw-compiler,clementval/claw-compiler
/* * This file is released under terms of BSD license * See LICENSE file for more information */ package cx2x.xcodeml.xelement; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import java.util.Hashtable; import java.util.LinkedHashMap; import java.util.Map; import java.util.Random...
omni-cx2x/src/cx2x/xcodeml/xelement/XtypeTable.java
/* * This file is released under terms of BSD license * See LICENSE file for more information */ package cx2x.xcodeml.xelement; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import java.util.Hashtable; import java.util.Random; /** * The XtypeTable represents the typeTable (3.1...
Change HashTable to LinkedHashMap
omni-cx2x/src/cx2x/xcodeml/xelement/XtypeTable.java
Change HashTable to LinkedHashMap
<ide><path>mni-cx2x/src/cx2x/xcodeml/xelement/XtypeTable.java <ide> import org.w3c.dom.Node; <ide> import org.w3c.dom.NodeList; <ide> import java.util.Hashtable; <add>import java.util.LinkedHashMap; <add>import java.util.Map; <ide> import java.util.Random; <ide> <ide> /** <ide> private static final int HASH_LENGTH =...
Java
apache-2.0
a15e1c9814c467742c06c194d6f3b44b5b0f1730
0
oasisfeng/deagle
package com.oasisfeng.android.databinding.recyclerview; import android.databinding.BindingAdapter; import android.databinding.ObservableList; import android.support.annotation.LayoutRes; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.helper.ItemTouchHelper; /** * Binding adapters for...
library/src/main/java/com/oasisfeng/android/databinding/recyclerview/RecyclerViewBindingAdapter.java
package com.oasisfeng.android.databinding.recyclerview; import android.databinding.BindingAdapter; import android.databinding.ObservableList; import android.support.annotation.LayoutRes; import android.support.v7.widget.RecyclerView; /** * Binding adapters for RecyclerView. * * Created by Oasis on 2016/2/14. */ @...
ADD: New attribute "item_touch" for RecyclerView to bind ItemTouchHelper.
library/src/main/java/com/oasisfeng/android/databinding/recyclerview/RecyclerViewBindingAdapter.java
ADD: New attribute "item_touch" for RecyclerView to bind ItemTouchHelper.
<ide><path>ibrary/src/main/java/com/oasisfeng/android/databinding/recyclerview/RecyclerViewBindingAdapter.java <ide> import android.databinding.ObservableList; <ide> import android.support.annotation.LayoutRes; <ide> import android.support.v7.widget.RecyclerView; <add>import android.support.v7.widget.helper.ItemTouchHe...