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 | apache-2.0 | 381210ebb9f95f959c653e91be7a6af347a6f141 | 0 | GurovOK/android-range-seek-bar,Ornolfr/android-range-seek-bar,mirego/android-range-seek-bar,subrodrigues/android-range-seek-bar,anothem/android-range-seek-bar,justincpollard/android-range-seek-bar,mykolaj/android-range-seek-bar,hatiboy/android-range-seek-bar,Syhids/android-range-seek-bar,yahoo/android-range-seek-bar,ke... | /*
Copyright 2014 Stephan Tittel and Yahoo 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 wri... | src/com/yahoo/mobile/client/android/util/RangeSeekBar.java | /*
Copyright 2014 Stephan Tittel and Yahoo 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 wri... | fix typos and inefficient type conversion warnings | src/com/yahoo/mobile/client/android/util/RangeSeekBar.java | fix typos and inefficient type conversion warnings | <ide><path>rc/com/yahoo/mobile/client/android/util/RangeSeekBar.java
<ide> * @author Peter Sinnott (psinnott@gmail.com)
<ide> * @author Thomas Barrasso (tbarrasso@sevenplusandroid.org)
<ide> * @author Alex Florescu (florescu@yahoo-inc.com)
<add> * @author Michael Keppler (bananeweizen@gmx.de)
<ide> */
<ide> public ... | |
Java | apache-2.0 | f79164236789a2bb6053c2b8f8e62425f3cf30aa | 0 | VHAINNOVATIONS/BCDS,VHAINNOVATIONS/BCDS,VHAINNOVATIONS/BCDS,VHAINNOVATIONS/BCDS | package gov.va.vba.service.orika;
import gov.va.vba.domain.Claim;
import gov.va.vba.domain.util.Veteran;
import ma.glasnost.orika.MapperFacade;
import ma.glasnost.orika.MapperFactory;
import ma.glasnost.orika.impl.DefaultMapperFactory;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
impor... | Code/bcds-impl/src/main/java/gov/va/vba/service/orika/ClaimMapper.java | package gov.va.vba.service.orika;
import gov.va.vba.domain.Claim;
import gov.va.vba.domain.util.Veteran;
import ma.glasnost.orika.MapperFacade;
import ma.glasnost.orika.MapperFactory;
import ma.glasnost.orika.impl.DefaultMapperFactory;
import org.springframework.stereotype.Component;
import java.util.ArrayList;
impor... | Fix for duplicate records in dashboard not displaying proper model/contentions.
| Code/bcds-impl/src/main/java/gov/va/vba/service/orika/ClaimMapper.java | Fix for duplicate records in dashboard not displaying proper model/contentions. | <ide><path>ode/bcds-impl/src/main/java/gov/va/vba/service/orika/ClaimMapper.java
<ide> * @param sourceEntity
<ide> */
<ide> public List<Claim> mapCollection(List<gov.va.vba.persistence.entity.Claim> sourceEntity) {
<del> List<Claim> output = new ArrayList<>();
<del> mapperFacade.mapAsCollect... | |
Java | bsd-3-clause | c0040696bd18386af592f137b7c76439520d01c4 | 0 | Beachbot330/Beachbot2015Java,Beachbot330/Beachbot2015Java | package org.usfirst.frc330.constants;
public final class LiftPos {
private LiftPos(){}
// Tolerance
public static final double tolerance = 1.0; //JR, SP 2-15
// PID Constants
//public static final double proportional = 0.3; //AP, SP 2-14
public static final double integral = 0.000; //AP, SP 2-14
/... | src/org/usfirst/frc330/constants/LiftPos.java | package org.usfirst.frc330.constants;
public final class LiftPos {
private LiftPos(){}
// Tolerance
public static final double tolerance = 1.0; //JR, SP 2-15
// PID Constants
//public static final double proportional = 0.3; //AP, SP 2-14
public static final double integral = 0.000; //AP, SP 2-14
/... | Increase D for Lift after gear reduction change | src/org/usfirst/frc330/constants/LiftPos.java | Increase D for Lift after gear reduction change | <ide><path>rc/org/usfirst/frc330/constants/LiftPos.java
<ide> public static final double integral = 0.000; //AP, SP 2-14
<ide> //public static final double derivitive = 0.001; //AP, SP 2-14
<ide> public static final double proportional = 0.4; //AP, SP 2-23
<del> public static final double derivitive = ... | |
Java | apache-2.0 | 442fb8303fc9f72fc3a524c3f8a7d589f5292954 | 0 | quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus | package io.quarkus.it.kubernetes;
import static io.restassured.RestAssured.given;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.entry;
import static org.hamcrest.Matchers.is;
import java.io.IOException;
import java.nio.file.Path;
import java.util.List;
import... | integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/BasicKubernetesTest.java | package io.quarkus.it.kubernetes;
import static io.restassured.RestAssured.given;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.entry;
import static org.hamcrest.Matchers.is;
import java.io.IOException;
import java.nio.file.Path;
import java.util.List;
import... | Disable flaky test
| integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/BasicKubernetesTest.java | Disable flaky test | <ide><path>ntegration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/BasicKubernetesTest.java
<ide>
<ide> import org.jboss.shrinkwrap.api.ShrinkWrap;
<ide> import org.jboss.shrinkwrap.api.spec.JavaArchive;
<add>import org.junit.jupiter.api.Disabled;
<ide> import org.junit.jupiter.api.Test... | |
Java | apache-2.0 | 1ffdd2ae3f15a42b731d926b1eb90c963375d2b9 | 0 | lydonchandra/elasticsearch,drewr/elasticsearch,anti-social/elasticsearch,vroyer/elassandra,TonyChai24/ESSource,i-am-Nathan/elasticsearch,AndreKR/elasticsearch,rhoml/elasticsearch,combinatorist/elasticsearch,abibell/elasticsearch,jeteve/elasticsearch,javachengwc/elasticsearch,sscarduzio/elasticsearch,fernandozhu/elastic... | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | src/test/java/org/elasticsearch/index/mapper/copyto/CopyToMapperIntegrationTests.java | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Fix test to use at least one document
| src/test/java/org/elasticsearch/index/mapper/copyto/CopyToMapperIntegrationTests.java | Fix test to use at least one document | <ide><path>rc/test/java/org/elasticsearch/index/mapper/copyto/CopyToMapperIntegrationTests.java
<ide> .addMapping("doc", createDynamicTemplateMapping())
<ide> );
<ide>
<del> int recordCount = randomInt(200);
<add> int recordCount = between(1, 200);
<ide>
<ide> for... | |
Java | apache-2.0 | dee6b9284eee51a35c3c72c2f34c33bdbf6c9ccd | 0 | rcordovano/autopsy,wschaeferB/autopsy,millmanorama/autopsy,wschaeferB/autopsy,wschaeferB/autopsy,rcordovano/autopsy,APriestman/autopsy,APriestman/autopsy,APriestman/autopsy,wschaeferB/autopsy,rcordovano/autopsy,esaunders/autopsy,millmanorama/autopsy,esaunders/autopsy,rcordovano/autopsy,rcordovano/autopsy,APriestman/aut... | /*
* Autopsy Forensic Browser
*
* Copyright 2015 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://ww... | Experimental/src/org/sleuthkit/autopsy/experimental/autoingest/AutopsyManifestFileParser.java | /*
* Autopsy Forensic Browser
*
* Copyright 2015 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://ww... | 3296 use random UUID as device ID when device ID is not in manifest file
| Experimental/src/org/sleuthkit/autopsy/experimental/autoingest/AutopsyManifestFileParser.java | 3296 use random UUID as device ID when device ID is not in manifest file | <ide><path>xperimental/src/org/sleuthkit/autopsy/experimental/autoingest/AutopsyManifestFileParser.java
<ide> import java.nio.file.attribute.BasicFileAttributes;
<ide> import java.util.Date;
<ide> import java.util.HashMap;
<add>import java.util.UUID;
<ide> import javax.annotation.concurrent.Immutable;
<ide> import java... | |
Java | mit | 29ca25fb09e62d6eee4b8aef646bef47b7a4b822 | 0 | lemmy/tlaplus,lemmy/tlaplus,lemmy/tlaplus,tlaplus/tlaplus,lemmy/tlaplus,tlaplus/tlaplus,tlaplus/tlaplus,tlaplus/tlaplus | // Copyright (c) 2011 Microsoft Corporation. All rights reserved.
package tlc2.tool.fp;
import java.io.File;
import java.io.IOException;
import junit.framework.TestCase;
import tlc2.TLC;
import util.TLCRuntime;
public abstract class AbstractFPSetTest extends TestCase {
protected static final String tmpdir = Syst... | tlatools/test/tlc2/tool/fp/AbstractFPSetTest.java | // Copyright (c) 2011 Microsoft Corporation. All rights reserved.
package tlc2.tool.fp;
import java.io.File;
import java.io.IOException;
import junit.framework.TestCase;
import tlc2.TLC;
import util.TLCRuntime;
public abstract class AbstractFPSetTest extends TestCase {
protected static final String tmpdir = Syst... | Limit memory allocation to .75 of available memory to leave room for
System.gc() jobs | tlatools/test/tlc2/tool/fp/AbstractFPSetTest.java | Limit memory allocation to .75 of available memory to leave room for System.gc() jobs | <ide><path>latools/test/tlc2/tool/fp/AbstractFPSetTest.java
<ide> * @return
<ide> */
<ide> protected long getFreeMemoryInBytes() {
<del> return TLCRuntime.getInstance().getFPMemSize(.9d);
<add> // Leave room for system GC to work which approximately requires 20% of
<add> // memory to do its job.
<add> return T... | |
Java | apache-2.0 | 6c2a574965ce4f41783613c23b65ae05cc5d0bfb | 0 | ruhan1/indy,yma88/indy,jdcasey/indy,yma88/indy,pkocandr/indy,ruhan1/indy,jdcasey/indy,Commonjava/indy,ruhan1/indy,jdcasey/indy,Commonjava/indy,ligangty/indy,ruhan1/indy,jdcasey/indy,yma88/indy,yma88/indy,Commonjava/indy,Commonjava/indy,Commonjava/indy,jdcasey/indy,ruhan1/indy,pkocandr/indy,ligangty/indy,ligangty/indy,p... | /**
* Copyright (C) 2013 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | addons/content-index/src/test/java/org/commonjava/indy/content/index/ISPKey2StringMapperTest.java | /**
* Copyright (C) 2013 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | Fix test compilation error
| addons/content-index/src/test/java/org/commonjava/indy/content/index/ISPKey2StringMapperTest.java | Fix test compilation error | <ide><path>ddons/content-index/src/test/java/org/commonjava/indy/content/index/ISPKey2StringMapperTest.java
<ide> StoreKey key = StoreKey.fromString( "maven:remote:central" );
<ide> IndexedStorePath isp = new IndexedStorePath( key, key, "/org/apache/maven/maven-metadata.xml" );
<ide>
<del> ISPBi... | |
Java | bsd-3-clause | 494279c0b350503cd5b969f7e111faef02fdad17 | 0 | NCIP/cab2b,NCIP/cab2b,NCIP/cab2b | package edu.wustl.cab2b.common;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import org.hibernate.HibernateException;
public class CustomDataCategoryModel implements Serializable {
private List<IdName> dataListIdName;
private Map<Long, List<IdName>> rootDlToLeafDlId... | source/common/main/edu/wustl/cab2b/common/CustomDataCategoryModel.java | package edu.wustl.cab2b.common;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import org.hibernate.HibernateException;
public class CustomDataCategoryModel implements Serializable {
private List<IdName> dataListIdName;
private Map<Long, List<IdName>> rootDlToLeafDlIdName;
... | Formatted
| source/common/main/edu/wustl/cab2b/common/CustomDataCategoryModel.java | Formatted | <ide><path>ource/common/main/edu/wustl/cab2b/common/CustomDataCategoryModel.java
<ide>
<ide> public class CustomDataCategoryModel implements Serializable {
<ide>
<del> private List<IdName> dataListIdName;
<del> private Map<Long, List<IdName>> rootDlToLeafDlIdName;
<add> private List<IdName> dataListIdName;
<ide>
... | |
Java | apache-2.0 | 63febb4f93eaac4ee64ebcc623bbb7bbe814d38b | 0 | apache/commons-math,Hipparchus-Math/hipparchus,Hipparchus-Math/hipparchus,apache/commons-math,apache/commons-math,Hipparchus-Math/hipparchus,sdinot/hipparchus,sdinot/hipparchus,apache/commons-math,sdinot/hipparchus,Hipparchus-Math/hipparchus,sdinot/hipparchus | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/main/java/org/apache/commons/math/exception/MathInternalError.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 ... | Added constructor taking a localized message.
git-svn-id: 80d496c472b8b763a5e941dba212da9bf48aeceb@1178287 13f79535-47bb-0310-9956-ffa450edef68
| src/main/java/org/apache/commons/math/exception/MathInternalError.java | Added constructor taking a localized message. | <ide><path>rc/main/java/org/apache/commons/math/exception/MathInternalError.java
<ide> */
<ide> package org.apache.commons.math.exception;
<ide>
<add>import org.apache.commons.math.exception.util.Localizable;
<ide> import org.apache.commons.math.exception.util.LocalizedFormats;
<ide>
<ide> /**
<ide> public MathI... | |
Java | lgpl-2.1 | bd30082bce00a686988bc82d6a14880819e8a777 | 0 | celements/celements-structuredDataEditor,celements/celements-structuredDataEditor,celements/celements-structuredDataEditor | package com.celements.structEditor;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xwiki.component.annotation.Component;
import org.xwiki.component.annotation.Requirement;
import org.xwiki.model.reference.DocumentReference;
import com.celements.... | component/src/main/java/com/celements/structEditor/DefaultStructuredDataEditorService.java | package com.celements.structEditor;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xwiki.component.annotation.Component;
import org.xwiki.component.annotation.Requirement;
import org.xwiki.model.reference.DocumentReference;
import com.celements.... | added getCellClassDocRef(XWikiDocument) | component/src/main/java/com/celements/structEditor/DefaultStructuredDataEditorService.java | added getCellClassDocRef(XWikiDocument) | <ide><path>omponent/src/main/java/com/celements/structEditor/DefaultStructuredDataEditorService.java
<ide> String getXClassPrettyName(XWikiDocument cellDoc) {
<ide> String prettyName = "";
<ide> try {
<del> DocumentReference classRef = getCellClassDocRef(cellDoc.getDocumentReference());
<add> Docume... | |
Java | mit | c3ba9bd1ef4d3f10248de59d26b16bf432277bdd | 0 | wmcmahan/react-native-calendar-events,wmcmahan/react-native-calendar-events,wmcmahan/react-native-calendar-events | package com.calendarevents;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.Manifest;
import android.net.Uri;
import android.provider.Ca... | android/src/main/java/com/calendarevents/CalendarEvents.java | package com.calendarevents;
import android.content.ContentResolver;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.Manifest;
import android.net.Uri;
import android.provider.CalendarContract;
import androi... | fix crash when trying to request permissions
| android/src/main/java/com/calendarevents/CalendarEvents.java | fix crash when trying to request permissions | <ide><path>ndroid/src/main/java/com/calendarevents/CalendarEvents.java
<ide> package com.calendarevents;
<ide>
<add>import android.app.Activity;
<ide> import android.content.ContentResolver;
<ide> import android.content.ContentUris;
<ide> import android.content.ContentValues;
<ide> {
<ide> if (ContextComp... | |
Java | apache-2.0 | a72272bf3cd610bc79578c1a47e566aa90a7034c | 0 | unix-junkie/teamcity-autotools-plugin,unix-junkie/teamcity-autotools-plugin | package jetbrains.buildServer.autotools.agent;
import com.google.common.annotations.VisibleForTesting;
import java.io.*;
import java.util.*;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;
import jetbrains.buildServer.agent.BuildProgressLogg... | autotools-agent/src/main/java/jetbrains/buildServer/autotools/agent/AutotoolsTestsReporter.java | package jetbrains.buildServer.autotools.agent;
import com.google.common.annotations.VisibleForTesting;
import java.io.*;
import java.util.*;
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamReader;
import jetbrains.buildServer.agent.BuildProgressLogg... | replace AutotoolsTestsReporter xmlParser methods to DejagnuXmlPasringTest
| autotools-agent/src/main/java/jetbrains/buildServer/autotools/agent/AutotoolsTestsReporter.java | replace AutotoolsTestsReporter xmlParser methods to DejagnuXmlPasringTest | <ide><path>utotools-agent/src/main/java/jetbrains/buildServer/autotools/agent/AutotoolsTestsReporter.java
<ide> import javax.xml.stream.XMLStreamReader;
<ide> import jetbrains.buildServer.agent.BuildProgressLogger;
<ide> import jetbrains.buildServer.log.Loggers;
<add>import org.apache.xerces.impl.io.UTF8Reader;
<add>im... | |
Java | apache-2.0 | 7f52c6d808e42adc29df9c09f501e31ab1686a3d | 0 | mpi2/PhenotypeArchive,mpi2/PhenotypeArchive,mpi2/PhenotypeArchive | package uk.ac.ebi.phenotype.solr.indexer;
import joptsimple.OptionParser;
import joptsimple.OptionSet;
import org.apache.commons.lang.StringUtils;
import org.apache.http.HttpHost;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.impl.conn.De... | src/main/java/uk/ac/ebi/phenotype/solr/indexer/DiseaseIndexer.java | package uk.ac.ebi.phenotype.solr.indexer;
import joptsimple.OptionParser;
import joptsimple.OptionSet;
import org.apache.commons.lang.StringUtils;
import org.apache.http.HttpHost;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.impl.conn.De... | remove reliance on gene service
| src/main/java/uk/ac/ebi/phenotype/solr/indexer/DiseaseIndexer.java | remove reliance on gene service | <ide><path>rc/main/java/uk/ac/ebi/phenotype/solr/indexer/DiseaseIndexer.java
<ide> import org.springframework.context.ApplicationContext;
<ide> import org.springframework.context.support.ClassPathXmlApplicationContext;
<ide> import org.springframework.context.support.FileSystemXmlApplicationContext;
<del>import uk.ac.e... | |
Java | mit | 1000d92c02621bd79c727a13d875e24745ee5a3b | 0 | sarahtattersall/PIPE,frig-neutron/PIPE,sjdayday/PIPE | package pipe.views;
import pipe.gui.*;
import pipe.models.Connectable;
import pipe.models.interfaces.IObserver;
import pipe.views.viewComponents.NameLabel;
import java.awt.*;
import java.awt.geom.Point2D;
import java.io.Serializable;
import java.util.Iterator;
import java.util.LinkedList;
public abstrac... | src/main/java/pipe/views/ConnectableView.java | package pipe.views;
import pipe.gui.*;
import pipe.models.Connectable;
import pipe.models.interfaces.IObserver;
import pipe.views.viewComponents.NameLabel;
import java.awt.*;
import java.awt.geom.Point2D;
import java.io.Serializable;
import java.util.Iterator;
import java.util.LinkedList;
public abstrac... | Fix name label moving with other object when dragging
| src/main/java/pipe/views/ConnectableView.java | Fix name label moving with other object when dragging | <ide><path>rc/main/java/pipe/views/ConnectableView.java
<ide>
<ide> // setPositionX(_model.getX());
<ide> // setPositionY(_model.getY());
<del>
<add> _nameLabel.setPosition(model.getX() + model.getNameXOffset(), model.getY() + model.getNameYOffset());
<ide> updateBounds();
<ide> up... | |
Java | apache-2.0 | 082f2edeb5b6d684ed62e7263b7232658be3f1fb | 0 | trejkaz/derby,apache/derby,apache/derby,apache/derby,trejkaz/derby,apache/derby,trejkaz/derby | /*
Derby - Class org.apache.derbyTesting.functionTests.tests.lang.ColumnDefaultsTest
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... | java/testing/org/apache/derbyTesting/functionTests/tests/lang/ColumnDefaultsTest.java | /*
Derby - Class org.apache.derbyTesting.functionTests.tests.lang.ColumnDefaultsTest
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... | DERBY-5714: ColumnDefaultsTest holds on to resources after completion
Use local variables instead of instance variables to prevent references from
being held after the test has finished.
git-svn-id: 2c06e9c5008124d912b69f0b82df29d4867c0ce2@1330201 13f79535-47bb-0310-9956-ffa450edef68
| java/testing/org/apache/derbyTesting/functionTests/tests/lang/ColumnDefaultsTest.java | DERBY-5714: ColumnDefaultsTest holds on to resources after completion | <ide><path>ava/testing/org/apache/derbyTesting/functionTests/tests/lang/ColumnDefaultsTest.java
<ide> */
<ide> package org.apache.derbyTesting.functionTests.tests.lang;
<ide>
<del>import java.sql.ResultSetMetaData;
<ide> import java.sql.SQLException;
<ide> import java.sql.Statement;
<del>import java.sql.CallableState... | |
Java | epl-1.0 | 450b62da5145b6432514462ea797404cd10c4743 | 0 | kopl/SPLevo,kopl/SPLevo | /*******************************************************************************
* Copyright (c) 2014
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http... | JaMoPPCartridge/org.splevo.jamopp.vpm.analyzer.programdependency/src/org/splevo/jamopp/vpm/analyzer/programdependency/references/DefaultReferenceSelectorSwitch.java | /*******************************************************************************
* Copyright (c) 2014
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http... | SPLEVO-274 Program Dependency Analyzer: Support Shared Accesses
Take constructor call arguments into account
| JaMoPPCartridge/org.splevo.jamopp.vpm.analyzer.programdependency/src/org/splevo/jamopp/vpm/analyzer/programdependency/references/DefaultReferenceSelectorSwitch.java | SPLEVO-274 Program Dependency Analyzer: Support Shared Accesses Take constructor call arguments into account | <ide><path>aMoPPCartridge/org.splevo.jamopp.vpm.analyzer.programdependency/src/org/splevo/jamopp/vpm/analyzer/programdependency/references/DefaultReferenceSelectorSwitch.java
<ide>
<ide> @Override
<ide> public List<Commentable> caseMethodCall(MethodCall methodCall) {
<del> ArrayList<Commenta... | |
Java | apache-2.0 | 3eb3b519c831da992d0043b11b2ebcd7827ed400 | 0 | dmmiller612/deeplearning4j,huitseeker/deeplearning4j,huitseeker/deeplearning4j,dmmiller612/deeplearning4j,dmmiller612/deeplearning4j,kinbod/deeplearning4j,dmmiller612/deeplearning4j,kinbod/deeplearning4j,kinbod/deeplearning4j,kinbod/deeplearning4j,huitseeker/deeplearning4j,huitseeker/deeplearning4j,kinbod/deeplearning4... | package org.deeplearning4j.iterativereduce.actor.deepautoencoder;
import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.actor.PoisonPill;
import akka.actor.Props;
import akka.contrib.pattern.ClusterSingletonManager;
import akka.contrib.pattern.DistributedPubSubMediator;
import akka.routing.RoundRobinP... | deeplearning4j-scaleout/deeplearning4j-scaleout-akka/src/main/java/org/deeplearning4j/iterativereduce/actor/deepautoencoder/MasterActor.java | package org.deeplearning4j.iterativereduce.actor.deepautoencoder;
import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.actor.PoisonPill;
import akka.actor.Props;
import akka.contrib.pattern.ClusterSingletonManager;
import akka.contrib.pattern.DistributedPubSubMediator;
import akka.routing.RoundRobinP... | get rid of old apis
Former-commit-id: 52c3d679916be7e7558aad732c0eca0ce4824707 | deeplearning4j-scaleout/deeplearning4j-scaleout-akka/src/main/java/org/deeplearning4j/iterativereduce/actor/deepautoencoder/MasterActor.java | get rid of old apis | <ide><path>eeplearning4j-scaleout/deeplearning4j-scaleout-akka/src/main/java/org/deeplearning4j/iterativereduce/actor/deepautoencoder/MasterActor.java
<ide> network = this.network;
<ide>
<ide>
<del>
<add>
<ide>
<ide> UpdateableEncoderImpl masterResults = new UpdateableEncoderImpl(network);
<... | |
Java | apache-2.0 | cea7fafb4fb3e8b20e7a01e2e322bc27f85d6db8 | 0 | da1z/intellij-community,ThiagoGarciaAlves/intellij-community,apixandru/intellij-community,mglukhikh/intellij-community,da1z/intellij-community,mglukhikh/intellij-community,apixandru/intellij-community,xfournet/intellij-community,xfournet/intellij-community,allotria/intellij-community,ThiagoGarciaAlves/intellij-communit... | package com.intellij.compiler;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.ModalityState;
import com.intellij.openapi.application.ex.PathManagerEx;
import com.intellij.openapi.compiler.*;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.... | java/compiler/tests/com/intellij/compiler/CompilerTestCase.java | package com.intellij.compiler;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.ModalityState;
import com.intellij.openapi.application.ex.PathManagerEx;
import com.intellij.openapi.compiler.*;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.... | fixed compiler tests: disable 'external build' for old tests
| java/compiler/tests/com/intellij/compiler/CompilerTestCase.java | fixed compiler tests: disable 'external build' for old tests | <ide><path>ava/compiler/tests/com/intellij/compiler/CompilerTestCase.java
<ide> if (ex[0] != null) {
<ide> throw ex[0];
<ide> }
<del> CompilerWorkspaceConfiguration.getInstance(myProject).USE_COMPILE_SERVER = false;
<add> CompilerTestUtil.disableExternalCompiler(myProject);
<ide> CompilerTestUti... | |
JavaScript | apache-2.0 | a3b8d73d41fcdf6ffb33ab6bdb6e11e5b0e709a0 | 0 | reverse-snake/reverse-snake.github.io,reverse-snake/reverse-snake.github.io,reverse-snake/reverse-snake.github.io | var dir = 'right';
var level = 0;
var maxLevel = 5;
var upButton = document.getElementsByClassName("upButton")[0];
var levelGauge = document.getElementsByClassName("level")[0];
var downButton = document.getElementsByClassName("downButton")[0];
function setLevel(_level) {
level = _level;
if (level > maxLevel) {
... | AI.js | var dir = 'right';
var level = 0;
var maxLevel = 5;
var upButton = document.getElementsByClassName("upButton")[0];
var levelGauge = document.getElementsByClassName("level")[0];
var downButton = document.getElementsByClassName("downButton")[0];
function setLevel(_level) {
level = _level;
if (level > maxLevel) {
... | Now choosing anti-loop tactics more gracefully; tracks along the wall and finds which direction has the most free space.
| AI.js | Now choosing anti-loop tactics more gracefully; tracks along the wall and finds which direction has the most free space. | <ide><path>I.js
<ide> dir = 'down';
<ide> return moveHead(dir);
<ide> } else {
<add> var goUp = 0;
<add> var goDown = 0;
<ide> for (var j = snake[0][1] + 1; j < height; j++) { // Check along right edge for our own tail (loop)
<del> if (inSnake((width - 1) + '_' + j))... | |
JavaScript | mit | 8a61b04798eb4efb9d95df16691f01ec06dbebca | 0 | CruGlobal/conf-registration-web,CruGlobal/conf-registration-web,CruGlobal/conf-registration-web,CruGlobal/conf-registration-web | 'use strict';
angular.module('confRegistrationWebApp')
.controller('paymentModal', function ($scope, $modalInstance, modalMessage, $http, registration, conference, permissions, permissionConstants) {
$scope.registration = registration;
$scope.conference = conference;
$scope.currentYear = new Date().getFu... | app/scripts/controllers/paymentModal.js | 'use strict';
angular.module('confRegistrationWebApp')
.controller('paymentModal', function ($scope, $modalInstance, modalMessage, $http, registration, conference, permissions, permissionConstants) {
$scope.registration = registration;
$scope.conference = conference;
$scope.currentYear = new Date().getFu... | if simplification
| app/scripts/controllers/paymentModal.js | if simplification | <ide><path>pp/scripts/controllers/paymentModal.js
<ide> }
<ide>
<ide> if(permissions.permissionInt < permissionConstants.UPDATE){
<del> if(permissions.permissionInt === permissionConstants.SCHOLARSHIP) {
<del> if($scope.newTransaction.paymentType !== 'SCHOLARSHIP'){
<del> modalMe... | |
Java | apache-2.0 | 1f5605918f56fc4925d72a00483aa6746ebd5690 | 0 | pferraro/JGroups,danberindei/JGroups,kedzie/JGroups,dimbleby/JGroups,TarantulaTechnology/JGroups,rhusar/JGroups,ligzy/JGroups,Sanne/JGroups,slaskawi/JGroups,belaban/JGroups,ligzy/JGroups,kedzie/JGroups,rhusar/JGroups,rvansa/JGroups,ibrahimshbat/JGroups,rpelisse/JGroups,dimbleby/JGroups,belaban/JGroups,vjuranek/JGroups,... | // $Id: Message.java,v 1.45 2006/02/07 13:46:25 belaban Exp $
package org.jgroups;
import EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jgroups.conf.ClassConfigurator;
import org.jgroups.stack.IpAddress;
impor... | src/org/jgroups/Message.java | // $Id: Message.java,v 1.44 2006/01/14 12:48:52 belaban Exp $
package org.jgroups;
import EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jgroups.conf.ClassConfigurator;
import org.jgroups.stack.IpAddress;
impor... | Added new constructor
| src/org/jgroups/Message.java | Added new constructor | <ide><path>rc/org/jgroups/Message.java
<del>// $Id: Message.java,v 1.44 2006/01/14 12:48:52 belaban Exp $
<add>// $Id: Message.java,v 1.45 2006/02/07 13:46:25 belaban Exp $
<ide>
<ide> package org.jgroups;
<ide>
<ide> private static final boolean DISABLE_CANONICALIZATION=Boolean.getBoolean("disable_canonicalizati... | |
JavaScript | agpl-3.0 | 00b70c514470e31d94a4512e86a235188f326cb4 | 0 | Ryex/airtime,Lapotor/libretime,sourcefabric/Airtime,sourcefabric/airtime,LibreTime/libretime,justvanbloom/airtime,Lapotor/libretime,sourcefabric/airtime,radiorabe/airtime,sourcefabric/Airtime,sourcefabric/airtime,radiorabe/airtime,thnkloud9/Airtime,sourcefabric/airtime,ReganDryke/airtime,comiconomenclaturist/libretime,... | /**
*
* Full Calendar callback methods.
*
*/
function openAddShowForm() {
if(($("#add-show-form").length == 1) && ($("#add-show-form").css('display')=='none')) {
$("#add-show-form").show();
var y = $("#schedule_calendar").width();
var z = $("#schedule-add-show").width();
$("#sched... | public/js/airtime/schedule/full-calendar-functions.js | /**
*
* Full Calendar callback methods.
*
*/
function makeAddShowButton(){
$('.fc-header-left tbody tr:first')
.append('<td><span class="fc-header-space"></span></td>')
.append('<td><a href="#" class="add-button"><span class="add-icon"></span>Show</a></td>')
.find('td:last > a')
... | CC-1871 when clicking on a time slot on the calendar it automatically opens the add show form and populates the start date and start time(if on week/day view)
| public/js/airtime/schedule/full-calendar-functions.js | CC-1871 when clicking on a time slot on the calendar it automatically opens the add show form and populates the start date and start time(if on week/day view) | <ide><path>ublic/js/airtime/schedule/full-calendar-functions.js
<ide> * Full Calendar callback methods.
<ide> *
<ide> */
<add>
<add>function openAddShowForm() {
<add>
<add> if(($("#add-show-form").length == 1) && ($("#add-show-form").css('display')=='none')) {
<add> $("#add-show-form").show();
<add> v... | |
Java | apache-2.0 | b059a21786c3406c2fb0124401f93948a52edeb7 | 0 | ubikfsabbe/jmeter,d0k1/jmeter,ra0077/jmeter,etnetera/jmeter,hizhangqi/jmeter-1,ubikloadpack/jmeter,etnetera/jmeter,kschroeder/jmeter,vherilier/jmeter,fj11/jmeter,DoctorQ/jmeter,irfanah/jmeter,DoctorQ/jmeter,max3163/jmeter,hizhangqi/jmeter-1,ThiagoGarciaAlves/jmeter,kyroskoh/jmeter,liwangbest/jmeter,kyroskoh/jmeter,Doct... | /*
* 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/save/SaveService.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 ... | Update version checks
git-svn-id: d3b254b790bfb0dc06e982e64646283fdd6e0f68@549988 13f79535-47bb-0310-9956-ffa450edef68
| src/core/org/apache/jmeter/save/SaveService.java | Update version checks | <ide><path>rc/core/org/apache/jmeter/save/SaveService.java
<ide> log.warn(e.getLocalizedMessage());
<ide> }
<ide> checkVersion(StringPropertyConverter.class, "493779"); // $NON-NLS-1$
<del> checkVersion(TestElementConverter.class, "514283"); // $NON-NLS-1$
<del> checkVersion(TestElementPropertyC... | |
Java | apache-2.0 | 5ee5ce8b4ebeb6558da1b767fe1d8b4b914ecd4d | 0 | apixandru/intellij-community,vvv1559/intellij-community,ibinti/intellij-community,apixandru/intellij-community,suncycheng/intellij-community,FHannes/intellij-community,ibinti/intellij-community,FHannes/intellij-community,apixandru/intellij-community,ThiagoGarciaAlves/intellij-community,suncycheng/intellij-community,all... | package org.jetbrains.plugins.ipnb.protocol;
import com.google.common.collect.Lists;
import com.google.gson.*;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.util.net.HTTPMethod;
import com.intellij.util.... | python/ipnb/src/org/jetbrains/plugins/ipnb/protocol/IpnbConnection.java | package org.jetbrains.plugins.ipnb.protocol;
import com.google.common.collect.Lists;
import com.google.gson.*;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.util.net.HTTPMethod;
import com.intellij.util.... | PY-14605 Pass xsrf token in all requests
| python/ipnb/src/org/jetbrains/plugins/ipnb/protocol/IpnbConnection.java | PY-14605 Pass xsrf token in all requests | <ide><path>ython/ipnb/src/org/jetbrains/plugins/ipnb/protocol/IpnbConnection.java
<ide> import org.java_websocket.handshake.ServerHandshake;
<ide> import org.jetbrains.annotations.NotNull;
<ide> import org.jetbrains.annotations.Nullable;
<add>import org.jetbrains.plugins.ipnb.IpnbUtils;
<ide> import org.jetbrains.plugi... | |
JavaScript | mit | 2ac6623a2f0cddda6fe327a826a8a92149799b12 | 0 | cianclarke/BeersmithTaplist | var http = require('http');
var fs = require('fs');
var bs = require('../lib/beersmith.js');
http.createServer(function (req, res) {
bs({path : process.env.BS_FILE_PATH }, function(err, bsRes){
if (err){
res.writeHead(500, {'Content-Type' : 'application/json'});
return res.end(JSON.stringify(err));
... | bin/server.js | var http = require('http');
var fs = require('fs');
var bs = require('../lib/beersmith.js');
http.createServer(function (req, res) {
bs({path : process.env.BS_FILE_PATH }, function(err, bsRes){
if (err){
res.writeHead(500, {'Content-Type' : 'application/json'});
return res.end(JSON.stringify(err));
... | Fix port binding
| bin/server.js | Fix port binding | <ide><path>in/server.js
<ide> res.writeHead(200, {'Content-Type': 'application/json'});
<ide> res.end(JSON.stringify(bsRes));
<ide> });
<del>}).listen(process.env.PORT | 8000);
<add>}).listen(process.env.PORT || 8000); | |
Java | apache-2.0 | 096b77f7755771069d40cb14aec4b69049f707ae | 0 | h2oai/h2o-3,michalkurka/h2o-3,spennihana/h2o-3,h2oai/h2o-dev,h2oai/h2o-3,spennihana/h2o-3,mathemage/h2o-3,spennihana/h2o-3,h2oai/h2o-3,spennihana/h2o-3,mathemage/h2o-3,spennihana/h2o-3,spennihana/h2o-3,h2oai/h2o-dev,h2oai/h2o-dev,h2oai/h2o-3,h2oai/h2o-3,mathemage/h2o-3,michalkurka/h2o-3,mathemage/h2o-3,mathemage/h2o-3,... | package water;
import org.testng.annotations.*;
import water.util.Log;
import java.io.*;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.sql.Connection;
import java.sql.DriverManager;
import java.util.*;
public class AccuracyTestingSuite {
private String logDir;
private String resultsDBTab... | h2o-test-accuracy/src/test/java/water/AccuracyTestingSuite.java | package water;
import org.testng.annotations.*;
import water.util.Log;
import java.io.*;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.sql.Connection;
import java.sql.DriverManager;
import java.util.*;
public class AccuracyTestingSuite {
private String logDir;
private String resultsDBTab... | fix default paths for accuracy suite options.
| h2o-test-accuracy/src/test/java/water/AccuracyTestingSuite.java | fix default paths for accuracy suite options. | <ide><path>2o-test-accuracy/src/test/java/water/AccuracyTestingSuite.java
<ide> @BeforeClass
<ide> @Parameters( {"logDir", "resultsDBTableConfig", "numH2ONodes", "dataSetsCSVPath", "testCasesCSVPath",
<ide> "testCasesFilterString" } )
<del> private void accuracySuiteSetup(@Optional("h2o-3/h2o-test-accuracy") String... | |
JavaScript | mit | f186bf85d9fbc790a46648c8049727d4d4806749 | 0 | constellational/api | var crypto = require('crypto');
var base64url = require('base64-url');
var Promise = require('bluebird');
var bcrypt = Promise.promisifyAll(require('bcryptjs'));
var AWS = require('aws-sdk');
var s3 = new AWS.S3();
Promise.promisifyAll(Object.getPrototypeOf(s3));
function getObj(bucket, key) {
console.log("Going to ... | signup/index.js | var crypto = require('crypto');
var base64url = require('base64-url');
var Promise = require('bluebird');
var bcrypt = Promise.promisifyAll(require('bcryptjs'));
var AWS = require('aws-sdk');
var s3 = new AWS.S3();
Promise.promisifyAll(Object.getPrototypeOf(s3));
function getObj(bucket, key) {
console.log("Going to ... | maybe not SO long :)
| signup/index.js | maybe not SO long :) | <ide><path>ignup/index.js
<ide> }
<ide>
<ide> function randomString() {
<del> return base64url.escape(crypto.RandomBytes(192).toString('base64'));
<add> return base64url.escape(crypto.randomBytes(48).toString('base64'));
<ide> }
<ide>
<ide> | |
Java | apache-2.0 | 6aae4403fb769bfd1508d27ec293887503747cd6 | 0 | zerodengxinchao/ovirt-engine,halober/ovirt-engine,walteryang47/ovirt-engine,yingyun001/ovirt-engine,OpenUniversity/ovirt-engine,yapengsong/ovirt-engine,yapengsong/ovirt-engine,walteryang47/ovirt-engine,halober/ovirt-engine,walteryang47/ovirt-engine,zerodengxinchao/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-e... | package org.ovirt.engine.api.restapi.resource;
import java.util.List;
import javax.ws.rs.core.Response;
import org.ovirt.engine.api.model.Template;
import org.ovirt.engine.api.model.VmPool;
import org.ovirt.engine.api.model.VmPools;
import org.ovirt.engine.api.resource.VmPoolResource;
import org.ovirt.engine.api.res... | backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmPoolsResource.java | package org.ovirt.engine.api.restapi.resource;
import java.util.List;
import javax.ws.rs.core.Response;
import org.ovirt.engine.api.model.Template;
import org.ovirt.engine.api.model.VmPool;
import org.ovirt.engine.api.model.VmPools;
import org.ovirt.engine.api.resource.VmPoolResource;
import org.ovirt.engine.api.res... | restapi : Missing permissions link ast /vmpools url
There is missing <link href="/api/vmpools/{id}/permissions" rel="permissions"/>
element for vmpools, only at /vmpools url.
It is ok for /vmpools/{vmpool:id}.
Change-Id: Id9ce7e04680cf7182e89406e76bcf8d770e3ccfb
Bug-Url: https://bugzilla.redhat.com/977304
Signed-off-... | backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmPoolsResource.java | restapi : Missing permissions link ast /vmpools url | <ide><path>ackend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmPoolsResource.java
<ide> static final String SUB_COLLECTION = "permissions";
<ide>
<ide> public BackendVmPoolsResource() {
<del> super(VmPool.class, org.ovirt.engine.core.common.businessentities.... | |
Java | bsd-3-clause | b1d379d03abac4fa4b0afffef439fa44b44b8eea | 0 | vivo-project/Vitro,vivo-project/Vitro,vivo-project/Vitro,vivo-project/Vitro | /* $This file is distributed under the terms of the license in /doc/license.txt$ */
package edu.cornell.mannlib.vitro.webapp.controller;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.text.Collator;
import java.text.DateFormat;
import java.text.SimpleD... | webapp/src/edu/cornell/mannlib/vitro/webapp/controller/VitroHttpServlet.java | /* $This file is distributed under the terms of the license in /doc/license.txt$ */
package edu.cornell.mannlib.vitro.webapp.controller;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.text.Collator;
import java.text.DateFormat;
import java.text.SimpleD... | VIVO-716 VitroHttpRequest was not properly handling the MultipartRequestWrapper
| webapp/src/edu/cornell/mannlib/vitro/webapp/controller/VitroHttpServlet.java | VIVO-716 VitroHttpRequest was not properly handling the MultipartRequestWrapper | <ide><path>ebapp/src/edu/cornell/mannlib/vitro/webapp/controller/VitroHttpServlet.java
<ide> HttpServletRequest hreq = (HttpServletRequest) req;
<ide>
<ide> hreq = MultipartRequestWrapper.parse(hreq, this);
<del>
<add>
<ide> if (log.isTraceEnabled()) {
<ide> dumpRequestHeaders(hreq);
<ide> }
<del> ... | |
JavaScript | mit | f51ca656590a5b4a331349e934893374ab5645e6 | 0 | kgiszewski/Archetype,imulus/Archetype,tomfulton/Archetype,kgiszewski/Archetype,Nicholas-Westby/Archetype,kjac/Archetype,tomfulton/Archetype,imulus/Archetype,kipusoep/Archetype,Nicholas-Westby/Archetype,Nicholas-Westby/Archetype,kipusoep/Archetype,kgiszewski/Archetype,imulus/Archetype,tomfulton/Archetype,kipusoep/Archet... | angular.module("umbraco").controller("Imulus.ArchetypeController", function ($scope, $http, assetsService, angularHelper, notificationsService, $timeout, entityResource, archetypeService, archetypeLabelService, archetypeCacheService, archetypePropertyEditorResource) {
//$scope.model.value = "";
$scope.model.h... | app/controllers/controller.js | angular.module("umbraco").controller("Imulus.ArchetypeController", function ($scope, $http, assetsService, angularHelper, notificationsService, $timeout, entityResource, archetypeService, archetypeLabelService, archetypeCacheService) {
//$scope.model.value = "";
$scope.model.hideLabel = $scope.model.config.hi... | Expose archetypePropertyEditorResource to controller
| app/controllers/controller.js | Expose archetypePropertyEditorResource to controller | <ide><path>pp/controllers/controller.js
<del>angular.module("umbraco").controller("Imulus.ArchetypeController", function ($scope, $http, assetsService, angularHelper, notificationsService, $timeout, entityResource, archetypeService, archetypeLabelService, archetypeCacheService) {
<add>angular.module("umbraco").contro... | |
Java | apache-2.0 | 5cddd2a485a4f90c40333d0488c91fc2663b1325 | 0 | yona-projects/yona,yona-projects/yona,yona-projects/yona,doortts/fork-yobi,doortts/fork-yobi,doortts/fork-yobi,doortts/fork-yobi,yona-projects/yona | /**
* Yona, 21st Century Project Hosting SW
* <p>
* Copyright Yona & Yobi Authors & NAVER Corp. & NAVER LABS Corp.
* https://yona.io
**/
package controllers;
import com.fasterxml.jackson.databind.JsonNode;
import controllers.annotation.AnonymousCheck;
import models.*;
import models.enumeration.Direction;
import m... | app/controllers/AbstractPostingApp.java | /**
* Yona, 21st Century Project Hosting SW
* <p>
* Copyright Yona & Yobi Authors & NAVER Corp. & NAVER LABS Corp.
* https://yona.io
**/
package controllers;
import com.fasterxml.jackson.databind.JsonNode;
import controllers.annotation.AnonymousCheck;
import models.*;
import models.enumeration.Direction;
import m... | issue: Increase diff cost for readability
| app/controllers/AbstractPostingApp.java | issue: Increase diff cost for readability | <ide><path>pp/controllers/AbstractPostingApp.java
<ide> @AnonymousCheck
<ide> public class AbstractPostingApp extends Controller {
<ide> public static final int ITEMS_PER_PAGE = 15;
<add> private static final short Diff_EditCost = 16;
<ide>
<ide> public static class SearchCondition {
<ide> public St... | |
Java | epl-1.0 | 95b32c669b62372b86e4b057c1065ab66b048ea8 | 0 | menghanli/ice,wo-amlangwang/ice,wo-amlangwang/ice,SmithRWORNL/ice,nickstanish/ice,wo-amlangwang/ice,wo-amlangwang/ice,menghanli/ice,SmithRWORNL/ice,eclipse/ice,gorindn/ice,menghanli/ice,eclipse/ice,SmithRWORNL/ice,SmithRWORNL/ice,nickstanish/ice,SmithRWORNL/ice,gorindn/ice,gorindn/ice,gorindn/ice,SmithRWORNL/ice,mengha... | /*******************************************************************************
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v... | src/org.eclipse.ice.item/src/org/eclipse/ice/item/utilities/moose/MOOSEFileHandler.java | /*******************************************************************************
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v... | Put some logic checks back in.
Signed-off-by: Anna Wojtowicz <a2e76b18f812292deab747e7eb0309f691568c08@ornl.gov> | src/org.eclipse.ice.item/src/org/eclipse/ice/item/utilities/moose/MOOSEFileHandler.java | Put some logic checks back in. | <ide><path>rc/org.eclipse.ice.item/src/org/eclipse/ice/item/utilities/moose/MOOSEFileHandler.java
<ide> @Override
<ide> public ICEObject read(URI uri) {
<ide>
<add> // Local declarations
<add> String fileExt = "";
<add>
<ide> // Make sure we have a valid URI
<ide> if (uri != null) {
<ide> // Local Declara... | |
Java | apache-2.0 | e6bdaa01e6a54ac98ff6dd7f8fbce9546f00cc9a | 0 | blstream/StudyBox_Android | app/src/main/java/com/blstream/studybox/fragment/AnswerFragment.java | package com.blstream.studybox.fragment;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.blstream.studybox.R;
public class AnswerFragment extends Fragment implemen... | Delete AnswerFragment.java | app/src/main/java/com/blstream/studybox/fragment/AnswerFragment.java | Delete AnswerFragment.java | <ide><path>pp/src/main/java/com/blstream/studybox/fragment/AnswerFragment.java
<del>package com.blstream.studybox.fragment;
<del>
<del>
<del>import android.os.Bundle;
<del>import android.support.v4.app.Fragment;
<del>import android.view.LayoutInflater;
<del>import android.view.View;
<del>import android.view.ViewGroup;
... | ||
Java | apache-2.0 | 6850a7585c48906ee04f5d1219baa37d71d77d1c | 0 | opencb/opencga,opencb/opencga,opencb/opencga,opencb/opencga,opencb/opencga,opencb/opencga | /*
* Copyright 2015-2017 OpenCB
*
* 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 ... | opencga-storage/opencga-storage-hadoop/opencga-storage-hadoop-core/src/main/java/org/opencb/opencga/storage/hadoop/variant/adaptors/phoenix/VariantSqlQueryParser.java | /*
* Copyright 2015-2017 OpenCB
*
* 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 ... | storage: Fix NPE parsing complex fileData filters
| opencga-storage/opencga-storage-hadoop/opencga-storage-hadoop-core/src/main/java/org/opencb/opencga/storage/hadoop/variant/adaptors/phoenix/VariantSqlQueryParser.java | storage: Fix NPE parsing complex fileData filters | <ide><path>pencga-storage/opencga-storage-hadoop/opencga-storage-hadoop-core/src/main/java/org/opencb/opencga/storage/hadoop/variant/adaptors/phoenix/VariantSqlQueryParser.java
<ide> List<String> fixedAttributes = HBaseToVariantConverter.getFixedAttributes(defaultStudyMetadata);
<ide>
<ide> Str... | |
Java | apache-2.0 | ee805268f26a485210c3ecbcd4a90450f111d477 | 0 | nntnag17/dr-elephant-1,shankar37/dr-elephant,bretlowery/dr-elephant-mapr,bretlowery/dr-elephant-mapr,snithish/dr-elephant,snithish/dr-elephant,snithish/dr-elephant,bretlowery/dr-elephant-mapr,qubole/dr-elephant,qubole/dr-elephant,nntnag17/dr-elephant-1,qubole/dr-elephant,shankar37/dr-elephant,shankar37/dr-elephant,bret... | /*
* Copyright 2016 LinkedIn Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | app/com/linkedin/drelephant/analysis/AnalyticJobGeneratorHadoop2.java | /*
* Copyright 2016 LinkedIn Corp.
*
* 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... | Try alternate resource manager if one is down (#78)
| app/com/linkedin/drelephant/analysis/AnalyticJobGeneratorHadoop2.java | Try alternate resource manager if one is down (#78) | <ide><path>pp/com/linkedin/drelephant/analysis/AnalyticJobGeneratorHadoop2.java
<ide> List<String> ids = Arrays.asList(resourceManagers.split(","));
<ide> _currentTime = System.currentTimeMillis();
<ide> updateAuthToken();
<del> try {
<del> for (String id : ids) {
<add> fo... | |
Java | apache-2.0 | 3bfea5b26b8d5660dd7a631363aee0e166853350 | 0 | gastaldi/shrinkwrap,chirino/shrinkwrap,aslakknutsen/shrinkwrap,lordofthejars/shrinkwrap,ALRubinger/shrinkwrap,shrinkwrap/shrinkwrap | package org.jboss.shrinkwrap.impl.base;
import java.io.File;
import java.util.HashSet;
import java.util.Set;
import junit.framework.Assert;
import org.jboss.shrinkwrap.api.Archive;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.EnterpriseArchive;
import org.jboss.shrinkwrap.api.spec... | impl-base/src/test/java/org/jboss/shrinkwrap/impl/base/ArchiveEqualsHashCodeTestCase.java | package org.jboss.shrinkwrap.impl.base;
import java.io.File;
import java.util.HashSet;
import java.util.Set;
import junit.framework.Assert;
import org.jboss.shrinkwrap.api.Archive;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.EnterpriseArchive;
import org.jboss.shrinkwrap.api.spec... | Change name of test method checking that hashCode is idempotent
| impl-base/src/test/java/org/jboss/shrinkwrap/impl/base/ArchiveEqualsHashCodeTestCase.java | Change name of test method checking that hashCode is idempotent | <ide><path>mpl-base/src/test/java/org/jboss/shrinkwrap/impl/base/ArchiveEqualsHashCodeTestCase.java
<ide>
<ide> }
<ide>
<add> /**
<add> * Calls to hashCode with the same value should always hash to the same result.
<add> * @throws Exception
<add> */
<ide> @Test
<del> public void archivesShouldHaveH... | |
Java | apache-2.0 | 4f444de953a395d75709e246b5481030183c36b8 | 0 | genericsystem/genericsystem2015,genericsystem/genericsystem2015,genericsystem/genericsystem2015,genericsystem/genericsystem2015,genericsystem/genericsystem2015 | package org.genericsystem.cv;
import java.awt.image.BufferedImage;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
import javax.imageio.Im... | gs-cv/src/main/java/org/genericsystem/cv/MotionDetector.java | package org.genericsystem.cv;
import java.awt.image.BufferedImage;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
import javax.imageio.Im... | Adjust parameters with new images size | gs-cv/src/main/java/org/genericsystem/cv/MotionDetector.java | Adjust parameters with new images size | <ide><path>s-cv/src/main/java/org/genericsystem/cv/MotionDetector.java
<ide> Core.convertScaleAbs(variance, variance);
<ide> Mat bwVariance = new Mat();
<ide> // Imgproc.threshold(variance, bwVariance, 100, 255, Imgproc.THRESH_TOZERO);
<del> Imgproc.dilate(variance, bwVariance, Imgproc.getStructuringElement(... | |
Java | agpl-3.0 | 2fd19862af6f908cc305eb09235ccf7431ef32e4 | 0 | ua-eas/kfs-devops-automation-fork,ua-eas/kfs-devops-automation-fork,ua-eas/kfs,quikkian-ua-devops/will-financials,kuali/kfs,smith750/kfs,quikkian-ua-devops/kfs,kkronenb/kfs,ua-eas/kfs,kkronenb/kfs,smith750/kfs,UniversityOfHawaii/kfs,ua-eas/kfs-devops-automation-fork,ua-eas/kfs-devops-automation-fork,kkronenb/kfs,Univer... | /*
* Copyright 2008 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl1.php
*
* Unless requir... | work/src/org/kuali/kfs/module/cab/service/impl/CapitalAssetBuilderModuleServiceImpl.java | /*
* Copyright 2008 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl1.php
*
* Unless requir... | KULCAP-1047: Capital Edit on Financial Documents - Capital asset tab...not accepting lower cased values in building and room fields
| work/src/org/kuali/kfs/module/cab/service/impl/CapitalAssetBuilderModuleServiceImpl.java | KULCAP-1047: Capital Edit on Financial Documents - Capital asset tab...not accepting lower cased values in building and room fields | <ide><path>ork/src/org/kuali/kfs/module/cab/service/impl/CapitalAssetBuilderModuleServiceImpl.java
<ide> import org.kuali.rice.kns.bo.Campus;
<ide> import org.kuali.rice.kns.bo.DocumentHeader;
<ide> import org.kuali.rice.kns.bo.Parameter;
<add>import org.kuali.rice.kns.service.BusinessObjectDictionaryService;
<ide> imp... | |
Java | apache-2.0 | 88cf9e4ab6e1b127de46fb2540f4d1fffac56442 | 0 | pplatek/commons-cli,apache/commons-cli,mohanaraosv/commons-cli,mohanaraosv/commons-cli,apache/commons-cli,apache/commons-cli,pplatek/commons-cli,mohanaraosv/commons-cli,apache/commons-cli,pplatek/commons-cli,pplatek/commons-cli,mohanaraosv/commons-cli | /**
* 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/test/org/apache/commons/cli/ApplicationTest.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... | Typo
git-svn-id: c795571ee9b9ed630ea84edf5ecdcef3ba4f5328@744070 13f79535-47bb-0310-9956-ffa450edef68
| src/test/org/apache/commons/cli/ApplicationTest.java | Typo | <ide><path>rc/test/org/apache/commons/cli/ApplicationTest.java
<ide> //FIXME - should generate -m,--systems system
<ide> addOption("m", "systems", true, "search for man pages from other unix system(s).").
<ide> //FIXME - should generate -L,--locale locale
<del> ... | |
Java | apache-2.0 | 9688f604f663138388effa22b955b4625b6bf9fe | 0 | researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds | package won.shacl2java.sourcegen.typegen.logic;
import com.squareup.javapoet.*;
import org.apache.jena.graph.Node;
import org.apache.jena.graph.Node_Blank;
import org.apache.jena.rdf.model.Literal;
import org.apache.jena.shacl.Shapes;
import org.apache.jena.shacl.parser.PropertyShape;
import org.apache.jena.shacl.pars... | webofneeds/won-utils/won-utils-shacl2java/src/main/java/won/shacl2java/sourcegen/typegen/logic/MainTypesPostprocessor.java | package won.shacl2java.sourcegen.typegen.logic;
import com.squareup.javapoet.*;
import org.apache.jena.graph.Node;
import org.apache.jena.graph.Node_Blank;
import org.apache.jena.rdf.model.Literal;
import org.apache.jena.shacl.Shapes;
import org.apache.jena.shacl.parser.PropertyShape;
import org.apache.jena.shacl.pars... | make equals null-safe
| webofneeds/won-utils/won-utils-shacl2java/src/main/java/won/shacl2java/sourcegen/typegen/logic/MainTypesPostprocessor.java | make equals null-safe | <ide><path>ebofneeds/won-utils/won-utils-shacl2java/src/main/java/won/shacl2java/sourcegen/typegen/logic/MainTypesPostprocessor.java
<ide> .addStatement("if (this == o) return true")
<ide> .addStatement("if (o == null || getClass() != o.getClass()) return false")
<ide> ... | |
Java | apache-2.0 | d250bf664cb94b52edacfe17c6e46d9688b4d616 | 0 | jonaswagner/TomP2P,tomp2p/TomP2P,jonaswagner/TomP2P,thirdy/TomP2P,jonaswagner/TomP2P,thirdy/TomP2P,tomp2p/TomP2P,jonaswagner/TomP2P,jonaswagner/TomP2P,jonaswagner/TomP2P | package net.tomp2p.rcon;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.TimeoutException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import net.tomp2p.connection.ConnectionConfiguration;
import net.tomp2p.connection.DefaultConn... | nat/src/main/java/net/tomp2p/rcon/RconRPC.java | package net.tomp2p.rcon;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.TimeoutException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import net.tomp2p.connection.ConnectionConfiguration;
import net.tomp2p.connection.DefaultConn... | MOAR FIXES | nat/src/main/java/net/tomp2p/rcon/RconRPC.java | MOAR FIXES | <ide><path>at/src/main/java/net/tomp2p/rcon/RconRPC.java
<ide> throw new TimeoutException();
<ide> }
<ide>
<del> if (fpc.isFailed()) {
<add> if (!fpc.isSuccess()) {
<ide> LOG.error("no channel could be established");
<ide> } else {
<ide> peerConnection = fpc.peerConnection();
<del> HashMap<Num... | |
Java | apache-2.0 | df5790e425c572eab2c4fa68c23fb195dd34bf27 | 0 | pyamsoft/pydroid | /*
* Copyright 2016 Peter Kenji Yamanaka
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | pydroid/src/main/java/com/pyamsoft/pydroid/donate/RealCheckout.java | /*
* Copyright 2016 Peter Kenji Yamanaka
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | Do not destroy before.
The lifecycle of the Checkout object should be respected.
| pydroid/src/main/java/com/pyamsoft/pydroid/donate/RealCheckout.java | Do not destroy before. | <ide><path>ydroid/src/main/java/com/pyamsoft/pydroid/donate/RealCheckout.java
<ide> checkCheckoutNonNull();
<ide>
<ide> //noinspection ConstantConditions
<del> checkout.destroyPurchaseFlow();
<ide> checkout.start();
<ide> checkout.createPurchaseFlow(new DonationPurchaseListener());
<ide> } | |
Java | mit | 19ab7fd6be91b8bd8106e7577083f1dab3d05d60 | 0 | jaideepcoder/solr2trec | package com.twitter.example;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileInputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.io.UnsupportedEncodingException;
im... | src/com/twitter/example/QueryRun.java | package com.twitter.example;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FileInputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.io.UnsupportedEncodingException;
im... | Update QueryRun.java
URL description provided and some debug lines commented | src/com/twitter/example/QueryRun.java | Update QueryRun.java | <ide><path>rc/com/twitter/example/QueryRun.java
<ide> class RunBasicQueriesOnSolr {
<ide> private String queryFileName;
<ide> private String detectLanguageURL = "http://ws.detectlanguage.com/0.2/detect";
<del> private String twitterCoreURL = "http://sunandan.koding.io:8983/solr/TwitterCore/select";
<add> private S... | |
Java | mit | 03e25e557f4188a56e560ad8e2ce5e24b61816e6 | 0 | 7imeout/Grader-OLD,7imeout/Grader-OLD |
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
public class HelpMenuItems implements MenuItemProvider {
private ArrayList<JMenuItem> helpMenuItems;
public HelpMenuItems() {
helpMenuItems = new ArrayList<JMenuItem>();
creat... | prototype/src/HelpMenuItems.java |
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
public class HelpMenuItems implements MenuItemProvider {
private ArrayList<JMenuItem> helpMenuItems;
public HelpMenuItems() {
helpMenuItems = new ArrayList<JMenuItem>();
creat... | HelpMenuItems errors fixed
| prototype/src/HelpMenuItems.java | HelpMenuItems errors fixed | <ide><path>rototype/src/HelpMenuItems.java
<ide> }
<ide>
<ide> private void createMenuItems() {
<del> studentMenuItems.add(aboutMenu());
<add> helpMenuItems.add(aboutMenu());
<ide> }
<ide>
<ide> private JMenuItem aboutMenu() {
<ide> JMenuItem mnuAbout = new JMenuItem("About");
<del> m... | |
Java | agpl-3.0 | 34d8b857ea8378c8cb19a9c87e086d0af635bb48 | 0 | teyden/phenotips,tmarathe/phenotips,phenotips/phenotips,phenotips/phenotips,teyden/phenotips,alexhenrie/phenotips,teyden/phenotips,danielpgross/phenotips,phenotips/phenotips,danielpgross/phenotips,mjshepherd/phenotips,danielpgross/phenotips,tmarathe/phenotips,alexhenrie/phenotips,mjshepherd/phenotips,phenotips/phenotip... | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of... | components/patient-data/rest/src/test/java/org/phenotips/data/rest/internal/ConfigureISODatesInJsonTest.java | package org.phenotips.data.rest.internal;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.map.SerializationConfig.Feature;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.MockitoAnnotations;
import ... | Added Test for object contruction of ConfigureISODatesInJson class
| components/patient-data/rest/src/test/java/org/phenotips/data/rest/internal/ConfigureISODatesInJsonTest.java | Added Test for object contruction of ConfigureISODatesInJson class | <ide><path>omponents/patient-data/rest/src/test/java/org/phenotips/data/rest/internal/ConfigureISODatesInJsonTest.java
<add>/*
<add> * See the NOTICE file distributed with this work for additional
<add> * information regarding copyright ownership.
<add> *
<add> * This program is free software: you can redistribute it a... | |
JavaScript | apache-2.0 | ade2d11af6b70d0e69d34e9b7e5c2cdc6cad3000 | 0 | PubMatic/OpenWrap,PubMatic/OpenWrap,PubMatic/OpenWrap,PubMatic/OpenWrap | /* global describe, it, xit, sinon, expect */
// var sinon = require("sinon");
var should = require("chai").should();
var expect = require("chai").expect;
var typeArray = "Array";
var typeString = "String";
var typeFunction = "Function";
var typeNumber = "Number";
var UTIL = require("../src_new/util");
var SLOT = re... | test/util.spec.js | /* global describe, it, xit, sinon, expect */
// var sinon = require("sinon");
var should = require("chai").should();
var expect = require("chai").expect;
var typeArray = "Array";
var typeString = "String";
var typeFunction = "Function";
var typeNumber = "Number";
var UTIL = require("../src_new/util");
var SLOT = re... | intermediate commit for adding i/o for util.js
| test/util.spec.js | intermediate commit for adding i/o for util.js | <ide><path>est/util.spec.js
<ide>
<ide> describe('#isA', function() {
<ide>
<add> beforeEach(function (done) {
<add> sinon.spy(Object.prototype.toString, "call");
<add> done();
<add> });
<add>
<add> afterEach(function (done) {
<add> Object.prototype.toString.c... | |
JavaScript | mit | 71734b2ceab49568aaae02fd4c9fc250dd8dcb5d | 0 | ludumdare/ludumdare,local-minimum/ludumdare,sgstair/ludumdare,StormBurpee/ludumdare,povrazor/ludumdare,zwrawr/ludumdare,sgstair/ludumdare,Noojuno/ludumdare,local-minimum/ludumdare,zwrawr/ludumdare,local-minimum/ludumdare,ludumdare/ludumdare,StormBurpee/ludumdare,ludumdare/ludumdare,ludumdare/ludumdare,local-minimum/lud... | import { h, Component } from 'preact/preact';
import SVGIcon from 'com/svg-icon/icon';
import NavLink from 'com/nav-link/link';
import ButtonBase from 'com/button-base/base';
import $ThemeList from '../../shrub/js/theme/theme_list';
import $ThemeListVote from '../../shrub/js/theme/them... | src/com/content-event-list/event-list.js | import { h, Component } from 'preact/preact';
import SVGIcon from 'com/svg-icon/icon';
import NavLink from 'com/nav-link/link';
import ButtonBase from 'com/button-base/base';
import $ThemeList from '../../shrub/js/theme/theme_list';
import $ThemeListVote from '../../shrub/js/theme/them... | fixed rendering bug!
| src/com/content-event-list/event-list.js | fixed rendering bug! | <ide><path>rc/com/content-event-list/event-list.js
<ide>
<ide> $ThemeListVote.GetMy(this.props.node.id)
<ide> .then(r => {
<del> //console.log(r);
<ide> if ( r.votes ) {
<ide> this.setState({ 'votes': r.votes });
<ide> }
<ide>
<ide> addToVotes( id, value ) {
<ide> var votes = Object.assign({}, thi... | |
Java | apache-2.0 | 14df72cc973e163e5872b0003c2e79321a621f35 | 0 | inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service | /*
* Copyright 2012 Shared Learning Collaborative, 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 applicabl... | sli/data-access/dal/src/main/java/org/slc/sli/dal/convert/SubDocAccessor.java | /*
* Copyright 2012 Shared Learning Collaborative, 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 applicabl... | MORE TABS!!!1!!1!
| sli/data-access/dal/src/main/java/org/slc/sli/dal/convert/SubDocAccessor.java | MORE TABS!!!1!!1! | <ide><path>li/data-access/dal/src/main/java/org/slc/sli/dal/convert/SubDocAccessor.java
<ide> import java.util.concurrent.ConcurrentHashMap;
<ide> import java.util.concurrent.ConcurrentMap;
<ide>
<add>import com.mongodb.BasicDBObject;
<add>import com.mongodb.CommandResult;
<add>import com.mongodb.DBObject;
<add>import... | |
Java | agpl-3.0 | 70f14537b3f79c44761f258ff6415d35fb137116 | 0 | ProtocolSupport/ProtocolSupport | package protocolsupport.protocol.typeremapper.entity.metadata.types.living.ageable;
import protocolsupport.api.ProtocolVersion;
import protocolsupport.protocol.typeremapper.entity.metadata.object.value.IndexValueRemapper;
import protocolsupport.protocol.typeremapper.entity.metadata.object.value.IndexValueRemapperNoOp;... | src/protocolsupport/protocol/typeremapper/entity/metadata/types/living/ageable/VillagerEntityMetadataRemapper.java | package protocolsupport.protocol.typeremapper.entity.metadata.types.living.ageable;
import protocolsupport.api.ProtocolVersion;
import protocolsupport.protocol.typeremapper.entity.metadata.object.value.IndexValueRemapper;
import protocolsupport.protocol.typeremapper.entity.metadata.object.value.IndexValueRemapperNoOp;... | Should be protected too | src/protocolsupport/protocol/typeremapper/entity/metadata/types/living/ageable/VillagerEntityMetadataRemapper.java | Should be protected too | <ide><path>rc/protocolsupport/protocol/typeremapper/entity/metadata/types/living/ageable/VillagerEntityMetadataRemapper.java
<ide>
<ide> public static final VillagerEntityMetadataRemapper INSTANCE = new VillagerEntityMetadataRemapper();
<ide>
<del> public VillagerEntityMetadataRemapper() {
<add> protected VillagerEn... | |
Java | lgpl-2.1 | 0f6f749a0beeae212765af079bf9393f4003038e | 0 | oskopek/jfreechart-fse,oskopek/jfreechart-fse,jfree/jfreechart-fse,jfree/jfreechart-fse | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2014, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | src/main/java/org/jfree/chart/renderer/xy/XYSplineRenderer.java | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2013, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | Fix Javadoc warnings. | src/main/java/org/jfree/chart/renderer/xy/XYSplineRenderer.java | Fix Javadoc warnings. | <ide><path>rc/main/java/org/jfree/chart/renderer/xy/XYSplineRenderer.java
<ide> * JFreeChart : a free chart library for the Java(tm) platform
<ide> * ===========================================================
<ide> *
<del> * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors.
<add> * (C) Copyright... | |
Java | mit | fa99002dede2ab52c87ec3de9a8c5d84926dd6e6 | 0 | InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service | package org.innovateuk.ifs.application.forms.sections.yourfunding.validator;
import org.innovateuk.ifs.application.forms.sections.yourfunding.form.AbstractYourFundingForm;
import org.innovateuk.ifs.application.forms.sections.yourfunding.form.YourFundingAmountForm;
import org.innovateuk.ifs.finance.resource.BaseFinance... | ifs-web-service/ifs-application-service/src/main/java/org/innovateuk/ifs/application/forms/sections/yourfunding/validator/YourFundingFormValidator.java | package org.innovateuk.ifs.application.forms.sections.yourfunding.validator;
import org.innovateuk.ifs.application.forms.sections.yourfunding.form.AbstractYourFundingForm;
import org.innovateuk.ifs.application.forms.sections.yourfunding.form.YourFundingAmountForm;
import org.innovateuk.ifs.finance.resource.BaseFinance... | IFS-7618 fixed pcr bug.
| ifs-web-service/ifs-application-service/src/main/java/org/innovateuk/ifs/application/forms/sections/yourfunding/validator/YourFundingFormValidator.java | IFS-7618 fixed pcr bug. | <ide><path>fs-web-service/ifs-application-service/src/main/java/org/innovateuk/ifs/application/forms/sections/yourfunding/validator/YourFundingFormValidator.java
<ide> }
<ide>
<ide> private void validateLessThanCosts(YourFundingAmountForm form, Errors errors, Supplier<BaseFinanceResource> financeSupplier) {
<d... | |
Java | mit | d69afc93ee8c462cdfcc0f9c550d716e3a690a60 | 0 | JEEventStore/JEECQRS-JCommonDomain-Integration | /*
* Copyright (c) 2013 Red Rainbow IT Solutions GmbH, Germany
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, c... | core/src/main/java/org/jeecqrs/integration/jcommondomain/sagas/AbstractSingleEventSaga.java | /*
* Copyright (c) 2013 Red Rainbow IT Solutions GmbH, Germany
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, c... | Fix last commit: Use generic argument lookup on correct type
| core/src/main/java/org/jeecqrs/integration/jcommondomain/sagas/AbstractSingleEventSaga.java | Fix last commit: Use generic argument lookup on correct type | <ide><path>ore/src/main/java/org/jeecqrs/integration/jcommondomain/sagas/AbstractSingleEventSaga.java
<ide>
<ide> @Override
<ide> protected void setupSaga() {
<del> Class<E> eventClass = (Class) ReflectionUtils.findSuperClassParameterType(getClass(), AbstractSingleEventSaga.class, 1);
<add> Class... | |
Java | apache-2.0 | 2c05d9c5dbb847753fd5f2a002aa5c55ad4ec6aa | 0 | SingingTree/hapi-fhir,aemay2/hapi-fhir,aemay2/hapi-fhir,aemay2/hapi-fhir,SingingTree/hapi-fhir,jamesagnew/hapi-fhir,jamesagnew/hapi-fhir,jamesagnew/hapi-fhir,SingingTree/hapi-fhir,SingingTree/hapi-fhir,aemay2/hapi-fhir,SingingTree/hapi-fhir,jamesagnew/hapi-fhir,jamesagnew/hapi-fhir,aemay2/hapi-fhir,SingingTree/hapi-fhi... | package ca.uhn.fhir.jpa.subscription;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.jpa.dao.DaoConfig;
import ca.uhn.fhir.jpa.provider.SubscriptionTriggeringProvider;
import ca.uhn.fhir.jpa.provider.dstu3.BaseResourceProviderDstu3Test;
import ca.uhn.fhir.jpa.util.JpaConstants;
import ca.uhn.fhir.rest.anno... | hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/subscription/SubscriptionTriggeringDstu3Test.java | package ca.uhn.fhir.jpa.subscription;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.jpa.dao.DaoConfig;
import ca.uhn.fhir.jpa.provider.SubscriptionTriggeringProvider;
import ca.uhn.fhir.jpa.provider.dstu3.BaseResourceProviderDstu3Test;
import ca.uhn.fhir.jpa.util.JpaConstants;
import ca.uhn.fhir.rest.anno... | Test cleanup
| hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/subscription/SubscriptionTriggeringDstu3Test.java | Test cleanup | <ide><path>api-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/subscription/SubscriptionTriggeringDstu3Test.java
<ide> IdType sub1id = createSubscription("Observation?", payload, ourListenerServerBase).getIdElement();
<ide> IdType sub2id = createSubscription("Observation?status=final", payload, ourListenerServerB... | |
Java | apache-2.0 | 3e11291fcd20d73e3e83ab55572263ecd944b84f | 0 | darranl/directory-server,drankye/directory-server,drankye/directory-server,apache/directory-server,darranl/directory-server,lucastheisen/apache-directory-server,apache/directory-server,lucastheisen/apache-directory-server | /*
* 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")... | core/src/main/java/org/apache/directory/server/core/trigger/ModifyStoredProcedureParameterInjector.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")... | The modifiedEntryName wasn't initialized.
git-svn-id: 90776817adfbd895fc5cfa90f675377e0a62e745@527181 13f79535-47bb-0310-9956-ffa450edef68
| core/src/main/java/org/apache/directory/server/core/trigger/ModifyStoredProcedureParameterInjector.java | The modifiedEntryName wasn't initialized. | <ide><path>ore/src/main/java/org/apache/directory/server/core/trigger/ModifyStoredProcedureParameterInjector.java
<ide> ModificationItemImpl[] mods = new ModificationItemImpl[ modifications.size() ];
<ide> NamingEnumeration modEnum = modifications.getAll();
<ide> int i = 0;
<add>
<ide> ... | |
Java | apache-2.0 | error: pathspec 'com/justinwflory/labs/chapter3/lab2/Rock2.java' did not match any file(s) known to git
| bd49128794fe39a25a5920e78d1b2838a816e06a | 1 | jflory7/SFHSAPCompSci2015,jflory7/SFHSAPCompSci2015,jflory7/SFHSAPCompSci2015,jflory7/SFHSAPCompSci2015 | // ****************************************************************
// Rock2.java
//
// Play Rock, Paper, Scissors a certain number of times
//
// ****************************************************************
import java.util.Scanner;
public class Rock2 {
public static void main(String[] args) {
... | com/justinwflory/labs/chapter3/lab2/Rock2.java | Game of RPS played multiple in a row
| com/justinwflory/labs/chapter3/lab2/Rock2.java | Game of RPS played multiple in a row | <ide><path>om/justinwflory/labs/chapter3/lab2/Rock2.java
<add>// ****************************************************************
<add>// Rock2.java
<add>//
<add>// Play Rock, Paper, Scissors a certain number of times
<add>//
<add>// ****************************************************************
<add>im... | |
JavaScript | mit | 2ec9b16fadd167351fa99af56b1dca5f320ee0a4 | 0 | lwd-technology/appcache-webpack-plugin-plus | /* eslint-env mocha */
import assert from 'power-assert';
import {createHash} from 'crypto';
import {AppCache} from '../lib';
describe('AppCache', () => {
let cacheEntries, networkEntries, fallbackEnteries, settingsEntries;
beforeEach(() => {
cacheEntries = ['cache.test'];
networkEntries = ['network.test'... | test/tests.js | /* eslint-env mocha */
import assert from 'power-assert';
import {createHash} from 'crypto';
import {AppCache} from '../lib';
describe('AppCache', () => {
let cacheEntries, networkEntries, fallbackEnteries, settingsEntries;
beforeEach(() => {
cacheEntries = ['cache.test'];
networkEntries = ['network.test'... | Change imperative 'should' test descriptions to declarative
| test/tests.js | Change imperative 'should' test descriptions to declarative | <ide><path>est/tests.js
<ide>
<ide> describe('CACHE section', () => {
<ide>
<del> it('should include CACHE section items', () => {
<add> it('includes CACHE section items', () => {
<ide> const appCache = new AppCache(cacheEntries);
<ide> assert(appCache.getManifestBody() === 'CACHE:\ncach... | |
Java | apache-2.0 | 8bf2dd2e997a216f5cc25ec044c534f252e51539 | 0 | line/line-bot-sdk-java,c963951/briantest,yunagi111/yunagi,line/line-bot-sdk-java,line/line-bot-sdk-java,sangatu/linebot334,KevinYobeth/XIIpaokBOT,speedk0re/kitchenstank,piersimak/Werewolf,ryukakusan/Kitchensink,line/line-bot-sdk-java | /*
* Copyright 2016 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | line-bot-model/src/main/java/com/linecorp/bot/model/event/postback/PostbackContent.java | /*
* Copyright 2016 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | Change PostbackContent#params type to Map<String, String>
https://github.com/line/line-bot-sdk-java/issues/132
| line-bot-model/src/main/java/com/linecorp/bot/model/event/postback/PostbackContent.java | Change PostbackContent#params type to Map<String, String> | <ide><path>ine-bot-model/src/main/java/com/linecorp/bot/model/event/postback/PostbackContent.java
<ide>
<ide> package com.linecorp.bot.model.event.postback;
<ide>
<add>import java.util.Map;
<add>
<ide> import com.fasterxml.jackson.annotation.JsonCreator;
<ide> import com.fasterxml.jackson.annotation.JsonProperty;
<id... | |
Java | lgpl-2.1 | 1a4b52f39ca66cd8fb914d236fc70924ed40f2d8 | 0 | SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ch.unizh.ini.jaer.projects.davis.frames;
import ch.unizh.ini.jaer.chip.retina.DVSTweaks;
import eu.seebetter.ini.chips.DavisChip;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionAdapter;
impor... | src/ch/unizh/ini/jaer/projects/davis/frames/DavisComplementaryFilter.java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ch.unizh.ini.jaer.projects.davis.frames;
import ch.unizh.ini.jaer.chip.retina.DVSTweaks;
import eu.seebetter.ini.chips.DavisChip;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionAdapter;
impor... | take account of exposure time so that reconstruction is log(DN/ms) | src/ch/unizh/ini/jaer/projects/davis/frames/DavisComplementaryFilter.java | take account of exposure time so that reconstruction is log(DN/ms) | <ide><path>rc/ch/unizh/ini/jaer/projects/davis/frames/DavisComplementaryFilter.java
<ide> }
<ide> processDvsEvent(se);
<ide> }
<add>
<add> float exposureDuirationMs=1000*getExposureDurationS(), expHz=1/exposureDuirationMs;
<ide>
<ide> // Process the frame samples
... | |
Java | apache-2.0 | 96b37b7fface3e9f046a8af28aeb278b344d5445 | 0 | google/android-classyshark,tiwiz/android-classyshark,andreban/android-classyshark | /*
* Copyright 2015 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 i... | ClassySharkWS/src/com/google/classyshark/ui/panel/tree/FilesTree.java | /*
* Copyright 2015 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 i... | cosmetic fix
| ClassySharkWS/src/com/google/classyshark/ui/panel/tree/FilesTree.java | cosmetic fix | <ide><path>lassySharkWS/src/com/google/classyshark/ui/panel/tree/FilesTree.java
<ide> (String) defaultMutableTreeNode.getUserObject());
<ide> return;
<ide> }
<del>
<add>
<ide> if (!defaultMutableTreeNode.isLeaf()) return;
<i... | |
Java | apache-2.0 | 78805deed616b825294a27f0484871348e2c30bb | 0 | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | //snippet-sourcedescription:[PutItem.java demonstrates how to place an item into an Amazon DynamoDB table.]
//snippet-keyword:[SDK for Java 2.0]
//snippet-keyword:[Code Sample]
//snippet-service:[Amazon DynamoDB]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[2/5/2020]
//snippet-sourceauthor:[scmacdon-... | javav2/example_code/dynamodb/src/main/java/com/example/dynamodb/PutItem.java | //snippet-sourcedescription:[PutItem.java demonstrates how to place an item into an Amazon DynamoDB table.]
//snippet-keyword:[SDK for Java 2.0]
//snippet-keyword:[Code Sample]
//snippet-service:[Amazon DynamoDB]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[2/5/2020]
//snippet-sourceauthor:[scmacdon-... | Added missing call to putItemInTable in main | javav2/example_code/dynamodb/src/main/java/com/example/dynamodb/PutItem.java | Added missing call to putItemInTable in main | <ide><path>avav2/example_code/dynamodb/src/main/java/com/example/dynamodb/PutItem.java
<ide> // Create the DynamoDbClient object
<ide> Region region = Region.US_WEST_2;
<ide> DynamoDbClient ddb = DynamoDbClient.builder().region(region).build();
<add>
<add> putItemInTable(ddb, tabl... | |
Java | mit | da0f7560fe73b32c6c0f8a8224d263b8c2294ab4 | 0 | GeorgeMe/PhilHackerNews,kaffeel/PhilHackerNews,kmdupr33/PhilHackerNews,Ternence/PhilHackerNews,kkkkxu/PhilHackerNews | package com.philosophicalhacker.philhackernews.ui;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import a... | app/src/main/java/com/philosophicalhacker/philhackernews/ui/CommentsFragment.java | package com.philosophicalhacker.philhackernews.ui;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import a... | added refresh to comments list
| app/src/main/java/com/philosophicalhacker/philhackernews/ui/CommentsFragment.java | added refresh to comments list | <ide><path>pp/src/main/java/com/philosophicalhacker/philhackernews/ui/CommentsFragment.java
<ide> mDataSynchronizer.requestCommentsSync(item, 20);
<ide> mRecyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));
<ide> RefreshableListSubscriber subscriber = new CommentsRe... | |
Java | apache-2.0 | 5144cf3356599edd18741c50422bdea5afbdd5a5 | 0 | MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim | package verification;
import java.awt.AWTError;
import java.awt.BorderLayout;
import java.awt.Cursor;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.Wi... | gui/src/verification/Verification.java | package verification;
import java.awt.AWTError;
import java.awt.BorderLayout;
import java.awt.Cursor;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.Wi... | Added a clearing of the Zone log file to the splitZone code.
| gui/src/verification/Verification.java | Added a clearing of the Zone log file to the splitZone code. | <ide><path>ui/src/verification/Verification.java
<ide> }
<ide> }
<ide>
<add> Zone.reset_writeLogFile();
<add>
<ide> return;
<ide>
<ide> } | |
JavaScript | mit | e776bef720c5b3223fc8f9d15098f571e1a2b19e | 0 | rcos/venue,rcos/venue,rcos/venue,rcos/venue | 'use strict';
import crypto from 'crypto';
var mongoose = require('bluebird').promisifyAll(require('mongoose'));
import {Schema} from 'mongoose';
const authTypes = ['github', 'twitter', 'facebook', 'google'];
var UserSchema = new Schema({
name: String,
email: {
type: String,
lowercase: true
},
role: ... | server/api/user/user.model.js | 'use strict';
import crypto from 'crypto';
var mongoose = require('bluebird').promisifyAll(require('mongoose'));
import {Schema} from 'mongoose';
const authTypes = ['github', 'twitter', 'facebook', 'google'];
var UserSchema = new Schema({
name: String,
email: {
type: String,
lowercase: true
},
role: ... | fixed isStudent set
| server/api/user/user.model.js | fixed isStudent set | <ide><path>erver/api/user/user.model.js
<ide> .get(function() {
<ide> return !this.isInstructor;
<ide> })
<del> .set(function(){
<del> return this.isInstructor;
<add> .set(function(isStudent){
<add> this.isInstructor = !isStudent;
<ide> });
<ide>
<ide> // Non-sensitive info we'l... | |
Java | apache-2.0 | 306cbb6083509b86c1b1cee5f6f018c9c8d5cbab | 0 | Cardshifter/Cardshifter,June92/Cardshifter,SirPython/Cardshifter,Cardshifter/Cardshifter,Cardshifter/Cardshifter,June92/Cardshifter,SirPython/Cardshifter,SirPython/Cardshifter,June92/Cardshifter | package com.cardshifter.server.commands;
import java.util.ArrayList;
import java.util.List;
import java.util.Map.Entry;
import com.beust.jcommander.Parameter;
import com.beust.jcommander.Parameters;
import com.cardshifter.server.commands.HelpCommand.HelpParameters;
import com.cardshifter.server.model.CommandHandler;
... | cardshifter-server/src/main/java/com/cardshifter/server/commands/HelpCommand.java | package com.cardshifter.server.commands;
import java.util.ArrayList;
import java.util.List;
import java.util.Map.Entry;
import com.beust.jcommander.Parameter;
import com.cardshifter.server.commands.HelpCommand.HelpParameters;
import com.cardshifter.server.model.CommandHandler;
import com.cardshifter.server.model.Comm... | Added description of HelpCommand | cardshifter-server/src/main/java/com/cardshifter/server/commands/HelpCommand.java | Added description of HelpCommand | <ide><path>ardshifter-server/src/main/java/com/cardshifter/server/commands/HelpCommand.java
<ide> import java.util.Map.Entry;
<ide>
<ide> import com.beust.jcommander.Parameter;
<add>import com.beust.jcommander.Parameters;
<ide> import com.cardshifter.server.commands.HelpCommand.HelpParameters;
<ide> import com.cardshi... | |
Java | apache-2.0 | 9757fd162fbd0644856dd61e2210f6db8fb201f7 | 0 | yigeyidian/butterknife,ze-pequeno/butterknife,MichaelEvans/butterknife,MichaelEvans/butterknife,xfumihiro/butterknife,wuzheng4android/butterknife,treejames/butterknife,srayhunter/butterknife,Orbar/butterknife,JellyBeanIdea/butterknife,hgl888/butterknife,AmberWhiteSky/butterknife,Shedings/butterknife,jam0cam/butterknife... | package butterknife;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.Dialog;
import android.os.Build;
import android.util.Log;
import android.util.Property;
import android.view.View;
import butterknife.internal.ButterKnifeProcessor;
import java.lang.reflect.InvocationTargetExceptio... | butterknife/src/main/java/butterknife/ButterKnife.java | package butterknife;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.Dialog;
import android.os.Build;
import android.util.Log;
import android.util.Property;
import android.view.View;
import butterknife.internal.ButterKnifeProcessor;
import java.lang.reflect.InvocationTargetExceptio... | Add version of `ButterKnife.findById()` for `Dialog` objects which infers the target type.
| butterknife/src/main/java/butterknife/ButterKnife.java | Add version of `ButterKnife.findById()` for `Dialog` objects which infers the target type. | <ide><path>utterknife/src/main/java/butterknife/ButterKnife.java
<ide> public static <T extends View> T findById(Activity activity, int id) {
<ide> return (T) activity.findViewById(id);
<ide> }
<add>
<add> /** Simpler version of {@link Dialog#findViewById(int)} which infers the target type. */
<add> @Suppress... | |
Java | mit | 01c8b072e41ba5988dd6ae274ad2de7434ad8126 | 0 | Enthri/aprctsrpg | package util;
public class EntityPlayer extends Entity {
protected double addedArmor,addedDamage,armor,speed,speedX;
protected Item[] equppiedItem = new Item[6];
protected Item heldItem;
public EntityPlayer() {
super();
this.armor = 0.1;
this.speed = 0.1;
}
public EntityPlayer(double armor, double he... | util/EntityPlayer.java | package util;
public class EntityPlayer extends Entity {
<<<<<<< HEAD
protected double addedArmor,addedDamage,armor,speed,speedX;
public EntityPlayer () {
super();
this.armor = 0.1;
this.speed = 0.1;
}
public EntityPlayer(double armor, double health, double speed, double damage){
super(health, damage... | efficiency edits
| util/EntityPlayer.java | efficiency edits | <ide><path>til/EntityPlayer.java
<ide> package util;
<ide>
<ide> public class EntityPlayer extends Entity {
<del><<<<<<< HEAD
<ide> protected double addedArmor,addedDamage,armor,speed,speedX;
<add> protected Item[] equppiedItem = new Item[6];
<add> protected Item heldItem;
<ide>
<del> public EntityPlayer () {
<add>... | |
Java | mit | 78d99aa204e6fa09d0614a62067f75d2cc79adf2 | 0 | fredericjoanis/crc-scoreboard,fredericjoanis/actimania,fredericjoanis/actimania,fredericjoanis/crc-scoreboard,robo-crc/scoreboard,robo-crc/scoreboard,fredericjoanis/crc-scoreboard,robo-crc/scoreboard,robo-crc/scoreboard,fredericjoanis/actimania | package com.backend.controllers;
import java.io.IOException;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.bs... | src/server/src/main/java/com/backend/controllers/CompetitionUpdate.java | package com.backend.controllers;
import java.io.IOException;
import java.util.Enumeration;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.... | Competition ranking is being updated properly in the database when moving it in the UI.
| src/server/src/main/java/com/backend/controllers/CompetitionUpdate.java | Competition ranking is being updated properly in the database when moving it in the UI. | <ide><path>rc/server/src/main/java/com/backend/controllers/CompetitionUpdate.java
<ide> package com.backend.controllers;
<ide>
<ide> import java.io.IOException;
<del>import java.util.Enumeration;
<add>import java.util.ArrayList;
<ide>
<ide> import javax.servlet.ServletException;
<ide> import javax.servlet.annotation.... | |
Java | mit | 8d18c0f22e1b7671266607cb26dc412ee6ea0da6 | 0 | jipspel/tours,jipspel/tours | package tours.compiler;
import java.io.*;
public class CompilerTools {
public static String toByteCode(String text) {
Compiler compiler = new Compiler("Tours");
return compiler.process(text).render();
}
public static void toByteCode(String text, String destination) throws IOException {
... | src/main/java/tours/compiler/CompilerTools.java | package tours.compiler;
import java.io.*;
public class CompilerTools {
public static String toByteCode(String text) {
Compiler compiler = new Compiler("Tours");
return compiler.process(text).render();
}
public static void toByteCode(String text, String destination) throws IOException {
... | Add ErrorStream to process' output
| src/main/java/tours/compiler/CompilerTools.java | Add ErrorStream to process' output | <ide><path>rc/main/java/tours/compiler/CompilerTools.java
<ide> processBuilder.command("java", "-classpath", workingDirectory, klass);
<ide> Process process = processBuilder.start();
<ide> process.waitFor();
<del> return readInputStream(process.getInputStream());
<add> return readI... | |
JavaScript | mit | 2456b71bc38178353f1093099ae2dfc8bb86af7c | 0 | shaoner/ziti | 'use strict';
var _ = require('lodash');
var mysql = require('mysql');
var Promise = require('bluebird');
var QueryBuilder = require('./query-builder');
var ForeignKey = require('./type/foreign-key');
/**
* @external Promise
* @see {@link https://github.com/petkaantonov/bluebird}
*/
/**
* @external PoolConnectio... | lib/model-instance.js | 'use strict';
var _ = require('lodash');
var mysql = require('mysql');
var Promise = require('bluebird');
var QueryBuilder = require('./query-builder');
var ForeignKey = require('./type/foreign-key');
/**
* @external Promise
* @see {@link https://github.com/petkaantonov/bluebird}
*/
/**
* @external PoolConnectio... | Fix where condition in ModelInstance
| lib/model-instance.js | Fix where condition in ModelInstance | <ide><path>ib/model-instance.js
<ide> var model = this.model;
<ide> var aiColumn = model._aiColumn;
<ide> if (aiColumn && aiColumn in this._realValues) {
<del> this._where = [ '??.?? = ?', this._name, aiColumn, this._realValues[aiColumn] ];
<del> } else if (model._pk.length > 0) {
<add> thi... | |
Java | apache-2.0 | c9e473387057c4760228264875cd061b599db61e | 0 | dubex/concourse,dubex/concourse,remiemalik/concourse,vrnithinkumar/concourse,aabdin01/concourse,Qunzer/concourse,bigtreeljc/concourse,JerJohn15/concourse,remiemalik/concourse,prateek135/concourse,Qunzer/concourse,mAzurkovic/concourse,prateek135/concourse,mAzurkovic/concourse,bigtreeljc/concourse,JerJohn15/concourse,mAz... | /*
* The MIT License (MIT)
*
* Copyright (c) 2014 Jeff Nelson, Cinchapi Software Collective
*
* 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 l... | concourse-server/src/test/java/org/cinchapi/concourse/server/concurrent/LockServiceTest.java | /*
* The MIT License (MIT)
*
* Copyright (c) 2014 Jeff Nelson, Cinchapi Software Collective
*
* 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 l... | fix flaky test
| concourse-server/src/test/java/org/cinchapi/concourse/server/concurrent/LockServiceTest.java | fix flaky test | <ide><path>oncourse-server/src/test/java/org/cinchapi/concourse/server/concurrent/LockServiceTest.java
<ide> import org.cinchapi.concourse.ConcourseBaseTest;
<ide> import org.cinchapi.concourse.util.TestData;
<ide> import org.junit.Assert;
<add>import org.junit.Ignore;
<ide> import org.junit.Test;
<ide>
<ide> /**
<ide... | |
JavaScript | mit | 2fdb7102cf7a0cd528c0c4cb76f39b005778f87b | 0 | Philippe64/nodePastoraleSanteJS,Philippe64/nodePastoraleSanteJS,Philippe64/nodePastoraleSanteJS,Philippe64/nodePastoraleSanteJS | "use strict";
/**
* route vers le module concerné en fonction de l'url
* recherche appliName dans le hostName et l'url
* on peut utiliser aplliName.hostName:port/ ou hostname:port/appli/ ou hostname:port/
* cas des appels sur le même serveur avec des nom d'applis different (dev, test, prod) nsi.cia-it.net:7777/ ... | lib/router.js | "use strict";
/**
* route vers le module concerné en fonction de l'url
* recherche appliName dans le hostName et l'url
* on peut utiliser aplliName.hostName:port/ ou hostname:port/appli/ ou hostname:port/
* cas des appels sur le même serveur avec des nom d'applis different (dev, test, prod) nsi.cia-it.net:7777/ ... | code cleaning
| lib/router.js | code cleaning | <ide><path>ib/router.js
<ide> var pathName = "";
<ide> // check if 1st path of url is nomApplication
<ide> // if yes , remove nomApplication du pathName
<add> // on ne transporte pas la querystring
<ide> if (appliName ==""){
<ide> var urls = uriParsed.pathname.substr(1).split("\/");
<ide> ... | |
Java | lgpl-2.1 | 4e8e47801bf9a52bb84e37bc32cbb6b0dce6f37b | 0 | herculeshssj/unirio-ppgi-goalservice | package org.yawlfoundation.yawl.goalService;
import java.io.File;
import java.io.IOException;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.deri.wsmx.unittest.util.WSMXExecution;
impo... | GoalService/src/org/yawlfoundation/yawl/goalService/GoalService.java | package org.yawlfoundation.yawl.goalService;
import java.io.File;
import java.io.IOException;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.deri.wsmx.unittest.util.WSMXExecution;
impo... | Delete unnecessary comments. | GoalService/src/org/yawlfoundation/yawl/goalService/GoalService.java | Delete unnecessary comments. | <ide><path>oalService/src/org/yawlfoundation/yawl/goalService/GoalService.java
<ide>
<ide> if (wsmxEnvironment == null) {
<ide> System.out.println("Ambiente WSMX no inicializado. Inicializando...\n");
<del> //Thread.sleep(1000); // No lugar dessa thread, colocar a chamada ao ambiente WSMX
<ide> wsmxEn... | |
Java | mit | 03009082a8b61cbd823bd1088fd5b4cd8ddb864a | 0 | jpsember/RBuddy,jpsember/RBuddy,jpsember/RBuddy | package js.rbuddy;
public class TimCost {
// what is the keyboard command to do the auto indent?
public TimCost(int amount) {
value = amount;
}
// we really should be dealing with the fact that
// "123.45" in is one hundred twenty three dollars and forty five cents
// right now i am pretend... | RBuddy/src/js/rbuddy/TimCost.java | package js.rbuddy;
import static js.basic.Tools.die;
import static js.basic.Tools.stackTrace;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class TimCost {
// what is the keyboard command to do the auto indent?
public TimCost(int amount) {
value = amount;
}
// we really... | got rid of warnings
| RBuddy/src/js/rbuddy/TimCost.java | got rid of warnings | <ide><path>Buddy/src/js/rbuddy/TimCost.java
<ide> package js.rbuddy;
<ide>
<del>import static js.basic.Tools.die;
<del>import static js.basic.Tools.stackTrace;
<del>
<del>import java.util.regex.Matcher;
<del>import java.util.regex.Pattern;
<ide>
<ide> public class TimCost {
<ide> | |
Java | mit | af7628656c71c6bdc0e078288945901b167b2a1b | 0 | jenkinsci/git-plugin,MarkEWaite/git-plugin,martinda/git-plugin,MarkEWaite/git-plugin,MarkEWaite/git-plugin,martinda/git-plugin,MarkEWaite/git-plugin,martinda/git-plugin,jenkinsci/git-plugin,jenkinsci/git-plugin,jenkinsci/git-plugin | package jenkins.plugins.git;
import hudson.model.TaskListener;
import hudson.util.StreamTaskListener;
import jenkins.plugins.git.traits.BranchDiscoveryTrait;
import jenkins.scm.api.trait.SCMSourceTrait;
import org.junit.Rule;
import org.junit.Test;
import org.jvnet.hudson.test.JenkinsRule;
import org.jvnet.hudson.tes... | src/test/java/jenkins/plugins/git/GitRepoSizeEstimatorTest.java | package jenkins.plugins.git;
import hudson.model.TaskListener;
import hudson.util.StreamTaskListener;
import jenkins.plugins.git.traits.BranchDiscoveryTrait;
import jenkins.scm.api.trait.SCMSourceTrait;
import org.junit.Rule;
import org.junit.Test;
import org.jvnet.hudson.test.JenkinsRule;
import org.jvnet.hudson.tes... | Preserve older tests removed by mistake
| src/test/java/jenkins/plugins/git/GitRepoSizeEstimatorTest.java | Preserve older tests removed by mistake | <ide><path>rc/test/java/jenkins/plugins/git/GitRepoSizeEstimatorTest.java
<ide> In the scenario of not having a cache or an implemented extension point, the estimation class should recommend
<ide> NONE which means keep the impl as is.
<ide> */
<add> @Test
<add> public void testSizeEstimationWithNoGit... | |
Java | apache-2.0 | 6693982b63c341ddea5464050dccbdb990ec5db9 | 0 | themodernway/themodernway-server-core,themodernway/themodernway-server-core | /*
* Copyright (c) 2018, The Modern Way. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | src/main/groovy/com/themodernway/server/core/json/JSONPath.java | /*
* Copyright (c) 2018, The Modern Way. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | 2.0.11-RELEASE | src/main/groovy/com/themodernway/server/core/json/JSONPath.java | 2.0.11-RELEASE | <ide><path>rc/main/groovy/com/themodernway/server/core/json/JSONPath.java
<ide>
<ide> private static final AtomicBoolean SUBT = new AtomicBoolean(false);
<ide>
<add> private JSONPathStatics()
<add> {
<add> }
<add>
<ide> public static final boolean usehash(final boolean flag)
<ide>... | |
Java | apache-2.0 | 217ac5bac53dfe29adb443d3c105566fe238e87d | 0 | gingerwizard/elasticsearch,scorpionvicky/elasticsearch,uschindler/elasticsearch,gingerwizard/elasticsearch,gingerwizard/elasticsearch,GlenRSmith/elasticsearch,gfyoung/elasticsearch,gingerwizard/elasticsearch,strapdata/elassandra,uschindler/elasticsearch,robin13/elasticsearch,gfyoung/elasticsearch,robin13/elasticsearch,... | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.integration.ldap;
import org.apache.lucene.util.Luc... | plugin/src/test/java/org/elasticsearch/integration/ldap/GroupMappingTests.java | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.integration.ldap;
import org.elasticsearch.test.jun... | Tests: Further muting of OpenLDAP dependent tests
Relates elastic/x-pack-elasticsearch#182
Original commit: elastic/x-pack-elasticsearch@10826c4c20cff7669df88128bd5b9d6debcb30a9
| plugin/src/test/java/org/elasticsearch/integration/ldap/GroupMappingTests.java | Tests: Further muting of OpenLDAP dependent tests | <ide><path>lugin/src/test/java/org/elasticsearch/integration/ldap/GroupMappingTests.java
<ide> */
<ide> package org.elasticsearch.integration.ldap;
<ide>
<add>import org.apache.lucene.util.LuceneTestCase;
<add>import org.apache.lucene.util.LuceneTestCase.AwaitsFix;
<ide> import org.elasticsearch.test.junit.annotation... | |
Java | lgpl-2.1 | 1f95abf0a4adddb3f1332ee9a42698c7b423604d | 0 | drhee/toxoMine,elsiklab/intermine,zebrafishmine/intermine,tomck/intermine,drhee/toxoMine,JoeCarlson/intermine,kimrutherford/intermine,justincc/intermine,zebrafishmine/intermine,zebrafishmine/intermine,joshkh/intermine,Arabidopsis-Information-Portal/intermine,tomck/intermine,tomck/intermine,zebrafishmine/intermine,joshk... | package org.intermine.web;
/*
* Copyright (C) 2002-2004 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.
*... | intermine/src/java/org/intermine/web/TemplateHelper.java | package org.intermine.web;
/*
* Copyright (C) 2002-2004 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.
*... | added xmlToTemplateMap
| intermine/src/java/org/intermine/web/TemplateHelper.java | added xmlToTemplateMap | <ide><path>ntermine/src/java/org/intermine/web/TemplateHelper.java
<ide> *
<ide> */
<ide>
<add>import java.io.Reader;
<add>import java.io.StringReader;
<ide> import java.io.StringWriter;
<ide> import java.util.Iterator;
<ide> import java.util.ListIterator;
<ide> String key = "" + (j + 1);
<ide> ... | |
Java | apache-2.0 | 62efef6d4580e088dc4757ad8dda3960d945a7c4 | 0 | trombka/blc-tmp,caosg/BroadleafCommerce,TouK/BroadleafCommerce,trombka/blc-tmp,caosg/BroadleafCommerce,TouK/BroadleafCommerce,TouK/BroadleafCommerce,caosg/BroadleafCommerce,trombka/blc-tmp | /*
* #%L
* BroadleafCommerce Common Libraries
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* 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... | common/src/main/java/org/broadleafcommerce/common/sandbox/dao/SandBoxDaoImpl.java | /*
* #%L
* BroadleafCommerce Common Libraries
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* 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... | BroadleafCommerce/QA#534 - Fixed strange bug when retrieve sandboxes
(cherry picked from commit d96083908079ce174ad63f4aca1edec85db458e7)
| common/src/main/java/org/broadleafcommerce/common/sandbox/dao/SandBoxDaoImpl.java | BroadleafCommerce/QA#534 - Fixed strange bug when retrieve sandboxes | <ide><path>ommon/src/main/java/org/broadleafcommerce/common/sandbox/dao/SandBoxDaoImpl.java
<ide> Root<SandBoxManagementImpl> sandbox = criteria.from(SandBoxManagementImpl.class);
<ide> criteria.select(sandbox.get("sandBox").as(SandBox.class));
<ide> criteria.where(
<del> builder.... | |
Java | agpl-3.0 | 4d61e6047bffde5416226d7d13fe760d742672d4 | 0 | ChalkPE/CLSBot | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Chalk
*
* 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... | src/main/java/pe/chalk/clsbot/CLSBot.java | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Chalk
*
* 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... | Added command checking and extra messages
| src/main/java/pe/chalk/clsbot/CLSBot.java | Added command checking and extra messages | <ide><path>rc/main/java/pe/chalk/clsbot/CLSBot.java
<ide> import java.nio.charset.StandardCharsets;
<ide> import java.nio.file.Files;
<ide> import java.nio.file.Paths;
<add>import java.util.Calendar;
<ide> import java.util.Collections;
<add>import java.util.Date;
<ide> import java.util.HashMap;
<ide> import java.util.M... | |
Java | mit | 1753fcc2f766c4162364af24a7dd64739352332d | 0 | joansmith/cucumber-jvm,demos74dx/cucumber-jvm,jc-hdez83/cuke4duke,flaviuratiu/cucumber-jvm,chrishowejones/cucumber-jvm,Draeval/cucumber-jvm,ArishArbab/cucumber-jvm,sventorben/cucumber-jvm,bartkeizer/cucumber-jvm,andyb-ge/cucumber-jvm,PhilipMay/cucumber-jvm,demos74dx/cucumber-jvm,danielwegener/cucumber-jvm,HendrikSP/cuc... | package cuke4duke.mojo;
import cuke4duke.ant.GemTask;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.DependencyResolutionRequiredException;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecut... | cuke4duke-maven-plugin/src/main/java/cuke4duke/mojo/AbstractJRubyMojo.java | package cuke4duke.mojo;
import cuke4duke.ant.GemTask;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.DependencyResolutionRequiredException;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecut... | removed required flag for gemDirectory
| cuke4duke-maven-plugin/src/main/java/cuke4duke/mojo/AbstractJRubyMojo.java | removed required flag for gemDirectory | <ide><path>uke4duke-maven-plugin/src/main/java/cuke4duke/mojo/AbstractJRubyMojo.java
<ide>
<ide> /**
<ide> * @parameter expression="${cucumber.gemDirectory}"
<del> * @required
<ide> */
<ide> protected File gemDirectory;
<ide> | |
Java | agpl-3.0 | 2bb89fe95009e85bfa500d6ac9450217fd288227 | 0 | LibrePlan/libreplan,poum/libreplan,PaulLuchyn/libreplan,PaulLuchyn/libreplan,skylow95/libreplan,LibrePlan/libreplan,dgray16/libreplan,dgray16/libreplan,LibrePlan/libreplan,skylow95/libreplan,poum/libreplan,skylow95/libreplan,Marine-22/libre,Marine-22/libre,PaulLuchyn/libreplan,LibrePlan/libreplan,poum/libreplan,PaulLuc... | package org.zkoss.ganttz;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.zkoss.ganttz.util.TaskBean;
... | navalplanner-gantt-zk/src/main/java/org/zkoss/ganttz/TaskDetail.java | package org.zkoss.ganttz;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.reg... | ItEr13S14ArquitecturaClientesItEr11S12: Removing no longer used code for specifying tasks durations.
| navalplanner-gantt-zk/src/main/java/org/zkoss/ganttz/TaskDetail.java | ItEr13S14ArquitecturaClientesItEr11S12: Removing no longer used code for specifying tasks durations. | <ide><path>avalplanner-gantt-zk/src/main/java/org/zkoss/ganttz/TaskDetail.java
<ide> import java.beans.PropertyChangeListener;
<ide> import java.text.DateFormat;
<ide> import java.text.SimpleDateFormat;
<del>import java.util.Arrays;
<ide> import java.util.Date;
<del>import java.util.HashSet;
<del>import java.util.Set;
... | |
Java | apache-2.0 | 661e524c3604b82bbf91b59137a3820d0359ac06 | 0 | r00t-user/SeriesGuide,hoanganhx86/SeriesGuide,UweTrottmann/SeriesGuide,0359xiaodong/SeriesGuide,epiphany27/SeriesGuide,artemnikitin/SeriesGuide,UweTrottmann/SeriesGuide | /*
* Copyright (C) 2013 Andreas Stuetz <andreas.stuetz@gmail.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 requi... | libraries/pagerslidingtabstrip/src/com/astuetz/viewpager/extensions/PagerSlidingTabStrip.java | /*
* Copyright (C) 2013 Andreas Stuetz <andreas.stuetz@gmail.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 requi... | Add tab click listener support for PagerSlidingTabStrip.
| libraries/pagerslidingtabstrip/src/com/astuetz/viewpager/extensions/PagerSlidingTabStrip.java | Add tab click listener support for PagerSlidingTabStrip. | <ide><path>ibraries/pagerslidingtabstrip/src/com/astuetz/viewpager/extensions/PagerSlidingTabStrip.java
<ide> private final PageListener pageListener = new PageListener();
<ide> public OnPageChangeListener delegatePageListener;
<ide>
<add> private OnTabClickListener delegateOnTabClickListener;
<add>
<ide> private L... | |
Java | apache-2.0 | 799689278c9c74234f80372dda9d771a60e9744c | 0 | bsmith83/rice-1,gathreya/rice-kc,shahess/rice,cniesen/rice,UniversityOfHawaiiORS/rice,bhutchinson/rice,ewestfal/rice-svn2git-test,ewestfal/rice-svn2git-test,kuali/kc-rice,geothomasp/kualico-rice-kc,sonamuthu/rice-1,rojlarge/rice-kc,ewestfal/rice,UniversityOfHawaiiORS/rice,geothomasp/kualico-rice-kc,sonamuthu/rice-1,gat... | /**
* Copyright 2005-2012 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless requ... | kns/src/main/java/org/kuali/rice/kns/datadictionary/TransactionalDocumentEntry.java | /**
* Copyright 2005-2012 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless requ... | Updated TransactionalDocumentEntry to use the appropriate document authorizer and presentation controller base classes by default.
Fixes KULRICE-6989 (Fixes https://jira.kuali.org/browse/KULRICE-6989)
| kns/src/main/java/org/kuali/rice/kns/datadictionary/TransactionalDocumentEntry.java | Updated TransactionalDocumentEntry to use the appropriate document authorizer and presentation controller base classes by default. | <ide><path>ns/src/main/java/org/kuali/rice/kns/datadictionary/TransactionalDocumentEntry.java
<ide> package org.kuali.rice.kns.datadictionary;
<ide>
<ide> import org.kuali.rice.kns.document.authorization.DocumentAuthorizer;
<del>import org.kuali.rice.kns.document.authorization.DocumentAuthorizerBase;
<ide> import org.... | |
Java | apache-2.0 | b7690a7dec0ec0e3ed19047ff644b628489cf60c | 0 | vatbub/hangman-solver,vatbub/hangman-solver | package view;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.ResourceBundle;
import algorithm.*;
import common.Common;
import common.Config;
import common.UpdateChecker;
import common.UpdateInfo;
import common.Version;
import javafx.animation.RotateTransition;
i... | src/main/java/view/MainWindow.java | package view;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.ResourceBundle;
import algorithm.*;
import common.Common;
import common.Config;
import common.UpdateChecker;
import common.UpdateInfo;
import common.Version;
import javafx.animation.RotateTransition;
i... | Update checks are now disabled if launched from the launcher | src/main/java/view/MainWindow.java | Update checks are now disabled if launched from the launcher | <ide><path>rc/main/java/view/MainWindow.java
<ide> public class MainWindow extends Application implements Initializable {
<ide>
<ide> private static double curVersionEasterEggTurnDegrees = 0;
<add> private static boolean disableUpdateChecks = false;
<ide>
<ide> public static void main(String[] args) {
<ide> for (... | |
JavaScript | bsd-3-clause | f4d1c4586078daab65b648fcddb0de53e4da8c44 | 0 | blinkmobile/bic-v2,blinkmobile/bic-v2 | var MyAnswers = MyAnswers || {},
siteVars = siteVars || {},
deviceVars = deviceVars || {},
locationTracker, latitude, longitude, webappCache,
hasCategories = false, hasMasterCategories = false, hasVisualCategories = false, hasInteractions = false, answerSpaceOneKeyword = false,
currentInteraction, currentCategory,... | public_html/_R_/common/3/main.js | var MyAnswers = MyAnswers || {},
siteVars = siteVars || {},
deviceVars = deviceVars || {},
locationTracker, latitude, longitude, webappCache,
hasCategories = false, hasMasterCategories = false, hasVisualCategories = false, hasInteractions = false, answerSpaceOneKeyword = false,
currentInteraction, currentCategory,... | deviceConfig:
- leave "status" as a DB field for performance reasons
- narrow definition of "status" in XML definition
- new field "display" to cover overridable parts of old "status"
- adjust migration script and config library to deal with new "status"
- adjust migration script to alter tables regarding new "status"
... | public_html/_R_/common/3/main.js | deviceConfig: - leave "status" as a DB field for performance reasons - narrow definition of "status" in XML definition - new field "display" to cover overridable parts of old "status" - adjust migration script and config library to deal with new "status" - adjust migration script to alter tables regarding new "status" | <ide><path>ublic_html/_R_/common/3/main.js
<ide> locationTracker, latitude, longitude, webappCache,
<ide> hasCategories = false, hasMasterCategories = false, hasVisualCategories = false, hasInteractions = false, answerSpaceOneKeyword = false,
<ide> currentInteraction, currentCategory, currentMasterCategory,
<del> si... | |
Java | apache-2.0 | a2c8d7fbdea351eef34b165b8cd2a86f397aad91 | 0 | signed/intellij-community,asedunov/intellij-community,xfournet/intellij-community,fitermay/intellij-community,apixandru/intellij-community,hurricup/intellij-community,suncycheng/intellij-community,ibinti/intellij-community,ibinti/intellij-community,asedunov/intellij-community,da1z/intellij-community,youdonghai/intellij... | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/testFramework/src/com/intellij/testFramework/LightPlatformTestCase.java | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | fix InjectedLanguageManagerImpl.pushInjectors assertion due leaked thread
| platform/testFramework/src/com/intellij/testFramework/LightPlatformTestCase.java | fix InjectedLanguageManagerImpl.pushInjectors assertion due leaked thread | <ide><path>latform/testFramework/src/com/intellij/testFramework/LightPlatformTestCase.java
<ide> @Override
<ide> protected void setUp() throws Exception {
<ide> EdtTestUtil.runInEdtAndWait((ThrowableRunnable<Throwable>)() -> {
<del> LightPlatformTestCase.super.setUp();
<add> super.setUp();
<ide> ... | |
Java | apache-2.0 | 98dc802a79c326012af59b72fa78916a6d4f603b | 0 | TouK/BroadleafCommerce,TouK/BroadleafCommerce,caosg/BroadleafCommerce,trombka/blc-tmp,TouK/BroadleafCommerce,trombka/blc-tmp,trombka/blc-tmp,caosg/BroadleafCommerce,caosg/BroadleafCommerce | /*
* #%L
* BroadleafCommerce Profile
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* 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... | core/broadleaf-profile/src/main/java/org/broadleafcommerce/profile/core/domain/CustomerPaymentImpl.java | /*
* #%L
* BroadleafCommerce Profile
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* 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... | adding indexes to date fields involved in subscription DAO, for faster search queries
| core/broadleaf-profile/src/main/java/org/broadleafcommerce/profile/core/domain/CustomerPaymentImpl.java | adding indexes to date fields involved in subscription DAO, for faster search queries | <ide><path>ore/broadleaf-profile/src/main/java/org/broadleafcommerce/profile/core/domain/CustomerPaymentImpl.java
<ide> import org.hibernate.annotations.CacheConcurrencyStrategy;
<ide> import org.hibernate.annotations.Cascade;
<ide> import org.hibernate.annotations.GenericGenerator;
<add>import org.hibernate.annotation... | |
Java | mit | e4600d9cb6f589325df4edaf0c3ee5a0b8d62a30 | 0 | Robert-Meeks/OrbitSimulator | package orbitSimulator;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Shape;
import javax.swing.JComponent;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.border.CompoundBorder;
import javax.swing.border.EmptyBorder;
import javax.swing.border.... | src/orbitSimulator/OutputPanel.java | package orbitSimulator;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Shape;
import javax.swing.JComponent;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.border.CompoundBorder;
import javax.swing.border.EmptyBorder;
import javax.swing.border.... | final changes to remove RAAN and include true anomaly
| src/orbitSimulator/OutputPanel.java | final changes to remove RAAN and include true anomaly | <ide><path>rc/orbitSimulator/OutputPanel.java
<ide> private double r;
<ide> private double v;
<ide> // Elliptical
<del> private Double ap;
<add> private Double ap; /* Argument of Periapsis */
<ide> private Double ra;
<ide> private Double rp;
<ide> private Double a;
<ide> private Double e;
<del>... | |
Java | lgpl-2.1 | 2ea898bb454114e34a231a4178fec28f2f2e026a | 0 | ekiwi/jade-mirror,ekiwi/jade-mirror,ekiwi/jade-mirror,ekiwi/jade-mirror | /*****************************************************************
JADE - Java Agent DEvelopment Framework is a framework to develop
multi-agent systems in compliance with the FIPA specifications.
Copyright (C) 2000 CSELT S.p.A.
GNU Lesser General Public License
This library is free software; you can redistribute i... | src/jade/core/AgentContainerImpl.java | /*****************************************************************
JADE - Java Agent DEvelopment Framework is a framework to develop
multi-agent systems in compliance with the FIPA specifications.
Copyright (C) 2000 CSELT S.p.A.
GNU Lesser General Public License
This library is free software; you can redistribute i... | Fixed bug when starting an agent with a name already in use.
| src/jade/core/AgentContainerImpl.java | Fixed bug when starting an agent with a name already in use. | <ide><path>rc/jade/core/AgentContainerImpl.java
<ide> // Subscribe as a listener for the new agent
<ide> instance.setToolkit(this);
<ide>
<del> // Insert new agent into local agents table
<del> localAgents.put(agentID, instance);
<del>
<ide> if(startIt) {
<ide> try {
<ide> RemoteProxyRMI rp = ... | |
Java | apache-2.0 | 6e6ec8d763efd0f32c37c81529046a8118cbaf20 | 0 | helyho/Voovan,helyho/Voovan,helyho/Voovan | package org.voovan.network;
import org.voovan.network.handler.SynchronousHandler;
import org.voovan.network.messagesplitter.TransferSplitter;
import org.voovan.tools.TObject;
import org.voovan.tools.TPerformance;
import org.voovan.tools.collection.Chain;
import org.voovan.tools.buffer.TByteBuffer;
import org.voovan.to... | Network/src/main/java/org/voovan/network/SocketContext.java | package org.voovan.network;
import org.voovan.network.handler.SynchronousHandler;
import org.voovan.network.messagesplitter.TransferSplitter;
import org.voovan.tools.TObject;
import org.voovan.tools.TPerformance;
import org.voovan.tools.collection.Chain;
import org.voovan.tools.buffer.TByteBuffer;
import org.voovan.to... | fix: 修复在低核心数的机器上 IO_THREAD_SIZE 不足的问题
| Network/src/main/java/org/voovan/network/SocketContext.java | fix: 修复在低核心数的机器上 IO_THREAD_SIZE 不足的问题 | <ide><path>etwork/src/main/java/org/voovan/network/SocketContext.java
<ide> });
<ide>
<ide> public static int IO_THREAD_SIZE = Integer.valueOf(TObject.nullDefault(System.getProperty("IoThreadSize"), TPerformance.getProcessorCount()+""));
<add> static {
<add> IO_THREAD_SIZE = IO_THREAD_SIZE < 8 ? 8 : IO_THREAD_SIZE;... | |
JavaScript | bsd-3-clause | a6e7ba0f3ff7aa32ad6eba4625f7e557199006e5 | 0 | benschulz/ko-indexed-repeat | 'use strict';
define(['knockout', './string-hashtable'], function (ko, StringHashtable) {
var requestAnimationFrame = window.requestAnimationFrame.bind(window),
cancelAnimationFrame = window.cancelAnimationFrame.bind(window);
/** @constructor */
function ElementWithBindingContext(element, binding... | src/synchronizer.js | 'use strict';
define(['knockout', './string-hashtable'], function (ko, StringHashtable) {
var requestAnimationFrame = window.requestAnimationFrame,
cancelAnimationFrame = window.cancelAnimationFrame;
/** @constructor */
function ElementWithBindingContext(element, bindingContext) {
var sel... | Minor bugfix: `bind`ing `window` to `requestAnimationFrame`/`cancelAnimationFrame`.
| src/synchronizer.js | Minor bugfix: `bind`ing `window` to `requestAnimationFrame`/`cancelAnimationFrame`. | <ide><path>rc/synchronizer.js
<ide>
<ide> define(['knockout', './string-hashtable'], function (ko, StringHashtable) {
<ide>
<del> var requestAnimationFrame = window.requestAnimationFrame,
<del> cancelAnimationFrame = window.cancelAnimationFrame;
<add> var requestAnimationFrame = window.requestAnimationFr... | |
Java | bsd-3-clause | c866f493939fed5f95fb03fcf25e32296d9428b1 | 0 | NCIP/catissue-idp-authentication-manager,NCIP/catissue-idp-authentication-manager | package edu.wustl.processor;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import edu.wustl.auth.exception.AuthenticationException;
import edu.wustl.authmanager.IDPAuthManager;
import edu.wustl.authmanager.factory.AuthManagerFactory;
import edu.wustl.common.exception.Applica... | software/IDPAuthenticaionManager/src/java/edu/wustl/processor/LoginProcessor.java | package edu.wustl.processor;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import edu.wustl.auth.exception.AuthenticationException;
import edu.wustl.authmanager.IDPAuthManager;
import edu.wustl.authmanager.factory.AuthManagerFactory;
import edu.wustl.common.exception.Applica... | signature changed for the method getUserDetails(String username) in LoginProcessor class.
SVN-Revision: 80
| software/IDPAuthenticaionManager/src/java/edu/wustl/processor/LoginProcessor.java | signature changed for the method getUserDetails(String username) in LoginProcessor class. | <ide><path>oftware/IDPAuthenticaionManager/src/java/edu/wustl/processor/LoginProcessor.java
<ide> * @return the user details
<ide> * @throws AuthenticationException
<ide> */
<del> private static UserDetails getUserDetails(final String loginName) throws AuthenticationException
<add> public static Us... | |
Java | apache-2.0 | 290d9e8dd14d7561b7411b0d7beb93611a86785f | 0 | Thog/Procyon | package com.strobel.reflection.emit;
import com.strobel.core.VerifyArgument;
import com.strobel.reflection.ConstructorInfo;
import com.strobel.reflection.FieldInfo;
import com.strobel.reflection.MethodBuilder;
import com.strobel.reflection.MethodInfo;
import com.strobel.reflection.PrimitiveTypes;
import com.st... | src/com/strobel/reflection/emit/BytecodeGenerator.java | package com.strobel.reflection.emit;
import com.strobel.core.VerifyArgument;
import com.strobel.reflection.ConstructorInfo;
import com.strobel.reflection.FieldInfo;
import com.strobel.reflection.MethodBuilder;
import com.strobel.reflection.MethodInfo;
import com.strobel.reflection.PrimitiveTypes;
import com.st... | Added an emitCall() overload which automatically determines the correct opcode. Added emitLoadElement() and emitStoreElement().
| src/com/strobel/reflection/emit/BytecodeGenerator.java | Added an emitCall() overload which automatically determines the correct opcode. Added emitLoadElement() and emitStoreElement(). | <ide><path>rc/com/strobel/reflection/emit/BytecodeGenerator.java
<ide>
<ide> updateStackSize(opCode, stackChange);
<ide> }
<add>
<add> public void emitCall(final MethodInfo method) {
<add> VerifyArgument.notNull(method, "method");
<add>
<add> final OpCode opCode;
<add>
<add> ... | |
Java | apache-2.0 | 574edc0aefb60628a971e5353bbc51f530557182 | 0 | ontop/ontop,ontop/ontop,ontop/ontop,ontop/ontop,ontop/ontop | package it.unibz.inf.ontop.spec.mapping.pp.impl;
import com.google.common.base.Joiner;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.inject.Inject;
import it.unibz.inf.ontop.dbschema.*;
import it.unibz.inf... | mapping/sql/core/src/main/java/it/unibz/inf/ontop/spec/mapping/pp/impl/LegacySQLPPMappingConverter.java | package it.unibz.inf.ontop.spec.mapping.pp.impl;
import com.google.common.base.Joiner;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.google.inject.Inject;
import it.unibz.inf.ontop.dbschema.*;
import it.unibz.inf... | EQNormalizer replacement commented out
| mapping/sql/core/src/main/java/it/unibz/inf/ontop/spec/mapping/pp/impl/LegacySQLPPMappingConverter.java | EQNormalizer replacement commented out | <ide><path>apping/sql/core/src/main/java/it/unibz/inf/ontop/spec/mapping/pp/impl/LegacySQLPPMappingConverter.java
<ide>
<ide> IQ iq = noNullValueEnforcer.transform(iq0).liftBinding();
<ide>
<del> if (filters.size() > 1)
<add> if (iq.toString().cont... | |
JavaScript | mit | 13c525e009f78f3d0e713eab9bec0dd06aa62dc9 | 0 | mathiasbynens/acorn,mysticatea/acorn,MarcelGerber/acorn,MarcelGerber/acorn,TimothyGu/acorn,TimothyGu/acorn,mathiasbynens/acorn,mysticatea/acorn,TimothyGu/acorn,marijnh/acorn,ternjs/acorn,MarcelGerber/acorn,mysticatea/acorn,ajaxorg/acorn,marijnh/acorn,ajaxorg/acorn,ternjs/acorn,ternjs/acorn,ajaxorg/acorn,mathiasbynens/a... | 'use strict';
importScripts('common.js');
importScripts(`https://unpkg.com/lodash`);
importScripts(`https://unpkg.com/benchmark`);
postMessage({
parserNames,
inputNames
});
function getCell(bench) {
return parserNames.indexOf(bench.name);
}
onmessage = ({ data: indices }) => inputs.then(inputs => {
let chos... | test/bench/worker.js | 'use strict';
importScripts('common.js');
importScripts(`https://unpkg.com/lodash`);
importScripts(`https://unpkg.com/benchmark`);
postMessage({
parserNames,
inputNames
});
function getCell(bench) {
return parserNames.indexOf(bench.name);
}
onmessage = ({ data: indices }) => inputs.then(inputs => {
let chos... | Output source names in console
| test/bench/worker.js | Output source names in console | <ide><path>est/bench/worker.js
<ide> });
<ide>
<ide> let indicesIter = indices[Symbol.iterator]();
<add>
<add> console.group(`Parsing ${inputNames[row]}`);
<ide>
<ide> postMessage({
<ide> type: 'start',
<ide> fastest: suite.filter('fastest').map(getCell)
<ide> });
<ide> })
<del>... | |
Java | lgpl-2.1 | 571575a560accac40446387b7f38cba66ab67020 | 0 | sewe/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,sewe/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,sewe/spotbugs,sewe/spotbugs,johnscancella/spotbugs | /*
* Bytecode Analysis Framework
* Copyright (C) 2004 University of Maryland
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your opt... | findbugs/src/java/edu/umd/cs/findbugs/ba/ExceptionObjectType.java | /*
* Bytecode Analysis Framework
* Copyright (C) 2004 University of Maryland
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your opt... | Added toString() method.
git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@2082 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
| findbugs/src/java/edu/umd/cs/findbugs/ba/ExceptionObjectType.java | Added toString() method. | <ide><path>indbugs/src/java/edu/umd/cs/findbugs/ba/ExceptionObjectType.java
<ide> import org.apache.bcel.generic.ObjectType;
<ide> import org.apache.bcel.generic.ReferenceType;
<ide> import org.apache.bcel.generic.Type;
<add>
<add>import java.util.Iterator;
<ide>
<ide> /**
<ide> * Special ReferenceType representing t... | |
JavaScript | mit | c1558a647870959ee79e21fff9b26f2c55201926 | 0 | samarpanda/js-play,samarpanda/js-play | var l = console.log;
var toArray = function(args){
return [].slice.call(args);
}
/**
* Sub curry
*/
var type0 = function(fn){
var args = Array.prototype.slice.call(arguments, 1);
return function(){
return fn.apply(this, args.concat(Array.prototype.slice.call(arguments)))
}
};
/**
* Curry for two arguments f... | server/src/curry.js | var l = console.log;
var toArray = function(args){
return [].slice.call(args);
}
/**
* Sub curry
*/
var type0 = function(fn){
var args = Array.prototype.slice.call(arguments, 1);
return function(){
return fn.apply(this, args.concat(Array.prototype.slice.call(arguments)))
}
};
/**
* Curry for two arguments f... | Curry using proxy
| server/src/curry.js | Curry using proxy | <ide><path>erver/src/curry.js
<ide> return f;
<ide> };
<ide>
<add>/**
<add> * Proxy curry
<add> */
<add>var type3 = function(fn){
<add> return new Proxy(fn, _curryHandler([]));
<add>};
<add>var _curryHandler = function(){
<add> return {
<add> apply: function(target, thisArg, argList){
<add> var totalArgs = boundAr... | |
JavaScript | mit | ae2d22a3e797b2b62d8d4cf2d078aa1b357cadae | 0 | ABS-org/cdp_strap,ABS-org/cdp_strap | // Gruntfile.js
//
//
module.exports = function (grunt) {
'use strict';
// Force use of Unix newlines
grunt.util.linefeed = '\n';
// Project configuration
grunt.initConfig({
// Metadata
pkg: grunt.file.readJSON('package.json')
// Banner task
banner: '/*!\n' +
' * cp-strap t... | cp-strap/Gruntfile.js | // Gruntfile.js
//
//
module.exports = function (grunt) {
'use strict';
// Force use of Unix newlines
grunt.util.linefeed = '\n';
// Project configuration
grunt.initConfig({
// Metadata
pkg: grunt.file.readJSON('package.json')
});
// Load multiple grunt tasks using globbing patterns
requi... | Add banner task
for write on top of files about project
| cp-strap/Gruntfile.js | Add banner task | <ide><path>p-strap/Gruntfile.js
<ide> // Metadata
<ide> pkg: grunt.file.readJSON('package.json')
<ide>
<add> // Banner task
<add> banner: '/*!\n' +
<add> ' * cp-strap theme v<%= pkg.version %>\n' +
<add> ' * License MIT <%= grunt.template.today("yyyy") %> ABS-org\n' +
<add> ... | |
Java | mit | ba43e392d2bc9032691aa6e1f44fa02a4462ecde | 0 | blackneck/react-native-webrtc,zxcpoiu/react-native-webrtc,blackneck/react-native-webrtc,zxcpoiu/react-native-webrtc,zxcpoiu/react-native-webrtc,blackneck/react-native-webrtc,zxcpoiu/react-native-webrtc,zxcpoiu/react-native-webrtc,srikanthkh/react-native-webrtc,zxcpoiu/react-native-webrtc,srikanthkh/react-native-webrtc,... | package com.oney.WebRTCModule;
import android.app.Application;
import android.support.annotation.Nullable;
import java.io.IOException;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.Callback;
import com.facebook.react.bridge.Rea... | android/src/main/java/com/oney/WebRTCModule.java | package com.oney.WebRTCModule;
import android.app.Application;
import android.support.annotation.Nullable;
import java.io.IOException;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.Callback;
import com.facebook.react.bridge.Rea... | Use audio or video
| android/src/main/java/com/oney/WebRTCModule.java | Use audio or video | <ide><path>ndroid/src/main/java/com/oney/WebRTCModule.java
<ide> @ReactMethod
<ide> public void getUserMedia(ReadableMap constraints, Callback callback){
<ide> MediaStream mediaStream = mFactory.createLocalMediaStream("ARDAMS");
<del> if (true) {
<add>
<add> boolean useVideo = constraints.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.