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 | agpl-3.0 | 3057d1fcdfa60127ba44f3196ddc3fad1607ed60 | 0 | aihua/opennms,roskens/opennms-pre-github,roskens/opennms-pre-github,aihua/opennms,roskens/opennms-pre-github,aihua/opennms,aihua/opennms,tdefilip/opennms,rdkgit/opennms,tdefilip/opennms,roskens/opennms-pre-github,rdkgit/opennms,tdefilip/opennms,rdkgit/opennms,roskens/opennms-pre-github,aihua/opennms,roskens/opennms-pre... | /*
* This file is part of the OpenNMS(R) Application.
*
* OpenNMS(R) is Copyright (C) 2009 The OpenNMS Group, Inc. All rights reserved.
* OpenNMS(R) is a derivative work, containing both original code, included code and modified
* code that was published under the GNU General Public License. Copyrights for modifi... | features/reporting/jasper-reports/src/main/java/org/opennms/reporting/jasperreports/svclayer/JasperReportService.java | /*
* This file is part of the OpenNMS(R) Application.
*
* OpenNMS(R) is Copyright (C) 2009 The OpenNMS Group, Inc. All rights reserved.
* OpenNMS(R) is a derivative work, containing both original code, included code and modified
* code that was published under the GNU General Public License. Copyrights for modifi... | Minor log prefix cleanup.
| features/reporting/jasper-reports/src/main/java/org/opennms/reporting/jasperreports/svclayer/JasperReportService.java | Minor log prefix cleanup. | <ide><path>eatures/reporting/jasper-reports/src/main/java/org/opennms/reporting/jasperreports/svclayer/JasperReportService.java
<ide>
<ide> private JasperReportConfigDao m_jasperReportConfigDao;
<ide>
<del> private Category log;
<add> private final Category log;
<ide>
<ide> public JasperReportService()... | |
JavaScript | apache-2.0 | f5c8cfffd2c15991759a9b8f7804f553a7ef1039 | 0 | arduino-org/s4t-iotronic,MDSLab/s4t-iotronic,MDSLab/s4t-iotronic | /*
The MIT License (MIT)
Copyright (c) 2014 Andrea Rocco Lotronto
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, ... | s4t-server-node/lib/s4t_wamp_server.js | /*
The MIT License (MIT)
Copyright (c) 2014 Andrea Rocco Lotronto
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, ... | adjustments for demo
| s4t-server-node/lib/s4t_wamp_server.js | adjustments for demo | <ide><path>4t-server-node/lib/s4t_wamp_server.js
<ide> }
<ide> }
<ide> else{//READ
<del> console.log('ANALOG WRITE');
<add> console.log('ANALOG READ');
<ide> session.call('command.rpc.read.analog', [bo... | |
Java | apache-2.0 | e149d3e8cca3bde97656ab986e91c3cf9d994612 | 0 | apache/solr,apache/solr,apache/solr,apache/solr,apache/solr | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | solr/core/src/java/org/apache/solr/handler/admin/LukeRequestHandler.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... | remove comments about Luke XSLT
git-svn-id: 308d55f399f3bd9aa0560a10e81a003040006c48@1327414 13f79535-47bb-0310-9956-ffa450edef68
| solr/core/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java | remove comments about Luke XSLT | <ide><path>olr/core/src/java/org/apache/solr/handler/admin/LukeRequestHandler.java
<ide> * This handler exposes the internal lucene index. It is inspired by and
<ide> * modeled on Luke, the Lucene Index Browser by Andrzej Bialecki.
<ide> * http://www.getopt.org/luke/
<del> * <p>
<del> * NOTE: the response format... | |
Java | apache-2.0 | e07b1a4698b6d684999bd3f19769c224e5e147a0 | 0 | facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho | /**
* Copyright (c) 2014-present, 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.
*/
package co... | litho-processor/src/main/java/com/facebook/litho/processor/Stages.java | /**
* Copyright (c) 2014-present, 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.
*/
package co... | Lines authored by emilsj
This commit forms part of the blame-preserving initial commit suite.
| litho-processor/src/main/java/com/facebook/litho/processor/Stages.java | Lines authored by emilsj | <ide><path>itho-processor/src/main/java/com/facebook/litho/processor/Stages.java
<ide> .addParameter(
<ide> ParameterSpec.builder(
<ide> ParameterizedTypeName.get(
<add> ClassNames.COMPONENT, | |
Java | mit | 558b0781ce130f18c98cf9fbcfb1779e4d0ac098 | 0 | Group7-BIL481Proje/Bil481Proje | /*
*
* * The MIT License
* *
* * Copyright 2016 Shekhar Gulati <shekhargulati84@gmail.com>.
* *
* * 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, inclu... | src/test/java/strman/StrmanTest.java | /*
*
* * The MIT License
* *
* * Copyright 2016 Shekhar Gulati <shekhargulati84@gmail.com>.
* *
* * 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, inclu... | Close #1 | src/test/java/strman/StrmanTest.java | Close #1 | <ide><path>rc/test/java/strman/StrmanTest.java
<ide> import static strman.Strman.format;
<ide>
<ide> public class StrmanTest {
<add>
<add> @Test
<add> public void replaceBetween_shouldReplaceSubstringsBetweenGivenIndexes() throws Exception {
<add> assertThat(replaceBetween("elif","W",0,2), equalTo("Wif"));
... | |
Java | lgpl-2.1 | ae48d62cbb4ad4e41b8d1af322344e33e8879212 | 0 | juanmjacobs/kettle,cwarden/kettle,cwarden/kettle,juanmjacobs/kettle,juanmjacobs/kettle,cwarden/kettle | /*
* Copyright (c) 2007 Pentaho Corporation. All rights reserved.
* This software was developed by Pentaho Corporation and is provided under the terms
* of the GNU Lesser General Public License, Version 2.1. You may not use
* this file except in compliance with the license. If you need a copy of the license,
... | src-core/org/pentaho/di/core/database/Database.java | /*
* Copyright (c) 2007 Pentaho Corporation. All rights reserved.
* This software was developed by Pentaho Corporation and is provided under the terms
* of the GNU Lesser General Public License, Version 2.1. You may not use
* this file except in compliance with the license. If you need a copy of the license,
... | PDI-1891 Dimension lookup does not commit at commitsize
git-svn-id: 51b39fcfd0d3a6ea7caa15377cad4af13b9d2664@9671 5fb7f6ec-07c1-534a-b4ca-9155e429e800
| src-core/org/pentaho/di/core/database/Database.java | PDI-1891 Dimension lookup does not commit at commitsize | <ide><path>rc-core/org/pentaho/di/core/database/Database.java
<ide> private int written;
<ide>
<ide> private LogWriter log;
<del>
<del> /*
<del> * Counts the number of rows written to a batch for a certain PreparedStatement.
<del> *
<del> private Map<PreparedStatement, Integer> batchCounterMap;
<del> */
<ide>
... | |
Java | apache-2.0 | cd96da2485bc7c41c2f3da7c2b5dee99f73d24da | 0 | apache/jmeter,ham1/jmeter,apache/jmeter,benbenw/jmeter,etnetera/jmeter,ham1/jmeter,ham1/jmeter,apache/jmeter,etnetera/jmeter,etnetera/jmeter,apache/jmeter,ham1/jmeter,benbenw/jmeter,etnetera/jmeter,etnetera/jmeter,apache/jmeter,benbenw/jmeter,benbenw/jmeter,ham1/jmeter | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/core/org/apache/jmeter/report/processor/ListResultData.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Javadoc clean up. Part of #332 Contributed by Graham Russell
git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1816329 13f79535-47bb-0310-9956-ffa450edef68
Former-commit-id: 35c2c725812e1eef00ade321702651bd1800dda9 | src/core/org/apache/jmeter/report/processor/ListResultData.java | Javadoc clean up. Part of #332 Contributed by Graham Russell | <ide><path>rc/core/org/apache/jmeter/report/processor/ListResultData.java
<ide>
<ide> /**
<ide> * The class ListResultData provides a list of results from sample processing.
<del> *
<add> *
<ide> * @since 3.0
<ide> */
<ide> public class ListResultData implements ResultData, Iterable<ResultData> {
<ide>
<del> /... | |
JavaScript | mit | 0e24442818130a16d0278fddededff9102f531aa | 0 | linnovate/icu,linnovate/icu,linnovate/icu | 'use strict';
angular.module('mean.icu.ui.tabs')
.directive('icuTabsOfficedocuments', function ($state, $filter, OfficeDocumentsService, PermissionsService) {
function controller($scope) {
$scope.sorting = {
field: 'created',
isReverse: false
};
... | packages/custom/icu/public/components/tabs/officeDocuments/officeDocuments.directive.js | 'use strict';
angular.module('mean.icu.ui.tabs')
.directive('icuTabsOfficedocuments', function ($state, $filter, OfficeDocumentsService) {
function controller($scope) {
$scope.sorting = {
field: 'created',
isReverse: false
};
$scope.offic... | Fixed #1262
| packages/custom/icu/public/components/tabs/officeDocuments/officeDocuments.directive.js | Fixed #1262 | <ide><path>ackages/custom/icu/public/components/tabs/officeDocuments/officeDocuments.directive.js
<ide> 'use strict';
<ide>
<ide> angular.module('mean.icu.ui.tabs')
<del> .directive('icuTabsOfficedocuments', function ($state, $filter, OfficeDocumentsService) {
<add> .directive('icuTabsOfficedocuments', function ... | |
Java | apache-2.0 | 6cd9e35ee6ff80f9eb6b08d112f4b6e474747fe2 | 0 | atsolakid/jena,adrapereira/jena,CesarPantoja/jena,CesarPantoja/jena,adrapereira/jena,jianglili007/jena,jianglili007/jena,kidaa/jena,kamir/jena,kamir/jena,CesarPantoja/jena,adrapereira/jena,atsolakid/jena,jianglili007/jena,apache/jena,adrapereira/jena,apache/jena,samaitra/jena,tr3vr/jena,tr3vr/jena,kamir/jena,adrapereir... | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | jena-arq/src/test/java/com/hp/hpl/jena/sparql/expr/TestExpressions2.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 ... | CALL tests: multi arguments, expressions as arguments.
git-svn-id: bc509ec38c1227b3e85ea1246fda136342965d36@1353721 13f79535-47bb-0310-9956-ffa450edef68
| jena-arq/src/test/java/com/hp/hpl/jena/sparql/expr/TestExpressions2.java | CALL tests: multi arguments, expressions as arguments. | <ide><path>ena-arq/src/test/java/com/hp/hpl/jena/sparql/expr/TestExpressions2.java
<ide> public void xsd_cast_13() { eval("xsd:double(' 1.0e0')") ; }
<ide>
<ide> // Dynamic Function Calls
<add> @Test public void dynamic_call_01() { eval("CALL()", false); }
<add> @Tes... | |
Java | apache-2.0 | a50a70f68e6779966dd4e4293d7667d9c3423b43 | 0 | lime-company/lime-security-powerauth-webauth,lime-company/lime-security-powerauth-webauth,lime-company/lime-security-powerauth-webauth,lime-company/powerauth-webflow,lime-company/powerauth-webflow,lime-company/powerauth-webflow | /*
* Copyright 2019 Wultra 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 agreed to in... | powerauth-data-adapter-model/src/main/java/io/getlime/security/powerauth/lib/dataadapter/model/request/AfsRequest.java | /*
* Copyright 2019 Wultra 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 agreed to in... | Fix copy-and-paste errors.
| powerauth-data-adapter-model/src/main/java/io/getlime/security/powerauth/lib/dataadapter/model/request/AfsRequest.java | Fix copy-and-paste errors. | <ide><path>owerauth-data-adapter-model/src/main/java/io/getlime/security/powerauth/lib/dataadapter/model/request/AfsRequest.java
<ide> private String organizationId;
<ide>
<ide> /**
<del> * Operation context which provides context for creating the consent form.
<add> * Operation context.
<ide> */
... | |
Java | epl-1.0 | 60381453a11d1f84a2209285dc7807fd3693daeb | 0 | girba/jdt2famix,girba/jdt2famix | package org.moosetechnology.jdt2famix;
import jniport.SmalltalkRequest;
import org.eclipse.jdt.core.dom.ASTVisitor;
import org.eclipse.jdt.core.dom.AnnotationTypeDeclaration;
import org.eclipse.jdt.core.dom.AnnotationTypeMemberDeclaration;
import org.eclipse.jdt.core.dom.AnonymousClassDeclaration;
import org.eclipse.... | src/main/java/org/moosetechnology/jdt2famix/AstVisitor.java | package org.moosetechnology.jdt2famix;
import jniport.SmalltalkRequest;
import org.eclipse.jdt.core.dom.ASTVisitor;
import org.eclipse.jdt.core.dom.AnnotationTypeDeclaration;
import org.eclipse.jdt.core.dom.AnnotationTypeMemberDeclaration;
import org.eclipse.jdt.core.dom.AnonymousClassDeclaration;
import org.eclipse.... | super method invocation
| src/main/java/org/moosetechnology/jdt2famix/AstVisitor.java | super method invocation | <ide><path>rc/main/java/org/moosetechnology/jdt2famix/AstVisitor.java
<ide> //Not needed
<ide> }
<ide>
<add> public static String visitSuperMethodInvocationCallback = AstVisitor.class.getName() + "visit(SuperMethodInvocation)";
<ide> @Override
<ide> public boolean visit(SuperMethodInvocation node) {
<del> // TO... | |
JavaScript | lgpl-2.1 | e1162490ee7843d1efbbe1d8be4e3035b1cca93f | 0 | Cyperghost/WCF,WoltLab/WCF,WoltLab/WCF,Cyperghost/WCF,SoftCreatR/WCF,MenesesEvandro/WCF,0xLeon/WCF,Morik/WCF,WoltLab/WCF,Cyperghost/WCF,SoftCreatR/WCF,joshuaruesweg/WCF,Morik/WCF,joshuaruesweg/WCF,SoftCreatR/WCF,Morik/WCF,SoftCreatR/WCF,0xLeon/WCF,Cyperghost/WCF,joshuaruesweg/WCF,0xLeon/WCF,Morik/WCF,WoltLab/WCF,Menese... | "use strict";
/**
* Class and function collection for WCF.
*
* Major Contributors: Markus Bartz, Tim Duesterhus, Matthias Schmidt and Marcel Werk
*
* @author Alexander Ebert
* @copyright 2001-2015 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
*/
... | wcfsetup/install/files/js/WCF.js | "use strict";
/**
* Class and function collection for WCF.
*
* Major Contributors: Markus Bartz, Tim Duesterhus, Matthias Schmidt and Marcel Werk
*
* @author Alexander Ebert
* @copyright 2001-2015 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
*/
... | Fixed interactive dropdown collapsing on scroll
| wcfsetup/install/files/js/WCF.js | Fixed interactive dropdown collapsing on scroll | <ide><path>cfsetup/install/files/js/WCF.js
<ide> if (this._dropdownContainer === null) {
<ide> this._dropdownContainer = $('<div class="dropdownMenuContainer" />').appendTo(document.body);
<ide> WCF.CloseOverlayHandler.addCallback('WCF.Dropdown.Interactive.Handler', $.proxy(this.closeAll, this));
<del> window... | |
Java | apache-2.0 | 2892f6cc4ad88a670ae665a2d82e413162e88156 | 0 | saidmrn/cw-android,atishagrawal/cw-android,HiWong/cw-android,atishagrawal/cw-android,commonsguy/cw-android,HiWong/cw-android,commonsguy/cw-android,saidmrn/cw-android,HiWong/cw-android,saidmrn/cw-android,atishagrawal/cw-android | /***
Copyright (c) 2008-2011 CommonsWare, LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | Selection/Grid/src/com/commonsware/android/grid/GridDemo.java | /***
Copyright (c) 2008-2011 CommonsWare, LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | switched to OnItemClickListener
| Selection/Grid/src/com/commonsware/android/grid/GridDemo.java | switched to OnItemClickListener | <ide><path>election/Grid/src/com/commonsware/android/grid/GridDemo.java
<ide> import android.widget.TextView;
<ide>
<ide> public class GridDemo extends Activity
<del> implements AdapterView.OnItemSelectedListener {
<add> implements AdapterView.OnItemClickListener {
<ide> private TextView selection;
<ide> private... | |
Java | apache-2.0 | 1373a9ff23ef7e1c96ea901682f7d3fc7ba41a7f | 0 | shixuan-fan/presto,arhimondr/presto,twitter-forks/presto,mvp/presto,twitter-forks/presto,prestodb/presto,twitter-forks/presto,arhimondr/presto,prestodb/presto,zzhao0/presto,prestodb/presto,zzhao0/presto,facebook/presto,arhimondr/presto,mvp/presto,mvp/presto,ptkool/presto,shixuan-fan/presto,EvilMcJerkface/presto,prestod... | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | presto-orc/src/main/java/com/facebook/presto/orc/reader/SliceDictionarySelectiveReader.java | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Fix getBlockView for all-null SliceDictionarySelectiveReader
| presto-orc/src/main/java/com/facebook/presto/orc/reader/SliceDictionarySelectiveReader.java | Fix getBlockView for all-null SliceDictionarySelectiveReader | <ide><path>resto-orc/src/main/java/com/facebook/presto/orc/reader/SliceDictionarySelectiveReader.java
<ide> checkState(positionCount <= outputPositionCount, "Not enough values");
<ide> checkState(!valuesInUse, "BlockLease hasn't been closed yet");
<ide>
<add> if (allNulls) {
<add> ret... | |
Java | mit | f420860da0c5ff59008875cef2e85a70a899f541 | 0 | tmc-cli/tmc-cli,testmycode/tmc-cli,tmc-cli/tmc-cli,testmycode/tmc-cli | package fi.helsinki.cs.tmc.cli.io;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.OutputStream;
import java.io.PrintStream;
public class TerminalIoTest {
Io io = new TerminalIo();
OutputStream os;
@Before
... | src/test/java/fi/helsinki/cs/tmc/cli/io/TerminalIoTest.java | package fi.helsinki.cs.tmc.cli.io;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.OutputStream;
import java.io.PrintStream;
public class TerminalIoTest {
Io io = new TerminalIo();
OutputStream os;
@Before
... | Add more terminal io tests.
| src/test/java/fi/helsinki/cs/tmc/cli/io/TerminalIoTest.java | Add more terminal io tests. | <ide><path>rc/test/java/fi/helsinki/cs/tmc/cli/io/TerminalIoTest.java
<ide> }
<ide>
<ide> @Test
<del> public void printlnWorksRight() {
<add> public void printWord() {
<add> io.print("foo");
<add> assertTrue(os.toString().equals("foo"));
<add> }
<add>
<add> @Test
<add> public void ... | |
Java | apache-2.0 | 3d54efb661c556edf6e0042ee28b11a9b9611421 | 0 | First-Peoples-Cultural-Council/fv-web-ui,First-Peoples-Cultural-Council/fv-web-ui,First-Peoples-Cultural-Council/fv-web-ui,First-Peoples-Cultural-Council/fv-web-ui,First-Peoples-Cultural-Council/fv-web-ui | package ca.firstvoices.rest.services;
import com.amazonaws.regions.Regions;
import com.amazonaws.services.simpleemail.AmazonSimpleEmailService;
import com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClientBuilder;
import com.amazonaws.services.simpleemail.model.Body;
import com.amazonaws.services.simpleemai... | modules/api/firstvoices-rest-page-providers/src/main/java/ca/firstvoices/rest/services/AmazonSESSimpleMailServiceImpl.java | package ca.firstvoices.rest.services;
import com.amazonaws.regions.Regions;
import com.amazonaws.services.simpleemail.AmazonSimpleEmailService;
import com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClientBuilder;
import com.amazonaws.services.simpleemail.model.Body;
import com.amazonaws.services.simpleemai... | checkstyle appeasement
| modules/api/firstvoices-rest-page-providers/src/main/java/ca/firstvoices/rest/services/AmazonSESSimpleMailServiceImpl.java | checkstyle appeasement | <ide><path>odules/api/firstvoices-rest-page-providers/src/main/java/ca/firstvoices/rest/services/AmazonSESSimpleMailServiceImpl.java
<ide> import com.amazonaws.services.simpleemail.AmazonSimpleEmailService;
<ide> import com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClientBuilder;
<ide> import com.amazonaws... | |
Java | mit | 96d15bb91bf128f4bbe9a327356048cd4372d41d | 0 | ShaneMcC/DMDirc-Client,greboid/DMDirc,ShaneMcC/DMDirc-Client,DMDirc/DMDirc,ShaneMcC/DMDirc-Client,greboid/DMDirc,DMDirc/DMDirc,csmith/DMDirc,DMDirc/DMDirc,csmith/DMDirc,csmith/DMDirc,csmith/DMDirc,greboid/DMDirc,ShaneMcC/DMDirc-Client,greboid/DMDirc,DMDirc/DMDirc | /*
* Copyright (c) 2006-2007 Chris Smith, Shane Mc Cormack, Gregory Holmes
*
* 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
... | src/com/dmdirc/addons/logging/HistoryWindow.java | /*
* Copyright (c) 2006-2007 Chris Smith, Shane Mc Cormack, Gregory Holmes
*
* 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
... | Fix logging plugin history window not being removed from the frame manager
git-svn-id: 50f83ef66c13f323b544ac924010c921a9f4a0f7@1853 00569f92-eb28-0410-84fd-f71c24880f43
| src/com/dmdirc/addons/logging/HistoryWindow.java | Fix logging plugin history window not being removed from the frame manager | <ide><path>rc/com/dmdirc/addons/logging/HistoryWindow.java
<ide> public void close() {
<ide> myWindow.setVisible(false);
<ide> Main.getUI().getMainWindow().delChild(myWindow);
<add> Main.getUI().getFrameManager().delCustom(server, this);
<ide> }
<ide>
<ide> /** {@inheritDoc} */ | |
Java | mit | error: pathspec 'wysi/core/src/game_objects/interactions/IScared.java' did not match any file(s) known to git
| 3cc27fab786ae32ff3baa5f2c3a57d40d4803886 | 1 | mtvarkovsky/old_48 | package game_objects.interactions;
public interface IScared {
void getScared();
}
| wysi/core/src/game_objects/interactions/IScared.java | IScared interface added
| wysi/core/src/game_objects/interactions/IScared.java | IScared interface added | <ide><path>ysi/core/src/game_objects/interactions/IScared.java
<add>package game_objects.interactions;
<add>
<add>public interface IScared {
<add> void getScared();
<add>} | |
JavaScript | mit | afd17551202242587f0615bb062681fd1b06d83f | 0 | chromecide/flux-data-mysql | var mysql = require('mysql');
var MySQLStore = function(params, callbacks){
var self = this;
this.params = params;
if(this.params.models){
for(var key in this.params.models){
this.params.models[key].store = this;
}
}
this.connect = function(params, cbs){
if(!th... | index.js | var mysql = require('mysql');
var MySQLStore = function(params, callbacks){
var self = this;
this.params = params;
if(this.params.models){
for(var key in this.params.models){
this.params.models[key].store = this;
}
}
this.connect = function(params, cbs){
if(!th... | removed debug code
| index.js | removed debug code | <ide><path>ndex.js
<ide> function objectToQuery(self, model, queryData, cbs){
<ide> var querySQL = 'SELECT ';
<ide> var valueArray = [];
<add>
<ide> if(queryData.fields){
<ide> for(var i=0;i<queryData.fields.length;i++){
<ide> querySQL+='`'+queryData.field... | |
Java | lgpl-2.1 | d7f5bae7bf6170f3620fa88b50f786b84f3ef854 | 0 | tomck/intermine,drhee/toxoMine,elsiklab/intermine,elsiklab/intermine,joshkh/intermine,tomck/intermine,joshkh/intermine,kimrutherford/intermine,justincc/intermine,joshkh/intermine,justincc/intermine,zebrafishmine/intermine,justincc/intermine,justincc/intermine,zebrafishmine/intermine,JoeCarlson/intermine,kimrutherford/i... | intermine/src/java/org/intermine/web/QueryController.java | package org.flymine.web;
/*
* Copyright (C) 2002-2003 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.html.
*
... | Remove redundant controller
| intermine/src/java/org/intermine/web/QueryController.java | Remove redundant controller | <ide><path>ntermine/src/java/org/intermine/web/QueryController.java
<del>package org.flymine.web;
<del>
<del>/*
<del> * Copyright (C) 2002-2003 FlyMine
<del> *
<del> * This code may be freely distributed and modified under the
<del> * terms of the GNU Lesser General Public Licence. This should
<del> * be distributed w... | ||
Java | apache-2.0 | 9f72e11600cd1d7946de12d78625f3ae40bef188 | 0 | GEBIT/bnd,psoreide/bnd,lostiniceland/bnd,magnet/bnd,lostiniceland/bnd,lostiniceland/bnd,mcculls/bnd,xtracoder/bnd,joansmith/bnd,joansmith/bnd,GEBIT/bnd,psoreide/bnd,magnet/bnd,xtracoder/bnd,mcculls/bnd,magnet/bnd,psoreide/bnd,mcculls/bnd | package aQute.lib.tag;
import java.io.*;
import java.text.*;
import java.util.*;
/**
* The Tag class represents a minimal XML tree. It consist of a named element
* with a hashtable of named attributes. Methods are provided to walk the tree
* and get its constituents. The content of a Tag is a list that contains St... | aQute.libg/src/aQute/lib/tag/Tag.java | package aQute.lib.tag;
import java.io.*;
import java.text.*;
import java.util.*;
/**
* The Tag class represents a minimal XML tree. It consist of a named element
* with a hashtable of named attributes. Methods are provided to walk the tree
* and get its constituents. The content of a Tag is a list that contains St... | Use consistent EOLs when creating DS & Metatype resources
MetaTypeReader and TagResource both use PrintWriter.println() to output the XML declaration and then delegate to Tag.print() to generate the XML document. Tag.print() uses PrintWriter.print("\n") to generate newlines in the XML document.
PrintWriter.println()... | aQute.libg/src/aQute/lib/tag/Tag.java | Use consistent EOLs when creating DS & Metatype resources | <ide><path>Qute.libg/src/aQute/lib/tag/Tag.java
<ide> */
<ide> public Tag print(int indent, PrintWriter pw) {
<ide> if (indent >= 0) {
<del> pw.print("\n");
<add> pw.println();
<ide> spaces(pw, indent);
<ide> }
<ide> pw.print('<');
<ide> }
<ide> }
<ide> if (indent >= 0) {
<del> pw.print("\n... | |
Java | apache-2.0 | f205a3ee8905332f230c299b85365492ceca9194 | 0 | mikaelhg/urlbuilder,mikesprague/urlbuilder | package gumi.builders;
import org.testng.annotations.Test;
import java.net.*;
import java.util.Arrays;
import static org.testng.Assert.*;
/**
* A few simple, handwritten, non-datadriven tests to get started.
*/
public class SimpleUrlTest {
@Test
public void userInfoTest() throws Exception {
final... | src/test/java/gumi/builders/SimpleUrlTest.java | package gumi.builders;
import org.testng.annotations.Test;
import java.net.*;
import java.util.Arrays;
import static org.testng.Assert.*;
/**
* A few simple, handwritten, non-datadriven tests to get started.
*/
public class SimpleUrlTest {
@Test
public void userInfoTest() throws Exception {
final... | A test for various URLs that end in with a broken percent encoding. Some of these will throw an exception.
| src/test/java/gumi/builders/SimpleUrlTest.java | A test for various URLs that end in with a broken percent encoding. Some of these will throw an exception. | <ide><path>rc/test/java/gumi/builders/SimpleUrlTest.java
<ide> assertEquals(portUrl, UrlBuilder.fromString(portUrl).toString());
<ide> }
<ide>
<add> @Test
<add> public void percentEndOfLineTest() throws Exception {
<add> final UrlBuilder ub1 = UrlBuilder.fromString("http://www.example.com/?q=Science%2");
... | |
JavaScript | mit | 4d16488baf44b18c86cd70ae73244697e9452402 | 0 | rkrauskopf/ez-spawn | "use strict";
const chai = require("chai");
const expect = chai.expect;
const syntaxModes = require("../fixtures/syntax-modes");
for (let spawn of syntaxModes) {
describe(`error handling (${spawn.name})`, () => {
it("should throw an error if no args are passed", () => {
return spawn()
.then(() => ... | test/specs/error.spec.js | "use strict";
const chai = require("chai");
const expect = chai.expect;
const syntaxModes = require("../fixtures/syntax-modes");
for (let spawn of syntaxModes) {
describe(`error handling (${spawn.name})`, () => {
it("should throw an error if no args are passed", () => {
return spawn()
.then(() => ... | Fixed a test that was failing on non-Windows systems
| test/specs/error.spec.js | Fixed a test that was failing on non-Windows systems | <ide><path>est/specs/error.spec.js
<ide> expect(error.command).to.equal("test/fixtures/bin/wrong-command");
<ide> expect(error.args).to.deep.equal(["--foo", "--bar"]);
<ide>
<del> if (spawn.name === "syncSyntax") {
<del> // TODO: Find out why the status code is 1 for spa... | |
Java | apache-2.0 | 14ceb1fd9c99282c7044c2d5bd586e7a64a402aa | 0 | mikosik/smooth-build,mikosik/smooth-build | package org.smoothbuild.lang.base.type;
import static java.util.stream.Collectors.toList;
import static org.smoothbuild.lang.base.type.TestedType.A;
import static org.smoothbuild.lang.base.type.TestedType.A_ARRAY;
import static org.smoothbuild.lang.base.type.TestedType.A_ARRAY2;
import static org.smoothbuild.lang.base... | src/testing/java/org/smoothbuild/lang/base/type/TestedAssignmentSpec.java | package org.smoothbuild.lang.base.type;
import static java.util.stream.Collectors.toList;
import static org.smoothbuild.lang.base.type.TestedType.A;
import static org.smoothbuild.lang.base.type.TestedType.A_ARRAY;
import static org.smoothbuild.lang.base.type.TestedType.A_ARRAY2;
import static org.smoothbuild.lang.base... | reordered methods in TestedAssignmentSpec
| src/testing/java/org/smoothbuild/lang/base/type/TestedAssignmentSpec.java | reordered methods in TestedAssignmentSpec | <ide><path>rc/testing/java/org/smoothbuild/lang/base/type/TestedAssignmentSpec.java
<ide> return new TestedAssignmentSpec(target, source, true);
<ide> }
<ide>
<del> public static List<TestedAssignmentSpec> assignment_without_generics_test_specs() {
<del> return assignment_test_specs()
<del> .stream()
... | |
Java | apache-2.0 | 0ef497a8834651d89cdba2feb8d2b695dcab8cef | 0 | fqdb/Hybrid-Homescreen | package fqdb.net.launcherproject;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.os.Bu... | app/src/main/java/fqdb/net/launcherproject/Appslistfragment.java | package fqdb.net.launcherproject;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.os.Bu... | minor fixes
| app/src/main/java/fqdb/net/launcherproject/Appslistfragment.java | minor fixes | <ide><path>pp/src/main/java/fqdb/net/launcherproject/Appslistfragment.java
<ide> rView.setLayoutManager(lLayout);
<ide> RecyclerViewAdapter rcAdapter = new RecyclerViewAdapter(getActivity(), apps);
<ide> rView.setAdapter(rcAdapter);
<add> // Allow dragging:
<ide> ItemTouchHelper.C... | |
Java | apache-2.0 | aebdd5fd9743be2274d685a016f303942952b2ca | 0 | burris/dwr,burris/dwr | /*
* Copyright 2005 Joe Walker
*
* 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... | java/org/directwebremoting/impl/DefaultContainer.java | /*
* Copyright 2005 Joe Walker
*
* 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... | don't debug if someone asks for a bean that does not exist
git-svn-id: ba1d8d5a2a2c535e023d6080c1e5c29aa0f5364e@1654 3a8262b2-faa5-11dc-8610-ff947880b6b2
| java/org/directwebremoting/impl/DefaultContainer.java | don't debug if someone asks for a bean that does not exist | <ide><path>ava/org/directwebremoting/impl/DefaultContainer.java
<ide> */
<ide> public Object getBean(String id)
<ide> {
<del> Object reply = beans.get(id);
<del> if (reply == null)
<del> {
<del> log.debug("DefaultContainer: No bean with id=" + id);
<del> }
<del>
<del>... | |
Java | mit | 03ae087ffa2ddb2b38b057eb1106373518646a49 | 0 | zaboing/JSPlugins,zaboing/JSPlugins | package at.boing.jsplugins;
import com.avaje.ebean.EbeanServer;
import org.bukkit.Server;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.configuration.InvalidConfigurationException;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.fi... | src/at/boing/jsplugins/JavaScriptPlugin.java | package at.boing.jsplugins;
import com.avaje.ebean.EbeanServer;
import org.bukkit.Server;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.configuration.InvalidConfigurationException;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.fi... | Enable plugin before calling onEnable()
| src/at/boing/jsplugins/JavaScriptPlugin.java | Enable plugin before calling onEnable() | <ide><path>rc/at/boing/jsplugins/JavaScriptPlugin.java
<ide>
<ide> @Override
<ide> public void onEnable() {
<add> isEnabled = true;
<ide> plugin.onEnable();
<del> isEnabled = true;
<ide> getServer().getPluginManager().registerEvents(plugin, this);
<ide> }
<ide> | |
Java | agpl-3.0 | 44ed20cd12b357cd9e21af0e401c11b9d24af722 | 0 | elki-project/elki,elki-project/elki,elki-project/elki |
package experimentalcode.students.waase;
import java.util.Iterator;
import java.util.List;
import java.util.Random;
import de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm;
import de.lmu.ifi.dbs.elki.data.Cluster;
import de.lmu.ifi.dbs.elki.data.Clustering;
import de.lmu.ifi.dbs.elki.data.NumberVector;
import de.lmu.... | src/experimentalcode/students/waase/LMCLUS.java |
package experimentalcode.students.waase;
import java.util.Iterator;
import java.util.List;
import java.util.Random;
import de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm;
import de.lmu.ifi.dbs.elki.data.Cluster;
import de.lmu.ifi.dbs.elki.data.Clustering;
import de.lmu.ifi.dbs.elki.data.NumberVector;
import de.lmu.... | Hints on how to adjust to the new API
| src/experimentalcode/students/waase/LMCLUS.java | Hints on how to adjust to the new API | <ide><path>rc/experimentalcode/students/waase/LMCLUS.java
<ide> config.grab(sensivityThreshold);
<ide> }
<ide>
<del> @Override
<del> public Clustering<Model> run(Database database) throws IllegalStateException {
<add> public Clustering<Model> run(Database database, Relation<V> relation) throws IllegalStateExc... | |
Java | apache-2.0 | f9c2378c5d48e23e3c7abe8b554345836f150994 | 0 | maichler/izpack,mtjandra/izpack,Helpstone/izpack,Helpstone/izpack,yukron/izpack,rkrell/izpack,rsharipov/izpack,Helpstone/izpack,optotronic/izpack,Murdock01/izpack,rkrell/izpack,rsharipov/izpack,codehaus/izpack,akuhtz/izpack,stenix71/izpack,bradcfisher/izpack,rkrell/izpack,Murdock01/izpack,tomas-forsman/izpack,rsharipov... | /*
* $Id$
* IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://izpack.codehaus.org/
*
* Copyright 2001 Johannes Lehtinen
* Copyright 2002 Paul Wilkinson
* Copyright 2004 Gaganis Giorgos
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ... | izpack-compiler/src/main/java/com/izforge/izpack/compiler/Compiler.java | /*
* $Id$
* IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://izpack.codehaus.org/
*
* Copyright 2001 Johannes Lehtinen
* Copyright 2002 Paul Wilkinson
* Copyright 2004 Gaganis Giorgos
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ... | Clean compiler and compilerConfig
| izpack-compiler/src/main/java/com/izforge/izpack/compiler/Compiler.java | Clean compiler and compilerConfig | <ide><path>zpack-compiler/src/main/java/com/izforge/izpack/compiler/Compiler.java
<ide> return (null);
<ide> }
<ide>
<del> // -------------------------------------------------------------------------
<del> // ------------- Listener stuff ------------------------- END ------------
<del>
<ide> } | |
Java | mit | c9650cdba3b34a100b46e3ce4fe3a26db2600a40 | 0 | PolymorphGit/SJI-DEV,PolymorphGit/SJI-DEV | import java.net.URISyntaxException;
import java.sql.*;
import java.util.HashMap;
import java.util.ArrayList;
import java.util.Map;
import com.heroku.sdk.jdbc.DatabaseUrl;
class IdealPrice
{
private Connection connection = null;
private Statement stmt = null;
private ArrayList<NPD> listNPD;
private Account accoun... | src/main/java/IdealPrice.java | import java.net.URISyntaxException;
import java.sql.*;
import java.util.HashMap;
import java.util.ArrayList;
import java.util.Map;
import com.heroku.sdk.jdbc.DatabaseUrl;
class IdealPrice
{
private Connection connection = null;
private Statement stmt = null;
private ArrayList<NPD> listNPD;
private Account accoun... | Test Query Where IN v0.2
| src/main/java/IdealPrice.java | Test Query Where IN v0.2 | <ide><path>rc/main/java/IdealPrice.java
<ide> listNPD.add(new NPD(rs));
<ide> }
<ide>
<del> //LoadData();
<add> LoadData();
<ide> }
<ide> catch (SQLException e) {
<ide> // TODO Auto-generated catch block
<ide>
<ide> private void LoadData()
<ide> {
<del> String l... | |
JavaScript | bsd-3-clause | 23d275211a9430b3802c668028961855bae68033 | 0 | urvashi01/react-native,ankitsinghania94/react-native,martinbigio/react-native,happypancake/react-native,salanki/react-native,facebook/react-native,tszajna0/react-native,peterp/react-native,Bhullnatik/react-native,hoastoolshop/react-native,Livyli/react-native,esauter5/react-native,nathanajah/react-native,xiayz/react-nat... | /**
* Copyright (c) 2015-present, 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.
*/
var React ... | website/src/react-native/showcase.js | /**
* Copyright (c) 2015-present, 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.
*/
var React ... | Added Mobabuild for Android
Summary:Thanks for submitting a pull request! Please provide enough information so that others can review your pull request:
(You can skip this if you're fixing a typo or adding an app to the Showcase.)
Explain the **motivation** for making this change. What existing problem does the pull... | website/src/react-native/showcase.js | Added Mobabuild for Android | <ide><path>ebsite/src/react-native/showcase.js
<ide> {
<ide> name: 'Mobabuild',
<ide> icon: 'http://mobabuild.co/images/applogo.png',
<del> link: 'http://mobabuild.co',
<add> linkAppStore: 'https://itunes.apple.com/tr/app/mobabuild-builds-for-league/id1059193502?l=tr&mt=8',
<add> linkPlayStore: 'http... | |
JavaScript | mit | 42e547a4273255f40fb24e18f73879532c8ee549 | 0 | valerii-zinchenko/inheritance-diagram | var Class = require('class-wrapper').Class;
var d3 = require('d3-selection');
/**
* Rendering engine
*
* It renders the positioned nodes and bind them with arrows.
*
* @param {Object} [nodeProperties] - see [setNodeProperties]{@link Rendering#setProperties}
*/
var Rendering = Class(function(nodeProperties) {
if... | src/rendering.js | var Class = require('class-wrapper').Class;
var GraphNode = require('./src/GraphNode');
var d3 = require('d3-selection');
/**
* Rendering engine
*
* It renders the positioned nodes and bind them with arrows.
*
* @param {Object} [properties] - Properties. Any of already defined properties can be redefined and new ... | init: define the main algorithms for rendering sub-routine
Rendering of connecting lines is not ready.
| src/rendering.js | init: define the main algorithms for rendering sub-routine | <ide><path>rc/rendering.js
<ide> var Class = require('class-wrapper').Class;
<del>var GraphNode = require('./src/GraphNode');
<ide> var d3 = require('d3-selection');
<ide>
<ide> /**
<ide> *
<ide> * It renders the positioned nodes and bind them with arrows.
<ide> *
<del> * @param {Object} [properties] - Properties. ... | |
JavaScript | agpl-3.0 | 79a64395ea50eb5203d5b53e18ba10a9d73540f5 | 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 | c0d3a9a4-2e62-11e5-9284-b827eb9e62be | helloWorld.js | c0ce1e08-2e62-11e5-9284-b827eb9e62be | c0d3a9a4-2e62-11e5-9284-b827eb9e62be | helloWorld.js | c0d3a9a4-2e62-11e5-9284-b827eb9e62be | <ide><path>elloWorld.js
<del>c0ce1e08-2e62-11e5-9284-b827eb9e62be
<add>c0d3a9a4-2e62-11e5-9284-b827eb9e62be | |
Java | bsd-3-clause | fee2116b1e512996a6b75a74bbf4a15af47eed90 | 0 | ox-it/oxpoints-legacy-servlet,ox-it/oxpoints-legacy-servlet,ox-it/oxpoints-legacy-servlet | /**
* Copyright 2009 University of Oxford
*
* Written by Arno Mittelbach for the Erewhon Project
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code ... | src/main/java/uk/ac/ox/oucs/erewhon/oxpq/OxPointsQueryServlet.java | /**
* Copyright 2009 University of Oxford
*
* Written by Arno Mittelbach for the Erewhon Project
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code ... | Remove debug
git-svn-id: d9f7cc7daa8f282b2d96bd72a85d1209eff67c0c@1296 98330f3f-1342-47a8-b5c6-0a1dd6e8dbeb
| src/main/java/uk/ac/ox/oucs/erewhon/oxpq/OxPointsQueryServlet.java | Remove debug | <ide><path>rc/main/java/uk/ac/ox/oucs/erewhon/oxpq/OxPointsQueryServlet.java
<ide> import java.io.InputStreamReader;
<ide> import java.io.OutputStream;
<ide> import java.util.Collection;
<del>import java.util.Enumeration;
<ide> import java.util.HashSet;
<ide> import java.util.Set;
<ide> import java.util.Map.Entry;
<ide... | |
JavaScript | mit | 78f446dc043b9c934258251a2134d1eb89fd7935 | 0 | emyjacob/Emy-JS | /********************************************************
* Author: Jacob Nelson *
* Email Id: iam@jnelson.in *
* Blog: http://jnelson.in *
* Help: http://javascript.jnelson.in/category/emy-js *
********************************************************/
Array.prototype.sizeOf = function(){ return thi... | emy.js | /************************************************
* Author: Jacob Nelson *
* Email Id: iam@jnelson.in *
* Blog: http://jnelson.in *
************************************************/
Array.prototype.sizeOf = function(){ return this.length; }
Array.prototype.min = function(){ return Math.min.apply({},this) ... | Emy.js Version 0.1.3
Adding new functionalities fill(), add(), plus()[alias of add()], subtract(), minus()[alias of subtract], negate()
| emy.js | Emy.js Version 0.1.3 Adding new functionalities fill(), add(), plus()[alias of add()], subtract(), minus()[alias of subtract], negate() | <ide><path>my.js
<del>/************************************************
<del>* Author: Jacob Nelson *
<del>* Email Id: iam@jnelson.in *
<del>* Blog: http://jnelson.in *
<del>************************************************/
<add>/********************************************************
<add>* Author: Jaco... | |
Java | mit | a43caaa55214f84ebf631df757b026e3cb345ee4 | 0 | sake/bouncycastle-java | package org.bouncycastle.crypto.encodings;
import java.math.BigInteger;
import org.bouncycastle.crypto.AsymmetricBlockCipher;
import org.bouncycastle.crypto.CipherParameters;
import org.bouncycastle.crypto.InvalidCipherTextException;
import org.bouncycastle.crypto.params.ParametersWithRandom;
import org.bouncycastle.... | src/org/bouncycastle/crypto/encodings/ISO9796d1Encoding.java | package org.bouncycastle.crypto.encodings;
import org.bouncycastle.crypto.AsymmetricBlockCipher;
import org.bouncycastle.crypto.CipherParameters;
import org.bouncycastle.crypto.InvalidCipherTextException;
import org.bouncycastle.crypto.params.ParametersWithRandom;
import org.bouncycastle.crypto.params.RSAKeyParameters... | BJA-280 ISO-9796-1 padding fix.
| src/org/bouncycastle/crypto/encodings/ISO9796d1Encoding.java | BJA-280 ISO-9796-1 padding fix. | <ide><path>rc/org/bouncycastle/crypto/encodings/ISO9796d1Encoding.java
<ide> package org.bouncycastle.crypto.encodings;
<add>
<add>import java.math.BigInteger;
<ide>
<ide> import org.bouncycastle.crypto.AsymmetricBlockCipher;
<ide> import org.bouncycastle.crypto.CipherParameters;
<ide> /**
<ide> * ISO 9796-1 padding.... | |
Java | apache-2.0 | a8048298261289faf3ae1b07870f05cca1b58193 | 0 | ontop/ontop,ontop/ontop,ontop/ontop,ontop/ontop,ontop/ontop | package it.unibz.inf.ontop.pivotalrepr.impl;
import java.util.AbstractMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import ... | reformulation-core/src/main/java/it/unibz/inf/ontop/pivotalrepr/impl/ConstructionNodeImpl.java | package it.unibz.inf.ontop.pivotalrepr.impl;
import java.util.AbstractMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import ... | Bugfix: removes duplicate map entries when computing delta.
| reformulation-core/src/main/java/it/unibz/inf/ontop/pivotalrepr/impl/ConstructionNodeImpl.java | Bugfix: removes duplicate map entries when computing delta. | <ide><path>eformulation-core/src/main/java/it/unibz/inf/ontop/pivotalrepr/impl/ConstructionNodeImpl.java
<ide> .filter(e -> !tauEqEntries.contains(e))
<ide> .filter(e -> !formerThetaDomain.contains(e.getKey()))
<ide> .map(e -> new AbstractMap.SimpleEntry<>(e.getKey(), new... | |
Java | apache-2.0 | f91dde672e3ebd4527c75d749059dff0fa5c9f9b | 0 | robinverduijn/gradle,gstevey/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,robinverduijn/gradle,gstevey/gradle,lsmaira/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,blindpirate/gradle... | /*
* Copyright 2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | subprojects/core/src/main/groovy/org/gradle/api/artifacts/DependencyResolveDetails.java | /*
* Copyright 2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Fix documentation
| subprojects/core/src/main/groovy/org/gradle/api/artifacts/DependencyResolveDetails.java | Fix documentation | <ide><path>ubprojects/core/src/main/groovy/org/gradle/api/artifacts/DependencyResolveDetails.java
<ide> * <ul>
<ide> * <li>Strings like <code>"org.gradle:gradle-core:1.4"</code></li>
<ide> * <li>Maps like <code>[group: 'org.gradle', name: 'gradle-core', version: '1.4']</code></li>
<del> * ... | |
Java | bsd-3-clause | eed8b1bb37afcba7cc36723955c5f5083df912ac | 0 | mosauter/Battleship | package de.htwg.battleship.aview.gui;
import static de.htwg.battleship.util.StatCollection.heightLenght;
import static de.htwg.battleship.util.StatCollection.createMap;
import static de.htwg.battleship.util.StatCollection.fillMap;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Container;
import ... | Battleship/src/main/java/de/htwg/battleship/aview/gui/GUI.java | package de.htwg.battleship.aview.gui;
import static de.htwg.battleship.util.StatCollection.heightLenght;
import static de.htwg.battleship.util.StatCollection.createMap;
import static de.htwg.battleship.util.StatCollection.fillMap;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Container;
import ... | fixed magic numbers
| Battleship/src/main/java/de/htwg/battleship/aview/gui/GUI.java | fixed magic numbers | <ide><path>attleship/src/main/java/de/htwg/battleship/aview/gui/GUI.java
<ide> * Constant that indicates how long the JPopupDialogs should be shown before
<ide> * they close automatically.
<ide> */
<del> private static final long displaytime = 1000L;
<add> private static final long displayTime = 10... | |
Java | mit | b093835e70393fe23c879ecb3872f86de4b8d8b0 | 0 | korinth/apistogramma | /*
* Copyright (C) 2013 Eostre (Martin Korinth)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, me... | src/main/java/se/eostre/apistogramma/Environment.java | /*
* Copyright (C) 2013 Eostre (Martin Korinth)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, me... | Now using .act as servlet mapping
| src/main/java/se/eostre/apistogramma/Environment.java | Now using .act as servlet mapping | <ide><path>rc/main/java/se/eostre/apistogramma/Environment.java
<ide> Environment(HttpServletRequest request, HttpServletResponse response) {
<ide> this.request = request;
<ide> this.response = response;
<del> uri = request.getPathInfo();
<add> uri = request.getServletPath().replace(".act", "");
<ide> method =... | |
Java | mit | 7b52bf01da89733f2c5782c66dff89fd05d06778 | 0 | lewismcgeary/AndroidGameofLife | package io.github.lewismcgeary.androidgameoflife;
import android.content.Context;
import android.os.SystemClock;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewTreeObserver;
import android.widget.GridLayout;
import java.util.ArrayList;
import java.... | app/src/main/java/io/github/lewismcgeary/androidgameoflife/LifeGridLayout.java | package io.github.lewismcgeary.androidgameoflife;
import android.content.Context;
import android.os.SystemClock;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewTreeObserver;
import android.widget.GridLayout;
import java.util.ArrayList;
import java.... | add check to grids touchlistener to make sure grid is initialised before any actions attempted
| app/src/main/java/io/github/lewismcgeary/androidgameoflife/LifeGridLayout.java | add check to grids touchlistener to make sure grid is initialised before any actions attempted | <ide><path>pp/src/main/java/io/github/lewismcgeary/androidgameoflife/LifeGridLayout.java
<ide> long touchEventCurrentTime;
<ide> @Override
<ide> public boolean onTouch(View v, MotionEvent event) {
<add> //if cellPixelSize is zero, grid has not been fully initialised so... | |
JavaScript | mit | a1228c9f2b262079f4e597358626c49009de7aaf | 0 | nicroto/viktor,nicroto/viktor,eriser/viktor,nicroto/viktor,eriser/viktor,eriser/viktor | 'use strict';
module.exports = {
DEFAULT_PITCH_SETTINGS: {
bend: 0
},
DEFAULT_REVERB_SETTINGS: {
level: 0
},
TUNA_REVERB_DEFAULT_SETTINGS: {
highCut: 22050,
lowCut: 20,
dryLevel: 1,
wetLevel: 0,
level: 1,
impulse: "impulses/impulse_rev.wav",
bypass: 0
}
}; | src/app/daw/engine/const.js | 'use strict';
module.exports = {
DEFAULT_PITCH_SETTINGS: {
bend: 0
},
DEFAULT_REVERB_SETTINGS: {
level: 0
},
TUNA_REVERB_DEFAULT_SETTINGS: {
highCut: 22050,
lowCut: 20,
dryLevel: 1,
wetLevel: 0,
level: 1,
impulse: "/impulses/impulse_rev.wav",
bypass: 0
}
}; | Fix: path to tuna impulses shouldn't start from root.
| src/app/daw/engine/const.js | Fix: path to tuna impulses shouldn't start from root. | <ide><path>rc/app/daw/engine/const.js
<ide> dryLevel: 1,
<ide> wetLevel: 0,
<ide> level: 1,
<del> impulse: "/impulses/impulse_rev.wav",
<add> impulse: "impulses/impulse_rev.wav",
<ide> bypass: 0
<ide> }
<ide> | |
Java | apache-2.0 | d60e0e45a57a56e1dad6ae9e80aaa7d9f67ddd3c | 0 | eamonnmcmanus/javapoet,ThirdProject/android_external_square_javawriter,studyfordream/javapoet,auke-/javawriter,leorric/javawriter,sitexa/javapoet,leorric/javawriter,sitexa/javapoet,DirtyUnicorns/android_external_square_javawriter,gk5885/javawriter,ks94/javapoet,DirtyUnicorns/android_external_square_javawriter,rajatgupt... | // Copyright 2013 Square, Inc.
package com.squareup.java;
import com.example.Binding;
import java.io.IOException;
import java.io.StringWriter;
import java.lang.reflect.Modifier;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
import org.junit.Test;
import stat... | src/test/java/com/squareup/java/JavaWriterTest.java | // Copyright 2013 Square, Inc.
package com.squareup.java;
import com.example.Binding;
import java.io.IOException;
import java.io.StringWriter;
import java.lang.reflect.Modifier;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
import org.junit.Test;
import stat... | updated test
| src/test/java/com/squareup/java/JavaWriterTest.java | updated test | <ide><path>rc/test/java/com/squareup/java/JavaWriterTest.java
<ide> + "}\n");
<ide> }
<ide>
<del> @Test public void statementFollowedByComment() throws IOException {
<del> javaWriter.emitPackage("com.squareup");
<del> javaWriter.beginType("com.squareup.Foo", "class", 0);
<del> javaWriter.beginMetho... | |
Java | bsd-3-clause | 81bff65f2fdec735c8cd2ff7a48ad6b02c7939af | 0 | krzyk/rultor,pecko/rultor,linlihai/rultor,joansmith/rultor,joansmith/rultor,joansmith/rultor,dalifreire/rultor,dalifreire/rultor,maurezen/rultor,linlihai/rultor,maurezen/rultor,linlihai/rultor,maurezen/rultor,pecko/rultor,pecko/rultor,dalifreire/rultor,joansmith/rultor,joansmith/rultor,dalifreire/rultor,pecko/rultor,li... | /**
* Copyright (c) 2009-2014, rultor.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met: 1) Redistributions of source code must retain the above
* copyright notice, this list of conditio... | src/main/java/com/rultor/agents/github/Understands.java | /**
* Copyright (c) 2009-2014, rultor.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met: 1) Redistributions of source code must retain the above
* copyright notice, this list of conditio... | #645 check for invalid comment numbers
| src/main/java/com/rultor/agents/github/Understands.java | #645 check for invalid comment numbers | <ide><path>rc/main/java/com/rultor/agents/github/Understands.java
<ide> @Immutable
<ide> @ToString
<ide> @EqualsAndHashCode(callSuper = false, of = { "github", "question" })
<add>@SuppressWarnings("PMD.CyclomaticComplexity")
<ide> public final class Understands extends AbstractAgent {
<ide>
<ide> /**
<ide> ... | |
Java | apache-2.0 | 73d151275a618e5782fed108000440845c75f429 | 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... | src/main/java/com/sandwell/JavaSimulation3D/ModelEntity.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: make getTotalHoursFor(state) to return up-to-date hours
Signed-off-by: Ali Marandi <c1f5ba98b5f658269cb60d2683b8b1af37717b03@ausenco.com>
Signed-off-by: Harvey Harrison <eadbd6b462bf3c97df0300a934c12bc2e5d1fe51@ausenco.com>
| src/main/java/com/sandwell/JavaSimulation3D/ModelEntity.java | JS3D: make getTotalHoursFor(state) to return up-to-date hours | <ide><path>rc/main/java/com/sandwell/JavaSimulation3D/ModelEntity.java
<ide> }
<ide>
<ide> public double getTotalHoursFor(String state) {
<del> return getStateRecordFor(state).getTotalHours();
<add> StateRecord rec = getStateRecordFor(state);
<add> double hours = rec.getTotalHours();
<add> if (presentState == re... | |
Java | lgpl-2.1 | 2feb4e2c86a211f3841ed3f546644d8e15e76dd3 | 0 | xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/migration/hibernate/R130200000XWIKI17200DataMigration.java | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | XWIKI-19486: Potential error related to XWV_COOKIE key during a migration of extremely old XWiki instance
| xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/migration/hibernate/R130200000XWIKI17200DataMigration.java | XWIKI-19486: Potential error related to XWV_COOKIE key during a migration of extremely old XWiki instance | <ide><path>wiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/migration/hibernate/R130200000XWIKI17200DataMigration.java
<ide> try (Connection connection = jdbcConnectionAccess.obtainConnection()) {
<ide> DatabaseMetaData databaseMetaData = connection.getMetaData();
... | |
Java | apache-2.0 | 68e101f58a31c6fb06680b618665c35ace0b8a44 | 0 | jmuehlner/incubator-guacamole-client,glyptodon/guacamole-client,glyptodon/guacamole-client,mike-jumper/incubator-guacamole-client,jmuehlner/incubator-guacamole-client,necouchman/incubator-guacamole-client,mike-jumper/incubator-guacamole-client,jmuehlner/incubator-guacamole-client,mike-jumper/incubator-guacamole-client,... | /*
* 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 ... | guacamole-common/src/main/java/org/apache/guacamole/GuacamoleException.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 ... | GUACAMOLE-504: Add getHttpStatusCode() method to GuacamoleException class.
| guacamole-common/src/main/java/org/apache/guacamole/GuacamoleException.java | GUACAMOLE-504: Add getHttpStatusCode() method to GuacamoleException class. | <ide><path>uacamole-common/src/main/java/org/apache/guacamole/GuacamoleException.java
<ide> public GuacamoleStatus getStatus() {
<ide> return GuacamoleStatus.SERVER_ERROR;
<ide> }
<add>
<add> /**
<add> * Returns the numeric HTTP status code associated with this exception.
<add> *
<add> * ... | |
Java | apache-2.0 | 72175e9902ae890682cf1bf5fa4b1bc854580585 | 0 | carewebframework/carewebframework-core,carewebframework/carewebframework-core,carewebframework/carewebframework-core,carewebframework/carewebframework-core | /**
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*
* This Source Code Form is also subject to the terms of the Health-Related Additional
* Disclaimer of Warr... | org.carewebframework.ui-parent/org.carewebframework.ui.sharedforms/src/main/java/org/carewebframework/ui/sharedforms/ListViewForm.java | /**
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*
* This Source Code Form is also subject to the terms of the Health-Related Additional
* Disclaimer of Warr... | Add getSelectedValue method. | org.carewebframework.ui-parent/org.carewebframework.ui.sharedforms/src/main/java/org/carewebframework/ui/sharedforms/ListViewForm.java | Add getSelectedValue method. | <ide><path>rg.carewebframework.ui-parent/org.carewebframework.ui.sharedforms/src/main/java/org/carewebframework/ui/sharedforms/ListViewForm.java
<ide> return listbox.getSelectedItem();
<ide> }
<ide>
<add> @SuppressWarnings("unchecked")
<add> protected DAO getSelectedValue() {
<add> Listite... | |
JavaScript | mit | c83a0ebe4cf5653d958b4d35e485407e72d75dfc | 0 | ForbesLindesay/ascii-math | /*
Generated with the code:
request('http://www.escapecodes.info', function (err, res, body) {
if (err) throw err;
body = body.toString();
var pattern = /<span class=\"tip\">\&([^;]+);<br \/>\&#([^;]+);/g;
var match;
var lookup = {};
while (match = pattern.exec(body)) {
lookup[match[2]] = mat... | lib/escape.js | /*
Generated with the code:
request('http://www.escapecodes.info', function (err, res, body) {
if (err) throw err;
body = body.toString();
var pattern = /<span class=\"tip\">\&([^;]+);<br \/>\&#([^;]+);/g;
var match;
var lookup = {};
while (match = pattern.exec(body)) {
lookup[match[2]] = mat... | fix escaping of `or` and `part`
| lib/escape.js | fix escaping of `or` and `part` | <ide><path>ib/escape.js
<ide> 8659: 'dArr',
<ide> 8660: 'hArr',
<ide> 8704: 'forall',
<del> 8706: 'part ',
<add> 8706: 'part',
<ide> 8707: 'exist',
<ide> 8709: 'empty',
<ide> 8711: 'nabla',
<ide> 8734: 'infin',
<ide> 8736: 'ang',
<ide> 8743: 'and',
<del> 8744: 'or ',
<add> 8744: 'or',
<ide> 8745... | |
Java | apache-2.0 | 46c5480dd3e9cbb9c676d7e14017cd1c5fed9d8a | 0 | OpenHFT/Chronicle-Core | /*
* Copyright 2016 higherfrequencytrading.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | src/main/java/net/openhft/chronicle/core/Mocker.java | /*
* Copyright 2016 higherfrequencytrading.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | Add an option to log all IO
| src/main/java/net/openhft/chronicle/core/Mocker.java | Add an option to log all IO | <ide><path>rc/main/java/net/openhft/chronicle/core/Mocker.java
<ide>
<ide> @NotNull
<ide> public static <T> T intercepting(@NotNull Class<T> tClass, String description, @NotNull Consumer<String> consumer) {
<add> return intercepting(tClass, description, consumer, null);
<add> }
<add>
<add> @NotNul... | |
Java | apache-2.0 | 5ff8477dcf71f5a0c9c900831a2a5778f63bbd23 | 0 | Xlythe/CameraView | package com.xlythe.fragment.camera;
import android.Manifest;
import android.animation.ValueAnimator;
import android.content.Context;
import android.content.pm.PackageManager;
import android.graphics.Rect;
import android.hardware.display.DisplayManager;
import android.os.Build;
import android.os.Bundle;
impor... | camera-view/src/main/java/com/xlythe/fragment/camera/CameraFragment.java | package com.xlythe.fragment.camera;
import android.Manifest;
import android.animation.ValueAnimator;
import android.content.Context;
import android.content.pm.PackageManager;
import android.graphics.Rect;
import android.hardware.display.DisplayManager;
import android.os.Build;
import android.os.Bundle;
impor... | Update CameraFragment.java | camera-view/src/main/java/com/xlythe/fragment/camera/CameraFragment.java | Update CameraFragment.java | <ide><path>amera-view/src/main/java/com/xlythe/fragment/camera/CameraFragment.java
<ide> mPermissionPrompt.setVisibility(View.VISIBLE);
<ide> }
<ide>
<del> private String stringForTime(int timeMs) {
<add> private static String stringForTime(int timeMs) {
<ide> int totalSeconds = timeMs / 1000... | |
Java | mit | 5d146c923620523a871a0fe50bdcbc3b7559df8c | 0 | jvd001/android-library,jvd001/android-library,luizpagnez/android-library,noyo/android-library,luizpagnez/android-library,cloudcopy/owncloud-android-library,noyo/android-library,cloudcopy/owncloud-android-library | /* ownCloud Android Library is available under MIT license
* Copyright (C) 2014 ownCloud Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including ... | test_client/tests/src/com/owncloud/android/lib/test_project/test/MoveFileTest.java | /* ownCloud Android Library is available under MIT license
* Copyright (C) 2014 ownCloud Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including ... | Some improvementes in tests on failed move operations
| test_client/tests/src/com/owncloud/android/lib/test_project/test/MoveFileTest.java | Some improvementes in tests on failed move operations | <ide><path>est_client/tests/src/com/owncloud/android/lib/test_project/test/MoveFileTest.java
<ide>
<ide> import junit.framework.AssertionFailedError;
<ide>
<add>import org.apache.commons.httpclient.HttpStatus;
<ide> import org.apache.commons.httpclient.protocol.Protocol;
<ide> import org.apache.commons.httpclient.pro... | |
Java | apache-2.0 | 660dace8ebcbe06693d1e2f8387cdc6a53bd9a85 | 0 | stealthcopter/AndroidNetworkTools,stealthcopter/AndroidNetworkTools | package com.stealthcopter.networktools;
import android.support.annotation.NonNull;
import com.stealthcopter.networktools.portscanning.PortScanTCP;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.ArrayList;
/**
* Created by mat on 14/12/15.
*/
public class PortScan {
public... | library/src/main/java/com/stealthcopter/networktools/PortScan.java | package com.stealthcopter.networktools;
import android.support.annotation.NonNull;
import com.stealthcopter.networktools.portscanning.PortScanTCP;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.ArrayList;
/**
* Created by mat on 14/12/15.
*/
public class PortScan {
public... | Fixed missing last port (65535) from a full scan.
Fixed broken setPorts(ArrayList<Integer> ports), clear was causing no ports to be scanned
Seperated validation into it's own method for tidyness
| library/src/main/java/com/stealthcopter/networktools/PortScan.java | Fixed missing last port (65535) from a full scan. Fixed broken setPorts(ArrayList<Integer> ports), clear was causing no ports to be scanned Seperated validation into it's own method for tidyness | <ide><path>ibrary/src/main/java/com/stealthcopter/networktools/PortScan.java
<ide> * Set the address to ping
<ide> * @param address - Address to be pinged
<ide> * @return this object to allow chaining
<del> * @throws UnknownHostException
<add> * @throws UnknownHostException - if no IP address for... | |
JavaScript | apache-2.0 | 69fe513cc9a57f4ac231db4bf64a358bd76f4d89 | 0 | mpouttuclarke/cdap,hsaputra/cdap,anthcp/cdap,mpouttuclarke/cdap,hsaputra/cdap,caskdata/cdap,chtyim/cdap,chtyim/cdap,chtyim/cdap,hsaputra/cdap,hsaputra/cdap,mpouttuclarke/cdap,chtyim/cdap,mpouttuclarke/cdap,caskdata/cdap,chtyim/cdap,caskdata/cdap,hsaputra/cdap,caskdata/cdap,anthcp/cdap,anthcp/cdap,caskdata/cdap,chtyim/c... | var http = require('http'),
thrift = require('thrift'),
fs = require('fs'),
log4js = require('log4js');
/**
* Configure thrift.
*/
var AppFabricService = require('./thrift_bindings/AppFabricService.js'),
MetricsFrontendService = require('./thrift_bindings/MetricsFrontendService.js'),
MetadataService = require('... | server/common/api.js | var http = require('http'),
thrift = require('thrift'),
fs = require('fs'),
log4js = require('log4js');
/**
* Configure thrift.
*/
var AppFabricService = require('./thrift_bindings/AppFabricService.js'),
MetricsFrontendService = require('./thrift_bindings/MetricsFrontendService.js'),
MetadataService = require('... | fixing a typo
| server/common/api.js | fixing a typo | <ide><path>erver/common/api.js
<ide> params = params || [];
<ide> params.unshift(accountID);
<ide>
<del> var auth_token = new appfabricservices_types.AuthToken({ token: null });
<add> var auth_token = new appfabricservice_types.AuthToken({ token: null });
<ide>
<ide> var conn = thrift.createConnection(
<ide> ... | |
Java | mit | 0e96ea0b4a1fec42a46cff33465fe31892c62977 | 0 | Siroring/projecteuler | package answers;
/**
* Created by seok on 2017. 2. 9..
*
* Problem 5
* 2520 is the smallest number that can be divided by each of the numbers
* from 1 to 10 without any remainder.
* What is the smallest positive number
* that is evenly divisible by all of the numbers from 1 to 20?
*/
public class Problem5 {
... | answers/src/answers/Problem5.java | package answers;
/**
* Created by seok on 2017. 2. 9..
*
* Problem 5
* 2520 is the smallest number that can be divided by each of the numbers
* from 1 to 10 without any remainder.
* What is the smallest positive number
* that is evenly divisible by all of the numbers from 1 to 20?
*/
public class Problem5 {
... | problem 5 answers fix
- ==false -> !
- for sentence start point
| answers/src/answers/Problem5.java | problem 5 answers fix - ==false -> ! - for sentence start point | <ide><path>nswers/src/answers/Problem5.java
<ide> public static void main(String[] args) {
<ide> int result = 20;
<ide> boolean isAnswer = false;
<del> while (isAnswer == false) {
<add> while (!isAnswer) {
<ide> result++;
<ide> isAnswer = true;
<del> ... | |
Java | lgpl-2.1 | 2503ea81a9d644d3ac3c7988467185fb013dda00 | 0 | pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | xwiki-containers/xwiki-container-servlet/src/main/java/org/xwiki/container/servlet/XWikiServletContextListener.java | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | Fixed doc typo
git-svn-id: d23d7a6431d93e1bdd218a46658458610974b053@25287 f329d543-caf0-0310-9063-dda96c69346f
| xwiki-containers/xwiki-container-servlet/src/main/java/org/xwiki/container/servlet/XWikiServletContextListener.java | Fixed doc typo | <ide><path>wiki-containers/xwiki-container-servlet/src/main/java/org/xwiki/container/servlet/XWikiServletContextListener.java
<ide> this.componentManager = ecm;
<ide>
<ide> // Use a Component Event Manager that stacks Component instance creation events till we tell it to flush them.
<del> // The... | |
JavaScript | bsd-2-clause | 0c7aa3b2aca79ffdcacd3d590068dba093a72b0e | 0 | hichameyessou/blip,tidepool-org/blip,hichameyessou/blip,hichameyessou/blip,tidepool-org/blip,tidepool-org/blip | /*
* == BSD2 LICENSE ==
* Copyright (c) 2014, Tidepool Project
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the associated License, which is identical to the BSD 2-Clause
* License as published by the Open Source Initiative at opensource.org.
*
* This program ... | app/components/chart/modal.js | /*
* == BSD2 LICENSE ==
* Copyright (c) 2014, Tidepool Project
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the associated License, which is identical to the BSD 2-Clause
* License as published by the Open Source Initiative at opensource.org.
*
* This program ... | retrieve focusedSlice info via currentPatientInViewId
| app/components/chart/modal.js | retrieve focusedSlice info via currentPatientInViewId | <ide><path>pp/components/chart/modal.js
<ide> if (!this.props.chartPrefs.modal.showingCbg) {
<ide> return null;
<ide> }
<add> const { currentPatientInViewId } = this.props;
<ide> return (
<ide> <FocusedCBGSliceHTMLLabels
<ide> bgUnits={this.props.bgPrefs.bgUnits}
<del> focusedK... | |
Java | apache-2.0 | b7aa0fe70c8d6b77216c25502e29f135f48d7f83 | 0 | pradyutsarma/autosleep,Orange-OpenSource/autosleep,pradyutsarma/autosleep,pradyutsarma/autosleep,Orange-OpenSource/autosleep,Orange-OpenSource/autosleep | package org.cloudfoundry.autosleep.repositories;
import lombok.extern.slf4j.Slf4j;
import org.cloudfoundry.autosleep.config.Config;
import org.cloudfoundry.autosleep.repositories.ram.RamServiceRepository;
import org.cloudfoundry.autosleep.servicebroker.model.AutoSleepServiceInstance;
import org.cloudfoundry.community.... | src/test/java/org/cloudfoundry/autosleep/repositories/ServiceRepositoryTest.java | package org.cloudfoundry.autosleep.repositories;
import lombok.extern.slf4j.Slf4j;
import org.cloudfoundry.autosleep.config.Config;
import org.cloudfoundry.autosleep.repositories.ram.RamServiceRepository;
import org.cloudfoundry.autosleep.servicebroker.configuration.CatalogConfiguration;
import org.cloudfoundry.autosl... | remove Spring dependency in DAO test
| src/test/java/org/cloudfoundry/autosleep/repositories/ServiceRepositoryTest.java | remove Spring dependency in DAO test | <ide><path>rc/test/java/org/cloudfoundry/autosleep/repositories/ServiceRepositoryTest.java
<ide> import lombok.extern.slf4j.Slf4j;
<ide> import org.cloudfoundry.autosleep.config.Config;
<ide> import org.cloudfoundry.autosleep.repositories.ram.RamServiceRepository;
<del>import org.cloudfoundry.autosleep.servicebroker.co... | |
Java | mit | 8cdb8a7c77a3c7dda01db5a3cf47aed1f969bfda | 0 | HungryAnt/yecai-web-server,HungryAnt/yecai-web-server,HungryAnt/yecai-web-server,HungryAnt/yecai-web-server | package com.antsoft.yecai.model;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.Size;
/**
* Created by ant on 2015/10/18.
*/
public class UserLoginInfo {
@NotBlank
@Size(min = 3, max = 16)
private String loginName;
@NotBlank
@Size(min = ... | src/main/java/com/antsoft/yecai/model/UserLoginInfo.java | package com.antsoft.yecai.model;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.Size;
/**
* Created by ant on 2015/10/18.
*/
public class UserLoginInfo {
@NotBlank
@Size(min = 3, max = 12)
private String loginName;
@NotBlank
@Size(min = ... | userInfo loginName validation bugfix
| src/main/java/com/antsoft/yecai/model/UserLoginInfo.java | userInfo loginName validation bugfix | <ide><path>rc/main/java/com/antsoft/yecai/model/UserLoginInfo.java
<ide> */
<ide> public class UserLoginInfo {
<ide> @NotBlank
<del> @Size(min = 3, max = 12)
<add> @Size(min = 3, max = 16)
<ide> private String loginName;
<ide>
<ide> @NotBlank | |
Java | apache-2.0 | 1305e51817ca164eaa6fc601dcaaab23f0171e9e | 0 | apache/streams,apache/streams,apache/streams,jfrazee/incubator-streams | /*
* 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 ... | streams-monitoring/src/test/java/org/apache/streams/monitoring/persist/impl/BroadcastMessagePersisterTest.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 ... | resolves STREAMS-607
| streams-monitoring/src/test/java/org/apache/streams/monitoring/persist/impl/BroadcastMessagePersisterTest.java | resolves STREAMS-607 | <ide><path>treams-monitoring/src/test/java/org/apache/streams/monitoring/persist/impl/BroadcastMessagePersisterTest.java
<ide>
<ide> @Test
<ide> public void testFailedPersist() {
<del> BroadcastMessagePersister persister = new BroadcastMessagePersister("http://fake.url.com/fake_endpointasdfasdfas");
<add> Br... | |
Java | apache-2.0 | 00f55f8e3bebf70de1d5497c40e0950b8bd6cbdd | 0 | charlesccychen/incubator-beam,rangadi/beam,chamikaramj/beam,markflyhigh/incubator-beam,RyanSkraba/beam,amarouni/incubator-beam,apache/beam,lukecwik/incubator-beam,vikkyrk/incubator-beam,rangadi/incubator-beam,staslev/beam,robertwb/incubator-beam,manuzhang/beam,manuzhang/beam,robertwb/incubator-beam,xsm110/Apache-Beam,l... | /*
* 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 ... | runners/core-java/src/main/java/org/apache/beam/runners/core/UnboundedReadFromBoundedSource.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | Do not call advance when all elements are consumed
This prevents UnboundedReadFromBoundedSource from attempting to read
elements from a reader where elements are known to not exist. This
defends against bounded readers which expect to be discarded the first
time they return false from advance().
| runners/core-java/src/main/java/org/apache/beam/runners/core/UnboundedReadFromBoundedSource.java | Do not call advance when all elements are consumed | <ide><path>unners/core-java/src/main/java/org/apache/beam/runners/core/UnboundedReadFromBoundedSource.java
<ide> private PipelineOptions options;
<ide> private @Nullable BoundedReader<T> reader;
<ide> private boolean closed;
<add> private boolean readerDone;
<ide>
<ide> public ResidualSour... | |
Java | apache-2.0 | error: pathspec 'src/main/packagefolder/Div.java' did not match any file(s) known to git
| 2546cee27ff25954d0d4e243c633f9f256c1266f | 1 | Kivitoe/Turtle-Calculator | package main.packagefolder;
import java.awt.EventQueue;
import javax.swing.JFrame;
import folder.contains.New.methoids.*;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.LayoutStyle.ComponentPlacement;
import javax.... | src/main/packagefolder/Div.java | Divide Part | src/main/packagefolder/Div.java | Divide Part | <ide><path>rc/main/packagefolder/Div.java
<add>package main.packagefolder;
<add>
<add>import java.awt.EventQueue;
<add>
<add>import javax.swing.JFrame;
<add>import folder.contains.New.methoids.*;
<add>import javax.swing.GroupLayout;
<add>import javax.swing.GroupLayout.Alignment;
<add>import javax.swing.JLabel;
<add>imp... | |
Java | apache-2.0 | 9c299b9cdfc3b35c967f0f73b041d550f702cded | 0 | remkop/picocli,remkop/picocli,remkop/picocli,remkop/picocli | /*
* 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 n... | src/test/java/picocli/Demo.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 n... | Cleanup, added sub-command test
| src/test/java/picocli/Demo.java | Cleanup, added sub-command test | <ide><path>rc/test/java/picocli/Demo.java
<ide>
<ide> @CommandLine.Command(name = "git", sortOptions = false, showDefaultValues = false,
<ide> description = "Git is a fast, scalable, distributed revision control " +
<del> "system with an unusually rich command set that provides both high-lev... | |
Java | apache-2.0 | error: pathspec 'btm/src/test/java/bitronix/tm/resource/ResourceRegistrarTest.java' did not match any file(s) known to git
| e8de5a6513532d28444c2390575808678e13dcb2 | 1 | veresh/btm,gavioto/btm,tomsorgie/btm,sshankar/btm,pgbsl/btm,tomsorgie/btm,brettwooldridge/btm,leogong/btm,pgbsl/btm,sshankar/btm,bitronix/btm,Everteam-Software/btm,veresh/btm,marcus-nl/btm,Everteam-Software/btm,bitronix/btm,brettwooldridge/btm,gavioto/btm,leogong/btm,marcus-nl/btm | /*
* Bitronix Transaction Manager
*
* Copyright (c) 2011, Juergen Kellerer.
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, as published by the Free Software Foundation.
*... | btm/src/test/java/bitronix/tm/resource/ResourceRegistrarTest.java | Added tests for the fundamental functionality of the newly implemented ResourceRegistrar.
| btm/src/test/java/bitronix/tm/resource/ResourceRegistrarTest.java | Added tests for the fundamental functionality of the newly implemented ResourceRegistrar. | <ide><path>tm/src/test/java/bitronix/tm/resource/ResourceRegistrarTest.java
<add>/*
<add> * Bitronix Transaction Manager
<add> *
<add> * Copyright (c) 2011, Juergen Kellerer.
<add> *
<add> * This copyrighted material is made available to anyone wishing to use, modify,
<add> * copy, or redistribute it subject to the ter... | |
Java | mit | e6c12492ed7be2ba598b2bfa7087ed925bd4a603 | 0 | akaGelo/another-live-refresh,akaGelo/another-live-refresh,akaGelo/another-live-refresh | package ru.vyukov.anotherliverefresh.filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpSer... | another-live-refresh-spring-boot-starter/src/main/java/ru/vyukov/anotherliverefresh/filter/LiveRefreshIncludeFilter.java | package ru.vyukov.anotherliverefresh.filter;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpSer... | binary response support
| another-live-refresh-spring-boot-starter/src/main/java/ru/vyukov/anotherliverefresh/filter/LiveRefreshIncludeFilter.java | binary response support | <ide><path>nother-live-refresh-spring-boot-starter/src/main/java/ru/vyukov/anotherliverefresh/filter/LiveRefreshIncludeFilter.java
<ide>
<ide> chain.doFilter(request, capturingResponseWrapper);
<ide>
<del> String content = capturingResponseWrapper.getAsString();
<ide> if (response.getContentType() != null && res... | |
Java | apache-2.0 | 7295acf3ded973e8abe2c2bf34ff013b0e6571a6 | 0 | linas/relex,virneo/relex,leungmanhin/relex,rodsol/relex,ainishdave/relex,opencog/relex,anitzkin/relex,virneo/relex,virneo/relex,opencog/relex,ainishdave/relex,AmeBel/relex,linas/relex,leungmanhin/relex,ainishdave/relex,williampma/relex,anitzkin/relex,williampma/relex,leungmanhin/relex,AmeBel/relex,ainishdave/relex,rods... | /*
* Copyright 2009 Linas Vepstas
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | src/java_test/relex/test/TestRelEx.java | /*
* Copyright 2009 Linas Vepstas
*
* 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... | Remove mention of stanford from this file.
| src/java_test/relex/test/TestRelEx.java | Remove mention of stanford from this file. | <ide><path>rc/java_test/relex/test/TestRelEx.java
<ide>
<ide> /**
<ide> * First argument is the sentence.
<del> * Second argument is a list of the relations that the
<del> * Stanford parser generates.
<del> * Return true if relex generates that same dependencies
<add> * Second argument is a list of the relation... | |
Java | apache-2.0 | 1931b408b6a50e131705f2645d9e5890cd5d0c49 | 0 | SecUSo/privacy-friendly-shopping-list | package privacyfriendlyshoppinglist.secuso.org.privacyfriendlyshoppinglist.ui.products.dialog;
import android.Manifest;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager... | app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/products/dialog/ProductDialogFragment.java | package privacyfriendlyshoppinglist.secuso.org.privacyfriendlyshoppinglist.ui.products.dialog;
import android.Manifest;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager... | Feedback. Bugs 8 fixed
| app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/products/dialog/ProductDialogFragment.java | Feedback. Bugs 8 fixed | <ide><path>pp/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/products/dialog/ProductDialogFragment.java
<ide> {
<ide> if ( dialogCache.getExpandableLayout().getVisibility() == View.GONE )
<ide> {
<del> dialogCache.getExp... | |
Java | mpl-2.0 | 4a17567c631c8509c0573c1b559138f63d1e4d32 | 0 | msteinhoff/hello-world | c66c012e-cb8e-11e5-9140-00264a111016 | src/main/java/HelloWorld.java | c65ddc8f-cb8e-11e5-ad43-00264a111016 | Initial commit.13 | src/main/java/HelloWorld.java | Initial commit.13 | <ide><path>rc/main/java/HelloWorld.java
<del>c65ddc8f-cb8e-11e5-ad43-00264a111016
<add>c66c012e-cb8e-11e5-9140-00264a111016 | |
Java | apache-2.0 | 899da6fb0a0895a5945f9d40fc76023d50d30427 | 0 | bazaarvoice/curator-extensions | package com.bazaarvoice.zookeeper.dropwizard;
import com.bazaarvoice.zookeeper.ZooKeeperConnection;
import org.junit.Test;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
public class ManagedZooKeeperConnectionTest {
@Test(expected = NullPointerException.class)
public void t... | dropwizard/src/test/java/com/bazaarvoice/zookeeper/dropwizard/ManagedZooKeeperConnectionTest.java | package com.bazaarvoice.zookeeper.dropwizard;
import com.bazaarvoice.zookeeper.ZooKeeperConnection;
import org.junit.Test;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
public class ManagedZooKeeperConnectionTest {
@Test
public void testClosesOnStop() throws Exception {
... | Add test for null connection.
| dropwizard/src/test/java/com/bazaarvoice/zookeeper/dropwizard/ManagedZooKeeperConnectionTest.java | Add test for null connection. | <ide><path>ropwizard/src/test/java/com/bazaarvoice/zookeeper/dropwizard/ManagedZooKeeperConnectionTest.java
<ide> import static org.mockito.Mockito.verify;
<ide>
<ide> public class ManagedZooKeeperConnectionTest {
<add> @Test(expected = NullPointerException.class)
<add> public void testNullConnection() {
<add> ... | |
Java | apache-2.0 | d279ebc865b73e21158c9c98ebc148c4b8c2b207 | 0 | apache/airavata,apache/airavata,apache/airavata,apache/airavata,apache/airavata,apache/airavata,apache/airavata,apache/airavata | /**
*
* 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"); ... | airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.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"); ... | AIRAVATA-2793 Adding @SecurityCheck annotations
| airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java | AIRAVATA-2793 Adding @SecurityCheck annotations | <ide><path>iravata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
<ide> }
<ide>
<ide> @Override
<add> @SecurityCheck
<ide> public boolean shareResourceWithGroups(AuthzToken authzToken, String resourceId, ResourceType resourceType,
<ide> ... | |
JavaScript | apache-2.0 | 56121d15db8a0ce105f29c0625a16723e55b0b02 | 0 | googleinterns/measurement-library | goog.module('measurementLibrary.eventProcessor.testing.GoogleAnalyticsEventProcessor.buildRequestUrl');
goog.setTestOnly();
const GoogleAnalyticsEventProcessor = goog.require('measurementLibrary.eventProcessor.GoogleAnalyticsEventProcessor');
describe('The `buildRequestUrl_` method ' +
'of GoogleAnalyticsEventPro... | test/unit/GoogleAnalyticsEventProcessor/buildRequestUrl_test.js | goog.module('measurementLibrary.eventProcessor.testing.GoogleAnalyticsEventProcessor.buildRequestUrl');
goog.setTestOnly();
const GoogleAnalyticsEventProcessor = goog.require('measurementLibrary.eventProcessor.GoogleAnalyticsEventProcessor');
describe('The `buildRequestUrl` method ' +
'of GoogleAnalyticsEventProc... | update test
| test/unit/GoogleAnalyticsEventProcessor/buildRequestUrl_test.js | update test | <ide><path>est/unit/GoogleAnalyticsEventProcessor/buildRequestUrl_test.js
<ide>
<ide> const GoogleAnalyticsEventProcessor = goog.require('measurementLibrary.eventProcessor.GoogleAnalyticsEventProcessor');
<ide>
<del>describe('The `buildRequestUrl` method ' +
<add>describe('The `buildRequestUrl_` method ' +
<ide> ... | |
JavaScript | mit | 77b4a60e836e21eeb8cced192f65bdeedd486f12 | 0 | MircoT/Simulation-Parallel-Project,MircoT/Simulation-Parallel-Project | 'use strict';
const cluster = require('cluster');
class Message
{
constructor (sender, time, point)
{
this.sender = sender;
this.data =
{
'time': time,
'point': point
}
}
}
class Point
{
static fromJSon(json)
{
return new Point(jso... | main_3.js | 'use strict';
const cluster = require('cluster');
class Message
{
constructor (sender, time, point)
{
this.sender = sender;
this.data =
{
'time': time,
'point': point
}
}
}
class Point
{
static fromJSon(json)
{
return new Point(jso... | Changed difference beetwin 2 grid
| main_3.js | Changed difference beetwin 2 grid | <ide><path>ain_3.js
<ide> {
<ide> this.pos = info.pos;
<ide> this.size = info.size;
<del>
<add> this.boundaries = info.boundaries;
<add> this.time = info.time || 0;
<add> //set prototype
<ide> this.pos.__proto__ = Point.prototype;
<ide> this.size.__proto_... | |
Java | apache-2.0 | 219b779cbe4809d6d91cecd5eac27274f88dce01 | 0 | awoodworth/appinventor-sources,ZachLamb/appinventor-sources,thequixotic/appinventor-sources,ZachLamb/appinventor-sources,Mateopato/appinventor-sources,josmas/app-inventor,William-Byrne/appinventor-sources,weihuali0509/appinventor-sources,jisqyv/appinventor-sources,bxie/appinventor-sources,marksherman/appinventor-source... | // -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the MIT License https://raw.github.com/mit-cml/app-inventor/master/mitlicense.txt
package com.google.appinventor.server;
import com.google.appinventor.server.u... | appinventor/appengine/src/com/google/appinventor/server/GalleryServlet.java | // -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the MIT License https://raw.github.com/mit-cml/app-inventor/master/mitlicense.txt
package com.google.appinventor.server;
import com.google.appinventor.server.u... | Poked servlet input stream
| appinventor/appengine/src/com/google/appinventor/server/GalleryServlet.java | Poked servlet input stream | <ide><path>ppinventor/appengine/src/com/google/appinventor/server/GalleryServlet.java
<ide> import org.apache.commons.fileupload.FileItemStream;
<ide> import org.apache.commons.fileupload.FileItemIterator;
<ide> import org.apache.commons.fileupload.servlet.ServletFileUpload;
<add>import org.apache.commons.io.IOUtils;
<... | |
JavaScript | mit | a89b27981209f666c94938a1dc3f1b04d8f6f76f | 0 | zeroturnaround/sql-formatter,zeroturnaround/sql-formatter,zeroturnaround/sql-formatter | import dedent from 'dedent-js';
import { NewlineMode } from '../../src/types';
/**
* Tests support for all newline options
* @param {string} language
* @param {Function} format
*/
export default function supportsNewlineOptions(language, format) {
it('throws error when newline is negative number', () => {
exp... | test/features/newline.js | import dedent from 'dedent-js';
import { NewlineMode } from '../../src/types';
/**
* Tests support for all newline options
* @param {string} language
* @param {Function} format
*/
export default function supportsNewlineOptions(language, format) {
it('throws error when newline is negative number', () => {
exp... | Simplify test for comma-counting in parethesis
| test/features/newline.js | Simplify test for comma-counting in parethesis | <ide><path>est/features/newline.js
<ide> });
<ide>
<ide> it('ignores commas inside parenthesis when counting clauses', () => {
<del> const result = format('SELECT foo, (SELECT a, b, c FROM table2) AS bar FROM table1;', {
<add> const result = format('SELECT foo, some_function(a, b, c) AS bar FROM tabl... | |
Java | apache-2.0 | afa93ff0f75e792414c1011493a4173aaed6d1ae | 0 | DBCG/cqf-ruler,DBCG/cql_measure_processor,DBCG/cql_measure_processor,DBCG/cqf-ruler,DBCG/cqf-ruler | package org.opencds.cqf.r4.providers;
import java.util.*;
import java.util.stream.Collectors;
import javax.servlet.http.HttpServletRequest;
import ca.uhn.fhir.jpa.dao.IFhirResourceDao;
import ca.uhn.fhir.rest.annotation.*;
import org.hl7.fhir.exceptions.FHIRException;
import org.hl7.fhir.instance.model.api.IAnyResou... | r4/src/main/java/org/opencds/cqf/r4/providers/MeasureOperationsProvider.java | package org.opencds.cqf.r4.providers;
import java.util.*;
import java.util.stream.Collectors;
import javax.servlet.http.HttpServletRequest;
import ca.uhn.fhir.jpa.dao.IFhirResourceDao;
import ca.uhn.fhir.rest.annotation.*;
import org.hl7.fhir.exceptions.FHIRException;
import org.hl7.fhir.instance.model.api.IAnyResou... | Change parameter name to return
| r4/src/main/java/org/opencds/cqf/r4/providers/MeasureOperationsProvider.java | Change parameter name to return | <ide><path>4/src/main/java/org/opencds/cqf/r4/providers/MeasureOperationsProvider.java
<ide> if(careGapParameterValidation(periodStart, periodEnd, subject, topic, practitioner, measure, status, organization)) {
<ide> if(subject.startsWith("Patient/")){
<ide> returnParams.addParameter... | |
Java | apache-2.0 | 16db68dddab2ebdd84c003c76c566ad0998bd546 | 0 | jjmrocha/couchdb-client | /*
a * CouchDB-client
* ==============
*
* Copyright (C) 2016-18 Joaquim Rocha <jrocha@gmailbox.org>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... | src/main/java/net/uiqui/couchdb/api/DB.java | /*
a * CouchDB-client
* ==============
*
* Copyright (C) 2016-18 Joaquim Rocha <jrocha@gmailbox.org>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... | Bulk recursiveTask | src/main/java/net/uiqui/couchdb/api/DB.java | Bulk recursiveTask | <ide><path>rc/main/java/net/uiqui/couchdb/api/DB.java
<ide> return AsyncTask.invoke(new RecursiveBulkTask(api, dbName, docs));
<ide> }
<ide>
<del> private static class RecursiveBulkTask extends RecursiveTask<BulkResult[]> {
<add> private static final class RecursiveBulkTask extends RecursiveTask<Bulk... | |
Java | apache-2.0 | 269e4f97e620ec45ec6813b676c3694e4ca25945 | 0 | hawkular/hawkular-metrics,hawkular/hawkular-metrics,hawkular/hawkular-metrics,hawkular/hawkular-metrics | /*
* Copyright 2014-2019 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://w... | core/schema-installer/src/main/java/org/hawkular/metrics/schema/Installer.java | /*
* Copyright 2014-2018 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://w... | BZ 1632852 Add retry logic that keep installer running until success.
| core/schema-installer/src/main/java/org/hawkular/metrics/schema/Installer.java | BZ 1632852 Add retry logic that keep installer running until success. | <ide><path>ore/schema-installer/src/main/java/org/hawkular/metrics/schema/Installer.java
<ide> /*
<del> * Copyright 2014-2018 Red Hat, Inc. and/or its affiliates
<add> * Copyright 2014-2019 Red Hat, Inc. and/or its affiliates
<ide> * and other contributors as indicated by the @author tags.
<ide> *
<ide> * Licensed u... | |
JavaScript | mit | b1dde46892f1cd924d92e57504c1b5452acb3395 | 0 | ai/autoprefixer-rails,ai/autoprefixer-rails,ai/autoprefixer-rails,ai/autoprefixer-rails | (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.autoprefixer =... | vendor/autoprefixer.js | (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.autoprefixer =... | Update autoprefixer.js with new Can I Use data
| vendor/autoprefixer.js | Update autoprefixer.js with new Can I Use data | <ide><path>endor/autoprefixer.js
<ide> },{}],155:[function(require,module,exports){
<ide> "use strict";
<ide>
<del>module.exports = { A: { A: { "2": "J C G TB", "8": "E", "292": "B A" }, B: { "292": "D X g H", "2049": "L" }, C: { "1": "2 4 t s", "2": "1 RB F I J C G E B A D X g H L M N PB OB", "8": "O P Q R S T U V W ... | |
Java | agpl-3.0 | fe91c8ee7673d6df34ee8a35eb1adb2f78060558 | 0 | bisq-network/exchange,ManfredKarrer/exchange,bisq-network/exchange,bitsquare/bitsquare,bitsquare/bitsquare,ManfredKarrer/exchange | /*
* This file is part of Bisq.
*
* Bisq 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, either version 3 of the License, or (at
* your option) any later version.
*
* Bisq is distributed in the ... | core/src/main/java/io/bisq/core/dao/blockchain/parse/BsqChainState.java | /*
* This file is part of Bisq.
*
* Bisq 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, either version 3 of the License, or (at
* your option) any later version.
*
* Bisq is distributed in the ... | Set phase 0 genesis tx
| core/src/main/java/io/bisq/core/dao/blockchain/parse/BsqChainState.java | Set phase 0 genesis tx | <ide><path>ore/src/main/java/io/bisq/core/dao/blockchain/parse/BsqChainState.java
<ide>
<ide>
<ide> // TEST NET
<del> // 0.5 BTC to grazcoin ms4ewGfJEv5RTnBD2moDoP5Kp1uJJwDGSX
<del> // 0.3 BTC to alice: myjn5JVuQLN9S4QwGzY4VrD86819Zc2uhj
<del> // 0.2BTC to bob: mx3xo655TAjC5r7ScuVEU8b6FMLomnKSeX
<del> ... | |
Java | apache-2.0 | 9456e891633fa8f6fc5865dc1168728e9239c936 | 0 | cuba-platform/cuba,cuba-platform/cuba,dimone-kun/cuba,dimone-kun/cuba,cuba-platform/cuba,dimone-kun/cuba | /*
* Copyright (c) 2008-2016 Haulmont.
*
* 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... | modules/global/src/com/haulmont/cuba/core/global/MessageTools.java | /*
* Copyright (c) 2008-2016 Haulmont.
*
* 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... | PL-5306 Provide MessageTools.getPropertyCaption methods with Locale parameter
| modules/global/src/com/haulmont/cuba/core/global/MessageTools.java | PL-5306 Provide MessageTools.getPropertyCaption methods with Locale parameter | <ide><path>odules/global/src/com/haulmont/cuba/core/global/MessageTools.java
<ide> * @return localized name
<ide> */
<ide> public String getPropertyCaption(MetaClass metaClass, String propertyName) {
<add> return getPropertyCaption(metaClass, propertyName, null);
<add> }
<add>
<add>... | |
Java | bsd-2-clause | f6da67cd2de4fe908a6d6d9f0cec959bcc8b78fc | 0 | l2-/runelite,runelite/runelite,Sethtroll/runelite,runelite/runelite,Sethtroll/runelite,l2-/runelite,runelite/runelite | /*
* Copyright (c) 2016-2017, Adam <Adam@sigterm.info>
* Copyright (c) 2018, Tomas Slusny <slusnucky@gmail.com>
* Copyright (c) 2019 Abex
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
... | runelite-client/src/main/java/net/runelite/client/rs/ClientLoader.java | /*
* Copyright (c) 2016-2017, Adam <Adam@sigterm.info>
* Copyright (c) 2018, Tomas Slusny <slusnucky@gmail.com>
* Copyright (c) 2019 Abex
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
... | clientloader: don't fallback to Jagex hostnames when using fallback config
| runelite-client/src/main/java/net/runelite/client/rs/ClientLoader.java | clientloader: don't fallback to Jagex hostnames when using fallback config | <ide><path>unelite-client/src/main/java/net/runelite/client/rs/ClientLoader.java
<ide> {
<ide> log.warn("Failed to download gamepack from \"{}\"", url, e);
<ide>
<del> if (attempt >= NUM_ATTEMPTS)
<add> // With fallback config do 1 attempt (there are no additional urls to try)
<add> if (config.isF... | |
Java | apache-2.0 | 53f956fb57dd5601d2e3ca9289207d21796cdc4d | 0 | bowenli86/flink,tillrohrmann/flink,kaibozhou/flink,zentol/flink,xccui/flink,StephanEwen/incubator-flink,jinglining/flink,jinglining/flink,jinglining/flink,sunjincheng121/flink,lincoln-lil/flink,zjureel/flink,godfreyhe/flink,godfreyhe/flink,GJL/flink,lincoln-lil/flink,kaibozhou/flink,zjureel/flink,twalthr/flink,wwjiang0... | /*
* 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-tests/src/test/java/org/apache/flink/test/recovery/JobManagerHAProcessFailureRecoveryITCase.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 ... | [FLINK-10819] Replace with the Flink's Deadline implementation
Remove Scala's Deadline and replace it with Flink's own version.
This closes #10950.
| flink-tests/src/test/java/org/apache/flink/test/recovery/JobManagerHAProcessFailureRecoveryITCase.java | [FLINK-10819] Replace with the Flink's Deadline implementation | <ide><path>link-tests/src/test/java/org/apache/flink/test/recovery/JobManagerHAProcessFailureRecoveryITCase.java
<ide> import org.apache.flink.api.common.functions.RichFlatMapFunction;
<ide> import org.apache.flink.api.common.functions.RichMapFunction;
<ide> import org.apache.flink.api.common.restartstrategy.RestartStr... | |
Java | agpl-3.0 | 1e91e72b1fc5fa812e8ea4d015c25a0168b87f30 | 0 | y0ke/actor-platform,EaglesoftZJ/actor-platform,EaglesoftZJ/actor-platform,y0ke/actor-platform,y0ke/actor-platform,EaglesoftZJ/actor-platform,y0ke/actor-platform,EaglesoftZJ/actor-platform,EaglesoftZJ/actor-platform,y0ke/actor-platform,EaglesoftZJ/actor-platform,EaglesoftZJ/actor-platform,EaglesoftZJ/actor-platform,y0ke... | package im.actor.sdk.controllers.conversation;
import android.content.Intent;
import android.graphics.drawable.ColorDrawable;
import android.os.Build;
import android.os.Bundle;
import android.provider.Settings;
import android.support.v4.app.Fragment;
import android.view.KeyEvent;
import android.view.View;
import andro... | actor-sdk/sdk-core-android/android-sdk/src/main/java/im/actor/sdk/controllers/conversation/ActorEditTextActivity.java | package im.actor.sdk.controllers.conversation;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.provider.Settings;
import android.support.v4.app.Fragment;
import android.view.KeyEvent;
import android.view.View;
import android.view.inputmethod.EditorInfo;
import android.w... | fix(android): remove blink on keyboard open
| actor-sdk/sdk-core-android/android-sdk/src/main/java/im/actor/sdk/controllers/conversation/ActorEditTextActivity.java | fix(android): remove blink on keyboard open | <ide><path>ctor-sdk/sdk-core-android/android-sdk/src/main/java/im/actor/sdk/controllers/conversation/ActorEditTextActivity.java
<ide> package im.actor.sdk.controllers.conversation;
<ide>
<ide> import android.content.Intent;
<add>import android.graphics.drawable.ColorDrawable;
<ide> import android.os.Build;
<ide> impor... | |
Java | apache-2.0 | 7eb8bb5aa14c950c4338dc5373b9beb8c94ae7a3 | 0 | lettuce-io/lettuce-core,lettuce-io/lettuce-core,lettuce-io/lettuce-core,lettuce-io/lettuce-core,mp911de/lettuce,mp911de/lettuce | /*
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | src/main/java/io/lettuce/core/output/OutputFactory.java | /*
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Retain response order for Set responses #823
Lettuce now retains the response order for set results such as smembers. Previously, we used a plain HashSet that did not honor insertion order. Now we're using LinkedHashSet that retains the insertion order for unique elements.
| src/main/java/io/lettuce/core/output/OutputFactory.java | Retain response order for Set responses #823 | <ide><path>rc/main/java/io/lettuce/core/output/OutputFactory.java
<ide> return Collections.emptySet();
<ide> }
<ide>
<del> return new HashSet<>(capacity, 1);
<add> return new LinkedHashSet<>(capacity, 1);
<ide> }
<ide> } | |
Java | bsd-3-clause | 10dc86ea876ddb5174ca6a72aadf7f78b026da5b | 0 | jthrun/sdl_android,smartdevicelink/sdl_android,914802951/sdl_android,anildahiya/sdl_android,jthrun/sdl_android | package com.smartdevicelink.test.rpc.notifications;
import java.util.Iterator;
import org.json.JSONException;
import org.json.JSONObject;
import com.smartdevicelink.marshal.JsonRPCMarshaller;
import com.smartdevicelink.protocol.enums.FunctionID;
import com.smartdevicelink.proxy.RPCMessage;
import com.smartdevicelink... | sdl_android_tests/src/com/smartdevicelink/test/rpc/notifications/OnVehicleDataTests.java | package com.smartdevicelink.test.rpc.notifications;
import java.util.Iterator;
import org.json.JSONException;
import org.json.JSONObject;
import com.smartdevicelink.marshal.JsonRPCMarshaller;
import com.smartdevicelink.protocol.enums.FunctionID;
import com.smartdevicelink.proxy.RPCMessage;
import com.smartdevicelink... | removed system print statement
| sdl_android_tests/src/com/smartdevicelink/test/rpc/notifications/OnVehicleDataTests.java | removed system print statement | <ide><path>dl_android_tests/src/com/smartdevicelink/test/rpc/notifications/OnVehicleDataTests.java
<ide> reference.put(OnVehicleData.KEY_CLUSTER_MODE_STATUS, clusterModeStatusObj);
<ide> reference.put(OnVehicleData.KEY_MY_KEY, myKeyObj);
<ide>
<del> System.out.println(reference);
<del>
<ide> JSONObjec... | |
JavaScript | mit | 5bab3c21c9f69254093ea8d9d29edb3f4a18776c | 0 | rwjblue/ember-cli-inject-live-reload | 'use strict';
const buildLiveReloadPath = require('clean-base-url');
const VersionChecker = require('ember-cli-version-checker');
module.exports = {
name: 'live-reload-middleware',
contentFor: function(type) {
let liveReloadPort = process.env.EMBER_CLI_INJECT_LIVE_RELOAD_PORT;
let baseURL = process.env.E... | index.js | 'use strict';
const buildLiveReloadPath = require('clean-base-url');
const VersionChecker = require('ember-cli-version-checker');
module.exports = {
name: 'live-reload-middleware',
contentFor: function(type) {
let liveReloadPort = process.env.EMBER_CLI_INJECT_LIVE_RELOAD_PORT;
let baseURL = process.env.E... | fix: add empty string in `dynamicScript` | index.js | fix: add empty string in `dynamicScript` | <ide><path>ndex.js
<ide> var defaultPort = location.protocol === 'https:' ? 443 : 80;
<ide> var port = liveReloadPort || location.port || defaultPort;
<ide> var path = '${path}';
<del> var prefixURL = ${liveReloadPort ? "(location.protocol || 'http:') + '//' + host + ':' + " + liveReloadPort : ''};
<add> var pr... | |
Java | apache-2.0 | 1aa27ea5954e3ed87276f9c00974c893ee207a44 | 0 | openengsb/openengsb,openengsb/openengsb,openengsb/openengsb,openengsb/openengsb,openengsb/openengsb,openengsb/openengsb | /**
// * Copyright 2010 OpenEngSB Division, Vienna University of Technology
*
* 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... | tooling/maven-openengsb-plugin/src/main/java/org/openengsb/tooling/pluginsuite/openengsbplugin/LicenseCheck.java | /**
// * Copyright 2010 OpenEngSB Division, Vienna University of Technology
*
* 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... | removed minor duplication of code
Signed-off-by: Andreas Pieber <57efbcbb22ec0bd89955a40df26b44c340d3e38d@gmail.com>
| tooling/maven-openengsb-plugin/src/main/java/org/openengsb/tooling/pluginsuite/openengsbplugin/LicenseCheck.java | removed minor duplication of code | <ide><path>ooling/maven-openengsb-plugin/src/main/java/org/openengsb/tooling/pluginsuite/openengsbplugin/LicenseCheck.java
<ide>
<ide> @Override
<ide> public void execute() throws MojoExecutionException, MojoFailureException {
<del> if (!getProject().isExecutionRoot()) {
<del> return;
<del> ... | |
Java | bsd-3-clause | e90a5668ef2bdf748fc5bb330f6c7df5960ee224 | 0 | harnesscloud/xtreemfs,kleingeist/xtreemfs,harnesscloud/xtreemfs,kleingeist/xtreemfs,kleingeist/xtreemfs,rbaerzib/xtreemfs,rbaerzib/xtreemfs,harnesscloud/xtreemfs,jswrenn/xtreemfs,rbaerzib/xtreemfs,rbaerzib/xtreemfs,jswrenn/xtreemfs,jswrenn/xtreemfs,rbaerzib/xtreemfs,jswrenn/xtreemfs,jswrenn/xtreemfs,kleingeist/xtreemfs... | /*
* Copyright (c) 2008-2011 by Bjoern Kolbeck, Jan Stender,
* Zuse Institute Berlin
*
* Licensed under the BSD License, see LICENSE file for details.
*
*/
package org.xtreemfs.osd.stages;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import jav... | java/servers/src/org/xtreemfs/osd/stages/PreprocStage.java | /*
* Copyright (c) 2008-2011 by Bjoern Kolbeck, Jan Stender,
* Zuse Institute Berlin
*
* Licensed under the BSD License, see LICENSE file for details.
*
*/
package org.xtreemfs.osd.stages;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import jav... | servers: views: Fix small bug in the handling of ViewUpdates from flease.
| java/servers/src/org/xtreemfs/osd/stages/PreprocStage.java | servers: views: Fix small bug in the handling of ViewUpdates from flease. | <ide><path>ava/servers/src/org/xtreemfs/osd/stages/PreprocStage.java
<ide> return;
<ide> }
<ide>
<del>
<del> if (state.getVersion() < version || (state.getVersion() == version && state.getInvalidated())) {
<add> // If a response from a newer View is encountered, we have to install it ... | |
Java | lgpl-2.1 | 3a94c3c2f38b8495d31d4bde60fd83593a5144ca | 0 | mediaworx/opencms-core,serrapos/opencms-core,serrapos/opencms-core,ggiudetti/opencms-core,victos/opencms-core,MenZil/opencms-core,ggiudetti/opencms-core,sbonoc/opencms-core,mediaworx/opencms-core,gallardo/opencms-core,serrapos/opencms-core,it-tavis/opencms-core,it-tavis/opencms-core,mediaworx/opencms-core,ggiudetti/ope... | /*
* File : $Source: /alkacon/cvs/opencms/src/org/opencms/jsp/CmsJspTagContainer.java,v $
* Date : $Date: 2010/01/11 08:03:03 $
* Version: $Revision: 1.11 $
*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) 2002 - 2009 Alkacon Software GmbH (http://www.alkac... | src/org/opencms/jsp/CmsJspTagContainer.java | /*
* File : $Source: /alkacon/cvs/opencms/src/org/opencms/jsp/CmsJspTagContainer.java,v $
* Date : $Date: 2009/12/17 07:59:30 $
* Version: $Revision: 1.10 $
*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) 2002 - 2009 Alkacon Software GmbH (http://www.alkac... | when a container page does not have a container used by the template, just skip it, do not throw an exception
| src/org/opencms/jsp/CmsJspTagContainer.java | when a container page does not have a container used by the template, just skip it, do not throw an exception | <ide><path>rc/org/opencms/jsp/CmsJspTagContainer.java
<ide> /*
<ide> * File : $Source: /alkacon/cvs/opencms/src/org/opencms/jsp/CmsJspTagContainer.java,v $
<del> * Date : $Date: 2009/12/17 07:59:30 $
<del> * Version: $Revision: 1.10 $
<add> * Date : $Date: 2010/01/11 08:03:03 $
<add> * Version: $Revision: 1.11 $... | |
JavaScript | mit | 6e0f6a9bda9d9ab6123cf2af1e461f4bdcd202bb | 0 | Vaeb/VaeBot,einsteinK/VaeBot | console.log('\n-STARTING-\n');
// //////////////////////////////////////////////////////////////////////////////////////////////
const Auth = require('./Auth.js');
exports.FileSys = require('fs');
exports.DateFormat = require('dateformat');
exports.Request = require('request');
exports.Urban = require('urban');
cons... | index.js | console.log('\n-STARTING-\n');
// //////////////////////////////////////////////////////////////////////////////////////////////
const Auth = require('./Auth.js');
exports.FileSys = require('fs');
exports.DateFormat = require('dateformat');
exports.Request = require('request');
exports.Urban = require('urban');
cons... | Length check fix
| index.js | Length check fix | <ide><path>ndex.js
<ide> let matches = trigger[i].regex.exec(contentLower);
<ide> if (guild.id == '166601083584643072') console.log(matches);
<ide> if (!matches) continue;
<del> for (let j = 0; j < matches.length; j++) {
<del> if (original && trigger[i].allow[j].test(matches[j ... | |
Java | bsd-3-clause | dbb64999fb8442d67174c69471f7058a6aaec48d | 0 | fbastian/owltools,fbastian/owltools,owlcollab/owltools,dhimmel/owltools,fbastian/owltools,dhimmel/owltools,fbastian/owltools,dhimmel/owltools,owlcollab/owltools,dhimmel/owltools,dhimmel/owltools,fbastian/owltools,dhimmel/owltools,fbastian/owltools,owlcollab/owltools,owlcollab/owltools,owlcollab/owltools,owlcollab/owlto... | package owltools.gaf.lego;
import static org.junit.Assert.*;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.commons.io.FileUtils;
import org.apache... | OWLTools-Annotation/src/test/java/owltools/gaf/lego/MolecularModelManagerTest.java | package owltools.gaf.lego;
import static org.junit.Assert.*;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.commons.io.FileUtils;
import org.apache... | fixes issue 87
git-svn-id: f705032614e1ff11fed11a7e506afa6fa6966044@1835 18f1da76-1bb4-b526-5913-e828fe20442d
| OWLTools-Annotation/src/test/java/owltools/gaf/lego/MolecularModelManagerTest.java | fixes issue 87 | <ide><path>WLTools-Annotation/src/test/java/owltools/gaf/lego/MolecularModelManagerTest.java
<ide> LOG.info("INDS:" + js);
<ide>
<ide> LOG.info(mmm.generateDot(modelId));
<del> LOG.info(mmm.generateImage(modelId));
<add>// LOG.info(mmm.generateImage(modelId)); // problematic due to missing dot application
<ide... | |
Java | apache-2.0 | b9ebe154b01b5c1a3233ca8dbf38be2901ce25a6 | 0 | adrcotfas/Goodtime | /*
* Copyright 2016-2019 Adrian Cotfas
*
* 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 ... | app/src/main/java/com/apps/adrcotfas/goodtime/Settings/SettingsFragment.java | /*
* Copyright 2016-2019 Adrian Cotfas
*
* 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 ... | RingtonePreference: extend the try catch
| app/src/main/java/com/apps/adrcotfas/goodtime/Settings/SettingsFragment.java | RingtonePreference: extend the try catch | <ide><path>pp/src/main/java/com/apps/adrcotfas/goodtime/Settings/SettingsFragment.java
<ide> @Override
<ide> public void onDisplayPreferenceDialog(Preference preference) {
<ide> if (preference instanceof RingtonePreference) {
<del> RingtonePreferenceDialogFragmentCompat dialog =
<del> ... | |
Java | apache-2.0 | 4058836b3398cda683858052e62cd3081929f7e1 | 0 | fjoglar/ETSIT-News | /*
* Copyright (C) 2016 Felipe Joglar Santos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | app/src/main/java/com/fjoglar/etsitnoticias/view/adapter/NewsListAdapter.java | /*
* Copyright (C) 2016 Felipe Joglar Santos
*
* 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... | 170 - Remove unused constant
| app/src/main/java/com/fjoglar/etsitnoticias/view/adapter/NewsListAdapter.java | 170 - Remove unused constant | <ide><path>pp/src/main/java/com/fjoglar/etsitnoticias/view/adapter/NewsListAdapter.java
<ide> import butterknife.ButterKnife;
<ide>
<ide> public class NewsListAdapter extends RecyclerView.Adapter<NewsListAdapter.NewsViewHolder> {
<del>
<del> private final String LOG_TAG = NewsListAdapter.class.getSimpleName();
<ide... | |
Java | mit | fbd7cff90330bfc7d74e6c10651b50550e540910 | 0 | kir-dev/korok,kir-dev/korok,kir-dev/korok,kir-dev/korok,kir-dev/korok | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package hu.sch.kp.ejb;
import hu.sch.domain.BelepoIgeny;
import hu.sch.domain.BelepoTipus;
import hu.sch.domain.ElbiraltErtekeles;
import hu.sch.domain.Ertekeles;
import hu.sch.domain.ErtekelesStatusz;
import hu.sch.dom... | sch-kp-ejb-impl/src/main/java/hu/sch/kp/ejb/ErtekelesManagerBean.java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package hu.sch.kp.ejb;
import hu.sch.domain.BelepoIgeny;
import hu.sch.domain.BelepoTipus;
import hu.sch.domain.ElbiraltErtekeles;
import hu.sch.domain.Ertekeles;
import hu.sch.domain.ErtekelesStatusz;
import hu.sch.dom... | Fixed bug for BelepoErtekeles.
Corresponding ticket:
- #169 - Belépőigénylés elfogadásánál probléma
git-svn-id: 4e071a0e7000adde8431b2b9f8ede30baceca476@636 81257025-f8dc-45f4-8694-d92bdbe95a3d
| sch-kp-ejb-impl/src/main/java/hu/sch/kp/ejb/ErtekelesManagerBean.java | Fixed bug for BelepoErtekeles. | <ide><path>ch-kp-ejb-impl/src/main/java/hu/sch/kp/ejb/ErtekelesManagerBean.java
<ide> if (ee.getPontStatusz().equals(ErtekelesStatusz.ELFOGADVA) || ee.getPontStatusz().equals(ErtekelesStatusz.ELUTASITVA)) {
<ide> PontIgenyElbiral(ee.getErtekeles(), felhasznalo, ee.getPontStatusz().equals(Ert... | |
Java | apache-2.0 | a9a41aaad44fb2b8ff3d505984a2f52411d226ac | 0 | mizdebsk/maven,olamy/maven,lbndev/maven,josephw/maven,atanasenko/maven,pkozelka/maven,stephenc/maven,keith-turner/maven,apache/maven,ChristianSchulte/maven,pkozelka/maven,skitt/maven,gorcz/maven,runepeter/maven-deploy-plugin-2.8.1,vedmishr/demo1,wangyuesong/maven,atanasenko/maven,mizdebsk/maven,skitt/maven,keith-turner... | package org.apache.maven.plugin.idea;
/*
* Copyright 2001-2005 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/... | maven-plugins/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaMojo.java | package org.apache.maven.plugin.idea;
/*
* Copyright 2001-2005 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/... | Fix type for MavenProject
git-svn-id: 2c527eb49caa05e19d6b2be874bf74fa9d7ea670@163781 13f79535-47bb-0310-9956-ffa450edef68
| maven-plugins/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaMojo.java | Fix type for MavenProject | <ide><path>aven-plugins/maven-idea-plugin/src/main/java/org/apache/maven/plugin/idea/IdeaMojo.java
<ide> * @requiresDependencyResolution test
<ide> * @description Goal for generating IDEA files from a POM
<ide> * @parameter name="project"
<del> * type="MavenProject"
<add> * type="org.apache.maven.project.MavenProjec... | |
JavaScript | mit | cd1b7563aa61577704b673e778ea9e6932fef5dc | 0 | bellenot/jsroot,bellenot/jsroot,root-project/jsroot,linev/jsroot,root-project/jsroot,linev/jsroot,bellenot/jsroot |
function ThreeBSPfactory() {
var ThreeBSP,
EPSILON = 1e-5,
COPLANAR = 0,
FRONT = 1,
BACK = 2,
SPANNING = 3;
ThreeBSP = function( geometry, transfer_matrix ) {
// Convert THREE.Geometry to ThreeBSP
var i, _length_i,
face, vertex, /* faceVertexUvs, uvs, */
... | scripts/ThreeCSG.js |
function ThreeBSPfactory() {
var ThreeBSP,
EPSILON = 1e-5,
COPLANAR = 0,
FRONT = 1,
BACK = 2,
SPANNING = 3;
ThreeBSP = function( geometry, transfer_matrix ) {
// Convert THREE.Geometry to ThreeBSP
var i, _length_i,
face, vertex, /* faceVertexUvs, uvs, */
... | Use polygon normals - not all vertex normals calculated correctly.
To be investiagated | scripts/ThreeCSG.js | Use polygon normals - not all vertex normals calculated correctly. | <ide><path>cripts/ThreeCSG.js
<ide>
<ide> var positions_buf = new Float32Array(buf_size),
<ide> normals_buf = new Float32Array(buf_size),
<del> iii = 0, polygon, vertex;
<add> iii = 0, polygon;
<add>
<add> function CopyVertex(vertex) {
<add>
<add> positions_buf[iii] = ver... | |
Java | apache-2.0 | f76b33537e3ef80a1304a401d9ded7642a2b583c | 0 | googleapis/google-cloud-java,googleapis/google-cloud-java,googleapis/google-cloud-java | /*
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | java-video-intelligence/samples/snippets/src/test/java/com/example/video/DetectIT.java | /*
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | samples: video: update .mp4 file used in test (#2550)
Fixes https://github.com/GoogleCloudPlatform/java-docs-samples/issues/2545
- [ x] Tests pass
- [ x] Appropriate changes to README are included in PR
- [ x] API's need to be enabled to test (tell us)
- [ x] Environment Variables need to be set (ask us to set t... | java-video-intelligence/samples/snippets/src/test/java/com/example/video/DetectIT.java | samples: video: update .mp4 file used in test (#2550) | <ide><path>ava-video-intelligence/samples/snippets/src/test/java/com/example/video/DetectIT.java
<ide> @SuppressWarnings("checkstyle:abbreviationaswordinname")
<ide> public class DetectIT {
<ide> static final String LABEL_GCS_LOCATION = "gs://cloud-samples-data/video/cat.mp4";
<del> static final String LABEL_FILE_LO... | |
Java | apache-2.0 | a5c860bd21a4838d3d792c385dbf4ff9c912996f | 0 | anchela/jackrabbit-oak,apache/jackrabbit-oak,apache/jackrabbit-oak,anchela/jackrabbit-oak,trekawek/jackrabbit-oak,anchela/jackrabbit-oak,mreutegg/jackrabbit-oak,amit-jain/jackrabbit-oak,amit-jain/jackrabbit-oak,amit-jain/jackrabbit-oak,trekawek/jackrabbit-oak,apache/jackrabbit-oak,mreutegg/jackrabbit-oak,amit-jain/jack... | package org.apache.jackrabbit.oak.api;
import java.math.BigDecimal;
import javax.jcr.PropertyType;
import com.google.common.base.Objects;
/**
* Instances of this class map Java types to {@link PropertyType property types}.
* Passing an instance of this class to {@link PropertyState#getValue(Type)} determines
* t... | oak-core/src/main/java/org/apache/jackrabbit/oak/api/Type.java | package org.apache.jackrabbit.oak.api;
import java.math.BigDecimal;
import javax.jcr.PropertyType;
import com.google.common.base.Objects;
/**
* Instances of this class map Java types to {@link PropertyType property types}.
* Passing an instance of this class to {@link PropertyState#getValue(Type)} determines
* t... | OAK-350: Unify PropertyState and CoreValue
- fix: Type.fromTag returns array types instead of base types
git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1394088 13f79535-47bb-0310-9956-ffa450edef68
| oak-core/src/main/java/org/apache/jackrabbit/oak/api/Type.java | OAK-350: Unify PropertyState and CoreValue - fix: Type.fromTag returns array types instead of base types | <ide><path>ak-core/src/main/java/org/apache/jackrabbit/oak/api/Type.java
<ide> public static Type<?> fromTag(int tag, boolean array) {
<ide> switch (tag) {
<ide> case PropertyType.STRING: return array ? STRINGS : STRING;
<del> case PropertyType.BINARY: return array ? BINARY : BINARIES... | |
JavaScript | mit | 53f4c4ef0ec20649c6624cc51a30113e74aa2e0d | 0 | espadrine/sc,espadrine/sc | /* camp.js: server-side Ajax handler that wraps around Node.js.
* Copyright © 2011 Thaddee Tyl, Jan Keromnes. All rights reserved.
* Code covered by the LGPL license. */
"use strict";
var Plate = require ('./plate');
var EventEmitter = require ('events').EventEmitter,
http = require('http'),
https = requir... | lib/camp.js | /* camp.js: server-side Ajax handler that wraps around Node.js.
* Copyright © 2011 Thaddee Tyl, Jan Keromnes. All rights reserved.
* Code covered by the LGPL license. */
"use strict";
var Plate = require ('./plate');
var EventEmitter = require ('events').EventEmitter,
http = require('http'),
https = requir... | EventSource fix for the polyfill.
The id management was seemingly wrong.
| lib/camp.js | EventSource fix for the polyfill. | <ide><path>ib/camp.js
<ide> if (ask.req.headers['last-event-id']) {
<ide> var id = parseInt(ask.req.headers['last-event-id']);
<ide> for (var i = 0; i < source.history.length; i++)
<del> if (source.history[i].id >= id)
<add> if (source.history[i].id > id)
<ide> source.sendSSE(res... | |
Java | agpl-3.0 | 51b7b91c8a84939a4ea2b4e685e7bc9cc74e9ee0 | 0 | rdkgit/opennms,rdkgit/opennms,rdkgit/opennms,aihua/opennms,tdefilip/opennms,roskens/opennms-pre-github,aihua/opennms,tdefilip/opennms,roskens/opennms-pre-github,aihua/opennms,roskens/opennms-pre-github,tdefilip/opennms,tdefilip/opennms,rdkgit/opennms,rdkgit/opennms,roskens/opennms-pre-github,aihua/opennms,rdkgit/opennm... | //
// This file is part of the OpenNMS(R) Application.
//
// OpenNMS(R) is Copyright (C) 2006 The OpenNMS Group, Inc. All rights reserved.
// OpenNMS(R) is a derivative work, containing both original code, included code and modified
// code that was published under the GNU General Public License. Copyrights for modifi... | opennms-model/src/main/java/org/opennms/netmgt/model/OnmsNotification.java | //
// This file is part of the OpenNMS(R) Application.
//
// OpenNMS(R) is Copyright (C) 2006 The OpenNMS Group, Inc. All rights reserved.
// OpenNMS(R) is a derivative work, containing both original code, included code and modified
// code that was published under the GNU General Public License. Copyrights for modifi... | Make event trouble ticket column available to notifications. For auto resolving notifications, make
recreate all the original notification paramters configured in notifications.xml not just the few
found in the tables.
| opennms-model/src/main/java/org/opennms/netmgt/model/OnmsNotification.java | Make event trouble ticket column available to notifications. For auto resolving notifications, make recreate all the original notification paramters configured in notifications.xml not just the few found in the tables. | <ide><path>pennms-model/src/main/java/org/opennms/netmgt/model/OnmsNotification.java
<ide> //
<ide> package org.opennms.netmgt.model;
<ide>
<del>import java.io.Serializable;
<ide> import java.util.Date;
<ide> import java.util.HashSet;
<ide> import java.util.Set;
<ide> import javax.persistence.Table;
<ide> import javax... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.