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
e003f32391150b04a7c7a324b693708265f3f1b1
0
Codewaves/Sticky-Header-Grid
package com.codewaves.stickyheadergrid; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.util.AttributeSet; import android.view.View; import android.view.ViewGroup; /** * Created by Sergej Kravcenko on 4/24/2017. * Copyright (c) 2017 Sergej Kravcenko */ @SuppressWarnin...
stickyheadergrid/src/main/java/com/codewaves/stickyheadergrid/StickyHeaderGridLayoutManager.java
package com.codewaves.stickyheadergrid; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.util.AttributeSet; import android.view.View; import android.view.ViewGroup; /** * Created by Sergej Kravcenko on 4/24/2017. * Copyright (c) 2017 Sergej Kravcenko */ @SuppressWarnin...
Add span width correction
stickyheadergrid/src/main/java/com/codewaves/stickyheadergrid/StickyHeaderGridLayoutManager.java
Add span width correction
<ide><path>tickyheadergrid/src/main/java/com/codewaves/stickyheadergrid/StickyHeaderGridLayoutManager.java <ide> } <ide> } <ide> <add> private int getSpanWidth(int recyclerWidth, int spanIndex, int spanSize) { <add> final int spanWidth = recyclerWidth / mSpanCount; <add> final int spanWidthReminde...
Java
mit
9f312e01dc1f221bb9ec05ff4298f0fdf73c7331
0
aterai/java-swing-tips,aterai/java-swing-tips,aterai/java-swing-tips,aterai/java-swing-tips
// -*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: // @homepage@ package example; import java.awt.*; import java.awt.event.ActionListener; import java.util.Collections; import javax.swing.*; import javax.swing.text.AbstractDocument; import javax.swing.text.BoxView; import javax.swing.text.ComponentVi...
NoWrapTextPane/src/java/example/MainPanel.java
// -*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: // @homepage@ package example; import java.awt.*; import java.awt.event.ActionListener; import java.util.Objects; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import javax.swing.*; import javax.swing.text.Abstra...
PMD: CloseResource
NoWrapTextPane/src/java/example/MainPanel.java
PMD: CloseResource
<ide><path>oWrapTextPane/src/java/example/MainPanel.java <ide> <ide> import java.awt.*; <ide> import java.awt.event.ActionListener; <del>import java.util.Objects; <del>import java.util.concurrent.ExecutorService; <del>import java.util.concurrent.Executors; <add>import java.util.Collections; <ide> import javax.swing.*;...
JavaScript
agpl-3.0
c7b457afb105dc9a16472ae46cea2bacb64205b9
0
axelor/axelor-development-kit,axelor/axelor-development-kit,axelor/axelor-development-kit,axelor/axelor-development-kit
/* * Axelor Business Solutions * * Copyright (C) 2005-2014 Axelor (<http://axelor.com>). * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distri...
axelor-web/src/main/webapp/js/form/form.input.static.js
/* * Axelor Business Solutions * * Copyright (C) 2005-2014 Axelor (<http://axelor.com>). * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distri...
Fix button widget readonly issue Fixes RM-3223
axelor-web/src/main/webapp/js/form/form.input.static.js
Fix button widget readonly issue
<ide><path>xelor-web/src/main/webapp/js/form/form.input.static.js <ide> <ide> function enable() { <ide> scope.ajaxStop(function () { <del> setDisabled(false); <add> setDisabled(scope.isReadonly()); <ide> }, 100); <ide> } <ide>
Java
apache-2.0
b97b9318b2c05f82e47341d6d6589a40fedbdef0
0
markfisher/spring-cloud-dataflow,spring-cloud/spring-cloud-dataflow,spring-cloud/spring-cloud-dataflow,spring-cloud/spring-cloud-dataflow,trisberg/spring-cloud-dataflow,spring-cloud/spring-cloud-dataflow,spring-cloud/spring-cloud-data,mminella/spring-cloud-data,spring-cloud/spring-cloud-data,jvalkeal/spring-cloud-dataf...
/* * Copyright 2015-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
spring-cloud-dataflow-core/src/test/java/org/springframework/cloud/dataflow/core/dsl/StreamParserTests.java
/* * Copyright 2015-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Test for quoted newlines in app argument values
spring-cloud-dataflow-core/src/test/java/org/springframework/cloud/dataflow/core/dsl/StreamParserTests.java
Test for quoted newlines in app argument values
<ide><path>pring-cloud-dataflow-core/src/test/java/org/springframework/cloud/dataflow/core/dsl/StreamParserTests.java <ide> parse("foo-bar", "http | transform | sink"); <ide> parse("foo_bar", "http | transform | sink"); <ide> } <add> <add> @Test <add> public void parametersContainingNewlineCarriageReturn() { <add...
Java
apache-2.0
57208e650f94edece537ccdeb1a2c19b4f7ccca8
0
twalthr/flink,WangTaoTheTonic/flink,tzulitai/flink,fhueske/flink,lincoln-lil/flink,shaoxuan-wang/flink,zentol/flink,fhueske/flink,GJL/flink,rmetzger/flink,shaoxuan-wang/flink,tillrohrmann/flink,hongyuhong/flink,shaoxuan-wang/flink,kl0u/flink,fanyon/flink,apache/flink,kl0u/flink,fhueske/flink,zimmermatt/flink,fhueske/fl...
/* * 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 ...
flink-runtime/src/main/java/org/apache/flink/runtime/metrics/MetricRegistry.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 ...
[hotfix] [metrics] Supply name to view/reporter thread
flink-runtime/src/main/java/org/apache/flink/runtime/metrics/MetricRegistry.java
[hotfix] [metrics] Supply name to view/reporter thread
<ide><path>link-runtime/src/main/java/org/apache/flink/runtime/metrics/MetricRegistry.java <ide> import java.util.TimerTask; <ide> import java.util.concurrent.Executors; <ide> import java.util.concurrent.ScheduledExecutorService; <add>import java.util.concurrent.ThreadFactory; <ide> import java.util.concurrent.TimeUnit...
Java
bsd-3-clause
e30a31f8ba4b6e411c1a796acecdf54b1ff66673
0
ktgw0316/LightZone,ktgw0316/LightZone,ktgw0316/LightZone,ktgw0316/LightZone,ktgw0316/LightZone,ktgw0316/LightZone,ktgw0316/LightZone
/* Copyright (C) 2005-2011 Fabio Riccardi */ /* Copyright (C) 2019- Masahiro Kitagawa */ package com.lightcrafts.ui.editor; import com.lightcrafts.model.CropBounds; import com.lightcrafts.model.Operation; import com.lightcrafts.platform.Platform; import com.lightcrafts.ui.crop.CropListener; import com.lightcrafts...
lightcrafts/src/com/lightcrafts/ui/editor/ModeManager.java
/* Copyright (C) 2005-2011 Fabio Riccardi */ package com.lightcrafts.ui.editor; import com.lightcrafts.model.CropBounds; import com.lightcrafts.model.Operation; import com.lightcrafts.platform.Platform; import com.lightcrafts.ui.crop.CropListener; import com.lightcrafts.ui.crop.CropMode; import com.lightcrafts.ui.mod...
Correct initial crop size on HiDPI display
lightcrafts/src/com/lightcrafts/ui/editor/ModeManager.java
Correct initial crop size on HiDPI display
<ide><path>ightcrafts/src/com/lightcrafts/ui/editor/ModeManager.java <ide> /* Copyright (C) 2005-2011 Fabio Riccardi */ <add>/* Copyright (C) 2019- Masahiro Kitagawa */ <ide> <ide> package com.lightcrafts.ui.editor; <ide> <ide> import com.lightcrafts.ui.operation.OpStackListener; <ide> import com.lightcrafts.ui.o...
JavaScript
mit
b13fe14ea18d0b36eafd1120170ad11f41af03c4
0
javapark/jqgrid
/* * jqFilter jQuery jqGrid filter addon. * Copyright (c) 2011, Tony Tomov, tony@trirand.com * Dual licensed under the MIT and GPL licenses * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl-2.0.html * * The work is inspired from this Stefan Pirvu * http://www.codeproject.c...
js/grid.filter.js
/* * jqFilter jQuery jqGrid filter addon. * Copyright (c) 2011, Tony Tomov, tony@trirand.com * Dual licensed under the MIT and GPL licenses * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl-2.0.html * * The work is inspired from this Stefan Pirvu * http://www.codeproject.c...
Add a method resetFilter. Fix when adding a new group - we add the first enabled field.
js/grid.filter.js
Add a method resetFilter. Fix when adding a new group - we add the first enabled field.
<ide><path>s/grid.filter.js <ide> th.append(inputAddSubgroup); <ide> <ide> // button for adding a new rule <del> var inputAddRule = $("<input type='button' value='+' title='Add rule' class='add-rule'/>"); <add> var inputAddRule = $("<input type='button' value='+' title='Add rule' class='add-rule'/>"), cm; <i...
Java
mit
645c0973be1de7c678d4b86658bf1af4e9f0a44e
0
nking/curvature-scale-space-corners-and-transformations,nking/curvature-scale-space-corners-and-transformations
package algorithms.imageProcessing; import java.util.logging.Logger; /** * NOTE: need to edit these comments. for this color version of canny, * using the "L" and "C" images of LCH CIELUV color space. * May also add use of "H"...still experimenting. * * * * The CannyEdge filter is an algorithm to operate o...
src/algorithms/imageProcessing/CannyEdgeColorAdaptive.java
package algorithms.imageProcessing; import algorithms.misc.Misc; import algorithms.misc.MiscDebug; import algorithms.misc.MiscMath; import java.util.logging.Logger; import java.util.HashSet; import algorithms.util.PairInt; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Set...
changed the threshold of the "C" portion of the canny color edge filter.
src/algorithms/imageProcessing/CannyEdgeColorAdaptive.java
changed the threshold of the "C" portion of the canny color edge filter.
<ide><path>rc/algorithms/imageProcessing/CannyEdgeColorAdaptive.java <ide> package algorithms.imageProcessing; <ide> <del>import algorithms.misc.Misc; <del>import algorithms.misc.MiscDebug; <del>import algorithms.misc.MiscMath; <ide> import java.util.logging.Logger; <del>import java.util.HashSet; <del>import algorithm...
Java
bsd-2-clause
c7036f04418a121129d74b26a4d9d6ae503e8369
0
llwanghong/jslint4java,nikgoodley-ibboost/jslint4java,mmayorivera/jslint4java,llwanghong/jslint4java,llwanghong/jslint4java,rsingla/jslint4java,mmayorivera/jslint4java,nikgoodley-ibboost/jslint4java,nikgoodley-ibboost/jslint4java,rsingla/jslint4java,rsingla/jslint4java,nikgoodley-ibboost/jslint4java,llwanghong/jslint4j...
package com.googlecode.jslint4java; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.*; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import java.util.List; import java.util.Set; import org.junit.Before; import org.junit.Test; /** * @author dom */ public...
jslint4java/src/test/java/com/googlecode/jslint4java/JSLintTest.java
package com.googlecode.jslint4java; import static org.hamcrest.CoreMatchers.*; import static org.junit.Assert.*; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import java.util.List; import java.util.Set; import org.junit.Before; import org.junit.Test; /** * @author dom */ public...
The parser got fixed. :)
jslint4java/src/test/java/com/googlecode/jslint4java/JSLintTest.java
The parser got fixed. :)
<ide><path>slint4java/src/test/java/com/googlecode/jslint4java/JSLintTest.java <ide> // "can't continue" message. <ide> List<Issue> issues = lint("\"").getIssues(); <ide> // This looks like a bug in JSLintโ€ฆ <del> assertIssues(issues, "Unclosed string.", "Stopping. (200% scanned)."); <add>...
JavaScript
mit
0941cc9884e0a1a91fd1bc0ba8b4cff271a5eb14
0
savelichalex/react,nhunzaker/react,psibi/react,neusc/react,edvinerikson/react,yulongge/react,yungsters/react,arush/react,zs99/react,negativetwelve/react,rohannair/react,orzyang/react,lennerd/react,sdiaz/react,flowbywind/react,usgoodus/react,rohannair/react,vincentism/react,lastjune/react,lastjune/react,edvinerikson/rea...
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react-co...
src/renderers/dom/client/__tests__/ReactMount-test.js
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react-co...
Use a test case that demonstrates the fix.
src/renderers/dom/client/__tests__/ReactMount-test.js
Use a test case that demonstrates the fix.
<ide><path>rc/renderers/dom/client/__tests__/ReactMount-test.js <ide> it('should account for escaping on a checksum mismatch', function () { <ide> var div = document.createElement('div'); <ide> var markup = React.renderToString( <del> <div>This markup contains an html entity: &amp; server text</div>); <a...
Java
bsd-3-clause
5fc52fe87ba0e8b47c3f8085ca753b9fabb7dc53
0
CBIIT/common-security-module,NCIP/common-security-module,CBIIT/common-security-module,CBIIT/common-security-module,NCIP/common-security-module,NCIP/common-security-module,NCIP/common-security-module,CBIIT/common-security-module,CBIIT/common-security-module
// PrivilegeTest.java package test.gov.nih.nci.security.authorization.domainobjects; import gov.nih.nci.security.SecurityServiceProvider; import gov.nih.nci.security.UserProvisioningManager; import gov.nih.nci.security.authorization.domainobjects.Privilege; import gov.nih.nci.security.dao.hibernate.HibernateSessionFa...
api/src/test/gov/nih/nci/security/authorization/domainobjects/PrivilegeTest.java
// PrivilegeTest.java package test.gov.nih.nci.security.authorization.domainobjects; import gov.nih.nci.security.authorization.domainobjects.Privilege; import gov.nih.nci.security.dao.hibernate.HibernateSessionFactory; import junit.framework.TestCase; import junit.framework.TestSuite; import net.sf.hibernate.Session;...
modified to use the Manager SVN-Revision: 185
api/src/test/gov/nih/nci/security/authorization/domainobjects/PrivilegeTest.java
modified to use the Manager
<ide><path>pi/src/test/gov/nih/nci/security/authorization/domainobjects/PrivilegeTest.java <ide> <ide> package test.gov.nih.nci.security.authorization.domainobjects; <ide> <add>import gov.nih.nci.security.SecurityServiceProvider; <add>import gov.nih.nci.security.UserProvisioningManager; <ide> import gov.nih.nci.secur...
JavaScript
mit
de7cf99389a3e3a985ad26b50b0282b9852a34ee
0
City-of-Helsinki/helerm-ui,City-of-Helsinki/helerm-ui,City-of-Helsinki/helerm-ui
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { bindActionCreators, compose } from 'redux'; import { withRouter, Link } from 'react-router'; import get from 'lodash/get'; import { fetchTOS } from 'components/Tos/reducer'; import { setValidationVisibility }...
src/components/Tos/Print/PrintView.js
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { bindActionCreators, compose } from 'redux'; import { withRouter, Link } from 'react-router'; import get from 'lodash/get'; import { fetchTOS } from 'components/Tos/reducer'; import { setValidationVisibility }...
Fix tos fetching in print view to use version parameter
src/components/Tos/Print/PrintView.js
Fix tos fetching in print view to use version parameter
<ide><path>rc/components/Tos/Print/PrintView.js <ide> static BODY_CLASS = 'helerm-tos-print-view'; <ide> <ide> componentDidMount () { <del> const { fetchTOS, TOS, hideNavigation, params: { id } } = this.props; <add> const { <add> fetchTOS, <add> TOS, <add> hideNavigation, <add> params: { ...
Java
apache-2.0
5e3fe8f99264ee797a68e149d0fb5c0a3dcfda09
0
carlphilipp/chicago-commutes,carlphilipp/chicago-commutes,carlphilipp/chicago-commutes
/** * Copyright 2014 Carl-Philipp Harmant * * 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 applicabl...
ChicagoTracker/src/fr/cph/chicago/activity/StationActivity.java
/** * Copyright 2014 Carl-Philipp Harmant * * 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 applicabl...
Fixed issue when cta API provide wrong data
ChicagoTracker/src/fr/cph/chicago/activity/StationActivity.java
Fixed issue when cta API provide wrong data
<ide><path>hicagoTracker/src/fr/cph/chicago/activity/StationActivity.java <ide> TrainLine line = eta.getRouteName(); <ide> Stop stop = eta.getStop(); <ide> int line3Padding = (int) getResources().getDimension(R.dimen.activity_station_stops_line3); <del> LinearLayout line3View = (LinearLayout) findViewById(ids.ge...
Java
bsd-2-clause
8e8a59de203ba755db6a252739bdf735bd07a832
0
thasmin/Podax,thasmin/Podax,thasmin/Podax,thasmin/Podax
package com.axelby.podax.ui; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.LoaderManager; import android.su...
src/com/axelby/podax/ui/SubscriptionSettingsFragment.java
package com.axelby.podax.ui; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.LoaderManager; import android.su...
fix memory leak in rare circumstance in subscription settings
src/com/axelby/podax/ui/SubscriptionSettingsFragment.java
fix memory leak in rare circumstance in subscription settings
<ide><path>rc/com/axelby/podax/ui/SubscriptionSettingsFragment.java <ide> <ide> if (getActivity() == null) <ide> return; <del> if (!cursor.moveToFirst()) <add> if (!cursor.moveToFirst()) { <add> cursor.close(); <ide> getActivity().finish(); <add> } <ide> <ide> _feedTitle = cursor.getString(0); <ide> ...
Java
apache-2.0
c276d923fde300d3750428a3c46b0932e9a85f66
0
metaborg/spoofax-eclipse,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax
package org.strategoxt.imp.runtime.services.outline; import java.util.LinkedList; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.Platform; import org.eclipse.imp.parser.IModelListener; import org.eclipse.imp.parser.IParseController; import org.eclipse.jface.text.TextSelection; impor...
org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/services/outline/SpoofaxOutlinePage.java
package org.strategoxt.imp.runtime.services.outline; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.Platform; import org.eclipse.imp.parser.IModelListener; import org.eclipse.imp.parser.IParseController; import org.eclipse.jface.text.TextSelection; import org.eclipse.jface.viewers.IS...
debouncer
org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/services/outline/SpoofaxOutlinePage.java
debouncer
<ide><path>rg.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/services/outline/SpoofaxOutlinePage.java <ide> package org.strategoxt.imp.runtime.services.outline; <add> <add>import java.util.LinkedList; <ide> <ide> import org.eclipse.core.runtime.IProgressMonitor; <ide> import org.eclipse.core.runtime.Platform; <...
JavaScript
mit
98c3e16d1fe0ed50334272bbb00367432ed1104d
0
WheatonCS/Lexos,WheatonCS/Lexos,WheatonCS/Lexos
/* In the Margins Side Panel Functions */ /* Based on https://github.com/AndreaLombardo/BootSideMenu */ function getSide(listClasses){ var side; for (var i = 0; i<listClasses.length; i++) { if (listClasses[i]=='sidebar-left') { side = "left"; break; } else if (listClasses...
static/js/scripts_ITM.js
/* In the Margins Side Panel Functions */ /* Based on https://github.com/AndreaLombardo/BootSideMenu */ function getSide(listClasses){ var side; for (var i = 0; i<listClasses.length; i++) { if (listClasses[i]=='sidebar-left') { side = "left"; break; } else if (listClasses...
Fixed typo
static/js/scripts_ITM.js
Fixed typo
<ide><path>tatic/js/scripts_ITM.js <ide> container.attr('data-status', 'closed'); <ide> <ide> /* ITM Panel Toggle Events */ <del> /* Note: This function currentl only works with side-panel toggle icon. <add> /* Note: This function currently only works with side-panel toggle icon. <ide> To enable t...
JavaScript
mit
98475c37e8abc4f515032f479a05e82c1f5b4203
0
myabc/refinerycms,rafamvc/jobs-refinery,myabc/refinerycms,kritik/portfolio,johnreilly/johnandkaty,mdoyle13/haymarket-ref,ashrafuzzaman/stips,kritik/portfolio,kritik/diamond-tours,mdoyle13/haymarket-ref,mdoyle13/haymarket-ref,kritik/diamond-tours,mdoyle13/haymarket-ref,clanplaid/wow.clanplaid.net,clanplaid/wow.clanplaid...
/* * WYMeditor : what you see is What You Mean web-based editor * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/ * Dual licensed under the MIT (MIT-license.txt) * and GPL (GPL-license.txt) licenses. * * For further information visit: * http://www.wymeditor.org/ * * File: jquery.refinery...
public/javascripts/wymeditor/jquery.refinery.wymeditor.js
/* * WYMeditor : what you see is What You Mean web-based editor * Copyright (c) 2008 Jean-Francois Hovinne, http://www.wymeditor.org/ * Dual licensed under the MIT (MIT-license.txt) * and GPL (GPL-license.txt) licenses. * * For further information visit: * http://www.wymeditor.org/ * * File: jquery.refinery...
Support onpaste for firefox and make it format a block if content is pasted like it does already on keyup
public/javascripts/wymeditor/jquery.refinery.wymeditor.js
Support onpaste for firefox and make it format a block if content is pasted like it does already on keyup
<ide><path>ublic/javascripts/wymeditor/jquery.refinery.wymeditor.js <ide> TOGGLE_HTML : "ToggleHtml", <ide> FORMAT_BLOCK : "FormatBlock", <ide> PREVIEW : "Preview", <del> <add> <ide> UNLINK : "Unlink", <ide> INSERT_UNORDEREDLIST : "InsertUnorderedList", <ide> INSERT_ORDEREDLIST ...
JavaScript
apache-2.0
2ccf73eec1e617d2e867eabfe3b5c6e180eb247c
0
EchoAppsTeam/EchoConversations
(function($) { "use strict"; /** * @class Echo.StreamServer.Controls.Stream.Plugins.CardUIShim * Extends Stream control to look like Card-based app. */ var plugin = Echo.Plugin.manifest("CardUIShim", "Echo.StreamServer.Controls.Stream"); plugin.config = { "displayEmptyStream": true }; plugin.init = function() { ...
plugins/card-ui-shim.js
(function($) { "use strict"; /** * @class Echo.StreamServer.Controls.Stream.Plugins.CardUIShim * Extends Stream control to look like Card-based app. */ var plugin = Echo.Plugin.manifest("CardUIShim", "Echo.StreamServer.Controls.Stream"); plugin.config = { "displayEmptyStream": true }; plugin.init = function() { ...
Changed background-color of blocking backdrop to transparent one
plugins/card-ui-shim.js
Changed background-color of blocking backdrop to transparent one
<ide><path>lugins/card-ui-shim.js <ide> '.{plugin.class} .echo-trinaryBackgroundColor { background-color: #f8f8f8; }' + <ide> '.{plugin.class:date} { float: left; color: #d3d3d3; margin-left: 5px; line-height: 18px; }' + <ide> <add> '.{plugin.class} .{class:blocker-backdrop} { background-color: transparent; }' + <id...
Java
apache-2.0
523fe31f92d9166bacf70fd00b7a7b6154d30511
0
RavenB/lumify,TeamUDS/lumify,TeamUDS/lumify,Steimel/lumify,TeamUDS/lumify,j-bernardo/lumify,Steimel/lumify,dvdnglnd/lumify,Steimel/lumify,Steimel/lumify,dvdnglnd/lumify,j-bernardo/lumify,RavenB/lumify,bings/lumify,bings/lumify,dvdnglnd/lumify,Steimel/lumify,TeamUDS/lumify,dvdnglnd/lumify,j-bernardo/lumify,j-bernardo/lu...
package io.lumify.tools; import io.lumify.core.cmdline.CommandLineBase; import io.lumify.core.user.Privilege; import io.lumify.core.user.User; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.OptionBuilder; import org.apache.commons.cli.Options; import java.util.Date; import java.util.List; im...
lumify-tools/lumify-user-admin/src/main/java/io/lumify/tools/UserAdmin.java
package io.lumify.tools; import io.lumify.core.cmdline.CommandLineBase; import io.lumify.core.user.Privilege; import io.lumify.core.user.User; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.OptionBuilder; import org.apache.commons.cli.Options; import java.util.Date; import java.util.List; im...
clean up, display create date
lumify-tools/lumify-user-admin/src/main/java/io/lumify/tools/UserAdmin.java
clean up, display create date
<ide><path>umify-tools/lumify-user-admin/src/main/java/io/lumify/tools/UserAdmin.java <ide> } <ide> <ide> private void printUser(User user) { <del> String emailAddress = user.getEmailAddress(); <del> emailAddress = emailAddress != null ? emailAddress : ""; <del> Date currentLoginDate = use...
Java
lgpl-2.1
a28ffe0139ef81731182449688816f2700adc783
0
skyvers/wildcat,skyvers/wildcat,skyvers/skyve,skyvers/wildcat,skyvers/skyve,skyvers/skyve,skyvers/skyve,skyvers/skyve,skyvers/skyve,skyvers/wildcat,skyvers/wildcat,skyvers/skyve
package modules.admin.ControlPanel; import java.util.Date; import java.util.List; import org.skyve.CORE; import org.skyve.EXT; import org.skyve.domain.PersistentBean; import org.skyve.domain.messages.MessageSeverity; import org.skyve.job.CancellableJob; import org.skyve.metadata.customer.Customer; import org.skyve.me...
skyve-ee/src/skyve/modules/admin/ControlPanel/GenerateTestDataJob.java
package modules.admin.ControlPanel; import java.util.Date; import java.util.List; import org.skyve.CORE; import org.skyve.EXT; import org.skyve.domain.PersistentBean; import org.skyve.domain.messages.MessageSeverity; import org.skyve.job.CancellableJob; import org.skyve.metadata.customer.Customer; import org.skyve.me...
Update GenerateTestDataJob to populate optional references when generating test data
skyve-ee/src/skyve/modules/admin/ControlPanel/GenerateTestDataJob.java
Update GenerateTestDataJob to populate optional references when generating test data
<ide><path>kyve-ee/src/skyve/modules/admin/ControlPanel/GenerateTestDataJob.java <ide> Persistence pers = CORE.getPersistence(); <ide> ControlPanelExtension bean = (ControlPanelExtension) getBean(); <ide> Tag tag = createOrRetrieveTag(pers, bean); <del> db = new DataBuilder().fixture(FixtureType.crud); <ide> ...
Java
mit
1bbf499d83a710e1b8690a0cf31d26a91eaccc6d
0
ncomet/javaone2017-bytebuddy,ncomet/javaone2017-bytebuddy
package memoization; import net.bytebuddy.ByteBuddy; import net.bytebuddy.implementation.bind.annotation.SuperCall; import java.util.HashMap; import java.util.Map; import java.util.concurrent.Callable; import static net.bytebuddy.implementation.MethodDelegation.to; import static net.bytebuddy.matcher.ElementMatchers...
projects/fibonacci-bytebuddy/src/main/java/memoization/Memoization.java
package memoization; import net.bytebuddy.ByteBuddy; import net.bytebuddy.implementation.bind.annotation.SuperCall; import java.util.HashMap; import java.util.Map; import java.util.concurrent.Callable; import static net.bytebuddy.implementation.MethodDelegation.to; import static net.bytebuddy.matcher.ElementMatchers...
static cache
projects/fibonacci-bytebuddy/src/main/java/memoization/Memoization.java
static cache
<ide><path>rojects/fibonacci-bytebuddy/src/main/java/memoization/Memoization.java <ide> <ide> public class Memoization { <ide> <del> private Map<Integer, Long> cache; <add> private static Map<Integer, Long> cache; <ide> <ide> public Memoization() { <ide> this.cache = new HashMap<>();
Java
bsd-3-clause
ef233526ee623b75cbe3974cac7bf67f1f6f7758
0
decorators-squad/camel,decorators-squad/camel
/** * Copyright (c) 2016-2020, Mihai Emil Andronache * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list o...
src/test/java/com/amihaiemil/eoyaml/PlainStringScalarTest.java
/** * Copyright (c) 2016-2020, Mihai Emil Andronache * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list o...
Add checks for null value in scalar.
src/test/java/com/amihaiemil/eoyaml/PlainStringScalarTest.java
Add checks for null value in scalar.
<ide><path>rc/test/java/com/amihaiemil/eoyaml/PlainStringScalarTest.java <ide> PlainStringScalar second = new PlainStringScalar("java"); <ide> PlainStringScalar digits = new PlainStringScalar("123"); <ide> PlainStringScalar otherDigits = new PlainStringScalar("124"); <add> PlainStringScal...
Java
apache-2.0
246cf13de04f1af67004d4322f9755828c101e85
0
CMPUT301W14T05/Team5GeoTopics
package ca.ualberta.cs.team5geotopics.test; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.lang.reflect.Type; import java.util.ArrayList; import android.graphics.Bitmap; import android.test.ActivityInstrumen...
GeoTopicsTests/src/ca/ualberta/cs/team5geotopics/test/CacheTests.java
package ca.ualberta.cs.team5geotopics.test; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.lang.reflect.Type; import java.util.ArrayList; import android.graphics.Bitmap; import android.test.ActivityInstrumen...
created test for cache IO
GeoTopicsTests/src/ca/ualberta/cs/team5geotopics/test/CacheTests.java
created test for cache IO
<ide><path>eoTopicsTests/src/ca/ualberta/cs/team5geotopics/test/CacheTests.java <ide> Bitmap pic = Bitmap.createBitmap(10,10 ,Bitmap.Config.ARGB_8888); <ide> <ide> ArrayList<CommentModel> acm = new ArrayList<CommentModel>(); <del> CommentModel comment1 = new CommentModel("1.2", "1.111", "Body", "Author", null, "T...
Java
mit
cee9835a0d071e7e3719693b1af93178e47ac88c
0
algoliareadmebot/algoliasearch-client-java-2,algolia/algoliasearch-client-java,algoliareadmebot/algoliasearch-client-java,algolia/algoliasearch-client-java,algoliareadmebot/algoliasearch-client-java-2,algoliareadmebot/algoliasearch-client-java
package com.algolia.search.saas; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; /* * Copyright (c) 2015 Algolia * http://www.algolia.com/ * * Permission is hereby granted, free of charge, to any person obtain...
src/main/java/com/algolia/search/saas/Query.java
package com.algolia.search.saas; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; /* * Copyright (c) 2015 Algolia * http://www.algolia.com/ * * Permission is hereby granted, free of charge, to any person obtain...
Add new secured parameters
src/main/java/com/algolia/search/saas/Query.java
Add new secured parameters
<ide><path>rc/main/java/com/algolia/search/saas/Query.java <ide> protected Boolean removeStopWords; <ide> protected String userToken; <ide> protected String referers; <add> protected Integer validUntil; <add> protected String restrictIndices; <ide> <ide> public Query(String query) { <ide> ...
Java
apache-2.0
52ba6263cda086f8cd324c0fd4431affcb49c828
0
youdonghai/intellij-community,suncycheng/intellij-community,youdonghai/intellij-community,semonte/intellij-community,lucafavatella/intellij-community,ibinti/intellij-community,suncycheng/intellij-community,xfournet/intellij-community,xfournet/intellij-community,MER-GROUP/intellij-community,hurricup/intellij-community,i...
/* * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/platform-impl/src/com/intellij/ide/ui/customization/ActionUrl.java
/* * Copyright 2000-2009 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...
cleanup
platform/platform-impl/src/com/intellij/ide/ui/customization/ActionUrl.java
cleanup
<ide><path>latform/platform-impl/src/com/intellij/ide/ui/customization/ActionUrl.java <ide> /* <del> * Copyright 2000-2009 JetBrains s.r.o. <add> * Copyright 2000-2015 JetBrains s.r.o. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may not use this file except in complian...
Java
agpl-3.0
4b36650bdeb4a3507c5d0228a2c1bf6253bd44c2
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
b91f27a2-2e61-11e5-9284-b827eb9e62be
hello.java
b919a8e0-2e61-11e5-9284-b827eb9e62be
b91f27a2-2e61-11e5-9284-b827eb9e62be
hello.java
b91f27a2-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>b919a8e0-2e61-11e5-9284-b827eb9e62be <add>b91f27a2-2e61-11e5-9284-b827eb9e62be
Java
lgpl-2.1
420ea30a407de4a8f828c759306e9f1eb4d09800
0
blue-systems-group/project.maybe.polyglot,xcv58/polyglot,liujed/polyglot-eclipse,liujed/polyglot-eclipse,blue-systems-group/project.maybe.polyglot,liujed/polyglot-eclipse,xcv58/polyglot,xcv58/polyglot,xcv58/polyglot,blue-systems-group/project.maybe.polyglot,blue-systems-group/project.maybe.polyglot,liujed/polyglot-ecli...
/******************************************************************************* * This file is part of the Polyglot extensible compiler framework. * * Copyright (c) 2000-2012 Polyglot project group, Cornell University * Copyright (c) 2006-2012 IBM Corporation * All rights reserved. * * This program and the acco...
src/polyglot/visit/CFGBuilder.java
/******************************************************************************* * This file is part of the Polyglot extensible compiler framework. * * Copyright (c) 2000-2012 Polyglot project group, Cornell University * Copyright (c) 2006-2012 IBM Corporation * All rights reserved. * * This program and the acco...
Allow edges to finally blocks to be labelled with the exception that caused them. Set by a flag, and needed by subclasses in order to implement required functionality in dataflow analyses.
src/polyglot/visit/CFGBuilder.java
Allow edges to finally blocks to be labelled with the exception that caused them. Set by a flag, and needed by subclasses in order to implement required functionality in dataflow analyses.
<ide><path>rc/polyglot/visit/CFGBuilder.java <ide> import polyglot.util.InternalCompilerError; <ide> import polyglot.util.StringUtil; <ide> import polyglot.visit.FlowGraph.Edge; <add>import polyglot.visit.FlowGraph.EdgeKey; <ide> import polyglot.visit.FlowGraph.Peer; <ide> <ide> /** <ide> */ <ide> protected b...
Java
mit
7b428f26cdc68287280dcd5c158555ccb3cccf99
0
davidcarboni/Cryptolite
package com.github.davidcarboni.cryptolite; import java.io.UnsupportedEncodingException; import org.apache.commons.codec.binary.Base64; import org.apache.commons.codec.binary.Hex; /** * * This class provides the ability to convert a byte array to Base-64 and back, * or to a hexadecimal string for printing out. ...
src/main/java/com/github/davidcarboni/cryptolite/Codec.java
package com.github.davidcarboni.cryptolite; import java.io.UnsupportedEncodingException; import org.apache.commons.codec.binary.Base64; import org.apache.commons.codec.binary.Hex; /** * * This class provides the ability to convert a byte array to Base-64 and back, or to a hexadecimal * string for printing out. ...
Added a null check to toBase64String and cleaned up Javadoc.
src/main/java/com/github/davidcarboni/cryptolite/Codec.java
Added a null check to toBase64String and cleaned up Javadoc.
<ide><path>rc/main/java/com/github/davidcarboni/cryptolite/Codec.java <ide> <ide> /** <ide> * <del> * This class provides the ability to convert a byte array to Base-64 and back, or to a hexadecimal <del> * string for printing out. <add> * This class provides the ability to convert a byte array to Base-64 and back, ...
Java
apache-2.0
47a90af4c2bcf55083b1441bfacebae8d69cfd5d
0
junkerm/specmate,junkerm/specmate,junkerm/specmate,junkerm/specmate,junkerm/specmate
package com.specmate.uitests; import org.junit.*; import org.junit.rules.TestName; import org.junit.rules.TestWatcher; import org.junit.runner.Description; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; import org.junit.runners.model.Stateme...
ui-tests/src/test/java/com/specmate/uitests/TestBase.java
package com.specmate.uitests; import com.saucelabs.common.SauceOnDemandAuthentication; import org.junit.*; import org.junit.rules.TestName; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; import org.openqa.selenium.JavascriptExecutor; import ...
Add: Test Watcher
ui-tests/src/test/java/com/specmate/uitests/TestBase.java
Add: Test Watcher
<ide><path>i-tests/src/test/java/com/specmate/uitests/TestBase.java <ide> package com.specmate.uitests; <ide> <del>import com.saucelabs.common.SauceOnDemandAuthentication; <ide> <ide> import org.junit.*; <ide> import org.junit.rules.TestName; <add>import org.junit.rules.TestWatcher; <add>import org.junit.runner.Descr...
Java
apache-2.0
5e7ed1c7302915da18a4437b4096a26df3e9cd50
0
kierarad/gocd,varshavaradarajan/gocd,GaneshSPatil/gocd,jyotisingh/gocd,ibnc/gocd,gocd/gocd,arvindsv/gocd,GaneshSPatil/gocd,varshavaradarajan/gocd,tomzo/gocd,tomzo/gocd,marques-work/gocd,gocd/gocd,arvindsv/gocd,Skarlso/gocd,bdpiparva/gocd,gocd/gocd,ketan/gocd,ibnc/gocd,varshavaradarajan/gocd,naveenbhaskar/gocd,GaneshSPa...
/* * Copyright 2018 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
common/src/main/java/com/thoughtworks/go/work/DefaultGoPublisher.java
/* * Copyright 2018 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Fix agent reposting job completion twice * This fixes an issue where agent happened to report job completion twice. This issue was introduced while fixing an issue with console logs being swallowed #5335
common/src/main/java/com/thoughtworks/go/work/DefaultGoPublisher.java
Fix agent reposting job completion twice
<ide><path>ommon/src/main/java/com/thoughtworks/go/work/DefaultGoPublisher.java <ide> public void reportCompleted(JobResult result) { <ide> if (result != null) { <ide> LOG.info("{} is reporting build result [{}] to Go Server for {}", agentIdentifier, result, jobIdentifier.toFullString()); <add> ...
Java
bsd-3-clause
b293c68c9a0c7de8a920fb37b0867ef1eb1379c4
0
NCIP/cab2b,NCIP/cab2b,NCIP/cab2b
package edu.wustl.cab2b.client.ui; /** * The main RHS panel from the choose category tab, comprising the * {@link ChooseCategorySearchPanel}. Other components would be added in * future. * * @author mahesh_iyer * */ public class ChooseCategoryCategorySearchPanel extends AbstractCategorySearchPanel...
source/client/main/edu/wustl/cab2b/client/ui/ChooseCategoryCategorySearchPanel.java
package edu.wustl.cab2b.client.ui; import org.jdesktop.swingx.JXPanel; /** * The main RHS panel from the choose category tab, comprising the * {@link ChooseCategorySearchPanel}. Other components would be added in * future. * * @author mahesh_iyer * */ public class ChooseCategoryCategorySearchPa...
Formatted
source/client/main/edu/wustl/cab2b/client/ui/ChooseCategoryCategorySearchPanel.java
Formatted
<ide><path>ource/client/main/edu/wustl/cab2b/client/ui/ChooseCategoryCategorySearchPanel.java <ide> package edu.wustl.cab2b.client.ui; <del> <del>import org.jdesktop.swingx.JXPanel; <ide> <ide> /** <ide> * The main RHS panel from the choose category tab, comprising the <ide> * <ide> */ <ide> <del>public class Cho...
JavaScript
mit
904b762dede55dc1d3dc70c9f72eb02ace3048c1
0
namlook/eureka-widget-application-menu,namlook/eureka-widget-application-menu
import Ember from 'ember'; import WidgetApplication from 'ember-eureka/widget-application'; export default WidgetApplication.extend({ menuItems: function() { var currentRouteName = this.get('currentRouteName'); var items = this.get('config.items'); if (!items) { items = Emb...
addon/index.js
import Ember from 'ember'; import WidgetApplication from 'ember-eureka/widget-application'; export default WidgetApplication.extend({ currentRouteName: Ember.computed.alias('application.currentRouteName'), menuItems: function() { var items = this.get('config.items'); if (!items) { ...
keep up with new eureka
addon/index.js
keep up with new eureka
<ide><path>ddon/index.js <ide> import WidgetApplication from 'ember-eureka/widget-application'; <ide> <ide> export default WidgetApplication.extend({ <del> currentRouteName: Ember.computed.alias('application.currentRouteName'), <ide> <ide> menuItems: function() { <add> <add> var currentRouteName = this....
Java
apache-2.0
867b041bc86fcc2920798248ec7958ca230478e3
0
rcordovano/autopsy,rcordovano/autopsy,rcordovano/autopsy,rcordovano/autopsy,rcordovano/autopsy,rcordovano/autopsy
/* * Central Repository * * Copyright 2021 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apac...
Core/src/org/sleuthkit/autopsy/centralrepository/contentviewer/OtherOccurrencesNodeWorker.java
/* * Central Repository * * Copyright 2021 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apac...
7918 change to logging for failure to get ds info
Core/src/org/sleuthkit/autopsy/centralrepository/contentviewer/OtherOccurrencesNodeWorker.java
7918 change to logging for failure to get ds info
<ide><path>ore/src/org/sleuthkit/autopsy/centralrepository/contentviewer/OtherOccurrencesNodeWorker.java <ide> String dataSourceName = ""; <ide> Map<String, CorrelationCase> caseNames = new HashMap<>(); <ide> Case currentCase = Case.getCurrentCaseThrows(); <del> //the file...
Java
apache-2.0
66281fec33aaebf1a3dad9955b1242ea14ddf90f
0
jembi/openxds,jembi/openxds,jembi/openxds
/** * Copyright 2009 Misys plc, Sysnet International, Medem and others * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
openxds/openxds-core/src/main/java/org/openhealthexchange/openxds/XdsServer.java
/** * Copyright 2009 Misys plc, Sysnet International, Medem and others * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
Removed shutdown option from XdsServer as it is not needed.
openxds/openxds-core/src/main/java/org/openhealthexchange/openxds/XdsServer.java
Removed shutdown option from XdsServer as it is not needed.
<ide><path>penxds/openxds-core/src/main/java/org/openhealthexchange/openxds/XdsServer.java <ide> */ <ide> package org.openhealthexchange.openxds; <ide> <del>import org.openhealthexchange.openpixpdq.ihe.configuration.ConfigurationLoader; <ide> import org.openhealthexchange.openpixpdq.ihe.configuration.IheConfiguration...
Java
apache-2.0
31eaf3ced7b6feb432c6fc12d714c466553ea6de
0
awylie/hadoop,awylie/hadoop,awylie/hadoop,awylie/hadoop,awylie/hadoop,awylie/hadoop,awylie/hadoop,awylie/hadoop,awylie/hadoop,awylie/hadoop
/** * 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...
src/hdfs/org/apache/hadoop/hdfs/server/namenode/SecondaryNameNode.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...
commit ebdc0709836b6ec9823d2a335c083a9ff411f72a Author: Devaraj Das <ddas@yahoo-inc.com> Date: Wed May 5 14:09:32 2010 -0700 HDFS:1006 from https://issues.apache.org/jira/secure/attachment/12443766/hdfs-1006-bugfix-1.patch +++ b/YAHOO-CHANGES.txt + HDFS-1006. Removes unnecessary logins from the p...
src/hdfs/org/apache/hadoop/hdfs/server/namenode/SecondaryNameNode.java
commit ebdc0709836b6ec9823d2a335c083a9ff411f72a Author: Devaraj Das <ddas@yahoo-inc.com> Date: Wed May 5 14:09:32 2010 -0700
<ide><path>rc/hdfs/org/apache/hadoop/hdfs/server/namenode/SecondaryNameNode.java <ide> <ide> // initialize the webserver for uploading files. <ide> // Kerberized SSL servers must be run from the host principal... <del> if (UserGroupInformation.isSecurityEnabled()) { <del> SecurityUtil.login(conf, <del>...
Java
apache-2.0
aba6431ae8677446fea8508be17d9be019250edd
0
phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida
package ca.corefacility.bioinformatics.irida.ria.unit.web.oauth; import java.util.*; import java.util.function.Function; import javax.validation.*; import org.junit.Before; import org.junit.Test; import org.springframework.context.MessageSource; import org.springframework.data.domain.Page; import org.springframework...
src/test/java/ca/corefacility/bioinformatics/irida/ria/unit/web/oauth/RemoteAPIAjaxControllerTest.java
package ca.corefacility.bioinformatics.irida.ria.unit.web.oauth; import java.util.*; import java.util.function.Function; import javax.validation.*; import org.junit.Before; import org.junit.Test; import org.springframework.context.MessageSource; import org.springframework.data.domain.Page; import org.springframework...
Updated testing for RemoteAPIAjaxController
src/test/java/ca/corefacility/bioinformatics/irida/ria/unit/web/oauth/RemoteAPIAjaxControllerTest.java
Updated testing for RemoteAPIAjaxController
<ide><path>rc/test/java/ca/corefacility/bioinformatics/irida/ria/unit/web/oauth/RemoteAPIAjaxControllerTest.java <ide> import ca.corefacility.bioinformatics.irida.model.RemoteAPI; <ide> import ca.corefacility.bioinformatics.irida.ria.web.ajax.RemoteAPIAjaxController; <ide> import ca.corefacility.bioinformatics.irida.ri...
Java
apache-2.0
24fe6423311af0bf686888c90516444c11622974
0
habren/KafkaExample
package com.jasongj.kafka.connect; import java.io.PrintStream; import java.util.Collection; import java.util.Map; import org.apache.kafka.clients.consumer.OffsetAndMetadata; import org.apache.kafka.common.TopicPartition; import org.apache.kafka.common.utils.AppInfoParser; import org.apache.kafka.connect.sink.SinkReco...
demokafka.0.10.1.0/src/main/java/com/jasongj/kafka/connect/ConsoleSinkTask.java
package com.jasongj.kafka.connect; import java.util.Collection; import java.util.Map; import org.apache.kafka.clients.consumer.OffsetAndMetadata; import org.apache.kafka.common.TopicPartition; import org.apache.kafka.connect.sink.SinkRecord; import org.apache.kafka.connect.sink.SinkTask; public class ConsoleSinkTask...
Implement ConsoleSinkTask
demokafka.0.10.1.0/src/main/java/com/jasongj/kafka/connect/ConsoleSinkTask.java
Implement ConsoleSinkTask
<ide><path>emokafka.0.10.1.0/src/main/java/com/jasongj/kafka/connect/ConsoleSinkTask.java <ide> package com.jasongj.kafka.connect; <ide> <add>import java.io.PrintStream; <ide> import java.util.Collection; <ide> import java.util.Map; <ide> <ide> import org.apache.kafka.clients.consumer.OffsetAndMetadata; <ide> import ...
Java
apache-2.0
5588273537130231e83b3029045087987ba88075
0
tectronics/scalaris,seyyed/scalaris,tectronics/scalaris,seyyed/scalaris,seyyed/scalaris,digshock/scalaris,digshock/scalaris,seyyed/scalaris,seyyed/scalaris,tectronics/scalaris,tectronics/scalaris,digshock/scalaris,digshock/scalaris,seyyed/scalaris,digshock/scalaris,tectronics/scalaris,digshock/scalaris,digshock/scalari...
/** * Copyright 2007-2011 Zuse Institute Berlin * * 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 a...
contrib/wikipedia/src/de/zib/scalaris/examples/wikipedia/data/xml/Main.java
/** * Copyright 2007-2011 Zuse Institute Berlin * * 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 a...
- Wiki on Scalaris: fixed debug output of minTime and maxTime
contrib/wikipedia/src/de/zib/scalaris/examples/wikipedia/data/xml/Main.java
- Wiki on Scalaris: fixed debug output of minTime and maxTime
<ide><path>ontrib/wikipedia/src/de/zib/scalaris/examples/wikipedia/data/xml/Main.java <ide> WikiDumpHandler.println(System.out, " wiki dump : " + filename); <ide> WikiDumpHandler.println(System.out, " white list : " + whitelistFile); <ide> WikiDumpHandler.println(System.out, "...
JavaScript
mit
af0f3e22937b0c284b17e238ac055afd9a31819b
0
webgme/webgme,webgme/webgme,webgme/webgme
/*globals define, _, WebGMEGlobal*/ /*jshint browser: true */ /** * @author rkereskenyi / https://github.com/rkereskenyi */ define(['js/logger', 'js/util', 'js/Constants', 'js/Utils/GMEConcepts', 'js/NodePropertyNames', 'js/RegistryKeys', 'js/Widgets/DiagramDesigner/DiagramDesignerWidget.Cons...
src/client/js/Panels/MetaEditor/MetaEditorControl.js
/*globals define, _, WebGMEGlobal*/ /*jshint browser: true */ /** * @author rkereskenyi / https://github.com/rkereskenyi */ define(['js/logger', 'js/util', 'js/Constants', 'js/Utils/GMEConcepts', 'js/NodePropertyNames', 'js/RegistryKeys', 'js/Widgets/DiagramDesigner/DiagramDesignerWidget.Cons...
#919 Make remove ptr completely if no items
src/client/js/Panels/MetaEditor/MetaEditorControl.js
#919 Make remove ptr completely if no items
<ide><path>rc/client/js/Panels/MetaEditor/MetaEditorControl.js <ide> if (sourceNode && targetNode) { <ide> this._client.removeValidTargetItem(sourceID, pointerName, targetID); <ide> pointerMetaDescriptor = this._client.getValidTargetItems(sourceID, pointerName); <del> if (poin...
Java
apache-2.0
9906b5f3b5cc14bb7ed39adf0daad2940e6fce7c
0
fluenda/ParCEFone
/* * (C) Copyright 2016 Fluenda. * * 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...
src/main/java/com/fluenda/parcefone/event/CefRev23.java
/* * (C) Copyright 2016 Fluenda. * * 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...
Re-add accidentally deleted javadocs
src/main/java/com/fluenda/parcefone/event/CefRev23.java
Re-add accidentally deleted javadocs
<ide><path>rc/main/java/com/fluenda/parcefone/event/CefRev23.java <ide> this.dateLocale = Locale.ENGLISH; <ide> } <ide> <add> /** <add> * @param headers A map containing the keys and values of headers of CEF event <add> * @throws CEFHandlingException when it has issues writing the values of the h...
Java
unlicense
ad7faf2f541cd95f7a670ab7bca2e9bc3e50749f
0
joserobjr/MyTown2,GameModsBR/MyTown2,MyEssentials/MyTown2
package mytown.protection.json; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import cpw.mods.fml.common.Loader; import cpw.mods.fml.common.ModContainer; import mytown.MyTown; import myessentials.entities.Volume; import mytown.api.container.GettersContainer; import mytown.entities.flag.FlagType; imp...
src/main/java/mytown/protection/json/ProtectionParser.java
package mytown.protection.json; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import mytown.MyTown; import myessentials.entities.Volume; import mytown.api.container.GettersContainer; import mytown.entities.flag.FlagType; import mytown.protection.Protection; import mytown.protection.ProtectionHandler...
Added check to see if mod is loaded before adding protection to it.
src/main/java/mytown/protection/json/ProtectionParser.java
Added check to see if mod is loaded before adding protection to it.
<ide><path>rc/main/java/mytown/protection/json/ProtectionParser.java <ide> <ide> import com.google.gson.Gson; <ide> import com.google.gson.GsonBuilder; <add>import cpw.mods.fml.common.Loader; <add>import cpw.mods.fml.common.ModContainer; <ide> import mytown.MyTown; <ide> import myessentials.entities.Volume; <ide> impo...
Java
lgpl-2.1
3dffd9208e95b6b378fec4ac99f1e288b7b97a8b
0
aaronc/jfreechart,aaronc/jfreechart,aaronc/jfreechart
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
tests/org/jfree/chart/panel/CrosshairOverlayTest.java
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
Convert to JUnit 4.11 git-svn-id: ca96c60061366ac92493e2142a352bb838ea8caa@2873 4df5dd95-b682-48b0-b31b-748e37b65e73
tests/org/jfree/chart/panel/CrosshairOverlayTest.java
Convert to JUnit 4.11
<ide><path>ests/org/jfree/chart/panel/CrosshairOverlayTest.java <ide> <ide> package org.jfree.chart.panel; <ide> <add>import static org.junit.Assert.assertTrue; <add>import static org.junit.Assert.assertFalse; <add>import static org.junit.Assert.assertEquals; <add> <ide> import java.awt.BasicStroke; <ide> import java...
Java
apache-2.0
3b845ea95c5feaf093629d6c09b43c3260ea6176
0
apache/flink,zjureel/flink,twalthr/flink,godfreyhe/flink,wwjiang007/flink,tony810430/flink,zjureel/flink,zjureel/flink,twalthr/flink,godfreyhe/flink,xccui/flink,godfreyhe/flink,zentol/flink,lincoln-lil/flink,lincoln-lil/flink,gyfora/flink,gyfora/flink,tony810430/flink,lincoln-lil/flink,tony810430/flink,apache/flink,ton...
/* * 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 ...
flink-end-to-end-tests/flink-elasticsearch7-test/src/main/java/org/apache/flink/streaming/tests/Elasticsearch7SinkExample.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 ...
[FLINK-26185] Update Elasticsearch7SinkExample to use new unified Sink interface
flink-end-to-end-tests/flink-elasticsearch7-test/src/main/java/org/apache/flink/streaming/tests/Elasticsearch7SinkExample.java
[FLINK-26185] Update Elasticsearch7SinkExample to use new unified Sink interface
<ide><path>link-end-to-end-tests/flink-elasticsearch7-test/src/main/java/org/apache/flink/streaming/tests/Elasticsearch7SinkExample.java <ide> package org.apache.flink.streaming.tests; <ide> <ide> import org.apache.flink.api.common.functions.FlatMapFunction; <del>import org.apache.flink.api.common.functions.RuntimeCon...
Java
mit
983846ec7810616b70d8ddeb961d1c1c66279627
0
GaloisInc/Votail,GaloisInc/Votail,GaloisInc/Votail
/** * @author Dermot Cochran, 2010-2011, IT University of Copenhagen * * This class generates ballot boxes that create an electoral scenario, * for example, one winner by tie breaker and two losers, or one winner * by * quota, one winner as the highest continuing candidate on the ...
src/ie/votail/model/factory/BallotBoxFactory.java
/** * @author Dermot Cochran, 2010-2011, IT University of Copenhagen * * This class generates ballot boxes that create an electoral scenario, * for example, one winner by tie breaker and two losers, or one winner * by * quota, one winner as the highest continuing candidate on the ...
Improved logging of model version date.
src/ie/votail/model/factory/BallotBoxFactory.java
Improved logging of model version date.
<ide><path>rc/ie/votail/model/factory/BallotBoxFactory.java <ide> <ide> return extractBallots(scenario, scope, MAX_SCOPE); <ide> } <del> <add> <ide> /** <ide> * Generate ballot box test data <ide> * <del> * @param scenario The set of election outcomes <del> * @param scope The initial scope for...
Java
apache-2.0
da5d251dac01b36eaf20fd7db018a50c37ae4e8e
0
vtatai/srec,vtatai/srec
package com.github.srec.jemmy; import com.github.srec.UnsupportedFeatureException; import com.github.srec.command.exception.AssertionFailedException; import com.github.srec.util.AWTTreeScanner; import com.github.srec.util.ScannerMatcher; import com.github.srec.util.Utils; import org.apache.log4j.Logger; import org.ne...
core/src/main/java/com/github/srec/jemmy/JemmyDSL.java
package com.github.srec.jemmy; import com.github.srec.UnsupportedFeatureException; import com.github.srec.command.exception.AssertionFailedException; import com.github.srec.util.AWTTreeScanner; import com.github.srec.util.ScannerMatcher; import com.github.srec.util.Utils; import org.apache.log4j.Logger; import org.ne...
Compare Menu's texts using equals
core/src/main/java/com/github/srec/jemmy/JemmyDSL.java
Compare Menu's texts using equals
<ide><path>ore/src/main/java/com/github/srec/jemmy/JemmyDSL.java <ide> import org.netbeans.jemmy.operators.JTextFieldOperator; <ide> import org.netbeans.jemmy.operators.JToggleButtonOperator; <ide> import org.netbeans.jemmy.operators.Operator; <add>import org.netbeans.jemmy.operators.Operator.StringComparator; <ide> im...
Java
mit
5321d5965ad8187661222ad5303f5bd40b270563
0
fr1kin/ForgeHax,fr1kin/ForgeHax
package com.matt.forgehax.mods; import com.matt.forgehax.events.LocalPlayerUpdateEvent; import com.matt.forgehax.util.command.Setting; import com.matt.forgehax.util.mod.Category; import com.matt.forgehax.util.mod.ToggleMod; import com.matt.forgehax.util.mod.loader.RegisterMod; import java.util.OptionalInt; import java...
src/main/java/com/matt/forgehax/mods/AutoTotemMod.java
package com.matt.forgehax.mods; import com.matt.forgehax.events.LocalPlayerUpdateEvent; import com.matt.forgehax.util.mod.Category; import com.matt.forgehax.util.mod.ToggleMod; import com.matt.forgehax.util.mod.loader.RegisterMod; import java.util.OptionalInt; import java.util.stream.IntStream; import net.minecraft.in...
Added Menu Patch to Auto Totem (#142)
src/main/java/com/matt/forgehax/mods/AutoTotemMod.java
Added Menu Patch to Auto Totem (#142)
<ide><path>rc/main/java/com/matt/forgehax/mods/AutoTotemMod.java <ide> package com.matt.forgehax.mods; <ide> <ide> import com.matt.forgehax.events.LocalPlayerUpdateEvent; <add>import com.matt.forgehax.util.command.Setting; <ide> import com.matt.forgehax.util.mod.Category; <ide> import com.matt.forgehax.util.mod.Toggle...
Java
mit
8d5cb6391086c438b4e265bcd30858b9bdab391d
0
Ordinastie/MalisisCore
/* * The MIT License (MIT) * * Copyright (c) 2014 Ordinastie * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
src/main/java/net/malisis/core/util/BlockPosUtils.java
/* * The MIT License (MIT) * * Copyright (c) 2014 Ordinastie * * 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...
Changed compare to use Double.compare
src/main/java/net/malisis/core/util/BlockPosUtils.java
Changed compare to use Double.compare
<ide><path>rc/main/java/net/malisis/core/util/BlockPosUtils.java <ide> if (pos1.equals(pos2)) <ide> return 0; <ide> <del> return (int) (pos1.distanceSq(offset.x, offset.y, offset.z) - pos2.distanceSq(offset.x, offset.y, offset.z)); <add> return Double.compare(pos1.distanceSq(offset.x, offset.y, offset.z), pos2....
Java
apache-2.0
96bca5ecfb6f460c179d3dae0a4ba251e0a47273
0
apache/empire-db,apache/empire-db,apache/empire-db,apache/empire-db
/* * 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 ...
empire-db/src/main/java/org/apache/empire/db/expr/column/DBFuncExpr.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 ...
EMPIREDB-295: bufix addRerferencedColumns()
empire-db/src/main/java/org/apache/empire/db/expr/column/DBFuncExpr.java
EMPIREDB-295: bufix addRerferencedColumns()
<ide><path>mpire-db/src/main/java/org/apache/empire/db/expr/column/DBFuncExpr.java <ide> */ <ide> package org.apache.empire.db.expr.column; <ide> <add>import java.util.Set; <add> <ide> // Java <ide> import org.apache.empire.data.DataType; <ide> import org.apache.empire.db.DBColumn; <ide> import org.apache.empire.db.D...
Java
apache-2.0
75b21da2c41aa4ecf409fa9698f51420d44e0c2f
0
dudzislaw/SORCER,mwsobol/SORCER,s13372/SORCER,dudzislaw/SORCER,s8537/SORCER,s8537/SORCER,s13372/SORCER,mwsobol/SORCER,dudzislaw/SORCER,s8537/SORCER,mwsobol/SORCER,s13372/SORCER
package sorcer.netlet.util; /** * Copyright 2013, 2014 Sorcersoft.com S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
core/sorcer-platform/src/main/java/sorcer/netlet/util/LoaderConfigurationHelper.java
package sorcer.netlet.util; /** * Copyright 2013, 2014 Sorcersoft.com S.A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
Fix loading libs in shell
core/sorcer-platform/src/main/java/sorcer/netlet/util/LoaderConfigurationHelper.java
Fix loading libs in shell
<ide><path>ore/sorcer-platform/src/main/java/sorcer/netlet/util/LoaderConfigurationHelper.java <ide> } catch (MalformedURLException e) { <ide> throw new RuntimeException(e); <ide> } <del> } else if ("file".equals(scheme) || scheme==null) { <add> } else i...
Java
apache-2.0
fe6dd560c62fba739387ac9edb60e86b904dd802
0
FITeagle/native,FITeagle/native,FITeagle/native
package org.fiteagle.fnative.rest; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.Resource; import javax.inject.Inject; import javax.jms.JMSConsumer; import javax.jms.JMSContext; import javax.jms.JMSException; import javax.jms.JMSProducer; import javax.jms.TextMessage; import...
src/main/java/org/fiteagle/fnative/rest/ResourceRepository.java
package org.fiteagle.fnative.rest; import java.util.logging.Level; import java.util.logging.Logger; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import org.fiteagle.api.core.IResourc...
added async example (not finished)
src/main/java/org/fiteagle/fnative/rest/ResourceRepository.java
added async example (not finished)
<ide><path>rc/main/java/org/fiteagle/fnative/rest/ResourceRepository.java <ide> import java.util.logging.Level; <ide> import java.util.logging.Logger; <ide> <add>import javax.annotation.Resource; <add>import javax.inject.Inject; <add>import javax.jms.JMSConsumer; <add>import javax.jms.JMSContext; <add>import javax.jms...
Java
apache-2.0
f6286f35b595bae749100b9263517f62ae833717
0
ryano144/intellij-community,jexp/idea2,amith01994/intellij-community,apixandru/intellij-community,pwoodworth/intellij-community,muntasirsyed/intellij-community,semonte/intellij-community,blademainer/intellij-community,ryano144/intellij-community,hurricup/intellij-community,muntasirsyed/intellij-community,adedayo/intell...
package com.intellij.codeInsight; import com.intellij.psi.*; import com.intellij.psi.controlFlow.*; import com.intellij.psi.jsp.JspFile; import com.intellij.psi.search.GlobalSearchScope; import com.intellij.psi.util.InheritanceUtil; import gnu.trove.THashSet; import java.util.*; /** * @author mike */ public class ...
source/com/intellij/codeInsight/ExceptionUtil.java
package com.intellij.codeInsight; import com.intellij.psi.*; import com.intellij.psi.controlFlow.*; import com.intellij.psi.jsp.JspFile; import com.intellij.psi.search.GlobalSearchScope; import com.intellij.psi.util.InheritanceUtil; import gnu.trove.THashSet; import java.util.*; /** * @author mike */ public class ...
(no message)
source/com/intellij/codeInsight/ExceptionUtil.java
(no message)
<ide><path>ource/com/intellij/codeInsight/ExceptionUtil.java <ide> return false; <ide> } <ide> else if (parent instanceof PsiClassInitializer) { <add> if (((PsiClassInitializer)parent).hasModifierProperty(PsiModifier.STATIC)) return false; <ide> // anonymous class initializers can throw any exc...
Java
apache-2.0
9321c9c6e95c0c5e545e18f4335c15a5641bde57
0
jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim
/* * JaamSim Discrete Event Simulation * Copyright (C) 2002-2011 Ausenco Engineering Canada Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (a...
com/sandwell/JavaSimulation3D/DisplayEntity.java
/* * JaamSim Discrete Event Simulation * Copyright (C) 2002-2011 Ausenco Engineering Canada Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (a...
JS3D: Converted DisplayEntity keyword Position to a Vector3dInput with units of m For example, input may now be specified as: Berth1 Position { -5.415 -40738.275 0.000 m } Signed-off-by: Stephen Wong <6f34db11dd2258ec4ffa799eb0d7827f906cb1c6@ausencosandwell.com> Signed-off-by: Harvey Harrison <eadbd6b462bf3c97df03...
com/sandwell/JavaSimulation3D/DisplayEntity.java
JS3D: Converted DisplayEntity keyword Position to a Vector3dInput with units of m
<ide><path>om/sandwell/JavaSimulation3D/DisplayEntity.java <ide> import com.sandwell.JavaSimulation.Simulation; <ide> import com.sandwell.JavaSimulation.StringVector; <ide> import com.sandwell.JavaSimulation.Vector; <add>import com.sandwell.JavaSimulation.Vector3dInput; <ide> import com.sandwell.JavaSimulation3D.util.C...
Java
bsd-3-clause
6f3a6403a41f4af08b7ccc488fe2fc2d3e25262a
0
interdroid/smartsockets,kastur/interdroid-smartsockets,interdroid/smartsockets,kastur/interdroid-smartsockets,kastur/interdroid-smartsockets
package ibis.smartsockets.virtual; import ibis.smartsockets.SmartSocketsProperties; import ibis.smartsockets.direct.DirectSocket; import ibis.smartsockets.direct.DirectSocketAddress; import ibis.smartsockets.direct.DirectSocketFactory; import ibis.smartsockets.discovery.Discovery; import ibis.smartsockets.hub.Hub; imp...
src/ibis/smartsockets/virtual/VirtualSocketFactory.java
package ibis.smartsockets.virtual; import ibis.smartsockets.SmartSocketsProperties; import ibis.smartsockets.direct.DirectSocket; import ibis.smartsockets.direct.DirectSocketAddress; import ibis.smartsockets.direct.DirectSocketFactory; import ibis.smartsockets.discovery.Discovery; import ibis.smartsockets.hub.Hub; imp...
git-svn-id: http://gforge.cs.vu.nl/svn/ibis/smartsockets/trunk@13464 aaf88347-d911-0410-b711-e54d386773bb
src/ibis/smartsockets/virtual/VirtualSocketFactory.java
<ide><path>rc/ibis/smartsockets/virtual/VirtualSocketFactory.java <ide> import ibis.smartsockets.virtual.modules.AcceptHandler; <ide> import ibis.smartsockets.virtual.modules.ConnectModule; <ide> import ibis.smartsockets.virtual.modules.direct.Direct; <del>import ibis.smartsockets.virtual.modules.hubrouted.Hubrouted; <...
Java
apache-2.0
1f53c5fb9253cd72cf2e0876ead483f2cefa2e98
0
Netflix/Priam
/** * Copyright 2017 Netflix, Inc. * * <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License at * * <p>http://www.apache.org/licenses/LICENSE-2.0 * * <p>Unless required by applicable law or agree...
priam/src/main/java/com/netflix/priam/aws/S3FileSystemBase.java
/** * Copyright 2017 Netflix, Inc. * * <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License at * * <p>http://www.apache.org/licenses/LICENSE-2.0 * * <p>Unless required by applicable law or agree...
Change the exception scope
priam/src/main/java/com/netflix/priam/aws/S3FileSystemBase.java
Change the exception scope
<ide><path>riam/src/main/java/com/netflix/priam/aws/S3FileSystemBase.java <ide> */ <ide> package com.netflix.priam.aws; <ide> <add>import com.amazonaws.AmazonClientException; <ide> import com.amazonaws.services.s3.AmazonS3; <ide> import com.amazonaws.services.s3.model.BucketLifecycleConfiguration; <ide> import com.am...
Java
apache-2.0
20ddcbc13808fc98ff0b4b7fcb3cda6614bbd012
0
petteyg/intellij-community,diorcety/intellij-community,xfournet/intellij-community,tmpgit/intellij-community,Lekanich/intellij-community,wreckJ/intellij-community,idea4bsd/idea4bsd,diorcety/intellij-community,adedayo/intellij-community,joewalnes/idea-community,TangHao1987/intellij-community,wreckJ/intellij-community,sa...
package com.intellij.codeInsight.daemon.impl.quickfix; import com.intellij.codeInsight.CodeInsightUtilBase; import com.intellij.codeInsight.daemon.QuickFixBundle; import com.intellij.codeInsight.intention.impl.TypeExpression; import com.intellij.codeInsight.lookup.LookupElement; import com.intellij.codeInsight.lookup....
codeInsight/impl/com/intellij/codeInsight/daemon/impl/quickfix/CreatePropertyFromUsageFix.java
package com.intellij.codeInsight.daemon.impl.quickfix; import com.intellij.codeInsight.CodeInsightUtilBase; import com.intellij.codeInsight.daemon.QuickFixBundle; import com.intellij.codeInsight.intention.impl.TypeExpression; import com.intellij.codeInsight.lookup.LookupElement; import com.intellij.codeInsight.lookup....
IDEADEV-30711 assert: LookupImpl.addItem
codeInsight/impl/com/intellij/codeInsight/daemon/impl/quickfix/CreatePropertyFromUsageFix.java
IDEADEV-30711 assert: LookupImpl.addItem
<ide><path>odeInsight/impl/com/intellij/codeInsight/daemon/impl/quickfix/CreatePropertyFromUsageFix.java <ide> } <ide> <ide> static class FieldExpression extends Expression { <del> private LookupItem[] myItems; <ide> private String myDefaultFieldName; <add> private final PsiField myField; <add> privat...
Java
mit
005f3ac189f6c06d082b31f61c1bccda1b0428f8
0
tschechlovdev/jabref,grimes2/jabref,mairdl/jabref,mredaelli/jabref,Siedlerchr/jabref,Siedlerchr/jabref,mairdl/jabref,oscargus/jabref,motokito/jabref,tobiasdiez/jabref,mairdl/jabref,Braunch/jabref,jhshinn/jabref,zellerdev/jabref,ayanai1/jabref,Siedlerchr/jabref,sauliusg/jabref,obraliar/jabref,obraliar/jabref,tobiasdiez/...
package net.sf.jabref.logic.journals; import org.junit.Assert; import org.junit.Test; public class ShippedJournalAbbreviationDuplicateTest { @Test public void noDuplicatesInShippedJournalAbbreviations() { JournalAbbreviationRepository repoBuiltIn = new JournalAbbreviationRepository(); repoBui...
src/test/java/net/sf/jabref/logic/journals/ShippedJournalAbbreviationDuplicateTest.java
package net.sf.jabref.logic.journals; import junit.framework.Assert; import org.junit.Test; public class ShippedJournalAbbreviationDuplicateTest { @Test public void noDuplicatesInShippedJournalAbbreviations() { JournalAbbreviationRepository repoBuiltIn = new JournalAbbreviationRepository(); r...
Use correct import
src/test/java/net/sf/jabref/logic/journals/ShippedJournalAbbreviationDuplicateTest.java
Use correct import
<ide><path>rc/test/java/net/sf/jabref/logic/journals/ShippedJournalAbbreviationDuplicateTest.java <ide> package net.sf.jabref.logic.journals; <ide> <del>import junit.framework.Assert; <add>import org.junit.Assert; <ide> import org.junit.Test; <ide> <ide> public class ShippedJournalAbbreviationDuplicateTest {
Java
lgpl-2.1
3594dfd4c773079290f9fbadcbd2683a90a19842
0
dizzzz/exist,ambs/exist,ambs/exist,lcahlander/exist,lcahlander/exist,windauer/exist,lcahlander/exist,windauer/exist,eXist-db/exist,ambs/exist,eXist-db/exist,windauer/exist,adamretter/exist,wolfgangmm/exist,adamretter/exist,windauer/exist,lcahlander/exist,adamretter/exist,lcahlander/exist,adamretter/exist,wolfgangmm/exi...
/* * eXist Open Source Native XML Database * Copyright (C) 2001-2016 The eXist Project * http://exist-db.org * * This program 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 ...
exist-core/src/main/java/org/exist/repo/AutoDeploymentTrigger.java
/* * eXist Open Source Native XML Database * Copyright (C) 2001-2016 The eXist Project * http://exist-db.org * * This program 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 ...
[feature] Allow the autodeploy dir to be overriden by a system property: exist.autodeploy.dir
exist-core/src/main/java/org/exist/repo/AutoDeploymentTrigger.java
[feature] Allow the autodeploy dir to be overriden by a system property: exist.autodeploy.dir
<ide><path>xist-core/src/main/java/org/exist/repo/AutoDeploymentTrigger.java <ide> import java.io.IOException; <ide> import java.nio.file.Files; <ide> import java.nio.file.Path; <add>import java.nio.file.Paths; <ide> import java.util.*; <ide> import java.util.stream.Collectors; <ide> <ide> public final static Stri...
Java
bsd-3-clause
180f8a83af68f5c94bcab3f3ae076d7ec80ee15b
0
NCIP/catissue-core,krishagni/openspecimen,asamgir/openspecimen,krishagni/openspecimen,NCIP/catissue-core,asamgir/openspecimen,asamgir/openspecimen,NCIP/catissue-core,krishagni/openspecimen
package edu.wustl.catissuecore.action; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; imp...
WEB-INF/src/edu/wustl/catissuecore/action/BaseAction.java
package edu.wustl.catissuecore.action; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMappi...
added checkAddNewOperation() for AddNew functionality SVN-Revision: 3358
WEB-INF/src/edu/wustl/catissuecore/action/BaseAction.java
added checkAddNewOperation() for AddNew functionality
<ide><path>EB-INF/src/edu/wustl/catissuecore/action/BaseAction.java <ide> <ide> import javax.servlet.http.HttpServletRequest; <ide> import javax.servlet.http.HttpServletResponse; <add>import javax.servlet.http.HttpSession; <ide> <ide> import org.apache.struts.action.Action; <ide> import org.apache.struts.action.Actio...
Java
mit
e363bc5a053172bdf6a50019fd3428c02aa121b4
0
sizezero/dice-probabilities,sizezero/dice-probabilities
package org.kleemann.diceprobabilities; import android.view.View; import android.widget.Button; /** * <p> * A special type of CurrentDicePile that represents the integer target of the * roll. Primary difference is the rendering of the value and a different * default value. */ public class Target implements View....
src/org/kleemann/diceprobabilities/Target.java
package org.kleemann.diceprobabilities; import android.view.View; import android.widget.Button; /** * <p>A special type of CurrentDicePile that represents the integer * target of the roll. Primary difference is the rendering of the value * and a different default value. */ public class Target implements View.On...
pressing target cycles between large values
src/org/kleemann/diceprobabilities/Target.java
pressing target cycles between large values
<ide><path>rc/org/kleemann/diceprobabilities/Target.java <ide> import android.widget.Button; <ide> <ide> /** <del> * <p>A special type of CurrentDicePile that represents the integer <del> * target of the roll. Primary difference is the rendering of the value <del> * and a different default value. <add> * <p> <add> *...
JavaScript
mit
1a7a218922fd77a1e371e2eaf02d0e48706b57ff
0
taf2/select2,zhangwei900808/select2,stretch4x4/select2,sitexa/select2,MAubreyK/select2,taf2/select2,sujonvidia/select2,jiawenbo/select2,binaryvo/select2,qq645381995/select2,NabiKAZ/select2,khallaghi/select2,inway/select2,jiawenbo/select2,vgrish/select2,megahallon/select2,gitkiselev/select2,riiiiizzzzzohmmmmm/select2,Be...
/** * Select2 Brazilian Portuguese translation */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Nenhum resultado encontrado"; }, formatInputTooShort: function (input, min) { var n = min - input.length; return "Digite mais " + n + " cara...
select2_locale_pt-BR.js
/** * Select2 Brazilian Portuguese translation */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Nenhum resultado encontrado"; }, formatInputTooShort: function (input, min) { var n = min - input.length; return "Informe " + n + " caracter...
Update select2_locale_pt-BR.js Fix typo
select2_locale_pt-BR.js
Update select2_locale_pt-BR.js
<ide><path>elect2_locale_pt-BR.js <ide> <ide> $.extend($.fn.select2.defaults, { <ide> formatNoMatches: function () { return "Nenhum resultado encontrado"; }, <del> formatInputTooShort: function (input, min) { var n = min - input.length; return "Informe " + n + " caractere" + (n == 1? "" : "s"); }, <...
JavaScript
mit
1a566630d1f2d177c01f6b9f3eef1bc05400b824
0
saydulk/stalker_portal,saydulk/stalker_portal,saydulk/stalker_portal,saydulk/stalker_portal,saydulk/stalker_portal
/** * Media browser. */ (function(){ /* MEDIA BROWSER */ function media_browser_constructor(){ this.layer_name = 'media_browser'; this.row_blocks = ["dir", "back", "playing", "paused", "fav", "name", "seek_bar"]; this.mounted = false; this.cur_d...
c/media_browser.js
/** * Media browser. */ (function(){ /* MEDIA BROWSER */ function media_browser_constructor(){ this.layer_name = 'media_browser'; this.row_blocks = ["dir", "back", "playing", "paused", "fav", "name", "seek_bar"]; this.mounted = false; this.cur_d...
Fix media browser (issue #1565)
c/media_browser.js
Fix media browser (issue #1565)
<ide><path>/media_browser.js <ide> <ide> this.cur_dir_list = data; <ide> <del> if (this.change_level){ <add> if (stb.player.cur_media_item && this.change_level){ <ide> var contain_playing_item_idx = this.cur_dir_list.getIdxByVal("cmd", stb.player.cur_media_item.cmd); ...
Java
apache-2.0
c3dc3a2c378d6980b5d9d816979f1ec83bfbd495
0
ctripcorp/zeus,sdgdsffdsfff/zeus,ctripcorp/zeus,ctripcorp/zeus,ctripcorp/zeus,sdgdsffdsfff/zeus,sdgdsffdsfff/zeus,sdgdsffdsfff/zeus,sdgdsffdsfff/zeus
package com.ctrip.zeus.restful.resource; import com.ctrip.zeus.auth.Authorize; import com.ctrip.zeus.exceptions.ValidationException; import com.ctrip.zeus.executor.TaskManager; import com.ctrip.zeus.model.entity.*; import com.ctrip.zeus.restful.message.ResponseHandler; import com.ctrip.zeus.service.build.ConfigHandler...
src/main/java/com/ctrip/zeus/restful/resource/DeactivateResource.java
package com.ctrip.zeus.restful.resource; import com.ctrip.zeus.auth.Authorize; import com.ctrip.zeus.exceptions.ValidationException; import com.ctrip.zeus.executor.TaskManager; import com.ctrip.zeus.model.entity.*; import com.ctrip.zeus.restful.message.ResponseHandler; import com.ctrip.zeus.service.build.ConfigHandler...
add validate for deactivate
src/main/java/com/ctrip/zeus/restful/resource/DeactivateResource.java
add validate for deactivate
<ide><path>rc/main/java/com/ctrip/zeus/restful/resource/DeactivateResource.java <ide> import com.ctrip.zeus.service.message.queue.MessageQueue; <ide> import com.ctrip.zeus.service.message.queue.MessageType; <ide> import com.ctrip.zeus.service.model.*; <add>import com.ctrip.zeus.service.model.handler.GroupValidator; <ad...
Java
mit
c50fbd91dff00fc480680a76c25290cf4ff704e2
0
MeowInnovation/Item-Render,MascusJeoraly/Item-Render
/* * Copyright (c) 2015 Jerrell Fang * * This project is Open Source and distributed under The MIT License (MIT) * (http://opensource.org/licenses/MIT) * * You should have received a copy of the The MIT License along with * this project. If not, see <http://opensource.org/licenses/MIT>. */ package itemrender....
src/main/java/itemrender/client/keybind/KeybindRenderEntity.java
/* * Copyright (c) 2015 Jerrell Fang * * This project is Open Source and distributed under The MIT License (MIT) * (http://opensource.org/licenses/MIT) * * You should have received a copy of the The MIT License along with * this project. If not, see <http://opensource.org/licenses/MIT>. */ package itemrender....
Update KeybindRenderEntity.java
src/main/java/itemrender/client/keybind/KeybindRenderEntity.java
Update KeybindRenderEntity.java
<ide><path>rc/main/java/itemrender/client/keybind/KeybindRenderEntity.java <ide> public KeybindRenderEntity(int textureSize, String filename_suffix, int keyVal, String des) { <ide> fbo = new FBOHelper(textureSize); <ide> filenameSuffix = filename_suffix; <del> keyValue = keyval; <add> ...
Java
bsd-2-clause
ed616d8453401276156286f24494b2fbed0cee4a
0
LittleMikeDev/jextend
package uk.co.littlemike.jextend.impl; import uk.co.littlemike.jextend.validation.ExtensionClassNotAnInterfaceException; import uk.co.littlemike.jextend.validation.UnimplementedExtensionMethodException; import java.lang.reflect.Method; import java.util.HashSet; import java.util.Set; public class ExtensionConfigurati...
jextend-core/src/main/java/uk/co/littlemike/jextend/impl/ExtensionConfiguration.java
package uk.co.littlemike.jextend.impl; import uk.co.littlemike.jextend.validation.ExtensionClassNotAnInterfaceException; import uk.co.littlemike.jextend.validation.UnimplementedExtensionMethodException; import java.lang.reflect.Method; import java.util.Arrays; import java.util.HashSet; import java.util.List; import j...
Collect unimplemented methods during categorization for validation
jextend-core/src/main/java/uk/co/littlemike/jextend/impl/ExtensionConfiguration.java
Collect unimplemented methods during categorization for validation
<ide><path>extend-core/src/main/java/uk/co/littlemike/jextend/impl/ExtensionConfiguration.java <ide> import uk.co.littlemike.jextend.validation.UnimplementedExtensionMethodException; <ide> <ide> import java.lang.reflect.Method; <del>import java.util.Arrays; <ide> import java.util.HashSet; <del>import java.util.List; <...
JavaScript
mit
62540f38072ddc4cbe20be3019c9be002595e104
0
efog/hurler,efog/hurler
/** * Controller Constructor * @constructor */ function ControllerController() { } /** * Directive setup * * @param {any} $http $http service * @returns {undefined} */ function urlBar($http) { /** * links directive to scope * * @param {any} scope directive scope * @param {any} elemen...
app/ng-app/directives/url-bar/url-bar.js
/** * Controller Constructor * @constructor */ function ControllerController() { } /** * Directive setup * * @param {any} $http $http service * @returns {undefined} */ function urlBar($http) { /** * links directive to scope * * @param {any} scope directive scope * @param {any} elemen...
Quick check
app/ng-app/directives/url-bar/url-bar.js
Quick check
<ide><path>pp/ng-app/directives/url-bar/url-bar.js <ide> } <ide> <ide> // Usage: <del> // <add> // <url-bar></url-bar> <ide> // Creates: <ide> // <ide> var directive = {
Java
apache-2.0
929bf937b54d6bf196843ae3393d4b09f2cfd99b
0
Sellegit/j2objc,Sellegit/j2objc,Sellegit/j2objc,Sellegit/j2objc,Sellegit/j2objc
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
translator/src/main/java/com/google/devtools/j2objc/gen/StatementGenerator.java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
#19, after found switch statment is a string, using another function(printStringSwitchStatement) to convert java continuing, just copy existing code here.
translator/src/main/java/com/google/devtools/j2objc/gen/StatementGenerator.java
#19, after found switch statment is a string, using another function(printStringSwitchStatement) to convert java continuing, just copy existing code here.
<ide><path>ranslator/src/main/java/com/google/devtools/j2objc/gen/StatementGenerator.java <ide> // an empty one. <ide> buffer.append(";\n"); <ide> } <add> if (!stmts.isEmpty() && stmts.get(stmts.size() - 1) instanceof SwitchCase) { <add> // Last switch case doesn't have an associated statement, ...
Java
apache-2.0
c234a50ed2ef0179d0826ce456e06528a68f9569
0
irccloud/android,irccloud/android,irccloud/android,irccloud/android,irccloud/android
/* * Copyright (c) 2015 IRCCloud, Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
src/com/irccloud/android/activity/BaseActivity.java
/* * Copyright (c) 2015 IRCCloud, Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Fix 'Send Feedback' on older versions of Android
src/com/irccloud/android/activity/BaseActivity.java
Fix 'Send Feedback' on older versions of Android
<ide><path>rc/com/irccloud/android/activity/BaseActivity.java <ide> private boolean mResolvingError; <ide> private static final int REQUEST_RESOLVE_ERROR = 1001; <ide> private static final int REQUEST_SEND_FEEDBACK = 1002; <del> private static final String LOG_FILENAME = "logs/log.txt"; <add> private ...
Java
apache-2.0
37f569ec5f0a1d282ed4ddf55a7adb3fdf525d24
0
ST-DDT/CrazyCore
package de.st_ddt.crazyutil; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.JSONValue; /** * This clas...
src/de/st_ddt/crazyutil/UpdateChecker.java
package de.st_ddt.crazyutil; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import org.json.simple.JS...
Fixed Issues with UpdateChecker if api is offline.
src/de/st_ddt/crazyutil/UpdateChecker.java
Fixed Issues with UpdateChecker if api is offline.
<ide><path>rc/de/st_ddt/crazyutil/UpdateChecker.java <ide> package de.st_ddt.crazyutil; <ide> <ide> import java.io.BufferedReader; <del>import java.io.IOException; <ide> import java.io.InputStreamReader; <ide> import java.net.MalformedURLException; <ide> import java.net.URL; <ide> hasUpdate = VersionComparator.com...
JavaScript
unlicense
acd645928a5f73e34db0ade525c39a654001cebb
0
naconner/lamassu-server,lamassu/lamassu-server,naconner/lamassu-server,naconner/lamassu-server,lamassu/lamassu-server,lamassu/lamassu-server
const _ = require('lodash/fp') const db = require('./db') const configManager = require('./config-manager') const logger = require('./logger') const schema = require('../lamassu-schema.json') const REMOVED_FIELDS = ['crossRefVerificationActive', 'crossRefVerificationThreshold'] function allScopes (cryptoScopes, mach...
lib/config-validate.js
const _ = require('lodash/fp') const db = require('./db') const configManager = require('./config-manager') const logger = require('./logger') const schema = require('../lamassu-schema.json') function allScopes (cryptoScopes, machineScopes) { const scopes = [] cryptoScopes.forEach(c => { machineScopes.forEach...
Handle spammy logs for removed l-a-s options
lib/config-validate.js
Handle spammy logs for removed l-a-s options
<ide><path>ib/config-validate.js <ide> const configManager = require('./config-manager') <ide> const logger = require('./logger') <ide> const schema = require('../lamassu-schema.json') <add> <add>const REMOVED_FIELDS = ['crossRefVerificationActive', 'crossRefVerificationThreshold'] <ide> <ide> function allScopes (cryp...
JavaScript
mit
a5ab2666fb65087b820fec736045711d7b1f8516
0
netiam/netiam,netiam/netiam
import _ from 'lodash' import roles from './roles' export default function acl(spec) { const WILDCARD = '*' const ALLOW = 'ALLOW' const DENY = 'DENY' const {settings} = spec let o = {} if (!settings) { throw new Error('You must provide an ACL "settings" option') } /** * Get all keys from resou...
src/rest/acl.js
import _ from 'lodash' import roles from './roles' export default function acl(spec) { const WILDCARD = '*' const ALLOW = 'ALLOW' const DENY = 'DENY' const {settings} = spec let o = {} if (!settings) { throw new Error('You must provide an ACL "settings" option') } /** * Get all keys from resou...
refactor: remove log statement
src/rest/acl.js
refactor: remove log statement
<ide><path>rc/rest/acl.js <ide> data[path] = data[path].map(function(nestedResource) { <ide> // HACK Check for ObjectID objects -> lean does not convert them to String <ide> if (isObjectID(nestedResource)) { <del> console.log(nestedResource.toHexString()) <ide> return ...
Java
apache-2.0
61125a6b1b454454bd67feb412abb8bfca3da7d1
0
freshplanet/ANE-Push-Notification,freshplanet/ANE-Push-Notification,freshplanet/ANE-Push-Notification
/** * Copyright 2017 FreshPlanet * 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...
android/lib/src/main/java/com/freshplanet/ane/AirPushNotification/PingUrlTask.java
/** * Copyright 2017 FreshPlanet * 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...
adding comment for safety
android/lib/src/main/java/com/freshplanet/ane/AirPushNotification/PingUrlTask.java
adding comment for safety
<ide><path>ndroid/lib/src/main/java/com/freshplanet/ane/AirPushNotification/PingUrlTask.java <ide> urlc.setConnectTimeout(1000 * 10); <ide> urlc.connect(); <ide> <add> // DO NOT REMOVE THIS CODE BLOCK, IF YOU DO TRACKING WONT WORK <add> /////////////////////////////////////////////////////////////// <ide> s...
JavaScript
apache-2.0
2763dc400463aeb42fc17d7d6af3a8b5fa83451a
0
darrylwest/node-file-utils
#!/usr/bin/env node // example of an events only walker; use this to walk huge trees and operate on each file one at a time; not as // good as streams, but close var TreeWalker = require('../lib/TreeWalker'), log = require('simple-node-logger').createSimpleLogger(), walker = new TreeWalker({ log:log }), h...
examples/huge-tree-walker.js
#!/usr/bin/env node // example of an events only walker; use this to walk huge trees and operate on each file one at a time; not as // good as streams, but close var TreeWalker = require('../lib/TreeWalker'), log = require('simple-node-logger').createSimpleLogger(), walker = new TreeWalker({ log:log }), h...
added example
examples/huge-tree-walker.js
added example
<ide><path>xamples/huge-tree-walker.js <ide> var TreeWalker = require('../lib/TreeWalker'), <ide> log = require('simple-node-logger').createSimpleLogger(), <ide> walker = new TreeWalker({ log:log }), <del> hugeFolder = '/Volumes/dpw-2012/gimp'; <add> hugeFolder = 'YOUR-HUGE-FILE-SYSTEM'; <ide> <ide> walk...
Java
apache-2.0
54f54550800858691a3438f92c6e26960a2a6a6c
0
d0k1/jmeter,DoctorQ/jmeter,liwangbest/jmeter,irfanah/jmeter,vherilier/jmeter,hemikak/jmeter,thomsonreuters/jmeter,thomsonreuters/jmeter,kyroskoh/jmeter,ubikloadpack/jmeter,irfanah/jmeter,hemikak/jmeter,kschroeder/jmeter,kschroeder/jmeter,ThiagoGarciaAlves/jmeter,max3163/jmeter,d0k1/jmeter,hemikak/jmeter,tuanhq/jmeter,v...
/* * Copyright 2001-2004,2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
src/jorphan/org/apache/jorphan/logging/LoggingManager.java
// $Header$ /* * Copyright 2001-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
Make setLoggingLevels() public git-svn-id: 52ad764cdf1b64a6e804f4e5ad13917d3c4b2253@410904 13f79535-47bb-0310-9956-ffa450edef68
src/jorphan/org/apache/jorphan/logging/LoggingManager.java
Make setLoggingLevels() public
<ide><path>rc/jorphan/org/apache/jorphan/logging/LoggingManager.java <del>// $Header$ <ide> /* <del> * Copyright 2001-2004 The Apache Software Foundation. <add> * Copyright 2001-2004,2006 The Apache Software Foundation. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may n...
Java
apache-2.0
d195c066860b25cf734c61c8da57863135e9194a
0
kool79/intellij-community,dslomov/intellij-community,signed/intellij-community,MichaelNedzelsky/intellij-community,kdwink/intellij-community,hurricup/intellij-community,salguarnieri/intellij-community,FHannes/intellij-community,signed/intellij-community,robovm/robovm-studio,fitermay/intellij-community,alphafoobar/intel...
/* * Copyright 2003-2006 Dave Griffith, Bas Leijdekkers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
plugins/InspectionGadgets/src/com/siyeh/ig/controlflow/ConstantIfStatementInspection.java
/* * Copyright 2003-2006 Dave Griffith, Bas Leijdekkers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
IDEADEV-6232
plugins/InspectionGadgets/src/com/siyeh/ig/controlflow/ConstantIfStatementInspection.java
IDEADEV-6232
<ide><path>lugins/InspectionGadgets/src/com/siyeh/ig/controlflow/ConstantIfStatementInspection.java <ide> import com.intellij.openapi.project.Project; <ide> import com.intellij.psi.*; <ide> import com.intellij.psi.codeStyle.CodeStyleManager; <del>import com.intellij.psi.jsp.JspFile; <ide> import com.intellij.psi.util.P...
Java
apache-2.0
c9921175b50d56d932c6b721edb780aa9b566756
0
flipkart-incubator/Lego
/* * Copyright 2015 Flipkart Internet, pvt ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
src/test/java/flipkart/lego/LegoTest.java
/* * Copyright 2015 Flipkart Internet, pvt ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
removing overrides methods from test
src/test/java/flipkart/lego/LegoTest.java
removing overrides methods from test
<ide><path>rc/test/java/flipkart/lego/LegoTest.java <ide> public String getDescription() { <ide> return null; <ide> } <del> <del> @Override <del> public String getId() throws UnsupportedOperationException { <del> return null; <del> } <del> <del> @Overri...
JavaScript
apache-2.0
252831a6354d723023d5563f19ffe5e81c5618e6
0
ilkkao/mas,ilkkao/mas,ilkkao/mas,ilkkao/mas
// // Copyright 2016 Ilkka Oksanen <iao@iki.fi> // // 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...
server/models/userGId.js
// // Copyright 2016 Ilkka Oksanen <iao@iki.fi> // // 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...
userGId.valid should be boolean
server/models/userGId.js
userGId.valid should be boolean
<ide><path>erver/models/userGId.js <ide> constructor({ id, type }) { <ide> this.id = id; <ide> this.type = type; <del> this.valid = id >= 0 && TYPES[type]; <add> this.valid = !!(id >= 0 && TYPES[type]); <ide> } <ide> <ide> isMASUser() {
Java
apache-2.0
ccd8ab424e9faadaf1d5f8d76986816b250d5e2a
0
alien4cloud/alien4cloud,alien4cloud/alien4cloud,alien4cloud/alien4cloud,alien4cloud/alien4cloud
package alien4cloud.purge; import alien4cloud.dao.ESGenericSearchDAO; import alien4cloud.dao.ESIndexMapper; import alien4cloud.dao.ElasticSearchDAO; import alien4cloud.dao.MonitorESDAO; import alien4cloud.dao.model.GetMultipleDataResult; import alien4cloud.events.DeploymentUndeployedEvent; import alien4cloud.model.de...
alien4cloud-core/src/main/java/alien4cloud/purge/PurgeService.java
package alien4cloud.purge; import alien4cloud.dao.ESGenericSearchDAO; import alien4cloud.dao.ESIndexMapper; import alien4cloud.dao.ElasticSearchDAO; import alien4cloud.dao.MonitorESDAO; import alien4cloud.dao.model.GetMultipleDataResult; import alien4cloud.events.DeploymentUndeployedEvent; import alien4cloud.model.de...
[ALIEN-3394] Delay purge of deployedtopology
alien4cloud-core/src/main/java/alien4cloud/purge/PurgeService.java
[ALIEN-3394] Delay purge of deployedtopology
<ide><path>lien4cloud-core/src/main/java/alien4cloud/purge/PurgeService.java <ide> import org.elasticsearch.index.query.*; <ide> import org.springframework.beans.factory.annotation.Value; <ide> import org.springframework.context.event.EventListener; <add>import org.springframework.core.Ordered; <add>import org.springfr...
Java
apache-2.0
53ea57f8d6be80a4cdaaa586213ae98a15a27111
0
DataSketches/memory,ApacheInfra/incubator-datasketches-memory,DataSketches/memory
package com.yahoo.memory; import static com.yahoo.memory.UnsafeUtil.checkBounds; import static com.yahoo.memory.UnsafeUtil.unsafe; import static java.lang.Character.isSurrogate; import static java.lang.Character.isSurrogatePair; import static java.lang.Character.toCodePoint; import java.io.IOException; import java.ni...
src/main/java/com/yahoo/memory/Utf8.java
package com.yahoo.memory; import static com.yahoo.memory.UnsafeUtil.checkBounds; import static com.yahoo.memory.UnsafeUtil.unsafe; import static java.lang.Character.isSurrogate; import static java.lang.Character.isSurrogatePair; import static java.lang.Character.toCodePoint; import java.io.IOException; import java.ni...
Add finals.
src/main/java/com/yahoo/memory/Utf8.java
Add finals.
<ide><path>rc/main/java/com/yahoo/memory/Utf8.java <ide> unsafeObj, cumBaseOffset); <ide> } <ide> <del> private static void checkCharBufferPos(CharBuffer cb, int cp, int cl) { <add> private static void checkCharBufferPos(final CharBuffer cb, final int cp, final int cl) { <ide> if (cp == cl) { <ide> ...
Java
mit
7b301a04dac58d5775a0dc775a897f5bb1be2403
0
CS2103JAN2017-T11-B3/main,CS2103JAN2017-T11-B3/main
package seedu.task.storage; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; import static org.junit.Assert.fail; import java.io.IOException; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; impo...
src/test/java/seedu/task/storage/XmlTaskListStorageTest.java
// package seedu.task.storage; // import static org.junit.Assert.assertEquals; // import static org.junit.Assert.assertFalse; // import static org.junit.Assert.assertNull; // import static org.junit.Assert.fail; // import java.io.IOException; // import org.junit.Rule; // import org.junit.Test; // import org.junit.ru...
uncomment XmlTaskListStorageTest.java
src/test/java/seedu/task/storage/XmlTaskListStorageTest.java
uncomment XmlTaskListStorageTest.java
<ide><path>rc/test/java/seedu/task/storage/XmlTaskListStorageTest.java <del>// package seedu.task.storage; <add>package seedu.task.storage; <ide> <del>// import static org.junit.Assert.assertEquals; <del>// import static org.junit.Assert.assertFalse; <del>// import static org.junit.Assert.assertNull; <del>// import st...
JavaScript
mit
47fd5df29939a800b6a70ad730d9e7170d9c495f
0
palmerhq/backpack
const fs = require('fs') const webpack = require('webpack') const nodeExternals = require('webpack-node-externals') const FriendlyErrorsWebpackPlugin = require('friendly-errors-webpack-plugin') const config = require('./paths') const path = require('path') const babelPreset = require('../babel') // This is the Webpack...
packages/backpack-core/config/webpack.config.js
const fs = require('fs') const webpack = require('webpack') const nodeExternals = require('webpack-node-externals') const FriendlyErrorsWebpackPlugin = require('friendly-errors-webpack-plugin') const config = require('./paths') const path = require('path') const babelPreset = require('../babel') // This is the Webpack...
Use NoEmitOnErrorsPlugin instead of NoErrorsPlugin (#68)
packages/backpack-core/config/webpack.config.js
Use NoEmitOnErrorsPlugin instead of NoErrorsPlugin (#68)
<ide><path>ackages/backpack-core/config/webpack.config.js <ide> // The FriendlyErrorsWebpackPlugin (when combined with source-maps) <ide> // gives Backpack its human-readable error messages. <ide> new FriendlyErrorsWebpackPlugin(), <del> // This plugin is awkwardly named. Use to be called NoError...
Java
bsd-2-clause
1b3c5ba863dce0d0b61ae7643fc1694133c96976
0
radai-rosenblatt/li-apache-kafka-clients,radai-rosenblatt/li-apache-kafka-clients
/* * Copyright 2017 LinkedIn Corp. Licensed under the BSD 2-Clause License (the "License").โ€จ See License in the project root for license information. */ package com.linkedin.kafka.clients.consumer; import com.linkedin.kafka.clients.auditing.NoOpAuditor; import com.linkedin.kafka.clients.largemessage.DefaultSegmentD...
integration-tests/src/test/java/com/linkedin/kafka/clients/consumer/LiKafkaConsumerIntegrationTest.java
/* * Copyright 2017 LinkedIn Corp. Licensed under the BSD 2-Clause License (the "License").โ€จ See License in the project root for license information. */ package com.linkedin.kafka.clients.consumer; import com.linkedin.kafka.clients.auditing.NoOpAuditor; import com.linkedin.kafka.clients.largemessage.DefaultSegmentD...
fix flaky tests around offset commits (#80) Signed-off-by: radai-rosenblatt <f8927f20a48a6d999779ac0cad7adf3e4b7a02e6@gmail.com>
integration-tests/src/test/java/com/linkedin/kafka/clients/consumer/LiKafkaConsumerIntegrationTest.java
fix flaky tests around offset commits (#80)
<ide><path>ntegration-tests/src/test/java/com/linkedin/kafka/clients/consumer/LiKafkaConsumerIntegrationTest.java <ide> import java.util.HashSet; <ide> import java.util.concurrent.ConcurrentMap; <ide> import java.util.concurrent.ConcurrentSkipListMap; <add>import java.util.concurrent.TimeUnit; <add>import java.util.con...
Java
apache-2.0
a3c69294a190680547de9986740e12b305409b71
0
scripthub/CustomCameraPlugin,scripthub/CustomCameraPlugin
package com.example.acedeno.customcamera; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaPlugin; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.apache.cordova.PluginResult; import org.apache.cordova.CordovaInterface; import android.content....
src/android/CustomCameraPlugin.java
package com.example.acedeno.customcamera; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaPlugin; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.apache.cordova.PluginResult; import org.apache.cordova.CordovaInterface; import android.content....
images action fix
src/android/CustomCameraPlugin.java
images action fix
<ide><path>rc/android/CustomCameraPlugin.java <ide> return true; <ide> } else if(action.equals(IMAGES)){ <ide> Log.i("XXX", "Pasa por imรกgenes"); <del> JSONObject js= new JSONObject(args.getString(0)); <add> try { <add> JSONObject js = new JSONObject(...
JavaScript
mit
9df48395d3e390eaeec694735dfb067afbd5a9a7
0
conveyal/datatools-manager,conveyal/datatools-manager,conveyal/datatools-manager,conveyal/datatools-manager
import Icon from '@conveyal/woonerf/components/icon' import React, { Component, PropTypes } from 'react' import { Grid, Row, Col, Button, Panel, Checkbox, ListGroup, ListGroupItem, ControlLabel } from 'react-bootstrap' import { Link } from 'react-router' import { LinkContainer } from 'react-router-bootstrap' import Ed...
lib/public/components/UserAccount.js
import Icon from '@conveyal/woonerf/components/icon' import React, { Component, PropTypes } from 'react' import { Grid, Row, Col, Button, Panel, Checkbox, ListGroup, ListGroupItem, ControlLabel } from 'react-bootstrap' import { Link } from 'react-router' import { LinkContainer } from 'react-router-bootstrap' import Ed...
fix(UserAccount): fix map func
lib/public/components/UserAccount.js
fix(UserAccount): fix map func
<ide><path>ib/public/components/UserAccount.js <ide> onClick={this._onClickRemoveSubscriptionType} /> <ide> <ul> <ide> {subscription.target.length <del> ? subscription.target.map(target => { <add> ? subscription.target.map(target => ( <ide> <SubscriptionTa...
Java
bsd-3-clause
af640896395d24eb6ac9480d43ce514d7cdb5b27
0
AlexRNL/Commons
package com.alexrnl.commons.arguments; import java.io.PrintStream; import java.lang.reflect.Field; import java.util.Arrays; import java.util.SortedSet; import java.util.TreeSet; import java.util.logging.Logger; import com.alexrnl.commons.utils.StringUtils; import com.alexrnl.commons.utils.object.ReflectUtils; /** *...
src/main/java/com/alexrnl/commons/arguments/Arguments.java
package com.alexrnl.commons.arguments; import java.lang.reflect.Field; import java.util.Arrays; import java.util.SortedSet; import java.util.TreeSet; import java.util.logging.Logger; import com.alexrnl.commons.utils.StringUtils; import com.alexrnl.commons.utils.object.ReflectUtils; /** * Class which allow to parse ...
Delegate call to System.out avoid sonar violation.
src/main/java/com/alexrnl/commons/arguments/Arguments.java
Delegate call to System.out
<ide><path>rc/main/java/com/alexrnl/commons/arguments/Arguments.java <ide> package com.alexrnl.commons.arguments; <ide> <add>import java.io.PrintStream; <ide> import java.lang.reflect.Field; <ide> import java.util.Arrays; <ide> import java.util.SortedSet; <ide> } <ide> <ide> /** <add> * Display the parameter's us...
Java
lgpl-2.1
3ecae5400eb944b65385485d3d965201678924ea
0
jolie/jolie,jolie/jolie,jolie/jolie
/*************************************************************************** * Copyright (C) 2008-2017 by Fabrizio Montesi <famontesi@gmail.com> * * * * This program is free software; you can redistribute it and/or modify * * it unde...
libjolie/src/jolie/lang/Constants.java
/*************************************************************************** * Copyright (C) 2008-2017 by Fabrizio Montesi <famontesi@gmail.com> * * * * This program is free software; you can redistribute it and/or modify * * it unde...
Version bump Former-commit-id: 259ff6ee9f35e2c9c356ce01681f08b789d61bd6
libjolie/src/jolie/lang/Constants.java
Version bump
<ide><path>ibjolie/src/jolie/lang/Constants.java <ide> public final class Constants <ide> { <ide> // Release information <del> public static final String VERSION = "Jolie 1.6.2"; <del> public static final String COPYRIGHT = "(C) 2006-2017 the Jolie team"; <add> public static final String VERSION = "Jolie 1.6.3"; <add>...
JavaScript
apache-2.0
4a0d2b7307b52dccf09e5cb1feeda815add3b6fa
0
rndsolutions/hawkcd,rndsolutions/hawkcd,rndsolutions/hawkcd,rndsolutions/hawkcd,rndsolutions/hawkcd
/* Copyright (C) 2016 R&D Solutions Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
Server/ui/src/app/pipelines/services/pipelineConfig.service.js
/* Copyright (C) 2016 R&D Solutions Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
Removed console logging from Pipeline Config service #416
Server/ui/src/app/pipelines/services/pipelineConfig.service.js
Removed console logging from Pipeline Config service #416
<ide><path>erver/ui/src/app/pipelines/services/pipelineConfig.service.js <ide> var error = ""; <ide> var json = jsonHandlerService.createJson(className, packageName, methodName, result, error, args); <ide> websocketSenderService.call(json); <del> console.log(json); <ide> ...
Java
mit
98f3d0b66c6052a88b24c7813b8b9efb6ac76d14
0
CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab
package org.xcolab.service.contest.domain.contestteammember; import org.jooq.DSLContext; import org.jooq.Record; import org.jooq.SelectQuery; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import org.springframework.util.Assert; import org.xcolab.model...
microservices/services/contest-service/src/main/java/org/xcolab/service/contest/domain/contestteammember/ContestTeamMemberDaoImpl.java
package org.xcolab.service.contest.domain.contestteammember; import org.jooq.DSLContext; import org.jooq.Record; import org.jooq.SelectQuery; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import org.springframework.util.Assert; import org.xcolab.model...
[COLAB-2371] Include contest team members from private contests in list
microservices/services/contest-service/src/main/java/org/xcolab/service/contest/domain/contestteammember/ContestTeamMemberDaoImpl.java
[COLAB-2371] Include contest team members from private contests in list
<ide><path>icroservices/services/contest-service/src/main/java/org/xcolab/service/contest/domain/contestteammember/ContestTeamMemberDaoImpl.java <ide> query.addJoin(CONTEST,CONTEST.CONTEST_PK.eq(CONTEST_TEAM_MEMBER.CONTEST_ID)); <ide> <ide> query.addConditions(CONTEST.CONTEST_YEAR.eq(contestYear)); <de...
Java
agpl-3.0
c9f4c3a1d023fed0869813ccaef5695a69d38c2d
0
cinquin/mutinack,cinquin/mutinack,cinquin/mutinack,cinquin/mutinack,cinquin/mutinack
/** * Mutinack mutation detection program. * Copyright (C) 2014-2016 Olivier Cinquin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, version 3. * * This program is distributed i...
src/uk/org/cinquin/mutinack/AnalysisStats.java
/** * Mutinack mutation detection program. * Copyright (C) 2014-2016 Olivier Cinquin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, version 3. * * This program is distributed i...
Use more appropriate type for counting.
src/uk/org/cinquin/mutinack/AnalysisStats.java
Use more appropriate type for counting.
<ide><path>rc/uk/org/cinquin/mutinack/AnalysisStats.java <ide> import java.util.Set; <ide> import java.util.concurrent.ConcurrentHashMap; <ide> import java.util.concurrent.ConcurrentMap; <del>import java.util.concurrent.atomic.DoubleAdder; <ide> import java.util.concurrent.atomic.LongAdder; <ide> import java.util.funct...
Java
unlicense
ebbe29e6dbd8a2abf682aa8cb8b202af43fe98bd
0
EgonOlsen71/basicv2,EgonOlsen71/basicv2
package com.sixtyfour.cbmnative.mos6502; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import com.sixtyfour.Basic; import com.sixtyfour.Loader; import com.sixtyfour.Logger; import com.sixtyfour.cbmnat...
src/main/java/com/sixtyfour/cbmnative/mos6502/AbstractTransformer.java
package com.sixtyfour.cbmnative.mos6502; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import com.sixtyfour.Basic; import com.sixtyfour.Loader; import com.sixtyfour.Logger; import com.sixtyfour.cbmnat...
Moved one byte around
src/main/java/com/sixtyfour/cbmnative/mos6502/AbstractTransformer.java
Moved one byte around
<ide><path>rc/main/java/com/sixtyfour/cbmnative/mos6502/AbstractTransformer.java <ide> res.add("REAL_CONST_ONE\t.REAL 1.0"); <ide> res.add("REAL_CONST_ZERO\t.REAL 0.0"); <ide> res.add("REAL_CONST_MINUS_ONE\t.REAL -1.0"); <add> res.add("CHLOCKFLAG\t.BYTE 0"); <ide> res.add("EMPTYSTR\t.BYTE 0"); <ide> res.add(...
Java
agpl-3.0
62bb4d640f29676eb0158935b6c680ec22f3e6e5
0
winni67/AndroidAPS,RoumenGeorgiev/AndroidAPS,AdrianLxM/AndroidAPS,jotomo/AndroidAPS,Heiner1/AndroidAPS,LadyViktoria/AndroidAPS,jotomo/AndroidAPS,MilosKozak/AndroidAPS,winni67/AndroidAPS,samihusseingit/AndroidAPS,jotomo/AndroidAPS,MilosKozak/AndroidAPS,LadyViktoria/AndroidAPS,Heiner1/AndroidAPS,samihusseingit/AndroidAPS...
package info.nightscout.androidaps.plugins.ConfigBuilder; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.annotation.Nullable; import an...
app/src/main/java/info/nightscout/androidaps/plugins/ConfigBuilder/ConfigBuilderFragment.java
package info.nightscout.androidaps.plugins.ConfigBuilder; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.ResolveInfo; import android.graphics.Color; import android.os.Bundle; import android.preference.PreferenceManager; import android...
config builder code cleanup
app/src/main/java/info/nightscout/androidaps/plugins/ConfigBuilder/ConfigBuilderFragment.java
config builder code cleanup
<ide><path>pp/src/main/java/info/nightscout/androidaps/plugins/ConfigBuilder/ConfigBuilderFragment.java <ide> import android.content.Context; <ide> import android.content.Intent; <ide> import android.content.SharedPreferences; <del>import android.content.pm.ResolveInfo; <ide> import android.graphics.Color; <ide> import...
Java
apache-2.0
c283af4884c4ac9996e23b4d6c776cd426a66148
0
jdbi/jdbi,hgschmie/jdbi,hgschmie/jdbi,jdbi/jdbi,hgschmie/jdbi,jdbi/jdbi
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
sqlobject/src/main/java/org/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
Rename sharedArgs to argsArray as it's initialized everytime
sqlobject/src/main/java/org/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler.java
Rename sharedArgs to argsArray as it's initialized everytime
<ide><path>qlobject/src/main/java/org/jdbi/v3/sqlobject/statement/internal/SqlBatchHandler.java <ide> <ide> @Override <ide> public Object[] next() { <del> final Object[] sharedArg = new Object[args.length]; <add> final Object[] argsArray = new Object[args.length]; ...
Java
bsd-3-clause
d9e74de5bfdbe41336c007895212adb5cce2b40a
0
amesrobotics/2013robot
/*----------------------------------------------------------------------------*/ /* 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...
src/edu/ames/frc/robot/RobotProject.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...
changed the shooter tilting to a jaguar
src/edu/ames/frc/robot/RobotProject.java
changed the shooter tilting to a jaguar
<ide><path>rc/edu/ames/frc/robot/RobotProject.java <ide> public void teleopPeriodic() { <ide> while (isOperatorControl() && isEnabled()) { <ide> wd.feed(); <add> <ide> IM.updateAllButtons(); <ide> if (!IM.climber.getState()) { <ide> joystickang...
Java
apache-2.0
06a48d5de2f003a84bd4f1c0bb765d5cb640851a
0
baomidou/mybatis-plus,baomidou/mybatis-plus
/* * Copyright (c) 2011-2021, baomidou (jobob@qq.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 appli...
mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/TenantLineInnerInterceptor.java
/* * Copyright (c) 2011-2021, baomidou (jobob@qq.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 appli...
fixed gitee pulls/141
mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/TenantLineInnerInterceptor.java
fixed gitee pulls/141
<ide><path>ybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/plugins/inner/TenantLineInnerInterceptor.java <ide> PlainSelect plainSelect = (PlainSelect) selectBody; <ide> FromItem fromItem = plainSelect.getFromItem(); <ide> if (fromItem instanceof Table) { <del> T...
Java
lgpl-2.1
e935417a2899013f86e3e62a39356a48b796f522
0
svn2github/beast-mcmc,armanbilge/BEAST_sandbox,armanbilge/BEAST_sandbox,armanbilge/BEAST_sandbox,armanbilge/BEAST_sandbox,armanbilge/BEAST_sandbox,svn2github/beast-mcmc,svn2github/beast-mcmc,svn2github/beast-mcmc,svn2github/beast-mcmc
/* * BeastGenerator.java * * Copyright (C) 2002-2009 Alexei Drummond and Andrew Rambaut * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute it and/or modify *...
src/dr/app/beauti/generator/BeastGenerator.java
/* * BeastGenerator.java * * Copyright (C) 2002-2009 Alexei Drummond and Andrew Rambaut * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute it and/or modify *...
BEAUTi: fix a critical bug of <patterns> when having multi data parition. git-svn-id: 67bc77c75b8364e4e9cdff0eb6560f5818674cd8@2035 ca793f91-a31e-0410-b540-2769d408b6a1
src/dr/app/beauti/generator/BeastGenerator.java
BEAUTi: fix a critical bug of <patterns> when having multi data parition.
<ide><path>rc/dr/app/beauti/generator/BeastGenerator.java <ide> } <ide> } else { <ide> //partitionCount = 1; <del> writer.writeComment("The unique patterns site patterns"); <del> Alignment alignment = partition.getAlignment(); <del> <del> writer.writeOpen...
Java
lgpl-2.1
error: pathspec 'dom/src/main/java/domainapp/dom/modules/reportes/GenerarReporte.java' did not match any file(s) known to git
09c02213b100807026269caf25b66a7a3fef6cd9
1
PlusCel/PlusCel,PlusCel/PlusCel,PlusCel/PlusCel
/* * This is a software made for highschool management * * Copyright (C) 2014, Fourheads * * 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 2 * of the License, or (at yo...
dom/src/main/java/domainapp/dom/modules/reportes/GenerarReporte.java
Clase que genera el reporte
dom/src/main/java/domainapp/dom/modules/reportes/GenerarReporte.java
Clase que genera el reporte
<ide><path>om/src/main/java/domainapp/dom/modules/reportes/GenerarReporte.java <add>/* <add> * This is a software made for highschool management <add> * <add> * Copyright (C) 2014, Fourheads <add> * <add> * This program is free software; you can redistribute it and/or <add> * modify it under the terms of the GNU Gen...
Java
apache-2.0
c32568b5f5ef62726a9904e729f94cd206b6314a
0
linkhub-sdk/popbill.example.springMVC
/* * ํŒ๋นŒ ํœดํ์—…์กฐํšŒ API Java SDK SpringMVC Example * * - SpringMVC SDK ์—ฐ๋™ํ™˜๊ฒฝ ์„ค์ •๋ฐฉ๋ฒ• ์•ˆ๋‚ด : http://blog.linkhub.co.kr/591/ * - ์—…๋ฐ์ดํŠธ ์ผ์ž : 2016-12-02 * - ์—ฐ๋™ ๊ธฐ์ˆ ์ง€์› ์—ฐ๋ฝ์ฒ˜ : 1600-8536 / 070-4304-2991~2 * - ์—ฐ๋™ ๊ธฐ์ˆ ์ง€์› ์ด๋ฉ”์ผ : code@linkhub.co.kr * * Copyright 2006-2014 linkhub.co.kr, Inc. or its affiliates. All Rights Reserved. ...
src/main/java/com/popbill/example/ClosedownServiceExample.java
/* * Copyright 2006-2014 linkhub.co.kr, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0....
add Comment for ClosedownService Example
src/main/java/com/popbill/example/ClosedownServiceExample.java
add Comment for ClosedownService Example
<ide><path>rc/main/java/com/popbill/example/ClosedownServiceExample.java <ide> /* <add> * ํŒ๋นŒ ํœดํ์—…์กฐํšŒ API Java SDK SpringMVC Example <add> * <add> * - SpringMVC SDK ์—ฐ๋™ํ™˜๊ฒฝ ์„ค์ •๋ฐฉ๋ฒ• ์•ˆ๋‚ด : http://blog.linkhub.co.kr/591/ <add> * - ์—…๋ฐ์ดํŠธ ์ผ์ž : 2016-12-02 <add> * - ์—ฐ๋™ ๊ธฐ์ˆ ์ง€์› ์—ฐ๋ฝ์ฒ˜ : 1600-8536 / 070-4304-2991~2 <add> * - ์—ฐ๋™ ๊ธฐ์ˆ ์ง€์› ์ด๋ฉ”์ผ : code@...
Java
apache-2.0
83f58ee9e93ebf4c581bdbfd1b296fb9a30768b9
0
leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere,apache/incubator-shardingsphere,apache/incubator-shardingsphere
/* * Copyright 2016-2018 shardingsphere.io. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
sharding-jdbc-orchestration/src/main/java/io/shardingsphere/jdbc/orchestration/internal/state/datasource/DataSourceListenerManager.java
/* * Copyright 2016-2018 shardingsphere.io. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
rewrite masterSlaveStart
sharding-jdbc-orchestration/src/main/java/io/shardingsphere/jdbc/orchestration/internal/state/datasource/DataSourceListenerManager.java
rewrite masterSlaveStart
<ide><path>harding-jdbc-orchestration/src/main/java/io/shardingsphere/jdbc/orchestration/internal/state/datasource/DataSourceListenerManager.java <ide> <ide> import io.shardingsphere.core.exception.ShardingException; <ide> import io.shardingsphere.jdbc.orchestration.internal.OrchestrationProxyConfiguration; <del>impor...
Java
mit
237a8734863360ca89783fde0a4cf20bfd59f0d7
0
olavloite/spanner-jdbc
package nl.topicus.jdbc; import java.sql.Blob; import java.sql.CallableStatement; import java.sql.Clob; import java.sql.Connection; import java.sql.NClob; import java.sql.ResultSet; import java.sql.SQLClientInfoException; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; import ...
src/main/java/nl/topicus/jdbc/AbstractCloudSpannerConnection.java
package nl.topicus.jdbc; import java.sql.Blob; import java.sql.CallableStatement; import java.sql.Clob; import java.sql.Connection; import java.sql.NClob; import java.sql.ResultSet; import java.sql.SQLClientInfoException; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; import ...
changed super class
src/main/java/nl/topicus/jdbc/AbstractCloudSpannerConnection.java
changed super class
<ide><path>rc/main/java/nl/topicus/jdbc/AbstractCloudSpannerConnection.java <ide> import java.util.Properties; <ide> import java.util.concurrent.Executor; <ide> <add>import nl.topicus.jdbc.metadata.AbstractCloudSpannerWrapper; <add> <ide> /** <ide> * <ide> * @author loite <ide> * <ide> */ <del>public abstract cla...
Java
apache-2.0
059a65483a4068ae9b1e313b3fd5fc7933a1a250
0
rajapulau/qiscus-sdk-android,qiscus/qiscus-sdk-android
/* * Copyright (c) 2016 Qiscus. * * 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...
chat/src/main/java/com/qiscus/sdk/data/remote/QiscusApiParser.java
/* * Copyright (c) 2016 Qiscus. * * 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...
fix checkstyle travis
chat/src/main/java/com/qiscus/sdk/data/remote/QiscusApiParser.java
fix checkstyle travis
<ide><path>hat/src/main/java/com/qiscus/sdk/data/remote/QiscusApiParser.java <ide> qiscusChatRoom.setUnreadCount(jsonMember.getAsJsonObject().get("unread_count").getAsInt()); <ide> <ide> try { <del> qiscusChatRoom.setLastCommentTime(dateFormat.parse(jsonMember.getAsJs...
Java
apache-2.0
error: pathspec 'src/basic/number/MaxProductFromIntegerBreak.java' did not match any file(s) known to git
838abccaf4efbc9b5b34aad607dcc4bbc125a23a
1
zhou-jg/Algorithm
package basic.number; import java.util.ArrayList; import java.util.List; /** * Source: https://leetcode.com/problems/integer-break/ * * <p>Given a positive integer n, break it into the sum of at least * two positive integers and maximize the product of those integers. * Return the maximum product you can get....
src/basic/number/MaxProductFromIntegerBreak.java
ไปŽไธ€ไธชๆ•ดๆ•ฐ็š„ๅ’Œๅˆ†่งฃไธญ่Žทๅพ—ๆœ€ๅคง็š„ไน˜็งฏๆ•ฐ
src/basic/number/MaxProductFromIntegerBreak.java
ไปŽไธ€ไธชๆ•ดๆ•ฐ็š„ๅ’Œๅˆ†่งฃไธญ่Žทๅพ—ๆœ€ๅคง็š„ไน˜็งฏๆ•ฐ
<ide><path>rc/basic/number/MaxProductFromIntegerBreak.java <add>package basic.number; <add> <add>import java.util.ArrayList; <add>import java.util.List; <add> <add>/** <add> * Source: https://leetcode.com/problems/integer-break/ <add> * <add> * <p>Given a positive integer n, break it into the sum of at least <add> * ...