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 | 7dfdd7b3276b08773e5db3697e0467acf70ed1ed | 0 | Dimensions/Solar | package dimensions.solar.plugin;
import dimensions.solar.command.CommandContainer;
import java.util.ArrayList;
import java.util.List;
public class PluginContainer
{
public String pluginId;
public String name = pluginId;
public String version = "1.0.0";
public List<String> dependencies = new ArrayLis... | src/dimensions/solar/plugin/PluginContainer.java | package dimensions.solar.plugin;
import dimensions.solar.command.CommandContainer;
import java.util.ArrayList;
import java.util.List;
public class PluginContainer
{
public String pluginId;
public String name = pluginId;
public String version = "1.0.0";
public List<String> dependencies = new ArrayLis... | Fix ArrayLists | src/dimensions/solar/plugin/PluginContainer.java | Fix ArrayLists | <ide><path>rc/dimensions/solar/plugin/PluginContainer.java
<ide> public String pluginId;
<ide> public String name = pluginId;
<ide> public String version = "1.0.0";
<del> public List<String> dependencies = new ArrayList<>();
<del> public List<CommandContainer> commands = new ArrayList<>();
<add> pu... | |
Java | mit | c9fab433b010ba911283227df169751831a9f334 | 0 | typetools/annotation-tools,eisop/annotation-tools,typetools/annotation-tools,typetools/annotation-tools,eisop/annotation-tools,eisop/annotation-tools | package annotator.specification;
import java.io.IOException;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.objectweb.asm.ClassReader;
import plume.FileIOException;
import plume.Pair;
import type.De... | annotation-file-utilities/src/annotator/specification/IndexFileSpecification.java | package annotator.specification;
import java.io.IOException;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.objectweb.asm.ClassReader;
import plume.FileIOException;
import plume.Pair;
import type.De... | Factors out notion of a "top-level" type from isOn*() methods as new private method noTypePath().
| annotation-file-utilities/src/annotator/specification/IndexFileSpecification.java | Factors out notion of a "top-level" type from isOn*() methods as new private method noTypePath(). | <ide><path>nnotation-file-utilities/src/annotator/specification/IndexFileSpecification.java
<ide> CloseParenthesisInsertion closeParen = null;
<ide> List<Insertion> annotationInsertions = new ArrayList<Insertion>();
<ide> Set<Pair<String, Annotation>> elementAnnotations = getElementAnnotations(element);
<de... | |
Java | mit | 2ef2f58a02cb3315e5f791f4465ac795a658d3d4 | 0 | Bammerbom/UltimateCore | /*
* This file is part of UltimateCore, licensed under the MIT License (MIT).
*
* Copyright (c) Bammerbom
*
* 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, includi... | src/main/java/bammerbom/ultimatecore/bukkit/api/UPlayer.java | /*
* This file is part of UltimateCore, licensed under the MIT License (MIT).
*
* Copyright (c) Bammerbom
*
* 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, includi... | Bug fix: /nick off doesnt update nickname
| src/main/java/bammerbom/ultimatecore/bukkit/api/UPlayer.java | Bug fix: /nick off doesnt update nickname | <ide><path>rc/main/java/bammerbom/ultimatecore/bukkit/api/UPlayer.java
<ide> if (getPlayer().isOnline()) {
<ide> getPlayer().getPlayer().setDisplayName(nickname.replace("&y", ""));
<ide> }
<add> } else {
<add> if (getPlayer().isOnline()) {
<add> g... | |
Java | apache-2.0 | 96f5d8d004863776de29e791b3ef390ecfc59df6 | 0 | christophd/camel,tadayosi/camel,adessaigne/camel,adessaigne/camel,cunningt/camel,tadayosi/camel,cunningt/camel,christophd/camel,adessaigne/camel,adessaigne/camel,tadayosi/camel,cunningt/camel,christophd/camel,adessaigne/camel,apache/camel,apache/camel,tadayosi/camel,christophd/camel,tadayosi/camel,apache/camel,cunningt... | /*
* 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 ... | core/camel-xml-io/src/generated/java/org/apache/camel/xml/in/ModelParser.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-17308: Remove verb as an allowed CAMEL REST YAML element.
| core/camel-xml-io/src/generated/java/org/apache/camel/xml/in/ModelParser.java | CAMEL-17308: Remove verb as an allowed CAMEL REST YAML element. | <ide><path>ore/camel-xml-io/src/generated/java/org/apache/camel/xml/in/ModelParser.java
<ide> }
<ide> return true;
<ide> };
<del> }
<del> protected VerbDefinition doParseVerbDefinition() throws IOException, XmlPullParserException {
<del> return doParse(new VerbDefinition(), ... | |
Java | apache-2.0 | 21420bcdd83b56efbbbce6491ea16b6bd9a63c9b | 0 | chibenwa/james,aduprat/james,chibenwa/james,rouazana/james,aduprat/james,aduprat/james,chibenwa/james,chibenwa/james,rouazana/james,aduprat/james,rouazana/james,rouazana/james | /* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2000-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that... | src/java/org/apache/james/transport/mailets/Redirect.java | /* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2000-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that... | Reverted Redirect to previous version. Accidentally committed new version that isn't quite finished yet.
git-svn-id: de9d04cf23151003780adc3e4ddb7078e3680318@108737 13f79535-47bb-0310-9956-ffa450edef68
| src/java/org/apache/james/transport/mailets/Redirect.java | Reverted Redirect to previous version. Accidentally committed new version that isn't quite finished yet. | <ide><path>rc/java/org/apache/james/transport/mailets/Redirect.java
<ide>
<ide> import java.io.PrintWriter;
<ide> import java.io.StringWriter;
<add>
<ide> import java.util.Collection;
<ide> import java.util.Date;
<ide> import java.util.Enumeration;
<ide> import java.util.HashSet;
<add>import java.util.Iterator;
<ide> ... | |
Java | apache-2.0 | 6dcae3f814f3ec29c138357dbc220f4ec31ece87 | 0 | t9nf/google-http-java-client,googleapis/google-http-java-client,nonexpectation/google-http-java-client,SunghanKim/google-http-java-client,googleapis/google-http-java-client,nonexpectation/google-http-java-client,suclike/google-http-java-client,bright60/google-http-java-client,ejona86/google-http-java-client,spotify/goo... | /*
* Copyright (c) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | google-http-client/src/main/java/com/google/api/client/http/HttpTransport.java | /*
* Copyright (c) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | [http] HttpTransport.shutdown() should throw Exception
https://codereview.appspot.com/6501126/
| google-http-client/src/main/java/com/google/api/client/http/HttpTransport.java | [http] HttpTransport.shutdown() should throw Exception | <ide><path>oogle-http-client/src/main/java/com/google/api/client/http/HttpTransport.java
<ide>
<ide> package com.google.api.client.http;
<ide>
<del>import java.io.IOException;
<ide> import java.util.Arrays;
<ide> import java.util.logging.Logger;
<ide>
<ide> * Default implementation does nothing, but subclasses ma... | |
Java | lgpl-2.1 | b0528ec66d558182b09cd01311977d3b2c80ddd2 | 0 | serrapos/opencms-core,serrapos/opencms-core,gallardo/opencms-core,victos/opencms-core,gallardo/opencms-core,gallardo/opencms-core,it-tavis/opencms-core,ggiudetti/opencms-core,sbonoc/opencms-core,mediaworx/opencms-core,sbonoc/opencms-core,MenZil/opencms-core,mediaworx/opencms-core,ggiudetti/opencms-core,MenZil/opencms-c... | /*
* File : $Source: /alkacon/cvs/opencms/src/org/opencms/workplace/tools/CmsHtmlIconButtonStyleEnum.java,v $
* Date : $Date: 2005/06/23 08:15:56 $
* Version: $Revision: 1.5 $
*
* This library is part of OpenCms -
* the Open Source Content Mananagement System
*
* Copyright (C) 2002 - 2005 Alkacon Software (... | src/org/opencms/workplace/tools/CmsHtmlIconButtonStyleEnum.java | /*
* File : $Source: /alkacon/cvs/opencms/src/org/opencms/workplace/tools/CmsHtmlIconButtonStyleEnum.java,v $
* Date : $Date: 2005/06/23 08:12:45 $
* Version: $Revision: 1.4 $
*
* This library is part of OpenCms -
* the Open Source Content Mananagement System
*
* Copyright (C) 2002 - 2005 Alkacon Software (... | wrong order of static members
| src/org/opencms/workplace/tools/CmsHtmlIconButtonStyleEnum.java | wrong order of static members | <ide><path>rc/org/opencms/workplace/tools/CmsHtmlIconButtonStyleEnum.java
<ide> /*
<ide> * File : $Source: /alkacon/cvs/opencms/src/org/opencms/workplace/tools/CmsHtmlIconButtonStyleEnum.java,v $
<del> * Date : $Date: 2005/06/23 08:12:45 $
<del> * Version: $Revision: 1.4 $
<add> * Date : $Date: 2005/06/23 08:15:... | |
JavaScript | mit | 76df42b3b8efea194f16544d09708b9f9b5919d6 | 0 | kbrsh/moon,KingPixil/moon,KingPixil/moon,kbrsh/moon,KingPixil/moon | "use strict";
(function(window) {
var config = {
silent: false
}
var directives = {};
var components = {};
/**
* Converts attributes into key-value pairs
* @param {Node} node
* @return {Object} Key-Value pairs of Attributes
*/
var extractAttrs = function(node) {
var ... | src/core.js | "use strict";
(function(window) {
var config = {
silent: false
}
var directives = {};
var components = {};
/**
* Converts attributes into key-value pairs
* @param {Node} node
* @return {Object} Key-Value pairs of Attributes
*/
var extractAttrs = function(node) {
var ... | set display to none
| src/core.js | set display to none | <ide><path>rc/core.js
<ide> directives["m-show"] = function(el, val, vdom) {
<ide> var evaluated = new Function("return " + val);
<ide> if(!evaluated()) {
<del> el.style.display = '';
<add> el.style.display = 'none';
<ide> } else {
<ide> el.style.d... | |
Java | apache-2.0 | 9459cd8e0fc78103340b910ecabb9dd32a1887e6 | 0 | hackbuteer59/sakai,whumph/sakai,tl-its-umich-edu/sakai,Fudan-University/sakai,pushyamig/sakai,zqian/sakai,buckett/sakai-gitflow,tl-its-umich-edu/sakai,colczr/sakai,conder/sakai,introp-software/sakai,willkara/sakai,lorenamgUMU/sakai,udayg/sakai,noondaysun/sakai,rodriguezdevera/sakai,frasese/sakai,joserabal/sakai,OpenCol... | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2006, 2007, 2008, 2009 The Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (t... | textarea/FCKeditor/connector/src/java/org/sakaiproject/connector/fck/FCKConnectorServlet.java | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2006, 2007, 2008, 2009 The Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (t... | SAK-23444 - iSyllabus discover should search for child entities
git-svn-id: 667c1c35c2fd077c53b6a62e18ca3c02239ace82@315072 66ffb92e-73f9-0310-93c1-f5514f145a0a
| textarea/FCKeditor/connector/src/java/org/sakaiproject/connector/fck/FCKConnectorServlet.java | SAK-23444 - iSyllabus discover should search for child entities | <ide><path>extarea/FCKeditor/connector/src/java/org/sakaiproject/connector/fck/FCKConnectorServlet.java
<ide> }
<ide>
<ide> //Default providers to exclude, add addition with the property textarea.hiddenProviders if needed
<del>// hiddenProviders = Array.asList("");
<add>// hidden... | |
Java | bsd-3-clause | b23289c5dacc51841524f0e759777e548b93ad97 | 0 | jvican/scala,scala/scala,slothspot/scala,jvican/scala,felixmulder/scala,slothspot/scala,shimib/scala,lrytz/scala,felixmulder/scala,felixmulder/scala,lrytz/scala,martijnhoekstra/scala,lrytz/scala,lrytz/scala,felixmulder/scala,slothspot/scala,scala/scala,scala/scala,jvican/scala,martijnhoekstra/scala,slothspot/scala,feli... | /* ____ ____ ____ ____ ______ *\
** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala **
** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL **
** /_____/\____/\___/\____/____/ **
** ... | sources/scalac/ast/parser/Scanner.java | /* ____ ____ ____ ____ ______ *\
** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala **
** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL **
** /_____/\____/\___/\____/____/ **
** ... | modifications so keywords can be detected by XM...
modifications so keywords can be detected by XML tool dtd2scala
| sources/scalac/ast/parser/Scanner.java | modifications so keywords can be detected by XM... | <ide><path>ources/scalac/ast/parser/Scanner.java
<ide> token = EMPTY;
<ide> init();
<ide> nextToken();
<add> }
<add>
<add> /** only used to determine keywords. used in dtd2scala tool */
<add> public Scanner() {
<add> initKeywords();
<ide> }
<ide>
<ide> private void nextch() {
<... | |
Java | mit | bcd9965da7fdb1f386d0ba81cc6212112c344ac2 | 0 | Team4761/Run-Queue | package org.robockets.runqueue.client.views;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import java.awt.Insets;
import java.awt.event.ActionListener;
import javax.swing.*;
import org.robockets.runqueue.client.MainWin... | src/org/robockets/runqueue/client/views/MainView.java | package org.robockets.runqueue.client.views;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import java.awt.Insets;
import java.awt.event.ActionListener;
import javax.swing.*;
import org.robockets.runqueue.client.MainWin... | Turn off column resizing
| src/org/robockets/runqueue/client/views/MainView.java | Turn off column resizing | <ide><path>rc/org/robockets/runqueue/client/views/MainView.java
<ide> public class MainView {
<ide> private final int WIDTH = 500, HEIGHT = 280;
<ide> private final int ROWS = 2, COLUMNS = 1;
<del> private final int BUTTON_WIDTH = 100, BUTTON_HEIGHT = 30;
<add> private final int BUTTON_WIDTH = 100;
<ide> private fin... | |
JavaScript | apache-2.0 | e15aef5ee281ad0a5052b385c3c8b965979ddf91 | 0 | binary-com/binary-static,negar-binary/binary-static,raunakkathuria/binary-static,kellybinary/binary-static,4p00rv/binary-static,binary-static-deployed/binary-static,binary-static-deployed/binary-static,negar-binary/binary-static,negar-binary/binary-static,binary-static-deployed/binary-static,4p00rv/binary-static,kellyb... | const MenuSelector = (() => {
let array_sections,
go_back,
go_next;
const init = (sections, show_div = true) => {
array_sections = sections;
go_back = document.getElementById('go_back');
go_next = document.getElementById('go_next');
const $sidebar_... | src/javascript/_common/menu_selector.js | const MenuSelector = (() => {
let array_sections,
go_back,
go_next;
const init = (sections, show_div = true) => {
array_sections = sections;
go_back = document.getElementById('go_back');
go_next = document.getElementById('go_next');
const $sidebar_... | add promise returning method to menu selector
| src/javascript/_common/menu_selector.js | add promise returning method to menu selector | <ide><path>rc/javascript/_common/menu_selector.js
<ide> window.dispatchEvent(new Event('menu_selector_selected_shown'));
<ide> };
<ide>
<add> const selectedIsShown = () => {
<add> return new Promise(resolve => {
<add> if ($sections_with_hash.is(':visible')) {
<add> resol... | |
Java | mit | 8d4f01218190dfe09a2b0a7bc20167f8a0761c7e | 0 | aikar/TaskChain,aikar/TaskChain | /*
* Copyright (c) 2016 Daniel Ennis (Aikar) - MIT License
*
* 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... | sponge/src/main/java/co/aikar/taskchain/SpongeTaskChainFactory.java | /*
* Copyright (c) 2016 Daniel Ennis (Aikar) - MIT License
*
* 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... | More Sponge work
| sponge/src/main/java/co/aikar/taskchain/SpongeTaskChainFactory.java | More Sponge work | <ide><path>ponge/src/main/java/co/aikar/taskchain/SpongeTaskChainFactory.java
<ide>
<ide> @SuppressWarnings("WeakerAccess")
<ide> public class SpongeTaskChainFactory extends TaskChainFactory {
<del>
<ide> private SpongeTaskChainFactory(GameInterface impl) {
<ide> super(impl);
<ide> }
<del> public st... | |
Java | bsd-3-clause | d476b955046aee5d5f750111b567f5ed51bf85b8 | 0 | ShiftMediaProject/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc | /*
* libjingle
* Copyright 2015 Google Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the fo... | talk/app/webrtc/java/android/org/webrtc/EglBase.java | /*
* libjingle
* Copyright 2015 Google Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the fo... | Android EglBase: Add helper functions to query the surface size
BUG=webrtc:4742
R=glaznev@webrtc.org
Review URL: https://codereview.webrtc.org/1299543004 .
Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#9739}
| talk/app/webrtc/java/android/org/webrtc/EglBase.java | Android EglBase: Add helper functions to query the surface size | <ide><path>alk/app/webrtc/java/android/org/webrtc/EglBase.java
<ide> return eglSurface != EGL14.EGL_NO_SURFACE;
<ide> }
<ide>
<add> public int surfaceWidth() {
<add> final int widthArray[] = new int[1];
<add> EGL14.eglQuerySurface(eglDisplay, eglSurface, EGL14.EGL_WIDTH, widthArray, 0);
<add> return wi... | |
JavaScript | mit | 6f7db4ecc368a6bcbb313a7e3ea025a4526e9505 | 0 | roychoo/upload-invoices,anthonyraymond/react-redux-starter-kit,febobo/react-redux-start,bingomanatee/ridecell,nkostelnik/blaiseclicks,z81/PolarOS_Next,flftfqwxf/react-redux-starter-kit,dmassaneiro/integracao-continua,cyrilf/ecokit,kevinchiu/react-redux-starter-kit,levkus/react-overcounters2,dapplab/babel-client,flftfqw... | import React from 'react';
import ReactDOM from 'react-dom';
import Root from './containers/Root';
import configureStore from './stores';
const target = document.getElementById('root');
const store = configureStore(window.__INITIAL_STATE__, __DEBUG__);
const node = (
<Root store={store}
... | src/index.js | import React from 'react';
import ReactDOM from 'react-dom';
import Root from './containers/Root';
import configureStore from './stores';
const target = document.getElementById('root');
const store = configureStore(window.__INITIAL_STATE__, __DEBUG__);
const node = (
... | fix(app): cleanup import statements in app bootstrap
| src/index.js | fix(app): cleanup import statements in app bootstrap | <ide><path>rc/index.js
<del>import React from 'react';
<del>import ReactDOM from 'react-dom';
<del>import Root from './containers/Root';
<del>import configureStore from './stores';
<add>import React from 'react';
<add>import ReactDOM from 'react-dom';
<add... | |
Java | apache-2.0 | d0d0cc90b857bc0f286f8046bdb7673771377dee | 0 | rapidoid/rapidoid,rapidoid/rapidoid,rapidoid/rapidoid,rapidoid/rapidoid | package org.rapidoid.model.impl;
/*
* #%L
* rapidoid-model
* %%
* Copyright (C) 2014 - 2015 Nikolche Mihajlovski and 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
... | rapidoid-model/src/main/java/org/rapidoid/model/impl/ItemPropertyVar.java | package org.rapidoid.model.impl;
/*
* #%L
* rapidoid-model
* %%
* Copyright (C) 2014 - 2015 Nikolche Mihajlovski and 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
... | Preserving the value type on data binding.
| rapidoid-model/src/main/java/org/rapidoid/model/impl/ItemPropertyVar.java | Preserving the value type on data binding. | <ide><path>apidoid-model/src/main/java/org/rapidoid/model/impl/ItemPropertyVar.java
<ide>
<ide> import org.rapidoid.annotation.Authors;
<ide> import org.rapidoid.annotation.Since;
<add>import org.rapidoid.cls.Cls;
<ide> import org.rapidoid.model.Item;
<ide> import org.rapidoid.var.impl.AbstractVar;
<ide>
<ide>
<ide>... | |
JavaScript | mpl-2.0 | 4365ac483657081b18acc5624b550bfc0ba84d7e | 0 | AlexanderElias/oxe,AlexanderElias/jenie,AlexanderElias/jenie,AlexanderElias/oxe |
/*
TODO:
sort reverse
test array methods
figure out a way to not update removed items
*/
let Observer = {
splice () {
const self = this;
let startIndex = arguments[0];
let deleteCount = arguments[1];
let addCount = arguments.length > 2 ? arguments.length - 2 : 0;
if (typeof startIndex !== 'number... | src/observer.js |
/*
TODO:
sort reverse
test array methods
figure out a way to not update removed items
*/
let Observer = {
splice () {
const self = this;
let startIndex = arguments[0];
let deleteCount = arguments[1];
let addCount = arguments.length > 2 ? arguments.length - 2 : 0;
if (typeof startIndex !== 'number... | bug fixes and improvments
| src/observer.js | bug fixes and improvments | <ide><path>rc/observer.js
<ide>
<ide> while (addCount--) {
<ide> key = self.length;
<add>
<add> if (key in this === false) {
<add> Object.defineProperty(this, key, Observer.descriptor(key));
<add> }
<add>
<ide> self.$meta[key] = Observer.create(arguments[argumentIndex++], self.$meta.listener, self... | |
Java | apache-2.0 | 72e12c45041655a8854c21caa721aa50c7568eba | 0 | kinbod/deeplearning4j,kinbod/deeplearning4j,kinbod/deeplearning4j,huitseeker/deeplearning4j,huitseeker/deeplearning4j,kinbod/deeplearning4j,huitseeker/deeplearning4j,huitseeker/deeplearning4j,huitseeker/deeplearning4j,huitseeker/deeplearning4j,kinbod/deeplearning4j,huitseeker/deeplearning4j,kinbod/deeplearning4j | /*-
*
* * Copyright 2015 Skymind,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
* *
* * ... | deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/conf/NeuralNetConfiguration.java | /*-
*
* * Copyright 2015 Skymind,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
* *
* * ... | Update dropout javadoc. | deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/conf/NeuralNetConfiguration.java | Update dropout javadoc. | <ide><path>eeplearning4j-nn/src/main/java/org/deeplearning4j/nn/conf/NeuralNetConfiguration.java
<ide> * Dropout probability. This is the probability of <it>retaining</it> an activation. So dropOut(x) will keep an
<ide> * activation with probability x, and set to 0 with probability 1-x.<br>
<ide> ... | |
Java | mit | a638921178070be8918a3e71e73c597d9020c21a | 0 | funIntentions/chitchat | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.lamepancake.chitchat.DAO;
import com.lamepancake.chitchat.Chat;
import java.sql.PreparedStatement;
import java.sql.SQLExce... | src/com/lamepancake/chitchat/DAO/ChatDAOMySQLImpl.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.lamepancake.chitchat.DAO;
import com.lamepancake.chitchat.Chat;
import java.sql.PreparedStatement;
import java.sql.SQLExce... | Fix database bug; expose null pointer (can't find it)
| src/com/lamepancake/chitchat/DAO/ChatDAOMySQLImpl.java | Fix database bug; expose null pointer (can't find it) | <ide><path>rc/com/lamepancake/chitchat/DAO/ChatDAOMySQLImpl.java
<ide>
<ide> @Override
<ide> public int create(Chat c) throws SQLException
<del> {
<add> {
<add> int id = -1;
<ide> createChatStatement.clearParameters();
<ide> createChatStatement.setString(1, c.getName... | |
Java | apache-2.0 | d4513d62e69bd461b6a4dc987bff7730148ee8aa | 0 | sanderginn/isis,incodehq/isis,estatio/isis,incodehq/isis,sanderginn/isis,peridotperiod/isis,sanderginn/isis,peridotperiod/isis,howepeng/isis,estatio/isis,apache/isis,kidaa/isis,incodehq/isis,kidaa/isis,oscarbou/isis,howepeng/isis,apache/isis,niv0/isis,niv0/isis,niv0/isis,estatio/isis,peridotperiod/isis,oscarbou/isis,ap... | /*
* 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")... | example/application/todoapp/integtests/src/test/java/integration/tests/ToDoItemIntegTest.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")... | ISIS-964: fix for todoapp integ test (already in the archetype)
| example/application/todoapp/integtests/src/test/java/integration/tests/ToDoItemIntegTest.java | ISIS-964: fix for todoapp integ test (already in the archetype) | <ide><path>xample/application/todoapp/integtests/src/test/java/integration/tests/ToDoItemIntegTest.java
<ide> public void cannotModify() throws Exception {
<ide>
<ide> // when, then
<del> expectedExceptions.expectMessage("Always hidden");
<add> expectedExceptio... | |
Java | apache-2.0 | 5a84f682455839a0a357f7c14da1b722df580644 | 0 | cheng-li/pyramid,cheng-li/pyramid | package edu.neu.ccs.pyramid.experiment;
import edu.neu.ccs.pyramid.active_learning.BestVsSecond;
import edu.neu.ccs.pyramid.classification.boosting.lktb.LKTBConfig;
import edu.neu.ccs.pyramid.classification.boosting.lktb.LKTreeBoost;
import edu.neu.ccs.pyramid.configuration.Config;
import edu.neu.ccs.pyramid.dataset.*... | src/main/java/edu/neu/ccs/pyramid/experiment/Exp3.java | package edu.neu.ccs.pyramid.experiment;
import edu.neu.ccs.pyramid.classification.boosting.lktb.LKTBConfig;
import edu.neu.ccs.pyramid.classification.boosting.lktb.LKTreeBoost;
import edu.neu.ccs.pyramid.configuration.Config;
import edu.neu.ccs.pyramid.dataset.*;
import edu.neu.ccs.pyramid.elasticsearch.SingleLabelInd... | add uncertain set
| src/main/java/edu/neu/ccs/pyramid/experiment/Exp3.java | add uncertain set | <ide><path>rc/main/java/edu/neu/ccs/pyramid/experiment/Exp3.java
<ide> package edu.neu.ccs.pyramid.experiment;
<ide>
<add>import edu.neu.ccs.pyramid.active_learning.BestVsSecond;
<ide> import edu.neu.ccs.pyramid.classification.boosting.lktb.LKTBConfig;
<ide> import edu.neu.ccs.pyramid.classification.boosting.lktb.LKTr... | |
Java | apache-2.0 | 50970572c3af5216aecd86b4fd88908178005166 | 0 | nasa/MCT-Plugins | /*******************************************************************************
* Mission Control Technologies, Copyright (c) 2009-2012, United States Government
* as represented by the Administrator of the National Aeronautics and Space
* Administration. All rights reserved.
*
* The MCT platform is licensed und... | scenario/src/main/java/gov/nasa/arc/mct/scenario/component/RepositoryMoveHandler.java | /*******************************************************************************
* Mission Control Technologies, Copyright (c) 2009-2012, United States Government
* as represented by the Administrator of the National Aeronautics and Space
* Administration. All rights reserved.
*
* The MCT platform is licensed und... | [Scenario] Remove unneeded dialog
Remove unneeded dialog which appears when
moving between repositories; this is now
clarified by the Move option that appears
when dragging between repositories.
| scenario/src/main/java/gov/nasa/arc/mct/scenario/component/RepositoryMoveHandler.java | [Scenario] Remove unneeded dialog | <ide><path>cenario/src/main/java/gov/nasa/arc/mct/scenario/component/RepositoryMoveHandler.java
<ide> setDefaultCloseOperation(worker.isDone() ? DISPOSE_ON_CLOSE : DO_NOTHING_ON_CLOSE);
<ide> if (worker.isDone()) {
<ide> try {
<del> Map<String, Collection<String>> result = worker.get();
<del> ... | |
JavaScript | isc | 4fcda72566f09c1bde94d37100dd891437a8bc5e | 0 | derhuerst/vbb-station-photos | 'use strict'
module.exports = {
'900000100003': { // S+U Alexanderplatz
U2: {
label: ['flickr', 'ingolfbln', 6977132297],
platform: ['flickr', 'ingolfbln', 6831050998],
entrance: null
},
U5: {
label: ['flickr', 'ingolfbln', 6904300029],
platform: ['flickr', 'ingolfbln', 6904572417],
entrance... | photos.js | 'use strict'
module.exports = {
'900000100003': { // S+U Alexanderplatz
U2: {
label: ['flickr', 'ingolfbln', 6977132297],
platform: ['flickr', 'ingolfbln', 6831050998],
entrance: null
},
U5: {
label: ['flickr', 'ingolfbln', 6904300029],
platform: ['flickr', 'ingolfbln', 6904572417],
entrance... | add entrance for 'Pankstraße'
| photos.js | add entrance for 'Pankstraße' | <ide><path>hotos.js
<ide> U8: {
<ide> label: ['flickr', 'ingolfbln', 7618016404],
<ide> platform: ['flickr', 'ingolfbln', 7618030952],
<del> entrance: null
<add> entrance: ['flickr', 'ingolfbln', 7618136362]
<ide> }
<ide> },
<ide> '900000085104': { // U Paracelsus-Bad | |
Java | apache-2.0 | c22b0939877fa364c51aae5750ca9e9a37ca613b | 0 | shekibobo/gh4a,edyesed/gh4a,Bloody-Badboy/gh4a,Bloody-Badboy/gh4a,DeLaSalleUniversity-Manila/octodroid-ToastyKrabstix,DeLaSalleUniversity-Manila/octodroid-ToastyKrabstix,slapperwan/gh4a,edyesed/gh4a,shineM/gh4a,shekibobo/gh4a,sauloaguiar/gh4a,AKiniyalocts/gh4a,shineM/gh4a,slapperwan/gh4a,AKiniyalocts/gh4a,sauloaguiar/g... | /*
* Copyright 2011 Azwan Adli Abdullah
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | src/com/gh4a/fragment/EventListFragment.java | /*
* Copyright 2011 Azwan Adli Abdullah
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | Fix valid payload checking
| src/com/gh4a/fragment/EventListFragment.java | Fix valid payload checking | <ide><path>rc/com/gh4a/fragment/EventListFragment.java
<ide> protected void onItemClick(Event event) {
<ide> Gh4Application context = Gh4Application.get(getActivity());
<ide>
<del> if (!FeedAdapter.hasInvalidPayload(event)) {
<add> if (FeedAdapter.hasInvalidPayload(event)) {
<ide> ... | |
Java | apache-2.0 | 82e55ebf1fc81e654ebcd3b2a99e24065784d032 | 0 | svn2github/commons-vfs2,svn2github/commons-vfs2,svn2github/commons-vfs2 | /*
* 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 ... | core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileSystemConfigBuilder.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 ... | [VFS-167][FTP] Add comment, you need to set passive mode for most proxies.
git-svn-id: c455d203a03ec41bf444183aad31e7cce55db786@1591795 13f79535-47bb-0310-9956-ffa450edef68
| core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileSystemConfigBuilder.java | [VFS-167][FTP] Add comment, you need to set passive mode for most proxies. | <ide><path>ore/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpFileSystemConfigBuilder.java
<ide>
<ide> /**
<ide> * Sets the Proxy.
<add> * <P>
<add> * You might need to make sure that {@link #setPassiveMode(FileSystemOptions, boolean) passive mode}
<add> * is activated.
<ide> *
<ide> ... | |
Java | mit | 1895842155ba51c01ab53c06350b785fcd1e4ef1 | 0 | braintree/braintree_android,braintree/braintree_android,braintree/braintree_android,braintree/braintree_android | package com.braintreepayments.api;
import android.content.Context;
import android.content.Intent;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.wallet.Cart;
import java.util.List;
/**
* Used to start {@link BraintreePaymentActivity} and {@link PaymentButton} with specified o... | Drop-In/src/main/java/com/braintreepayments/api/PaymentRequest.java | package com.braintreepayments.api;
import android.content.Context;
import android.content.Intent;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.wallet.Cart;
import java.util.List;
/**
* Used to start {@link BraintreePaymentActivity} and {@link PaymentButton} with specified o... | Fix PaymentRequest crash when Google Play Services is not present
| Drop-In/src/main/java/com/braintreepayments/api/PaymentRequest.java | Fix PaymentRequest crash when Google Play Services is not present | <ide><path>rop-In/src/main/java/com/braintreepayments/api/PaymentRequest.java
<ide> dest.writeString(mAuthorization);
<ide> dest.writeString(mAmount);
<ide> dest.writeString(mCurrencyCode);
<del> dest.writeParcelable(mAndroidPayCart, 0);
<del> dest.writeByte(mAndroidPayShippingAddr... | |
Java | apache-2.0 | f8664ee75c17c9ff5a7692b5bd86d607dccf2d50 | 0 | MatthewTamlin/Spyglass | package com.matthewtamlin.spyglass.consumer;
import android.content.Context;
import android.content.res.TypedArray;
import android.os.Looper;
import android.util.AttributeSet;
import android.view.View;
import com.matthewtamlin.java_utilities.testing.Tested;
import java.lang.reflect.InvocationTargetException;
import ... | consumer/src/main/java/com/matthewtamlin/spyglass/consumer/Spyglass.java | package com.matthewtamlin.spyglass.consumer;
import android.content.Context;
import android.content.res.TypedArray;
import android.os.Looper;
import android.util.AttributeSet;
import android.view.View;
import com.matthewtamlin.java_utilities.testing.Tested;
import java.lang.reflect.InvocationTargetException;
import ... | Added annotation source to builder
| consumer/src/main/java/com/matthewtamlin/spyglass/consumer/Spyglass.java | Added annotation source to builder | <ide><path>onsumer/src/main/java/com/matthewtamlin/spyglass/consumer/Spyglass.java
<ide> private View target;
<ide>
<ide> /**
<add> * The class to look for annotations in. This property is mandatory and must be non-null prior to calling
<add> * {@link #build()}. The target must be an instance of this class.
<a... | |
Java | apache-2.0 | 05a432e7fd6593fa5ec0599b26cda40513463db8 | 0 | apache/commons-dbutils,mohanaraosv/commons-dbutils,apache/commons-dbutils,mohanaraosv/commons-dbutils,kettas/commons-dbutils | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/java/org/apache/commons/dbutils/ResultSetIterator.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | removed trailing spaces
git-svn-id: a0b68194c4535a6dc73c52d151f88c541cb4b11d@1171752 13f79535-47bb-0310-9956-ffa450edef68
| src/java/org/apache/commons/dbutils/ResultSetIterator.java | removed trailing spaces | <ide><path>rc/java/org/apache/commons/dbutils/ResultSetIterator.java
<ide> * when you want to present a non-database application layer with domain
<ide> * neutral data.
<ide> * </p>
<del> *
<add> *
<ide> * <p>
<ide> * This implementation requires the <code>ResultSet.isLast()</code> method
<ide> * to be implement... | |
Java | mit | 988b327efe5a3c0c1b8323425f982a8cea9bd25b | 0 | wskplho/AntennaPod,ChaoticMind/AntennaPod,domingos86/AntennaPod,queenp/AntennaPod,the100rabh/AntennaPod,wooi/AntennaPod,keunes/AntennaPod,hgl888/AntennaPod,hgl888/AntennaPod,wooi/AntennaPod,johnjohndoe/AntennaPod,corecode/AntennaPod,ChaoticMind/AntennaPod,volhol/AntennaPod,SpicyCurry/AntennaPod,LTUvac/AntennaPod,jimula... | package de.danoeh.antennapod.asynctask;
import android.content.Context;
import android.media.MediaMetadataRetriever;
import android.net.Uri;
import android.util.Log;
import android.webkit.MimeTypeMap;
import com.squareup.picasso.Cache;
import com.squareup.picasso.Downloader;
import com.squareup.picasso.LruCache;
impo... | src/de/danoeh/antennapod/asynctask/PicassoProvider.java | package de.danoeh.antennapod.asynctask;
import android.content.Context;
import android.media.MediaMetadataRetriever;
import android.net.Uri;
import android.util.Log;
import android.webkit.MimeTypeMap;
import com.squareup.picasso.Cache;
import com.squareup.picasso.Downloader;
import com.squareup.picasso.LruCache;
impo... | Fixed NullPointerException in PicassoProvider
| src/de/danoeh/antennapod/asynctask/PicassoProvider.java | Fixed NullPointerException in PicassoProvider | <ide><path>rc/de/danoeh/antennapod/asynctask/PicassoProvider.java
<ide> mmr.setDataSource(uri.getPath());
<ide> byte[] data = mmr.getEmbeddedPicture();
<ide> mmr.release();
<del> return new Response(new ByteArrayInputStream(data), true, data... | |
Java | apache-2.0 | 7ca8e6b8407ef8b8608832f7962e9724b26b02a8 | 0 | mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid,mdunker/usergrid | package org.apache.usergrid.persistence.collection.cassandra;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Properties;
import java.util.Set;
import org.jukito.Jukito... | stack/corepersistence/collection/src/test/java/org/apache/usergrid/persistence/collection/cassandra/DynamicCassandraConfigTest.java | package org.apache.usergrid.persistence.collection.cassandra;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Properties;
import java.util.Set;
import org.jukito.Jukito... | found small bug in test where config was not removed from archaius: little impact
| stack/corepersistence/collection/src/test/java/org/apache/usergrid/persistence/collection/cassandra/DynamicCassandraConfigTest.java | found small bug in test where config was not removed from archaius: little impact | <ide><path>tack/corepersistence/collection/src/test/java/org/apache/usergrid/persistence/collection/cassandra/DynamicCassandraConfigTest.java
<ide> @AfterClass
<ide> public static void restore() throws Exception {
<ide> write( original );
<del> finalConfig.removeConfiguration( finalConfig );
<add... | |
Java | apache-2.0 | fdf97f23bb80d5f80942895856266c11feee8feb | 0 | anchela/jackrabbit-oak,apache/jackrabbit-oak,apache/jackrabbit-oak,mreutegg/jackrabbit-oak,mreutegg/jackrabbit-oak,amit-jain/jackrabbit-oak,trekawek/jackrabbit-oak,trekawek/jackrabbit-oak,trekawek/jackrabbit-oak,anchela/jackrabbit-oak,amit-jain/jackrabbit-oak,amit-jain/jackrabbit-oak,amit-jain/jackrabbit-oak,anchela/ja... | /*
* 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 ... | oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexPlanner.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 ... | OAK-2335 - IndexPlanner does not return plan for mixin based queries
A nt:based based rule should be applicable for all cases
git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1644383 13f79535-47bb-0310-9956-ffa450edef68
| oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexPlanner.java | OAK-2335 - IndexPlanner does not return plan for mixin based queries | <ide><path>ak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexPlanner.java
<ide> return rule;
<ide> }
<ide> }
<add> //nt:base is applicable for all. This specific condition is
<add> //required to support m... | |
Java | apache-2.0 | 0c1de967bd971cc003e41ad5b86c0c9936badc16 | 0 | SnowVolf/FF-Translator,SnowVolf/FF-Translator,SnowVolf/FF-Translator | package ru.SnowVolf.translate.util;
import android.util.Base64;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.security.Key;
import java.security.Ke... | app/src/main/java/ru/SnowVolf/translate/util/KeystoreUtil.java | package ru.SnowVolf.translate.util;
import android.util.Base64;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.security.Key;
import java.security.Ke... | fixes
| app/src/main/java/ru/SnowVolf/translate/util/KeystoreUtil.java | fixes | <ide><path>pp/src/main/java/ru/SnowVolf/translate/util/KeystoreUtil.java
<ide> * Created by Snow Volf on 15.07.2017, 14:48
<ide> */
<ide>
<del>public class KeystoreUtil
<del>{
<add>public class KeystoreUtil {
<ide> private static final int MAGIC = -1395514454;
<ide> private static final String FILE_NAME = "F... | |
JavaScript | mit | 2bbd591936eeb9cca0a287a862b4cd3bd1e46560 | 0 | MarkEWaite/jenkins,v1v/jenkins,daniel-beck/jenkins,ikedam/jenkins,viqueen/jenkins,DanielWeber/jenkins,rsandell/jenkins,viqueen/jenkins,MarkEWaite/jenkins,patbos/jenkins,MarkEWaite/jenkins,patbos/jenkins,damianszczepanik/jenkins,patbos/jenkins,pjanouse/jenkins,daniel-beck/jenkins,daniel-beck/jenkins,MarkEWaite/jenkins,j... | import $ from 'jquery';
import { getWindow } from 'window-handle';
import page from '../../util/page';
import tableMetadata from './model/ConfigTableMetaData';
import behaviorShim from '../../util/behavior-shim';
import jenkinsLocalStorage from '../../util/jenkinsLocalStorage';
/**
* Extracting this call from outside... | war/src/main/js/widgets/config/tabbar.js | import $ from 'jquery';
import { getWindow } from 'window-handle';
import page from '../../util/page';
import tableMetadata from './model/ConfigTableMetaData';
import behaviorShim from '../../util/behavior-shim';
import jenkinsLocalStorage from '../../util/jenkinsLocalStorage';
/**
* Extracting this call from outside... | Update war/src/main/js/widgets/config/tabbar.js
Co-Authored-By: Oleg Nenashev <4ee7d312f1006a91e3e4abf62d17d00b82d791a2@gmail.com>
(cherry picked from commit 7f19c4de5bfa9df58c54a4c04081800f516a8482)
| war/src/main/js/widgets/config/tabbar.js | Update war/src/main/js/widgets/config/tabbar.js | <ide><path>ar/src/main/js/widgets/config/tabbar.js
<ide>
<ide> /**
<ide> * Extracting this call from outside of the addPageTabs due to a regression
<del> * in 2.216/2.217
<add> * in 2.216/2.217 (see JENKINS-61429)
<ide> *
<ide> * The proxied call to Behaviour.specify needs to be called from outside of the
<ide> * ... | |
Java | apache-2.0 | 34e481af2b84ccd50c125aa12bc7f2882454de72 | 0 | comcp/android-StupidMethod | package com.stupid.method.util;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.Map;
import java.util.WeakHashMap;
import android.annotation.Suppres... | StupidMethod/src/com/stupid/method/util/SharedPreferencesHelper.java | package com.stupid.method.util;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.Map;
import java.util.WeakHashMap;
import android.annotation.Suppre... | SharedPreferencesHelper | StupidMethod/src/com/stupid/method/util/SharedPreferencesHelper.java | SharedPreferencesHelper | <ide><path>tupidMethod/src/com/stupid/method/util/SharedPreferencesHelper.java
<ide> package com.stupid.method.util;
<del>
<ide>
<ide> import java.io.ByteArrayInputStream;
<ide> import java.io.ByteArrayOutputStream;
<ide> * **/
<ide> public class SharedPreferencesHelper {
<ide>
<del> private static final String e... | |
Java | epl-1.0 | 871e142e85d6fd94530caa09c1a5eebc56bf3978 | 0 | vadimnehta/mdht,sarpkayanehta/mdht,sarpkayanehta/mdht,drbgfc/mdht,vadimnehta/mdht,sarpkayanehta/mdht,drbgfc/mdht,mdht/mdht,vadimnehta/mdht,drbgfc/mdht,drbgfc/mdht,vadimnehta/mdht,mdht/mdht,vadimnehta/mdht,mdht/mdht,drbgfc/mdht,drbgfc/mdht,mdht/mdht,sarpkayanehta/mdht,sarpkayanehta/mdht,vadimnehta/mdht,sarpkayanehta/mdh... | /*******************************************************************************
* Copyright (c) 2009, 2012 David A Carlson and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution... | core/plugins/org.openhealthtools.mdht.uml.transform/src/org/openhealthtools/mdht/uml/transform/ecore/TransformAbstract.java | /*******************************************************************************
* Copyright (c) 2009, 2012 David A Carlson and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution... | Fix issue with overriding constrains with same name from base class | core/plugins/org.openhealthtools.mdht.uml.transform/src/org/openhealthtools/mdht/uml/transform/ecore/TransformAbstract.java | Fix issue with overriding constrains with same name from base class | <ide><path>ore/plugins/org.openhealthtools.mdht.uml.transform/src/org/openhealthtools/mdht/uml/transform/ecore/TransformAbstract.java
<ide> import org.eclipse.uml2.uml.OpaqueExpression;
<ide> import org.eclipse.uml2.uml.Property;
<ide> import org.eclipse.uml2.uml.UMLPackage;
<add>import org.openhealthtools.mdht.uml.com... | |
Java | mpl-2.0 | bd5ca24d8c3b4b12c410aaae00a581c0f5cc89d4 | 0 | msteinhoff/hello-world | 4c85b673-cb8e-11e5-bb93-00264a111016 | src/main/java/HelloWorld.java | 4c76fba8-cb8e-11e5-9458-00264a111016 | I finished programming, there is nothing left to program | src/main/java/HelloWorld.java | I finished programming, there is nothing left to program | <ide><path>rc/main/java/HelloWorld.java
<del>4c76fba8-cb8e-11e5-9458-00264a111016
<add>4c85b673-cb8e-11e5-bb93-00264a111016 | |
JavaScript | mit | 903552b0c3fae7380677a927a7121e876c576138 | 0 | indexzero/errs,brianloveswords/errs | /*
* errs.js: Simple error creation and passing utilities.
*
* (C) 2012, Nodejitsu Inc.
* MIT LICENSE
*
*/
var events = require('events'),
util = require('util');
//
// Container for registered error types.
//
exports.registered = {};
//
// ### function create (type, opts)
// #### @type {string} **Optional... | lib/errs.js | /*
* errs.js: Simple error creation and passing utilities.
*
* (C) 2012, Nodejitsu Inc.
* MIT LICENSE
*
*/
var events = require('events'),
util = require('util');
//
// Container for registered error types.
//
exports.registered = {};
//
// ### function create (type, opts)
// #### @type {string} **Optional... | [minor] added reference to the spec
| lib/errs.js | [minor] added reference to the spec | <ide><path>ib/errs.js
<ide> Object.keys(err).forEach(function (key) {
<ide> // in node v0.4 v8 errors where treated differently
<ide> // we need to make sure we aren't merging these properties
<add> // http://code.google.com/p/v8/issues/detail?id=1215
<ide> if(['stack', 'type', 'arguments', 'message'].... | |
JavaScript | mit | 65a9ad3be00548482762d717e90b29556fec386a | 0 | dmoll1974/lt-dash,dmoll1974/lt-dash,dmoll1974/lt-dash,dmoll1974/lt-dash | 'use strict';
module.exports = function(app) {
var users = require('../../app/controllers/users.server.controller');
var dashboards = require('../../app/controllers/dashboards.server.controller');
// Dashboards Routes
app.route('/dashboards')
.get(dashboards.list)
.post(users.requiresLogin, dashboards.create)... | app/routes/dashboards.server.routes.js | 'use strict';
module.exports = function(app) {
var users = require('../../app/controllers/users.server.controller');
var dashboards = require('../../app/controllers/dashboards.server.controller');
// Dashboards Routes
app.route('/dashboards')
.get(dashboards.list)
.post(users.requiresLogin, dashboards.create)... | addede middleware
| app/routes/dashboards.server.routes.js | addede middleware | <ide><path>pp/routes/dashboards.server.routes.js
<ide> .get(dashboards.list)
<ide> .post(users.requiresLogin, dashboards.create);
<ide>
<del> app.route('/dashboards/:dashboardId')
<add> app.route('dashboards/:productName/:dashboardName')
<ide> .get(dashboards.read)
<ide> .put(users.requiresLogin, dashboards.ha... | |
JavaScript | apache-2.0 | 58fcb02ea99d2b6c0f65101d0a373689662c20a5 | 0 | IoSL-INav/backend | /**
* IoSL-INav routes/hotspots
* SNET TU Berlin
* using PIazza code base
*
* Hotspots specific endpoints
*/
/* Variables and configurations. */
var express = require('express');
var Hotspot = require('./../models/hotspot');
var config = require('./../config');
var controller = require('./../controllers/hotsp... | routes/hotspots.js | /**
* IoSL-INav routes/hotspots
* SNET TU Berlin
* using PIazza code base
*
* Hotspots specific endpoints
*/
/* Variables and configurations. */
var express = require('express');
var Hotspot = require('./../models/hotspot');
var config = require('./../config');
var controller = require('./../controllers/hotsp... | Change of routes.
| routes/hotspots.js | Change of routes. | <ide><path>outes/hotspots.js
<ide> router.route('/')
<ide> .get(config.authenticate, controller.getAllHotspots);
<ide>
<add>router.route('/active_friends')
<add> .get(config.authenticate, controller.getActiveFriends);
<add>
<ide> router.route('/:hid')
<ide> .get(config.authenticate, controller.getHotspot);
... | |
JavaScript | mit | cb3e6f3cf60df232250a494dd9a778053835e65f | 0 | NekR/webpack,SimenB/webpack,NekR/webpack,webpack/webpack,SimenB/webpack,EliteScientist/webpack,EliteScientist/webpack,SimenB/webpack,webpack/webpack,webpack/webpack,SimenB/webpack,webpack/webpack | /*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const RequestShortener = require("./RequestShortener");
const SizeFormatHelpers = require("./SizeFormatHelpers");
const formatLocation = require("./formatLocation");
const identifierUtils = require("./util... | lib/Stats.js | /*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const RequestShortener = require("./RequestShortener");
const SizeFormatHelpers = require("./SizeFormatHelpers");
const formatLocation = require("./formatLocation");
const identifierUtils = require("./util... | Preset option for errors & warnings only | lib/Stats.js | Preset option for errors & warnings only | <ide><path>ib/Stats.js
<ide> errors: true,
<ide> moduleTrace: true
<ide> };
<add> case "errors-warnings":
<add> return {
<add> all: false,
<add> errors: true,
<add> warnings: true
<add> };
<ide> default:
<ide> return {};
<ide> } | |
JavaScript | isc | b8fcd1fbf2decccac229d2d15ff749f5eb688dfb | 0 | macmillanpublishers/bookmaker,macmillanpublishers/bookmaker,macmillanpublishers/bookmaker,macmillanpublishers/bookmaker | var fs = require('fs');
var cheerio = require('cheerio');
var file = process.argv[2];
var srcEl = process.argv[3];
var srcType = process.argv[4];
var srcClass = process.argv[5];
if (process.argv[6] > 0) {
var num = process.argv[6] - 1;
var ss = "[" + num.toString() + "]";
} else {
var ss = "";
}
var destEl = proc... | core/utilities/movesection.js | var fs = require('fs');
var cheerio = require('cheerio');
var file = process.argv[2];
var srcEl = process.argv[3];
var srcType = process.argv[4];
var srcClass = process.argv[5];
var ss = process.argv[6] - 1;
var destEl = process.argv[7];
var destType = process.argv[8];
var destClass = process.argv[9];
var ds = process.... | revising section sequence logic
| core/utilities/movesection.js | revising section sequence logic | <ide><path>ore/utilities/movesection.js
<ide> var srcEl = process.argv[3];
<ide> var srcType = process.argv[4];
<ide> var srcClass = process.argv[5];
<del>var ss = process.argv[6] - 1;
<add>if (process.argv[6] > 0) {
<add> var num = process.argv[6] - 1;
<add> var ss = "[" + num.toString() + "]";
<add>} else {
<add> ... | |
Java | apache-2.0 | error: pathspec 'server/src/main/java/de/oliver_heger/mediastore/client/pages/overview/OverviewCallbackFactory.java' did not match any file(s) known to git
| c021e884ad385515e8d32cd0f987421219b23a5e | 1 | oheger/LineDJ | package de.oliver_heger.mediastore.client.pages.overview;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.view.client.HasData;
import de.oliver_heger.mediastore.shared.search.MediaSearchServiceAsync;
import de.oliver_heger.mediastore.shared.search.SearchResult;
/**
* <p>
* Defi... | server/src/main/java/de/oliver_heger/mediastore/client/pages/overview/OverviewCallbackFactory.java | Added OverviewCallbackFactory interface. | server/src/main/java/de/oliver_heger/mediastore/client/pages/overview/OverviewCallbackFactory.java | Added OverviewCallbackFactory interface. | <ide><path>erver/src/main/java/de/oliver_heger/mediastore/client/pages/overview/OverviewCallbackFactory.java
<add>package de.oliver_heger.mediastore.client.pages.overview;
<add>
<add>import com.google.gwt.user.client.rpc.AsyncCallback;
<add>import com.google.gwt.view.client.HasData;
<add>
<add>import de.oliver_heger.me... | |
Java | apache-2.0 | f769991e62dfdf4e401e772aa904dd707945c439 | 0 | dachuanz/rabbitmq-rpc |
package org.apache.qpid.contrib.json.utils;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import org.apache.commons.compress.compresso... | src/org/apache/qpid/contrib/json/utils/BZip2Utils.java |
package org.apache.qpid.contrib.json.utils;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import org.apache.commons.compress.compresso... | Update BZip2Utils.java | src/org/apache/qpid/contrib/json/utils/BZip2Utils.java | Update BZip2Utils.java | <ide><path>rc/org/apache/qpid/contrib/json/utils/BZip2Utils.java
<ide> import org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream;
<ide>
<ide> /**
<add> * bzip 压缩比更高
<ide> * @author zdc
<ide> * @since 2015年5月28日
<ide> */ | |
Java | apache-2.0 | 71fb611bf61fd20b87b84d5b842c210865ffceff | 0 | greese/dasein-cloud-aws,OSS-TheWeatherCompany/dasein-cloud-aws,daniellemayne/dasein-cloud-aws_old,jeffrey-yan/dasein-cloud-aws,maksimov/dasein-cloud-aws,maksimov/dasein-cloud-aws-old,TheWeatherCompany/dasein-cloud-aws,drewlyall/dasein-cloud-aws,dasein-cloud/dasein-cloud-aws,daniellemayne/dasein-cloud-aws | /**
* Copyright (C) 2009-2014 Dell, Inc.
* See annotations for authorship information
*
* ====================================================================
* 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 co... | src/main/java/org/dasein/cloud/aws/compute/EC2Instance.java | /**
* Copyright (C) 2009-2014 Dell, Inc.
* See annotations for authorship information
*
* ====================================================================
* 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 co... | TheWeatherCompany/grid-api/issues/#722
Return userData value for instances in plaintext
| src/main/java/org/dasein/cloud/aws/compute/EC2Instance.java | TheWeatherCompany/grid-api/issues/#722 | <ide><path>rc/main/java/org/dasein/cloud/aws/compute/EC2Instance.java
<ide> getProvider(),
<ide> getProvider().getEc2Url()
<ide> );
<del> return callable.call();
<add> String encodedUserDataValue = callable.call();
<add> return new String(Base64.decodeBase64(encodedUserDataValue));
<ide> } catch( E... | |
Java | apache-2.0 | ab3c0ef88a77b6a7572375188c5346c8f55d3ee7 | 0 | leerduo/DanmakuFlameMaster,Jaeandroid/DanmakuFlameMaster,PC-ai/DanmakuFlameMaster,xiaomeixw/DanmakuFlameMaster,whstudy/DanmakuFlameMaster,jwzhangjie/DanmakuFlameMaster,jackeychens/DanmakuFlameMaster,yoyojacky/DanmakuFlameMaster,AbooJan/DanmakuFlameMaster,happycodinggirl/DanmakuFlameMaster,cgpllx/DanmakuFlameMaster,chua... |
package master.flame.danmaku.danmaku.model;
public class SpecialDanmaku extends BaseDanmaku {
public float beginX, beginY;
public float endX, endY;
public float deltaX, deltaY;
public long translationDuration;
public long translationStartDelay;
public int beginAlpha;
... | DanmakuFlameMaster/src/main/java/master/flame/danmaku/danmaku/model/SpecialDanmaku.java |
package master.flame.danmaku.danmaku.model;
public class SpecialDanmaku extends BaseDanmaku {
public float beginX, beginY;
public float endX, endY;
public float deltaX, deltaY;
public long translationDuration;
public long translationStartDelay;
public int beginAlpha;
... | SpecialDanmaku:Apply VISIBLE_RESET_FLAG
| DanmakuFlameMaster/src/main/java/master/flame/danmaku/danmaku/model/SpecialDanmaku.java | SpecialDanmaku:Apply VISIBLE_RESET_FLAG | <ide><path>anmakuFlameMaster/src/main/java/master/flame/danmaku/danmaku/model/SpecialDanmaku.java
<ide> currStateValues[2] = currX + paintWidth;
<ide> currStateValues[3] = currY + paintHeight;
<ide>
<del> this.visibility = isOutside() ? INVISIBLE : VISIBLE;
<add> this.setVisibility(!isOut... | |
Java | mpl-2.0 | 4733384b8499bece99038f54c41fc3af7b057d47 | 0 | deanhiller/databus,deanhiller/databus,deanhiller/databus,deanhiller/databus,deanhiller/databus,deanhiller/databus,deanhiller/databus | package controllers.gui;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import models.message.ChartVarMeta;
import models.message.StreamEditor;
import models.message.StreamModule;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
... | webapp/app/controllers/gui/MyDataStreams.java | package controllers.gui;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import models.message.ChartVarMeta;
import models.message.StreamEditor;
import models.message.StreamModule;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
... | fix the edit when changing modules so params get cleared out
| webapp/app/controllers/gui/MyDataStreams.java | fix the edit when changing modules so params get cleared out | <ide><path>ebapp/app/controllers/gui/MyDataStreams.java
<ide>
<ide> //apply parameters here...decode and re-encode StreamEditor
<ide> Map<String, String[]> paramMap = params.all();
<del>
<add> Map<String, String> params = module.getParams();
<add> params.clear(); //clear whatever the previous module was befo... | |
Java | apache-2.0 | a916944524dbc4bc04ceef6ebabde3f1e01f4449 | 0 | okankurtulus/droidparts,vovan888/droidparts,droidparts/droidparts,b-cuts/droidparts,yanchenko/droidparts | /**
* Copyright 2013 Alex Yanchenko
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | droidparts/src/org/droidparts/widget/ClearableEditText.java | /**
* Copyright 2013 Alex Yanchenko
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | ClearableEditText: reverted to old icon. | droidparts/src/org/droidparts/widget/ClearableEditText.java | ClearableEditText: reverted to old icon. | <ide><path>roidparts/src/org/droidparts/widget/ClearableEditText.java
<ide> private void init() {
<ide> xD = getCompoundDrawables()[2];
<ide> if (xD == null) {
<del> xD = getResources().getDrawable(getDefaultClearIconId());
<add> xD = getResources()
<add> .getDrawable(android.R.drawable.presence_offline);
... | |
Java | bsd-2-clause | 0cc92339cacc525cd4d3ef422efe2bfba03e826b | 0 | JFormDesigner/RichTextFX,JFormDesigner/RichTextFX,JordanMartinez/RichTextFX,JordanMartinez/RichTextFX,cemartins/RichTextFX,TomasMikula/RichTextFX,FXMisc/RichTextFX,afester/RichTextFX,afester/RichTextFX,FXMisc/RichTextFX,TomasMikula/RichTextFX,MewesK/RichTextFX | package codearea.control;
import inhibeans.property.ReadOnlyIntegerWrapper;
import java.util.ArrayList;
import java.util.List;
import javafx.beans.binding.StringBinding;
import javafx.beans.value.ObservableIntegerValue;
import javafx.beans.value.ObservableStringValue;
import javafx.collections.FXCollections;
import ... | codearea/src/main/java/codearea/control/StyledTextDocument.java | package codearea.control;
import java.util.ArrayList;
import java.util.List;
import javafx.beans.binding.StringBinding;
import javafx.beans.property.ReadOnlyIntegerWrapper;
import javafx.beans.value.ObservableIntegerValue;
import javafx.beans.value.ObservableStringValue;
import javafx.collections.FXCollections;
impor... | Use InhiBeans to ensure consistency of text and length properties of StyledTextDocument.
| codearea/src/main/java/codearea/control/StyledTextDocument.java | Use InhiBeans to ensure consistency of text and length properties of StyledTextDocument. | <ide><path>odearea/src/main/java/codearea/control/StyledTextDocument.java
<ide> package codearea.control;
<add>
<add>import inhibeans.property.ReadOnlyIntegerWrapper;
<ide>
<ide> import java.util.ArrayList;
<ide> import java.util.List;
<ide>
<ide> import javafx.beans.binding.StringBinding;
<del>import javafx.beans.pr... | |
Java | apache-2.0 | 88e63beda9816b4ac9f8869114102e1d6a9871ed | 0 | lucafavatella/intellij-community,allotria/intellij-community,jagguli/intellij-community,vladmm/intellij-community,wreckJ/intellij-community,nicolargo/intellij-community,adedayo/intellij-community,michaelgallacher/intellij-community,ibinti/intellij-community,amith01994/intellij-community,fengbaicanhe/intellij-community,... | /*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/external-system-api/src/com/intellij/openapi/externalSystem/settings/AbstractExternalSystemSettings.java | /*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | external sytem: do not run import after new project attachment for other linked projects
| platform/external-system-api/src/com/intellij/openapi/externalSystem/settings/AbstractExternalSystemSettings.java | external sytem: do not run import after new project attachment for other linked projects | <ide><path>latform/external-system-api/src/com/intellij/openapi/externalSystem/settings/AbstractExternalSystemSettings.java
<ide> public abstract void subscribe(@NotNull ExternalSystemSettingsListener<PS> listener);
<ide>
<ide> public void copyFrom(@NotNull SS settings) {
<del> myLinkedProjectsSettings.clear();... | |
JavaScript | mit | c2a5f5256295df09080d67b15010d4cc46a42f48 | 0 | staticland/staticland-api,staticland/staticland-api,staticland/staticland-api | var assert = require('assert')
var path = require('path')
var createCertbot = require('certbot-wrapper')
module.exports = function createCert (config) {
assert.equal(typeof config, 'object', 'cert: options object is required')
assert.equal(typeof config.letsEncryptDir, 'string', 'cert: options.letsEncryptDir stri... | lib/cert.js | var assert = require('assert')
var path = require('path')
var createCertbot = require('certbot-wrapper')
module.exports = function createCert (config) {
assert.equal(typeof config, 'object', 'cert: options object is required')
assert.equal(typeof config.letsEncryptDir, 'string', 'cert: options.letsEncryptDir stri... | fix typo
| lib/cert.js | fix typo | <ide><path>ib/cert.js
<ide> email: options.email || 'hi@static.land',
<ide> configDir: path.join(config.letsEncryptDir, 'config'),
<ide> logsDir: path.join(config.letsEncryptDir, 'logs'),
<del> workDir: path.join(config.letsEncryptDi, 'work')
<add> workDir: path.join(config.letsEnc... | |
Java | lgpl-2.1 | 715750c05513d5b51d23b1c1d75f5513b2d0d7e6 | 0 | samskivert/samskivert,samskivert/samskivert | //
// $Id: SwingUtil.java,v 1.29 2004/01/12 08:39:49 ray Exp $
//
// samskivert library - useful routines for java programs
// Copyright (C) 2001 Michael Bayne
//
// 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 th... | projects/samskivert/src/java/com/samskivert/swing/util/SwingUtil.java | //
// $Id: SwingUtil.java,v 1.28 2003/12/19 04:07:33 mdb Exp $
//
// samskivert library - useful routines for java programs
// Copyright (C) 2001 Michael Bayne
//
// 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 th... | added setOpaque().
git-svn-id: 64ebf368729f38804935acb7146e017e0f909c6b@1367 6335cc39-0255-0410-8fd6-9bcaacd3b74c
| projects/samskivert/src/java/com/samskivert/swing/util/SwingUtil.java | added setOpaque(). | <ide><path>rojects/samskivert/src/java/com/samskivert/swing/util/SwingUtil.java
<ide> //
<del>// $Id: SwingUtil.java,v 1.28 2003/12/19 04:07:33 mdb Exp $
<add>// $Id: SwingUtil.java,v 1.29 2004/01/12 08:39:49 ray Exp $
<ide> //
<ide> // samskivert library - useful routines for java programs
<ide> // Copyright (C) 2001 ... | |
Java | apache-2.0 | 0cda7ee0a696443927b6a521557c0a6456d47bb4 | 0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.container.http;
import com.yahoo.component.ComponentId;
import com.yahoo.jdisc.http.ConnectorConfig;
import com.yahoo.osgi.provider.model.ComponentModel;
import com.yahoo... | config-model/src/main/java/com/yahoo/vespa/model/container/http/ConnectorFactory.java | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.container.http;
import com.yahoo.component.ComponentId;
import com.yahoo.jdisc.http.ConnectorConfig;
import com.yahoo.osgi.provider.model.ComponentModel;
import com.yahoo... | Remove leftovers from HTTP2 feature flag
This will effectively re-enable HTTP/2 (since initial PR for removing feature flag)
| config-model/src/main/java/com/yahoo/vespa/model/container/http/ConnectorFactory.java | Remove leftovers from HTTP2 feature flag | <ide><path>onfig-model/src/main/java/com/yahoo/vespa/model/container/http/ConnectorFactory.java
<ide> private final String name;
<ide> private final int listenPort;
<ide> private final SslProvider sslProviderComponent;
<del> private final boolean enableHttp2;
<ide> private volatile ComponentId defaul... | |
Java | epl-1.0 | b090c699b2a1906c0b55b2b9b3b2af17ecd70324 | 0 | sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,rrimmana/birt-1,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,Charling-Huang/birt,sguan-actuate/birt,Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | UI/org.eclipse.birt.report.designer.ui.lib.explorer/src/org/eclipse/birt/report/designer/ui/lib/explorer/LibraryExplorerView.java | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | - Summary: Prevent NPE problem when init the library explorer at init stage.
- Bugzilla Bug (s) Resolved:
- Description: If user close the workspace with library explorer opening, at NPE can be thrown when user reopen the eclipse and the eclipse try to restore the layout. That's a issue of eclipse that when the edito... | UI/org.eclipse.birt.report.designer.ui.lib.explorer/src/org/eclipse/birt/report/designer/ui/lib/explorer/LibraryExplorerView.java | - Summary: Prevent NPE problem when init the library explorer at init stage. | <ide><path>I/org.eclipse.birt.report.designer.ui.lib.explorer/src/org/eclipse/birt/report/designer/ui/lib/explorer/LibraryExplorerView.java
<ide> {
<ide> LibraryExplorerTreeViewPage page = new LibraryExplorerTreeViewPage( );
<ide> IEditorPart editor = UIUtil.getActiveEditor( true );
<del> ILibraryProvider pro... | |
Java | apache-2.0 | 2c2dbdf078a36f93a2409b9b0a5bf1ff6ecead3b | 0 | jeorme/OG-Platform,ChinaQuants/OG-Platform,codeaudit/OG-Platform,ChinaQuants/OG-Platform,jerome79/OG-Platform,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,jeorme/OG-Platform,jeorme/OG-Platform,jerome79/OG-Platform,McLeodMoores/starling,codeaudit/OG-Platform,nssales/OG-Platform,nssales/OG-Pla... | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.master.timeseries.impl;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map.Entry;
import java.util.concurrent... | projects/OG-Master/src/com/opengamma/master/timeseries/impl/InMemoryLocalDateTimeSeriesMaster.java | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.master.timeseries.impl;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map.Entry;
import java.util.concurrent... | [PLAT-1296] Refactor time-series master; Better validation
Enhance validation within in-memory master
| projects/OG-Master/src/com/opengamma/master/timeseries/impl/InMemoryLocalDateTimeSeriesMaster.java | [PLAT-1296] Refactor time-series master; Better validation | <ide><path>rojects/OG-Master/src/com/opengamma/master/timeseries/impl/InMemoryLocalDateTimeSeriesMaster.java
<ide> //-------------------------------------------------------------------------
<ide> @Override
<ide> public TimeSeriesDocument<LocalDate> get(UniqueIdentifier uniqueId) {
<del> validateUId(uniqueId);... | |
Java | apache-2.0 | b277ec96fa3cf1b70a582f6baac295933bfd204d | 0 | kryptnostic/kodex | package com.kryptnostic.v2.storage.api;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
import com.kryptnostic.kodex.v1.crypto.ciphers.BlockCiphertext;
import com.kryptnostic.v2.constants.Names;
import com.kryptnostic.v2.storage.models.CreateMetadataObjectRequest;
import com.kryptnostic.v2.storage.... | src/main/java/com/kryptnostic/v2/storage/api/ObjectStorageApi.java | package com.kryptnostic.v2.storage.api;
import java.util.Map;
import java.util.Set;
import java.util.UUID;
import com.kryptnostic.kodex.v1.crypto.ciphers.BlockCiphertext;
import com.kryptnostic.v2.constants.Names;
import com.kryptnostic.v2.storage.models.CreateMetadataObjectRequest;
import com.kryptnostic.v2.storage.... | TYPE and TYPE_PATH were moved to ObjectListingApi
| src/main/java/com/kryptnostic/v2/storage/api/ObjectStorageApi.java | TYPE and TYPE_PATH were moved to ObjectListingApi | <ide><path>rc/main/java/com/kryptnostic/v2/storage/api/ObjectStorageApi.java
<ide> String SALT_PATH = "/salt";
<ide> String TAG_PATH = "/tag";
<ide> String LEVELS_PATH = "/levels";
<del> String TYPE = "type";
<del> String TYPE_PATH = "/type/{"... | |
Java | apache-2.0 | d6b4c14369ade1b35a3ff74e40ab0cf6c02a5e6a | 0 | 0359xiaodong/dmix,jcnoir/dmix,0359xiaodong/dmix,joansmith/dmix,jcnoir/dmix,hurzl/dmix,joansmith/dmix,philchand/mpdroid-2014,philchand/mpdroid-2014,philchand/mpdroid-2014,abarisain/dmix,abarisain/dmix,philchand/mpdroid-2014,hurzl/dmix | package org.a0z.mpd;
import android.content.Context;
import android.util.Log;
import org.a0z.mpd.exception.MPDClientException;
import org.a0z.mpd.exception.MPDConnectionException;
import org.a0z.mpd.exception.MPDServerException;
import java.net.InetAddress;
import java.net.URL;
import java.net.UnknownHostException;
i... | JMPDComm/src/org/a0z/mpd/MPD.java | package org.a0z.mpd;
import android.content.Context;
import android.util.Log;
import org.a0z.mpd.exception.MPDClientException;
import org.a0z.mpd.exception.MPDConnectionException;
import org.a0z.mpd.exception.MPDServerException;
import java.net.InetAddress;
import java.net.URL;
import java.net.UnknownHostException;
i... | fix albums list covers by calling MPD for albumartists of albums
not used on the full album list
it will not fix that the found albums only show the artist's tracks
| JMPDComm/src/org/a0z/mpd/MPD.java | fix albums list covers by calling MPD for albumartists of albums | <ide><path>MPDComm/src/org/a0z/mpd/MPD.java
<ide> return result;
<ide> }
<ide>
<add> /*
<add> * List all albumartist or artist names of all given albums from database.
<add> *
<add> * @return list of array of artist names for each album.
<add> * @throws MPDServerException
<add> * ... | |
Java | apache-2.0 | error: pathspec 'platform/platform-tests/testSrc/com/intellij/ui/FinderRecursivePanelTest.java' did not match any file(s) known to git
| 3afb3f366c2fad41cbd4aafcd32eb8133aaf88b1 | 1 | salguarnieri/intellij-community,fnouama/intellij-community,fengbaicanhe/intellij-community,michaelgallacher/intellij-community,akosyakov/intellij-community,ibinti/intellij-community,suncycheng/intellij-community,vvv1559/intellij-community,allotria/intellij-community,mglukhikh/intellij-community,youdonghai/intellij-comm... | /*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/platform-tests/testSrc/com/intellij/ui/FinderRecursivePanelTest.java | FinderRecursivePanelTest: move to platform-tests
| platform/platform-tests/testSrc/com/intellij/ui/FinderRecursivePanelTest.java | FinderRecursivePanelTest: move to platform-tests | <ide><path>latform/platform-tests/testSrc/com/intellij/ui/FinderRecursivePanelTest.java
<add>/*
<add> * Copyright 2000-2013 JetBrains s.r.o.
<add> *
<add> * Licensed under the Apache License, Version 2.0 (the "License");
<add> * you may not use this file except in compliance with the License.
<add> * You may obtain a c... | |
Java | apache-2.0 | error: pathspec 'support/src/test/java/org/springframework/richclient/command/CommandGroupFactoryBeanTests.java' did not match any file(s) known to git
| 3b21dfa9ec72a0913cd480d37057f9484f6aac5c | 1 | springrichclient/springrcp,springrichclient/springrcp,springrichclient/springrcp | /*
* Copyright 2002-2004 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | support/src/test/java/org/springframework/richclient/command/CommandGroupFactoryBeanTests.java | Initial import
| support/src/test/java/org/springframework/richclient/command/CommandGroupFactoryBeanTests.java | Initial import | <ide><path>upport/src/test/java/org/springframework/richclient/command/CommandGroupFactoryBeanTests.java
<add>/*
<add> * Copyright 2002-2004 the original author or authors.
<add> *
<add> * Licensed under the Apache License, Version 2.0 (the "License"); you may not
<add> * use this file except in compliance with the Lic... | |
Java | apache-2.0 | 4b705f50496ea85a78640b782d3684af48154529 | 0 | TatsianaKasiankova/pentaho-kettle,sajeetharan/pentaho-kettle,cjsonger/pentaho-kettle,roboguy/pentaho-kettle,akhayrutdinov/pentaho-kettle,HiromuHota/pentaho-kettle,drndos/pentaho-kettle,matrix-stone/pentaho-kettle,rfellows/pentaho-kettle,IvanNikolaychuk/pentaho-kettle,ViswesvarSekar/pentaho-kettle,mkambol/pentaho-kettle... | /**********************************************************************
** **
** This code belongs to the KETTLE project. **
** **
** Kettle, from version... | src/be/ibridge/kettle/trans/step/textfileoutput/TextFileOutput.java | /**********************************************************************
** **
** This code belongs to the KETTLE project. **
** **
** Kettle, from version... | Fix up for CR #3273 : zip file is now closed properly and not cut down halfway.
git-svn-id: 9499f031eb5c9fb9d11553a06c92651e5446d292@1621 5fb7f6ec-07c1-534a-b4ca-9155e429e800
| src/be/ibridge/kettle/trans/step/textfileoutput/TextFileOutput.java | Fix up for CR #3273 : zip file is now closed properly and not cut down halfway. | <ide><path>rc/be/ibridge/kettle/trans/step/textfileoutput/TextFileOutput.java
<ide>
<ide> try
<ide> {
<add> data.writer.close();
<ide> if (meta.isZipped())
<ide> {
<ide> //System.out.println("close zip entry ");
<ide> data.zip.finish();
<ide> data.zip.close();
<ide> }
<del> else
<del> ... | |
Java | bsd-2-clause | eb2acf8c46608259604bbe85517fae900b2ba4b6 | 0 | RealTimeGenomics/rtg-tools,RealTimeGenomics/rtg-tools,RealTimeGenomics/rtg-tools,RealTimeGenomics/rtg-tools | /*
* Copyright (c) 2017. Real Time Genomics Limited.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* 1. Redistributions of source code must retain the above copyright
* notice... | src/com/rtg/visualization/DisplayHelper.java | /*
* Copyright (c) 2017. Real Time Genomics Limited.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* 1. Redistributions of source code must retain the above copyright
* notice... | aview: add --print-sample and --sort-sample options
| src/com/rtg/visualization/DisplayHelper.java | aview: add --print-sample and --sort-sample options | <ide><path>rc/com/rtg/visualization/DisplayHelper.java
<ide> inMarkup = true;
<ide> output.append(c);
<ide> } else {
<del> if (highlightMask != null && highlightMask[coord] != highlight) {
<add> final boolean hl = highlightMask != null && coord < highlightMask.length && hig... | |
JavaScript | isc | b74c25768036dee87333740e294060f7a818819c | 0 | TechnologyAdvice/Squiss | /*
* Copyright (c) 2015-2016 TechnologyAdvice
*/
'use strict'
const AWS = require('aws-sdk')
const Squiss = require('src/index')
const SQSStub = require('test/stubs/SQSStub')
const delay = require('delay')
let inst = null
const origSQS = AWS.SQS
const wait = (ms) => delay(ms === undefined ? 20 : ms)
describe('ind... | test/src/index.spec.js | /*
* Copyright (c) 2015-2016 TechnologyAdvice
*/
'use strict'
const AWS = require('aws-sdk')
const Squiss = require('src/index')
const SQSStub = require('test/stubs/SQSStub')
const delay = require('delay')
let inst = null
const origSQS = AWS.SQS
const wait = (ms) => delay(ms === undefined ? 20 : ms)
describe('ind... | Test: Don't use deprecated props
| test/src/index.spec.js | Test: Don't use deprecated props | <ide><path>est/src/index.spec.js
<ide> inst = new Squiss({
<ide> queueUrl: 'foo',
<ide> unwrapSns: true,
<del> visibilityTimeout: 10
<add> visibilityTimeoutSecs: 10
<ide> })
<ide> should.exist(inst)
<ide> }) | |
Java | agpl-3.0 | e924f1696720ca05a777275b3a8f059a731f28eb | 0 | lp0/cursus-core,lp0/cursus-ui | /*
cursus - Race series management program
Copyright 2011 Simon Arlott
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
... | src/main/java/eu/lp0/cursus/scoring/GenericOverallPointsData.java | /*
cursus - Race series management program
Copyright 2011 Simon Arlott
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
... | remove unused enum | src/main/java/eu/lp0/cursus/scoring/GenericOverallPointsData.java | remove unused enum | <ide><path>rc/main/java/eu/lp0/cursus/scoring/GenericOverallPointsData.java
<ide> import eu.lp0.cursus.db.data.Race;
<ide>
<ide> public class GenericOverallPointsData<T extends ScoredData & RacePointsData & RaceDiscardsData & OverallPenaltiesData> extends AbstractOverallPointsData<T> {
<del> public enum OverallFleetMe... | |
Java | apache-2.0 | ab4e07cc15ffb2e70316718b9f03fcab4dcc0263 | 0 | Overseas-Student-Living/jackrabbit,kigsmtua/jackrabbit,Kast0rTr0y/jackrabbit,SylvesterAbreu/jackrabbit,afilimonov/jackrabbit,tripodsan/jackrabbit,Overseas-Student-Living/jackrabbit,sdmcraft/jackrabbit,tripodsan/jackrabbit,sdmcraft/jackrabbit,bartosz-grabski/jackrabbit,afilimonov/jackrabbit,SylvesterAbreu/jackrabbit,Syl... | /*
* 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 ... | jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/AbstractBundlePersistenceManager.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 ... | JCR-3117: Stats for the PersistenceManager
Restore debug log messages
git-svn-id: 02b679d096242155780e1604e997947d154ee04a@1186716 13f79535-47bb-0310-9956-ffa450edef68
| jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/AbstractBundlePersistenceManager.java | JCR-3117: Stats for the PersistenceManager | <ide><path>ackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/AbstractBundlePersistenceManager.java
<ide> private NodePropBundle getBundleCacheMiss(NodeId id)
<ide> throws ItemStateException {
<ide> long time = System.nanoTime();
<add> log.debug("Loading bundle {}"... | |
JavaScript | mit | ebd5c02821da7ecc0816c5d69220e26d5afb61b8 | 0 | LinusU/fastfall,mcollina/fastfall | 'use strict'
var empty = []
function fastfall (context, template) {
if (Array.isArray(context)) {
template = context
context = null
}
var head = new Holder(release)
var tail = head
return template ? compiled : fall
function next () {
var holder = head
if (holder.next) {
head = ho... | fall.js | 'use strict'
var empty = []
function fastfall (context, template) {
if (Array.isArray(context)) {
template = context
context = null
}
var head = new Holder(release)
var tail = head
return template ? compiled : fall
function next () {
var holder = head
if (holder.next) {
head = h... | adhere to padded-blocks
| fall.js | adhere to padded-blocks | <ide><path>all.js
<ide> var empty = []
<ide>
<ide> function fastfall (context, template) {
<del>
<ide> if (Array.isArray(context)) {
<ide> template = context
<ide> context = null | |
Java | apache-2.0 | e13e31e7e04be545c49a7e991395a77132a4d21e | 0 | AndroidX/androidx,aosp-mirror/platform_frameworks_support,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,aosp-mirror/platform_frameworks_support,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,Androi... | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | design/src/android/support/design/widget/CoordinatorLayout.java | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | am 9631f6ff: am 33ca87b7: Merge "Fix NPE in onTouchEvent again" into mnc-dev
* commit '9631f6ffdd51e66e982907f7ddef4fffb0fda74c':
Fix NPE in onTouchEvent again
| design/src/android/support/design/widget/CoordinatorLayout.java | am 9631f6ff: am 33ca87b7: Merge "Fix NPE in onTouchEvent again" into mnc-dev | <ide><path>esign/src/android/support/design/widget/CoordinatorLayout.java
<ide> if (mBehaviorTouchView == null) {
<ide> handled |= super.onTouchEvent(ev);
<ide> } else if (cancelSuper) {
<del> if (cancelEvent != null) {
<add> if (cancelEvent == null) {
<ide> ... | |
Java | apache-2.0 | 284886bd96c93740a26cac4c6e39a255fecf6062 | 0 | pimtegelaar/commons-io-test3,pimtegelaar/commons-io-test3,apache/commons-io,pimtegelaar/commons-io-test3,apache/commons-io,apache/commons-io | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/main/java/org/apache/commons/io/output/StringBuilderWriter.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 ... | Javadoc: Use the active voice.
git-svn-id: cb61607abf5ac23ab48a85ccf5b9d9390a6837ee@1722253 13f79535-47bb-0310-9956-ffa450edef68
| src/main/java/org/apache/commons/io/output/StringBuilderWriter.java | Javadoc: Use the active voice. | <ide><path>rc/main/java/org/apache/commons/io/output/StringBuilderWriter.java
<ide> private final StringBuilder builder;
<ide>
<ide> /**
<del> * Construct a new {@link StringBuilder} instance with default capacity.
<add> * Constructs a new {@link StringBuilder} instance with default capacity.
<ide> ... | |
Java | apache-2.0 | 3de2f9f5bbe368add490c0e88a785f0f25af3d8f | 0 | alibaba/fastjson,alibaba/fastjson,alibaba/fastjson,alibaba/fastjson | /*
* Copyright 1999-2018 Alibaba Group.
*
* 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/alibaba/fastjson/serializer/JavaBeanSerializer.java | /*
* Copyright 1999-2018 Alibaba Group.
*
* 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... | bug fixed for unwrapped_lost_name
| src/main/java/com/alibaba/fastjson/serializer/JavaBeanSerializer.java | bug fixed for unwrapped_lost_name | <ide><path>rc/main/java/com/alibaba/fastjson/serializer/JavaBeanSerializer.java
<ide> serializer.write(propertyValue);
<ide> } else {
<ide> if (!writeAsArray) {
<del> if (writeClassName || !fieldInfo.unwrapped) {
<add> ... | |
Java | apache-2.0 | c93e949822222b3ee94a5b702d0af0c8ef2d51e3 | 0 | kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss | package com.kickstarter.libs;
import android.support.annotation.NonNull;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Pair;
import com.jakewharton.rxbinding.support.v7.widget.RxRecyclerView;
import rx.Subscription;
import rx.functions.Action... | app/src/main/java/com/kickstarter/libs/Paginator.java | package com.kickstarter.libs;
import android.support.annotation.NonNull;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Pair;
import com.jakewharton.rxbinding.support.v7.widget.RxRecyclerView;
import rx.Subscription;
import rx.functions.Action... | Seriously don't need a comment on this obvious method.
| app/src/main/java/com/kickstarter/libs/Paginator.java | Seriously don't need a comment on this obvious method. | <ide><path>pp/src/main/java/com/kickstarter/libs/Paginator.java
<ide> return new Pair<>(visibleItemCount + pastVisibleItems, totalItemCount);
<ide> }
<ide>
<del> /**
<del> * Returns `true` when the visible item gets "close" to the bottom.
<del> */
<ide> private boolean visibleItemIsCloseToBottom(@NonNull ... | |
Java | apache-2.0 | f9a9a43366931e83e737ac7e772b9d78ff251394 | 0 | qiangber/symphony,qiangber/symphony,billho/symphony,qiangber/symphony,billho/symphony,billho/symphony | /*
* Copyright (c) 2012-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | src/main/java/org/b3log/symphony/service/PointtransferQueryService.java | /*
* Copyright (c) 2012-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 积分页面 emoji 转义
| src/main/java/org/b3log/symphony/service/PointtransferQueryService.java | 积分页面 emoji 转义 | <ide><path>rc/main/java/org/b3log/symphony/service/PointtransferQueryService.java
<ide> import org.b3log.symphony.repository.PointtransferRepository;
<ide> import org.b3log.symphony.repository.RewardRepository;
<ide> import org.b3log.symphony.repository.UserRepository;
<add>import org.b3log.symphony.util.Emotions;
<ide... | |
Java | mit | f1979955857fcfe162ebaadbb685c4235cb41a93 | 0 | Nishchal123/assignment7 | package nineCoins;
import java.util.Scanner;
public class Ninecoins {
public static void main(String[] args) {
// Use binary number and bitwise operator to shift the bit to the right and
// use masking to extract the last digit
Scanner input = new Scanner(System.in);
System.ou... | nineCoins/src/nineCoins/Ninecoins.java | package nineCoins;
import java.util.Scanner;
public class Ninecoins {
public static void main(String[] args) {
// Use binary number and bitwise operator to shift the bit to the right and
// use masking to extract the last digit
Scanner input = new Scanner(System.in);
System.ou... | made modifications int he program
| nineCoins/src/nineCoins/Ninecoins.java | made modifications int he program | <ide><path>ineCoins/src/nineCoins/Ninecoins.java
<ide>
<ide> }
<ide>
<del> displayArray(intArray);
<add> //displayArray(intArray);
<ide>
<ide> }
<ide> | |
Java | apache-2.0 | 9fbb664db6edb238aa48da93f1a5883b85909df4 | 0 | Buzzardo/spring-boot,spring-projects/spring-boot,aahlenst/spring-boot,mbenson/spring-boot,NetoDevel/spring-boot,htynkn/spring-boot,chrylis/spring-boot,spring-projects/spring-boot,philwebb/spring-boot,yangdd1205/spring-boot,mdeinum/spring-boot,shakuzen/spring-boot,ilayaperumalg/spring-boot,ilayaperumalg/spring-boot,ilay... | /*
* Copyright 2012-2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/DevToolsDataSourceAutoConfiguration.java | /*
* Copyright 2012-2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Avoid eager init when evaluating DevToolsDataSourceCondition
Previously, DevToolsDataSourceCondition called
getBeanNamesForType(Class) which could trigger unwanted initialization
of lazy init singletons and objects created by FactoryBeans.
This commit updates DevToolsDataSourceCondition to prohibit eager
init when ge... | spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/DevToolsDataSourceAutoConfiguration.java | Avoid eager init when evaluating DevToolsDataSourceCondition | <ide><path>pring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/DevToolsDataSourceAutoConfiguration.java
<ide> @Override
<ide> public ConditionOutcome getMatchOutcome(ConditionContext context, AnnotatedTypeMetadata metadata) {
<ide> ConditionMessage.Builder messag... | |
JavaScript | mit | e98eca790b075cb57873f06ba14f120db40bc4b9 | 0 | psyntium/node-red-contrib-http-request-multipart,psyntium/node-red-contrib-http-request-multipart | "use strict";
var request = require('request');
module.exports = function (RED) {
function HTTPRequest(n) {
RED.nodes.createNode(this, n);
var node = this;
var nodeUrl = n.url;
var nodeFollowRedirects = n["follow-redirects"];
var isTemplatedUrl = (nodeUrl || "").indexOf("{{") != -1;
var nod... | www-request-multipart.js | "use strict";
var request = require('request');
var mustache = require('mustache');
module.exports = function (RED) {
function HTTPRequest(n) {
RED.nodes.createNode(this, n);
var node = this;
var nodeUrl = n.url;
var nodeFollowRedirects = n["follow-redirects"];
var isTemplatedUrl = (nodeUrl || ... | removed mustache
| www-request-multipart.js | removed mustache | <ide><path>ww-request-multipart.js
<ide> "use strict";
<ide>
<ide> var request = require('request');
<del>var mustache = require('mustache');
<ide>
<ide> module.exports = function (RED) {
<ide>
<ide> if (msg.url && nodeUrl && (nodeUrl !== msg.url)) { // revert change below when warning is finally removed
<ide>... | |
Java | apache-2.0 | 55e9dfb95e8bf747591e8a067cf518ed68f39714 | 0 | dashorst/wicket,dashorst/wicket,mosoft521/wicket,topicusonderwijs/wicket,freiheit-com/wicket,aldaris/wicket,zwsong/wicket,mafulafunk/wicket,zwsong/wicket,Servoy/wicket,martin-g/wicket-osgi,klopfdreh/wicket,zwsong/wicket,apache/wicket,selckin/wicket,zwsong/wicket,freiheit-com/wicket,topicusonderwijs/wicket,topicusonderw... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | wicket/src/main/java/wicket/markup/parser/filter/PrependContextPathHandler.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | WICKET-171
git-svn-id: ac804e38dcddf5e42ac850d29d9218b7df6087b7@490395 13f79535-47bb-0310-9956-ffa450edef68
| wicket/src/main/java/wicket/markup/parser/filter/PrependContextPathHandler.java | WICKET-171 | <ide><path>icket/src/main/java/wicket/markup/parser/filter/PrependContextPathHandler.java
<ide> private static final Log log = LogFactory.getLog(PrependContextPathHandler.class);
<ide>
<ide> /** List of attribute names considered */
<del> private static final String attributeNames[] = new String[] { "href", "src" };... | |
Java | epl-1.0 | error: pathspec 'qp-enterprise-integration-platform/eip-generator-plugin/src/main/java/com/qpark/maven/plugin/springconfig/Jaxb2MarshallerConfigMojo.java' did not match any file(s) known to git
| 5e0a2d8d63340d4cf57ad5cba726d109f803496f | 1 | QPark/EIP | /*******************************************************************************
* Copyright (c) 2013, 2014, 2015 QPark Consulting S.a r.l. This program and the
* accompanying materials are made available under the terms of the Eclipse
* Public License v1.0. The Eclipse Public License is available at
* http://www.e... | qp-enterprise-integration-platform/eip-generator-plugin/src/main/java/com/qpark/maven/plugin/springconfig/Jaxb2MarshallerConfigMojo.java | Added spring Jaxb2Mashaller config generator
| qp-enterprise-integration-platform/eip-generator-plugin/src/main/java/com/qpark/maven/plugin/springconfig/Jaxb2MarshallerConfigMojo.java | Added spring Jaxb2Mashaller config generator | <ide><path>p-enterprise-integration-platform/eip-generator-plugin/src/main/java/com/qpark/maven/plugin/springconfig/Jaxb2MarshallerConfigMojo.java
<add>/*******************************************************************************
<add> * Copyright (c) 2013, 2014, 2015 QPark Consulting S.a r.l. This program and the
<... | |
Java | apache-2.0 | 2ad6a4b93b710b51d24e0c93b27112dd04b18ad5 | 0 | bobdenardd/twttwinbot,bobdenardd/twttwinbot | package com.pject.sources.parsing;
import com.google.common.collect.Lists;
import com.google.common.collect.Ordering;
import com.google.common.primitives.Ints;
import com.pject.helpers.LogFormatHelper;
import com.pject.helpers.StatsHelper;
import com.pject.sources.Source;
import org.apache.commons.lang3.StringUtils;
i... | src/main/java/com/pject/sources/parsing/InstagramSource.java | package com.pject.sources.parsing;
import com.google.common.collect.Lists;
import com.google.common.collect.Ordering;
import com.google.common.primitives.Ints;
import com.pject.helpers.LogFormatHelper;
import com.pject.helpers.StatsHelper;
import com.pject.sources.Source;
import org.apache.commons.lang3.StringUtils;
i... | Quick hack for instagram photo size
| src/main/java/com/pject/sources/parsing/InstagramSource.java | Quick hack for instagram photo size | <ide><path>rc/main/java/com/pject/sources/parsing/InstagramSource.java
<ide>
<ide> // Building source
<ide> String source = mergeTagsWithPicture(imageUrl, hashtags);
<del> if(StringUtils.isNotEmpty(source)) {
<del> this.sources.add(sourc... | |
Java | apache-2.0 | c0bba189f627fd47c61e79b271b6ca71d5362275 | 0 | farmerbb/Taskbar,farmerbb/Taskbar | /* Copyright 2016 Braden Farmer
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | app/src/main/java/com/farmerbb/taskbar/util/IconCache.java | /* Copyright 2016 Braden Farmer
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | Expose BitmapDrawable as the return type for IconCache.getIcon()
| app/src/main/java/com/farmerbb/taskbar/util/IconCache.java | Expose BitmapDrawable as the return type for IconCache.getIcon() | <ide><path>pp/src/main/java/com/farmerbb/taskbar/util/IconCache.java
<ide> return theInstance;
<ide> }
<ide>
<del> public Drawable getIcon(Context context, LauncherActivityInfo appInfo) {
<add> public BitmapDrawable getIcon(Context context, LauncherActivityInfo appInfo) {
<ide> return getIcon... | |
JavaScript | mit | 74d3bc3824fcce08ddae21e3e7509caa4ef10500 | 0 | severe-island/testero,severe-island/testero,severe-island/testero | var express = require('express');
var router = express.Router();
var db = require('../db');
var conf = require('../../../config');
router.post('/login', function(req, res, next) {
if (req.session.login) {
var status, level;
if (req.session.email === req.body.email) {
status = true;
level = "info"... | modules/users/route/index.js | var express = require('express');
var router = express.Router();
var db = require('../db');
var conf = require('../../../config');
router.post('/login', function(req, res, next) {
if (req.session.login) {
var status, level;
if (req.session.email === req.body.email) {
status = true;
level = "info"... | Вернул проверку неавторизованности пользователя при регистрации.
| modules/users/route/index.js | Вернул проверку неавторизованности пользователя при регистрации. | <ide><path>odules/users/route/index.js
<ide> });
<ide>
<ide> router.post('/signup', function(req, res, next) {
<add> if(req.session.login)
<add> {
<add> res.json({
<add> msg: "Вы уже вошли как "+ req.session.email +"! Зачем вам регистрироваться?",
<add> status: false,
<add> level: "warning"
<add> ... | |
Java | bsd-2-clause | d70b2d9f3d3d510480fd17088b5f5a1a770b65d7 | 0 | RCRS-ADF/core,RCRS-ADF/core | package adf.component.module.algorithm;
import adf.agent.communication.MessageManager;
import adf.agent.develop.DevelopData;
import adf.agent.info.AgentInfo;
import adf.agent.info.ScenarioInfo;
import adf.agent.info.WorldInfo;
import adf.agent.module.ModuleManager;
import adf.agent.precompute.PrecomputeData;
import ad... | src/main/java/adf/component/module/algorithm/Clustering.java | package adf.component.module.algorithm;
import adf.agent.communication.MessageManager;
import adf.agent.develop.DevelopData;
import adf.agent.info.AgentInfo;
import adf.agent.info.ScenarioInfo;
import adf.agent.info.WorldInfo;
import adf.agent.module.ModuleManager;
import adf.agent.precompute.PrecomputeData;
import ad... | add dump methods to Clustering
| src/main/java/adf/component/module/algorithm/Clustering.java | add dump methods to Clustering | <ide><path>rc/main/java/adf/component/module/algorithm/Clustering.java
<ide>
<ide> public abstract Collection<StandardEntity> getClusterEntities(int index);
<ide>
<add> public abstract List<Collection<StandardEntity>> getClusterEntitiesTable();
<add>
<ide> public abstract Collection<EntityID> getClusterEnt... | |
Java | apache-2.0 | cbed627d0b0dd84de3526d537417051a13aed477 | 0 | ambraspace/nd4j,deeplearning4j/nd4j,huitseeker/nd4j,smarthi/nd4j,deeplearning4j/nd4j,gagatust/nd4j,ambraspace/nd4j,gagatust/nd4j,huitseeker/nd4j,smarthi/nd4j | package org.nd4j.linalg.learning;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.nd4j.linalg.api.ndarray.INDArray;
import org.nd4j.linalg.api.ops.impl.transforms.arithmetic.AddOp;
import org.nd4j.linalg.factory.Nd4j;
import java.io.Serializable;
/**
* Nesterov's momentum.
* Keep track of the previ... | nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/learning/Nesterovs.java | package org.nd4j.linalg.learning;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.nd4j.linalg.api.ndarray.INDArray;
import org.nd4j.linalg.api.ops.impl.transforms.arithmetic.AddOp;
import org.nd4j.linalg.factory.Nd4j;
import java.io.Serializable;
/**
* Nesterov's momentum.
* Keep track of the previ... | Fix bug in momentum introduced during earlier changes
| nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/learning/Nesterovs.java | Fix bug in momentum introduced during earlier changes | <ide><path>d4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/learning/Nesterovs.java
<ide> // x += mu * v_prev + (-1 - mu) * v
<ide> //i.e., we do params -= updatedGradient, not params += updatedGradient
<ide>
<del>
<del> Nd4j.getExecutioner().execAndReturn(new AddOp(vPrev.muli... | |
Java | apache-2.0 | d1d9f5a63ac3394b197d31819e92738c1bd8c6f7 | 0 | maboelhassan/alluxio,jswudi/alluxio,jsimsa/alluxio,bf8086/alluxio,ShailShah/alluxio,bf8086/alluxio,ChangerYoung/alluxio,apc999/alluxio,ChangerYoung/alluxio,maobaolong/alluxio,apc999/alluxio,calvinjia/tachyon,madanadit/alluxio,EvilMcJerkface/alluxio,EvilMcJerkface/alluxio,EvilMcJerkface/alluxio,aaudiber/alluxio,calvinji... | /*
* Licensed to the University of California, Berkeley 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 no... | servers/src/main/java/tachyon/worker/block/allocator/GreedyAllocator.java | /*
* Licensed to the University of California, Berkeley 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 no... | [SMALLFIX] Fixed link in documentation in 'GreedyAllocator'
| servers/src/main/java/tachyon/worker/block/allocator/GreedyAllocator.java | [SMALLFIX] Fixed link in documentation in 'GreedyAllocator' | <ide><path>ervers/src/main/java/tachyon/worker/block/allocator/GreedyAllocator.java
<ide> }
<ide>
<ide> /**
<del> * Should only be accessed by {@link allocateBlockWithView} inside class. Allocates a block from
<del> * the given block store location. The location can be a specific location, or
<add> * Should ... | |
Java | apache-2.0 | c72fa84911380c7ccc2c5e5e3b4449f507dd3b2d | 0 | bitstorm/wicket,bitstorm/wicket,mosoft521/wicket,mosoft521/wicket,bitstorm/wicket,Servoy/wicket,klopfdreh/wicket,freiheit-com/wicket,freiheit-com/wicket,aldaris/wicket,zwsong/wicket,martin-g/wicket-osgi,dashorst/wicket,Servoy/wicket,Servoy/wicket,klopfdreh/wicket,selckin/wicket,apache/wicket,astrapi69/wicket,bitstorm/w... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | wicket/src/main/java/wicket/settings/IRequestCycleSettings.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 ... | javadoc improvement
git-svn-id: 6d6ade8e88b1292e17cba3559b7335a947e495e0@501754 13f79535-47bb-0310-9956-ffa450edef68
| wicket/src/main/java/wicket/settings/IRequestCycleSettings.java | javadoc improvement | <ide><path>icket/src/main/java/wicket/settings/IRequestCycleSettings.java
<ide>
<ide> import wicket.IResponseFilter;
<ide> import wicket.RequestCycle;
<add>import wicket.Session;
<ide> import wicket.markup.html.pages.BrowserInfoPage;
<ide> import wicket.protocol.http.WebRequestCycle;
<ide> import wicket.settings.IExce... | |
Java | mit | 42dac9a49d7b17bd8f0333b4bd3806464605f814 | 0 | FIRST-Team-339/2016 | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*-----... | src/org/usfirst/frc/team339/robot/Teleop.java | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*-----... | Commented all my teleop stuff. | src/org/usfirst/frc/team339/robot/Teleop.java | Commented all my teleop stuff. | <ide><path>rc/org/usfirst/frc/team339/robot/Teleop.java
<ide> / Math.abs(Hardware.rightOperator.getY())));
<ide> }
<ide> //Block of code to toggle the camera up or down
<add> //If the camera is down and we press the button.
<ide> if (cameraIsUp == false
<ide> && Ha... | |
Java | apache-2.0 | dd637c350b388e31aadad85f3616f6f0a1d07272 | 0 | milleruntime/accumulo,mjwall/accumulo,mjwall/accumulo,ctubbsii/accumulo,ctubbsii/accumulo,phrocker/accumulo-1,apache/accumulo,apache/accumulo,mjwall/accumulo,phrocker/accumulo-1,ctubbsii/accumulo,milleruntime/accumulo,phrocker/accumulo-1,ctubbsii/accumulo,phrocker/accumulo-1,milleruntime/accumulo,phrocker/accumulo-1,ap... | /*
* 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 ... | test/src/main/java/org/apache/accumulo/test/functional/ConcurrentDeleteTableIT.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 ... | Re #1841 Add timeout to ConcurrentDeleteTableIT
* added a default 7min timeout | test/src/main/java/org/apache/accumulo/test/functional/ConcurrentDeleteTableIT.java | Re #1841 Add timeout to ConcurrentDeleteTableIT | <ide><path>est/src/main/java/org/apache/accumulo/test/functional/ConcurrentDeleteTableIT.java
<ide>
<ide> public class ConcurrentDeleteTableIT extends AccumuloClusterHarness {
<ide>
<add> @Override
<add> protected int defaultTimeoutSeconds() {
<add> return 7 * 60;
<add> }
<add>
<ide> @Test
<ide> public void... | |
Java | apache-2.0 | 35a99ca46d7c9576ebfd03a7c9209a3b6fb3cd49 | 0 | bmaupin/android-sms-plus | /*
* Copyright (C) 2008 Esmertec AG.
* Copyright (C) 2008 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/LICEN... | src/com/android/mms/ui/ComposeMessageActivity.java | /*
* Copyright (C) 2008 Esmertec AG.
* Copyright (C) 2008 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/LICEN... | am a71358d3: Action bar showing inconsistent information about recipients
* commit 'a71358d3489f50d4fb2a1d522a93feb78ec55a7e':
Action bar showing inconsistent information about recipients
| src/com/android/mms/ui/ComposeMessageActivity.java | am a71358d3: Action bar showing inconsistent information about recipients | <ide><path>rc/com/android/mms/ui/ComposeMessageActivity.java
<ide> continue;
<ide>
<ide> if (c == ',') {
<del> updateTitle(mConversation.getRecipients());
<add> ContactList contacts = mRecipientsEditor.constructContactsFromInput(false);
<add> ... | |
Java | apache-2.0 | 2e4a49a6d425704eb24b7bb8e528c73c4a91a317 | 0 | OpenHFT/Chronicle-Bytes | /*
* Copyright 2016-2020 chronicle.software
*
* https://chronicle.software
*
* 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
*
* Un... | src/main/java/net/openhft/chronicle/bytes/Bytes.java | /*
* Copyright 2016-2020 chronicle.software
*
* https://chronicle.software
*
* 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
*
* Un... | Fix CQ with delta wire, closes https://github.com/ChronicleEnterprise/Chronicle-Queue-Enterprise/issues/262
| src/main/java/net/openhft/chronicle/bytes/Bytes.java | Fix CQ with delta wire, closes https://github.com/ChronicleEnterprise/Chronicle-Queue-Enterprise/issues/262 | <ide><path>rc/main/java/net/openhft/chronicle/bytes/Bytes.java
<ide> return;
<ide>
<ide> write(fromOffset, this, fromOffset + count, wp - fromOffset - count);
<del> writeSkip(-count);
<add> writePosition(wp - count);
<ide> }
<ide>
<ide> @NotNull | |
JavaScript | mit | 7c23802b5821c8bfb7cd7a2ef161bf11dc2946a4 | 0 | nclandrei/Algorithm-Animator,nclandrei/Palgo,nclandrei/Palgo,nclandrei/Algorithm-Animator | var Vis = require('vis');
var remote = require('remote');
var dialog = remote.require('dialog');
var fs = require('fs');
var network;
var inc = 0;
$(document).ready(function () {
$('#submit-btn').click(function () {
if (network.body.data.nodes.get().length == 0) {
createAlert("You have not add... | js/bfs.js | var Vis = require('vis');
var remote = require('remote');
var dialog = remote.require('dialog');
var fs = require('fs');
var network;
var inc = 0;
$(document).ready(function () {
$('#submit-btn').click(function () {
if (network.body.data.nodes.get().length == 0) {
createAlert("You have not add... | timing almost close to perfect
| js/bfs.js | timing almost close to perfect | <ide><path>s/bfs.js
<ide> }
<ide> var obj = getBFSPath(rootNode);
<ide> obj.path = markAllNodesAsUnvisited(obj.path);
<del> var pathClone = deepCopyPath(obj.path);
<ide> bfsRootAnimation(obj.path);
<ide> rootCodeLineAnimation();
<ide> setTimeout(function () {
<del>... | |
Java | apache-2.0 | ac9922c90b96ce910fa3e37e3bd48963c859adea | 0 | wschaeferB/autopsy,rcordovano/autopsy,mhmdfy/autopsy,wschaeferB/autopsy,sidheshenator/autopsy,millmanorama/autopsy,APriestman/autopsy,esaunders/autopsy,karlmortensen/autopsy,raman-bt/autopsy,esaunders/autopsy,sidheshenator/autopsy,raman-bt/autopsy,dgrove727/autopsy,raman-bt/autopsy,millmanorama/autopsy,millmanorama/aut... | /*
* Autopsy Forensic Browser
*
* Copyright 2012 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://ww... | Core/src/org/sleuthkit/autopsy/corecomponents/DataResultViewerThumbnail.java | /*
* Autopsy Forensic Browser
*
* Copyright 2012 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://ww... | fix initial load in some cases
| Core/src/org/sleuthkit/autopsy/corecomponents/DataResultViewerThumbnail.java | fix initial load in some cases | <ide><path>ore/src/org/sleuthkit/autopsy/corecomponents/DataResultViewerThumbnail.java
<ide> });
<ide>
<ide> //Note the nodes factories are likely creating nodes in EDT anyway, but worker still helps
<del> new SwingWorker<Object,Void>() {
<add> new SwingWorker<Object, Void>() {
<ide> ... | |
Java | apache-2.0 | f49c14573cff01f4db12a70f905f137eb364598e | 0 | thesmartenergy/sparql-generate-jena,thesmartenergy/sparql-generate-jena,thesmartenergy/sparql-generate,thesmartenergy/sparql-generate,thesmartenergy/sparql-generate,thesmartenergy/sparql-generate | /*
* Copyright 2019 École des Mines de Saint-Étienne.
*
* 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... | sparql-generate/src/main/java/fr/emse/ci/sparqlext/function/SPARQLExtFunctionRegistry.java | /*
* Copyright 2019 École des Mines de Saint-Étienne.
*
* 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... | now able to bind function classes after initialization of SPARQL-Gnerate
| sparql-generate/src/main/java/fr/emse/ci/sparqlext/function/SPARQLExtFunctionRegistry.java | now able to bind function classes after initialization of SPARQL-Gnerate | <ide><path>parql-generate/src/main/java/fr/emse/ci/sparqlext/function/SPARQLExtFunctionRegistry.java
<ide> package fr.emse.ci.sparqlext.function;
<ide>
<ide> import fr.emse.ci.sparqlext.SPARQLExt;
<add>import fr.emse.ci.sparqlext.iterator.IteratorFunction;
<add>import fr.emse.ci.sparqlext.iterator.IteratorFunctionFact... | |
Java | apache-2.0 | 19c04959b3f35e20f0ea92bba7d457b474e57009 | 0 | thomasmaurel/ensj-healthcheck,Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck,thomasmaurel/ensj-healthcheck,thomasmaurel/ensj-healthcheck,thomasmaurel/ensj-healthcheck | /*
* Copyright (C) 2003 EBI, GRL
*
* 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, or (at your option) any later version.
*
* This library is dist... | src/org/ensembl/healthcheck/testcase/generic/GeneStatus.java | /*
* Copyright (C) 2003 EBI, GRL
*
* 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, or (at your option) any later version.
*
* This library is dist... | do not complain about change if there were hardly any to start with
| src/org/ensembl/healthcheck/testcase/generic/GeneStatus.java | do not complain about change if there were hardly any to start with | <ide><path>rc/org/ensembl/healthcheck/testcase/generic/GeneStatus.java
<ide> logger.finest(type + ": previous " + previous + " current "
<ide> + current + " difference ratio " + difference);
<ide>
<del> if (difference > THRESHOLD) {
<add> if (difference > THRESHOLD && previous > 100) {
<ide>
<ide> ... | |
Java | apache-2.0 | 0a1d3f83c68b5d5e824ce5d5d865cc23410c588e | 0 | CS-SI/Orekit,petrushy/Orekit,CS-SI/Orekit,petrushy/Orekit | /* Copyright 2002-2016 CS Systèmes d'Information
* Licensed to CS Systèmes d'Information (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, Versi... | src/main/java/org/orekit/propagation/semianalytical/dsst/forces/TesseralContribution.java | /* Copyright 2002-2016 CS Systèmes d'Information
* Licensed to CS Systèmes d'Information (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, Versi... | Fixed inefficient iterator. | src/main/java/org/orekit/propagation/semianalytical/dsst/forces/TesseralContribution.java | Fixed inefficient iterator. | <ide><path>rc/main/java/org/orekit/propagation/semianalytical/dsst/forces/TesseralContribution.java
<ide>
<ide> if (!mDailiesOnly) {
<ide> // generate the other coefficients, if required
<del> for (int m: nonResOrders.keySet()) {
<del> final... | |
Java | apache-2.0 | 4466defb3168739bfc31229a91f6e2380104ceea | 0 | CMPUT301W15T06/Project,CMPUT301W15T06/Project | /*
UA CMPUT 301 Project Group: CMPUT301W15T06
Copyright {2015} {Jingjiao Ni
Tianqi Xiao
Jiafeng Wu
Xinyi Pan
Xinyi Wu
Han Wang}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance wit... | App/src/ca/ualberta/CMPUT301W15T06/ClaimantClaimDetailActivity.java | /*
UA CMPUT 301 Project Group: CMPUT301W15T06
Copyright {2015} {Jingjiao Ni
Tianqi Xiao
Jiafeng Wu
Xinyi Pan
Xinyi Wu
Han Wang}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance wit... | Update ClaimantClaimDetailActivity.java | App/src/ca/ualberta/CMPUT301W15T06/ClaimantClaimDetailActivity.java | Update ClaimantClaimDetailActivity.java | <ide><path>pp/src/ca/ualberta/CMPUT301W15T06/ClaimantClaimDetailActivity.java
<ide> ANY KIND, either express or implied. See the License for the specific language
<ide> governing permissions and limitations under the License.
<ide>
<add> */
<add>
<add> /**
<add> * This <code>ClaimantClaimDetailActivity</code> class ... | |
Java | agpl-3.0 | f3197e7ce910abbda5abb7de347d7554e5d04382 | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | 0a99d5b0-2e61-11e5-9284-b827eb9e62be | hello.java | 0a946828-2e61-11e5-9284-b827eb9e62be | 0a99d5b0-2e61-11e5-9284-b827eb9e62be | hello.java | 0a99d5b0-2e61-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>0a946828-2e61-11e5-9284-b827eb9e62be
<add>0a99d5b0-2e61-11e5-9284-b827eb9e62be | |
JavaScript | mit | 4844c74e09d17e190d5a282bc9d38188dec513aa | 0 | lyrictenor/electron-triage-for-github,lyrictenor/electron-triage-for-github | #!/usr/bin/env node
/* eslint-disable no-console */
import yargs from 'yargs';
import spawn from 'buffered-spawn';
import path from 'path';
import rimraf from 'rimraf';
import packager from 'electron-packager';
import { productName, electronVersion } from '../package.json';
const outputPath = path.join(process.cwd(), ... | bin/electron-build.js | #!/usr/bin/env node
/* eslint-disable no-console */
import yargs from 'yargs';
import spawn from 'buffered-spawn';
import path from 'path';
import rimraf from 'rimraf';
import packager from 'electron-packager';
import { productName, electronVersion } from '../package.json';
const outputPath = path.join(process.cwd(), ... | chore(build): add asar
| bin/electron-build.js | chore(build): add asar | <ide><path>in/electron-build.js
<ide> out: outputPath,
<ide> platform: 'all',
<ide> arch: 'all',
<add> asar: true,
<ide> };
<ide> const argv = yargs.default(packagerOptions).argv;
<ide> const env = Object.assign({}, process.env, { NODE_ENV: 'production' });
<ide> out: argv.out,
<ide> platform: ar... | |
Java | apache-2.0 | 8bd500f085ca6240f50c418acdbff9b843ce7eaf | 0 | ngageoint/mage-android,ngageoint/mage-android | package mil.nga.giat.mage.map.marker;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collection;
import mil.nga.giat.mage.sdk.R;
import mil.nga.giat.mage.sdk.connectivity.ConnectivityUtility;
import mil.nga.gia... | src/mil/nga/giat/mage/map/marker/LocationBitmapFactory.java | package mil.nga.giat.mage.map.marker;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Collection;
import mil.nga.giat.mage.sdk.R;
import mil.nga.giat.mage.sdk.connectivity.ConnectivityUtility;
import mil.nga.gia... | removed logging
| src/mil/nga/giat/mage/map/marker/LocationBitmapFactory.java | removed logging | <ide><path>rc/mil/nga/giat/mage/map/marker/LocationBitmapFactory.java
<ide> import android.graphics.ColorMatrixColorFilter;
<ide> import android.graphics.LightingColorFilter;
<ide> import android.graphics.Paint;
<del>import android.graphics.PorterDuff.Mode;
<del>import android.graphics.PorterDuffXfermode;
<del>import a... | |
Java | lgpl-2.1 | 9d6f6f379fb282df0339fd584c6a40a151dd26ba | 0 | deegree/deegree3,deegree/deegree3,deegree/deegree3,deegree/deegree3,deegree/deegree3 | //$HeadURL$
/*----------------------------------------------------------------------------
This file is part of deegree, http://deegree.org/
Copyright (C) 2001-2009 by:
- Department of Geography, University of Bonn -
and
- lat/lon GmbH -
This library is free software; you can redistribute it and/or modify it und... | deegree-core/deegree-core-metadata/src/main/java/org/deegree/metadata/persistence/iso/parsing/inspectation/FIInspector.java | //$HeadURL$
/*----------------------------------------------------------------------------
This file is part of deegree, http://deegree.org/
Copyright (C) 2001-2009 by:
- Department of Geography, University of Bonn -
and
- lat/lon GmbH -
This library is free software; you can redistribute it and/or modify it und... | cleanup, trim file identifiers
| deegree-core/deegree-core-metadata/src/main/java/org/deegree/metadata/persistence/iso/parsing/inspectation/FIInspector.java | cleanup, trim file identifiers | <ide><path>eegree-core/deegree-core-metadata/src/main/java/org/deegree/metadata/persistence/iso/parsing/inspectation/FIInspector.java
<ide> import org.deegree.metadata.persistence.iso.generating.generatingelements.GenerateOMElement;
<ide> import org.deegree.metadata.persistence.iso.parsing.IdUtils;
<ide> import org.dee... | |
Java | mpl-2.0 | 8369cadda6ee6372939aa633ca92a6c2bbc6836f | 0 | deanhiller/databus,deanhiller/databus,deanhiller/databus,deanhiller/databus,deanhiller/databus,deanhiller/databus,deanhiller/databus | package controllers.modules2;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map.Entry;
import java.util.Set;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang.StringUtils;
... | webapp/app/controllers/modules2/AggregationProcessor.java | package controllers.modules2;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map.Entry;
import java.util.Set;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang.StringUtils;
... | fix for end of window on triggers... this isn't a long term fix, if a trigger runs too soon the after window is meaningless...
| webapp/app/controllers/modules2/AggregationProcessor.java | fix for end of window on triggers... this isn't a long term fix, if a trigger runs too soon the after window is meaningless... | <ide><path>ebapp/app/controllers/modules2/AggregationProcessor.java
<ide> return RRreturn;
<ide> }
<ide> ReadResult r = super.read();
<del> while (r != null && r.getRow() != null && r.isEndOfStream() && r.getRow().size() >=largestRowWidth)
<add> while (r != null && r.getRow() != null && !r.isEndOfStream(... | |
Java | lgpl-2.1 | c8b652651bb032d1e3c7989c683dbc35134d5e41 | 0 | julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine | package org.intermine.api.profile;
/*
* Copyright (C) 2002-2011 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.... | intermine/api/main/src/org/intermine/api/profile/InterMineBag.java | package org.intermine.api.profile;
/*
* Copyright (C) 2002-2011 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.... | Before save into bagvalues table, check if there are some duplicates
Former-commit-id: cee202613d9bd160d85433519b74b45144b990eb | intermine/api/main/src/org/intermine/api/profile/InterMineBag.java | Before save into bagvalues table, check if there are some duplicates | <ide><path>ntermine/api/main/src/org/intermine/api/profile/InterMineBag.java
<ide>
<ide> /**
<ide> * Returns a List of key field values of the objects contained by this bag.
<add> * Removed any duplicates
<ide> * @return the list of key field values
<ide> */
<ide> public List<String> getCont... | |
Java | mit | e954525e02eb6cf46d64e306314b3e0e2743cad1 | 0 | vortexwolf/2ch-Browser | package com.vortexwolf.chan.activities;
import com.vortexwolf.chan.common.library.MyLog;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.webkit.WebResourceResponse;... | src/com/vortexwolf/chan/activities/NewRecaptchaActivity.java | package com.vortexwolf.chan.activities;
import com.vortexwolf.chan.common.library.MyLog;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.webkit.WebResourceResponse;... | Captcha 2 Fix
| src/com/vortexwolf/chan/activities/NewRecaptchaActivity.java | Captcha 2 Fix | <ide><path>rc/com/vortexwolf/chan/activities/NewRecaptchaActivity.java
<ide> "</form>";
<ide> private final static String hashfilter = "g-recaptcha-response=";
<ide>
<del> public final static int OK = 0;
<del> public final static int FAIL = 1;
<add> public final static int OK = 1;
<add> ... | |
Java | epl-1.0 | 029e6b8536ec602a4ef9f11fb2464c1e194a0e8a | 0 | tylerjemarshall/ChatServer | package client;
import game.TicTacToe;
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
import java.io.IOException;
//import java.util.Scanner;
/**
* @author marshall0530
*/
/**
* @author Tyler M
*
*/
public class GUIConsole extends JFrame implements ChatIF {
final public static int DEFAUL... | src/client/GUIConsole.java | package client;
import game.TicTacToe;
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
import java.io.IOException;
//import java.util.Scanner;
/**
* @author marshall0530
*/
/**
* @author Tyler M
*
*/
public class GUIConsole extends JFrame implements ChatIF {
final public static int DEFAUL... | Attempted to make a ComboBox of roomList
not working yet.
| src/client/GUIConsole.java | Attempted to make a ComboBox of roomList | <ide><path>rc/client/GUIConsole.java
<ide> private ChatClient client;
<ide> private Profile profile = new Profile();
<ide> private String[] args;
<del> private String[] roomList;
<del>
<add>
<add>
<add> private String[] roomArray;
<add> private JButton refresh = new JButton("Refresh Rooms");
<add> private JComboB... | |
Java | apache-2.0 | 97c7ec7c4e8f9679ebdc85ede96be60ae450b68f | 0 | jerome79/OG-Platform,jerome79/OG-Platform,codeaudit/OG-Platform,codeaudit/OG-Platform,nssales/OG-Platform,jeorme/OG-Platform,DevStreet/FinanceAnalytics,jerome79/OG-Platform,McLeodMoores/starling,jeorme/OG-Platform,ChinaQuants/OG-Platform,ChinaQuants/OG-Platform,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,ChinaQu... | /**
* Copyright (C) 2009 - 2009 by OpenGamma Inc.
*
* Please see distribution for license.
*/
package com.opengamma.util;
/**
* Utility methods for working with threads.
*
* @author kirk
*/
public final class ThreadUtil {
private ThreadUtil() {
}
/**
* Attempt to join the thread specified safely.
... | src/com/opengamma/util/ThreadUtil.java | /**
* Copyright (C) 2009 - 2009 by OpenGamma Inc.
*
* Please see distribution for license.
*/
package com.opengamma.util;
/**
* Utility methods for working with threads.
*
* @author kirk
*/
public final class ThreadUtil {
private ThreadUtil() {
}
/**
* Attempt to join the thread specified safely.
... | Have safeJoin() check for already being terminated before attempting to join.
| src/com/opengamma/util/ThreadUtil.java | Have safeJoin() check for already being terminated before attempting to join. | <ide><path>rc/com/opengamma/util/ThreadUtil.java
<ide> * we went past the timeout.
<ide> */
<ide> public static boolean safeJoin(Thread t, long msTimeout) {
<add> if(!t.isAlive()) {
<add> return true;
<add> }
<ide> try {
<ide> t.join(msTimeout);
<ide> } catch (InterruptedExcepti... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.