lang stringclasses 1
value | license stringclasses 13
values | stderr stringlengths 0 350 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 7 45.1k | new_contents stringlengths 0 1.87M | new_file stringlengths 6 292 | old_contents stringlengths 0 1.87M | message stringlengths 6 9.26k | old_file stringlengths 6 292 | subject stringlengths 0 4.45k |
|---|---|---|---|---|---|---|---|---|---|---|---|
Java | apache-2.0 | 5410a01e6a4ea56a9f2d472fd5046eb37ebf800a | 0 | arquivo/functional-tests,arquivo/functional-tests | package pt.fccn.sobre.arquivo.pages;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import j... | test/pt/fccn/sobre/arquivo/pages/IndexSobrePage.java | package pt.fccn.sobre.arquivo.pages;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import j... | [FooteLinksrTest] work progress v11
| test/pt/fccn/sobre/arquivo/pages/IndexSobrePage.java | [FooteLinksrTest] work progress v11 | |
Java | apache-2.0 | 5505fe7859cf70e9dd4f604c1177d3ce7742e973 | 0 | wellington-junio/gitblit,mrjoel/gitblit,culmat/gitblit,1234-/gitblit,cesarmarinhorj/gitblit,culmat/gitblit,davideuler/gitblit,two-ack/gitblit,mrjoel/gitblit,firateren52/gitblit,ahnjune881214/gitblit,firateren52/gitblit,lucamilanesio/gitblit,Distrotech/gitblit,vitalif/gitblit,fzs/gitblit,fuero/gitblit,paladox/gitblit,gi... | /*
* Copyright 2013 gitblit.com.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | src/main/java/com/gitblit/utils/RefLogUtils.java | /*
* Copyright 2013 gitblit.com.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Fixed missing branches on dashboards
| src/main/java/com/gitblit/utils/RefLogUtils.java | Fixed missing branches on dashboards | |
Java | apache-2.0 | a837135cdae08ae684a9e1498a022767adf54690 | 0 | appnexus/mobile-sdk-android,appnexus/mobile-sdk-android,appnexus/mobile-sdk-android,appnexus/mobile-sdk-android,appnexus/mobile-sdk-android | /*
* Copyright 2017 APPNEXUS 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 applicabl... | sdk/src/com/appnexus/opensdk/AdViewRequestManager.java | /*
* Copyright 2017 APPNEXUS 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 applicabl... | added logs for early firing
| sdk/src/com/appnexus/opensdk/AdViewRequestManager.java | added logs for early firing | |
Java | bsd-3-clause | e33413ec9b7c9adfa886237c1ba81b93f1f70018 | 0 | dimitar-asenov/Envision,Vaishal-shah/Envision,Vaishal-shah/Envision,dimitar-asenov/Envision,lukedirtwalker/Envision,dimitar-asenov/Envision,mgalbier/Envision,dimitar-asenov/Envision,Vaishal-shah/Envision,dimitar-asenov/Envision,mgalbier/Envision,lukedirtwalker/Envision,lukedirtwalker/Envision,Vaishal-shah/Envision,mgal... | package javaImportTool;
import java.util.LinkedList;
import java.util.List;
/**
* This class has methods which estimate the size of various nodes, when they are rendered. The size is the width and
* height in pixels and is used to compute the initial arrangement of methods/classes/modules/projects within their
* p... | JavaImportTool/src/javaImportTool/SizeEstimator.java | package javaImportTool;
import java.util.LinkedList;
import java.util.List;
/**
* This class has methods which estimate the size of various nodes, when they are rendered. The size is the width and
* height in pixels and is used to compute the initial arrangement of methods/classes/modules/projects within their
* p... | fix java import size estimator
| JavaImportTool/src/javaImportTool/SizeEstimator.java | fix java import size estimator | |
Java | mit | 27dbf23974c7efbaa704cdb473de36810074d281 | 0 | michaeltangcn/qqPlugin,michaeltangcn/qqPlugin | src/android/WXPayEntryActivity.java | package com.limainfo.vv.wxapi;
public class WXPayEntryActivity extends EntryActivity {
}
| Delete WXPayEntryActivity.java | src/android/WXPayEntryActivity.java | Delete WXPayEntryActivity.java | ||
Java | mit | dda71b5033d8bd4b604a3df4cf04594ec8b16ba7 | 0 | aragaer/jtt_android | package com.aragaer.jtt;
import java.util.Date;
import java.util.LinkedList;
import java.util.concurrent.TimeUnit;
import android.os.Handler;
import android.os.Message;
import android.os.SystemClock;
import android.util.Log;
public abstract class Ticker {
private static final String TAG = Ticker.class.getSimpleN... | JTT/src/com/aragaer/jtt/Ticker.java | package com.aragaer.jtt;
import java.util.Date;
import java.util.LinkedList;
import java.util.concurrent.TimeUnit;
import android.os.Handler;
import android.os.Message;
import android.os.SystemClock;
import android.util.Log;
public abstract class Ticker {
private static final String TAG = Ticker.class.getSimpleN... | Fix the doubled ticking rate
| JTT/src/com/aragaer/jtt/Ticker.java | Fix the doubled ticking rate | |
Java | mit | 73d03c947f875fe71494e87abfca2f49b5f72584 | 0 | PrinceOfAmber/EmberRootZoo | package teamroots.emberroot.entity.fairy;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.UUID;
import javax.annotation.Nullable;
import com.google.common.base.Optional;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.Minecraft;
import net.minecraft... | src/main/java/teamroots/emberroot/entity/fairy/EntityFairy.java | package teamroots.emberroot.entity.fairy;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.UUID;
import javax.annotation.Nullable;
import com.google.common.base.Optional;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.Minecraft;
import net.minecraft... | both tame and untame with glowstone. add follow back in. remove sitting
| src/main/java/teamroots/emberroot/entity/fairy/EntityFairy.java | both tame and untame with glowstone. add follow back in. remove sitting | |
Java | mit | 636d736623089aad0f4123f53066e4255ca3afc9 | 0 | DreamGeese/DriveSafe,wearhackstoronto/DriveSafe | package dreamgeese.drivesafe;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.Spinner;
public class UserSettingsActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceStat... | app/src/main/java/dreamgeese/drivesafe/UserSettingsActivity.java | package dreamgeese.drivesafe;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.Spinner;
public class UserSettingsActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceStat... | Implemented proper display of controls in settings
| app/src/main/java/dreamgeese/drivesafe/UserSettingsActivity.java | Implemented proper display of controls in settings | |
Java | mit | 1944cb3ef8e57f58948c7448a65d258e16111627 | 0 | albertoanguita/jacuzzi | package org.aanguita.jacuzzi.maps;
import java.io.Serializable;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
/**
* This class implements a two-direction map. It thus implements a functional and inverse functional relation of
* elements (bijective function)
*/
p... | src/main/java/org/aanguita/jacuzzi/maps/DoubleMap.java | package org.aanguita.jacuzzi.maps;
import java.io.Serializable;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
/**
* This class implements a two-direction map. It thus implements a functional and inverse functional relation of
* elements (bijective function)
*/
p... | Add new operations
| src/main/java/org/aanguita/jacuzzi/maps/DoubleMap.java | Add new operations | |
Java | mit | 635eadfc87430ecdf5e1023a6c45bed8735518ff | 0 | mitdbg/amoeba,mitdbg/AdaptDB,mitdbg/mdindex,mitdbg/amoeba,mitdbg/AdaptDB,mitdbg/AdaptDB,mitdbg/amoeba,mitdbg/mdindex,mitdbg/mdindex | package core.access.iterator;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.util.Iterator;
import org.apache.commons.lang.ArrayUtils;
import com.google.common.io.ByteArrayDataOutput;
import com.google.common.io.ByteStreams;
import core.access.Partition;
import core.acc... | src/core/access/iterator/PartitionIterator.java | package core.access.iterator;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.util.Iterator;
import org.apache.commons.lang.ArrayUtils;
import com.google.common.io.ByteArrayDataOutput;
import com.google.common.io.ByteStreams;
import core.access.Partition;
import core.acc... | bug fixes for partition iterator
| src/core/access/iterator/PartitionIterator.java | bug fixes for partition iterator | |
Java | mit | 7e508b5a650cc8c8d11ea6bf881a18870f428964 | 0 | jbannick/hellokata-java,jbannick/hellokata-java | src/fileiostreams/DeflaterOutputStreamTest.java | import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.util.zip.DeflaterOutputStream;
public class DeflaterOutputStreamTest {
public static void main(String[] args) throws Exception {
FileInputStream in = new FileInputStream("file.txt");
FileOutputStream out = new FileOutputStr... | Delete DeflaterOutputStreamTest.java | src/fileiostreams/DeflaterOutputStreamTest.java | Delete DeflaterOutputStreamTest.java | ||
Java | epl-1.0 | 3effe409e5ef464a91e752d0f4e7f15792afd322 | 0 | usethesource/rascal-value | /**
* Copyright (c) 2016, Davy Landman, Centrum Wiskunde & Informatica (CWI)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above... | src/main/java/org/rascalmpl/value/io/binary/wire/FieldKind.java | /**
* Copyright (c) 2016, Davy Landman, Centrum Wiskunde & Informatica (CWI)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above... | More clear documenting how values relate
| src/main/java/org/rascalmpl/value/io/binary/wire/FieldKind.java | More clear documenting how values relate | |
Java | epl-1.0 | b027bc89ddf5fef53315eee335839496781bc5f3 | 0 | schemeway/SchemeScript,schemeway/SchemeScript | /*
* Copyright (c) 2004 Nu Echo Inc.
*
* This is free software. For terms and warranty disclaimer, see ./COPYING
*/
package org.schemeway.plugins.schemescript.parser;
import java.util.regex.*;
import org.eclipse.jface.text.*;
public class SchemeScanner {
private static final Pattern NUMBER_REGEXP... | src/org/schemeway/plugins/schemescript/parser/SchemeScanner.java | /*
* Copyright (c) 2004 Nu Echo Inc.
*
* This is free software. For terms and warranty disclaimer, see ./COPYING
*/
package org.schemeway.plugins.schemescript.parser;
import java.util.regex.*;
import org.eclipse.jface.text.*;
public class SchemeScanner {
private static final Pattern NUMBER_REGEXP = Pattern.co... | Added support for extended symbols, i.e. symbols enclosed in vertical bars.
| src/org/schemeway/plugins/schemescript/parser/SchemeScanner.java | Added support for extended symbols, i.e. symbols enclosed in vertical bars. | |
Java | lgpl-2.1 | c90dd908aa3ef1415233f7f391fb1fb62f7a58b3 | 0 | simoc/mapyrus,simoc/mapyrus,simoc/mapyrus | /*
* $Id$
*/
package au.id.chenery.mapyrus;
import java.util.HashMap;
import java.awt.Color;
import java.lang.SecurityException;
import java.io.LineNumberReader;
import java.io.FileReader;
import java.util.StringTokenizer;
import java.lang.NumberFormatException;
import java.io.FileNotFoundException;
import java.io.... | src/org/mapyrus/ColorDatabase.java | /*
* $Id$
*/
package au.id.chenery.mapyrus;
import java.util.Hashtable;
import java.awt.Color;
import java.lang.SecurityException;
import java.io.LineNumberReader;
import java.io.FileReader;
import java.util.StringTokenizer;
import java.lang.NumberFormatException;
import java.io.FileNotFoundException;
import java.i... | Use HashMap instead of Hashtable as it is a fixed lookup table
and thread synchronisation is not needed.
| src/org/mapyrus/ColorDatabase.java | Use HashMap instead of Hashtable as it is a fixed lookup table and thread synchronisation is not needed. | |
Java | lgpl-2.1 | a51a31e717584faf0463d85ecd2eedf6437d1253 | 0 | cawka/ndnx,ebollens/ccnmp,svartika/ccnx,svartika/ccnx,svartika/ccnx,svartika/ccnx,svartika/ccnx,svartika/ccnx,ebollens/ccnmp,cawka/ndnx,cawka/ndnx,cawka/ndnx,cawka/ndnx,ebollens/ccnmp,ebollens/ccnmp,svartika/ccnx | /**
* Part of the CCNx Java Library.
*
* Copyright (C) 2008, 2009 Palo Alto Research Center, Inc.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version 2.1
* as published by the Free Software Foundation.
* This library is ... | javasrc/src/org/ccnx/ccn/io/CCNOutputStream.java | /**
* Part of the CCNx Java Library.
*
* Copyright (C) 2008, 2009 Palo Alto Research Center, Inc.
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version 2.1
* as published by the Free Software Foundation.
* This library is ... | Remove buffer resizing code. setBlockSize() is not permitted if output stream has been written to.
| javasrc/src/org/ccnx/ccn/io/CCNOutputStream.java | Remove buffer resizing code. setBlockSize() is not permitted if output stream has been written to. | |
Java | apache-2.0 | e62361863cf5ec8da74fa1948dcd1d26ee5a000f | 0 | marklogic/java-client-api,marklogic/java-client-api,marklogic/java-client-api,marklogic/java-client-api,marklogic/java-client-api | /*
* Copyright 2012-2017 MarkLogic Corporation
*
* 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... | src/test/java/com/marklogic/client/test/FailedRequestTest.java | /*
* Copyright 2012-2017 MarkLogic Corporation
*
* 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... | start on #865 - update expected error message (doesn't yet address new expected http status code
| src/test/java/com/marklogic/client/test/FailedRequestTest.java | start on #865 - update expected error message (doesn't yet address new expected http status code | |
Java | apache-2.0 | 3ffbb2718947edcd42ab4ff8fa4c76f87e5435e7 | 0 | kuangrewawa/onos,sdnwiselab/onos,maheshraju-Huawei/actn,jmiserez/onos,osinstom/onos,chenxiuyang/onos,VinodKumarS-Huawei/ietf96yang,gkatsikas/onos,jmiserez/onos,maheshraju-Huawei/actn,oeeagle/onos,rvhub/onos,gkatsikas/onos,oeeagle/onos,zsh2938/onos,jinlongliu/onos,kuujo/onos,chinghanyu/onos,ravikumaran2015/ravikumaran20... | package org.onlab.onos.store.link.impl;
import com.google.common.base.Function;
import com.google.common.base.Predicate;
import com.google.common.collect.FluentIterable;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Maps;
import com.goog... | core/store/dist/src/main/java/org/onlab/onos/store/link/impl/GossipLinkStore.java | package org.onlab.onos.store.link.impl;
import com.google.common.base.Function;
import com.google.common.base.Predicate;
import com.google.common.collect.FluentIterable;
import com.google.common.collect.HashMultimap;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Maps;
import com.goog... | Shutting down AE executor on GossipLinkStore deactivate
| core/store/dist/src/main/java/org/onlab/onos/store/link/impl/GossipLinkStore.java | Shutting down AE executor on GossipLinkStore deactivate | |
Java | apache-2.0 | 58cd1a4ed4ba3a7cad4b6a17a686b9dadaba900d | 0 | Apelon-VA/va-isaac-gui,Apelon-VA/va-isaac-gui | /**
* Copyright Notice
*
* This is a work of the U.S. Government and is not subject to copyright
* protection in the United States. Foreign copyrights may apply.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | refex-view/src/main/java/gov/va/isaac/gui/refexViews/refexEdit/AddSememePopup.java | /**
* Copyright Notice
*
* This is a work of the U.S. Government and is not subject to copyright
* protection in the United States. Foreign copyrights may apply.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | fix a subtle timing issue introduced with the last commit. | refex-view/src/main/java/gov/va/isaac/gui/refexViews/refexEdit/AddSememePopup.java | fix a subtle timing issue introduced with the last commit. | |
Java | apache-2.0 | af1d163f050daf3a3e22428076ebcb5b981b2ac7 | 0 | lemire/javaewah,wang19742008/javaewah | package javaewah;
/*
* Copyright 2009-2012, Daniel Lemire, Cliff Moon, David McIntosh and Robert Becho
* Licensed under APL 2.0.
*/
import java.util.*;
import java.io.*;
/**
* <p>This implements the patent-free(1) EWAH scheme. Roughly speaking, it is a
* 64-bit variant of the BBC compression scheme used by Ora... | src/main/java/javaewah/EWAHCompressedBitmap.java | package javaewah;
/*
* Copyright 2009-2012, Daniel Lemire, Cliff Moon, David McIntosh and Robert Becho
* Licensed under APL 2.0.
*/
import java.util.*;
import java.io.*;
/**
* <p>This implements the patent-free(1) EWAH scheme. Roughly speaking, it is a
* 64-bit variant of the BBC compression scheme used by Ora... | documentation update
| src/main/java/javaewah/EWAHCompressedBitmap.java | documentation update | |
Java | apache-2.0 | 4300b3cd8c72fdf84ef60bb08079c31f34b07c48 | 0 | opentrv/OpenTRV-Java | package uk.org.opentrv.test.ETV;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
i... | uk/org/opentrv/test/ETV/ETVParseTest.java | package uk.org.opentrv.test.ETV;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
i... | TODO-897: testing load of larger data set | uk/org/opentrv/test/ETV/ETVParseTest.java | TODO-897: testing load of larger data set | |
Java | apache-2.0 | 23b3b947ecdbc80f4eefc495c926f1af20d40d62 | 0 | larsgeorge/hbase-book,larsgeorge/hbase-book,larsgeorge/hbase-book | package client;
// cc CheckAndPutExample Example application using the atomic compare-and-set operations
import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.TableName;
import org.apache.hadoop.hbase.client.Connectio... | ch03/src/main/java/client/CheckAndPutExample.java | package client;
// cc CheckAndPutExample Example application using the atomic compare-and-set operations
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.TableName;
import org.apache.hadoop.hbase.client.Connection;
import org.apache.hadoop.h... | Updated callouts to match output. | ch03/src/main/java/client/CheckAndPutExample.java | Updated callouts to match output. | |
Java | apache-2.0 | 4c8b72e31e321750989f47f93a904142bdc47ac8 | 0 | nivanov/ignite,nivanov/ignite,nivanov/ignite,nivanov/ignite,nivanov/ignite,nivanov/ignite,nivanov/ignite,nivanov/ignite | package org.apache.ignite.math.impls.vector;
import junit.framework.TestCase;
import org.apache.ignite.Ignite;
import org.apache.ignite.IgniteCache;
import org.apache.ignite.configuration.*;
import org.apache.ignite.internal.util.*;
import org.apache.ignite.math.IdentityValueMapper;
import org.apache.ignite.math.Vecto... | modules/math/src/test/java/org/apache/ignite/math/impls/vector/CacheVectorTest.java | package org.apache.ignite.math.impls.vector;
import junit.framework.TestCase;
import org.apache.ignite.Ignite;
import org.apache.ignite.IgniteCache;
import org.apache.ignite.configuration.*;
import org.apache.ignite.internal.util.*;
import org.apache.ignite.math.IdentityValueMapper;
import org.apache.ignite.math.Vecto... | IGN-6530:
fixed cache vector test
| modules/math/src/test/java/org/apache/ignite/math/impls/vector/CacheVectorTest.java | IGN-6530: fixed cache vector test | |
Java | apache-2.0 | 4fd401ae7a383594e67877747397d89cd25e1235 | 0 | pkaq/smart-framework | package com.smart.framework.helper;
import com.smart.framework.util.ArrayUtil;
import com.smart.framework.util.MapUtil;
import com.smart.framework.util.StringUtil;
import java.io.Serializable;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import... | src/main/java/com/smart/framework/helper/DBHelper.java | package com.smart.framework.helper;
import com.smart.framework.util.ArrayUtil;
import com.smart.framework.util.MapUtil;
import com.smart.framework.util.StringUtil;
import java.io.Serializable;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import... | 【B】执行数据库更新操作时需要重新获取 Connection,否则无法保证是否回滚,因为不再是同一个 Connection 了。
| src/main/java/com/smart/framework/helper/DBHelper.java | 【B】执行数据库更新操作时需要重新获取 Connection,否则无法保证是否回滚,因为不再是同一个 Connection 了。 | |
Java | apache-2.0 | 347a6ef3b4b5fbeb0dc72ca3869041ad6006dd03 | 0 | core-lib/jestful | package org.qfox.jestful.form;
import org.qfox.jestful.core.BeanContainer;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.DynamicAttributes;
import javax.servlet.jsp.tagext.TagSupport;
import java.util.LinkedHashMap;
import java.util.Map;
/**
* Created by yangchangpei on 17/8/21.
*/
public ... | jestful-form/src/main/java/org/qfox/jestful/form/TokenInput.java | package org.qfox.jestful.form;
import org.qfox.jestful.core.BeanContainer;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.TagSupport;
import java.util.Enumeration;
/**
* Created by yangchangpei on 17/8/21.
*/
public class TokenInput extends TagSupport {
private static final long serialV... | Add Anti Form Repeat Submit Supports
| jestful-form/src/main/java/org/qfox/jestful/form/TokenInput.java | Add Anti Form Repeat Submit Supports | |
Java | apache-2.0 | d1a3327ccc0078e1759921fb15ad8afee08dc58d | 0 | SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java | /*
* Copyright 2021, TeamDev. 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
*
* Redistribution and use in source... | server/src/main/java/io/spine/server/entity/EntityLifecycle.java | /*
* Copyright 2021, TeamDev. 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
*
* Redistribution and use in source... | Reformat the code.
| server/src/main/java/io/spine/server/entity/EntityLifecycle.java | Reformat the code. | |
Java | apache-2.0 | bf83c94751efbca97ba3a8722f8b0e49699da290 | 0 | dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android | package org.commcare.android.tests.activities;
import android.widget.ListView;
import org.commcare.CommCareTestApplication;
import org.commcare.activities.FormRecordListActivity;
import org.commcare.adapters.IncompleteFormListAdapter;
import org.commcare.android.CommCareTestRunner;
import org.commcare.android.util.Sa... | unit-tests/src/org/commcare/android/tests/activities/FormRecordListActivityTest.java | package org.commcare.android.tests.activities;
import android.widget.ListView;
import org.commcare.CommCareTestApplication;
import org.commcare.activities.FormRecordListActivity;
import org.commcare.adapters.IncompleteFormListAdapter;
import org.commcare.android.CommCareTestRunner;
import org.commcare.android.util.Sa... | Remove list populate call
| unit-tests/src/org/commcare/android/tests/activities/FormRecordListActivityTest.java | Remove list populate call | |
Java | apache-2.0 | 8ad901f818b9dd514c1d42185a48a06189d926f0 | 0 | akihito104/UdonRoad | /*
* Copyright (c) 2017. Matsuda, Akihit (akihito104)
*
* 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 applic... | app/src/main/java/com/freshdigitable/udonroad/module/realm/WritableTimelineRealm.java | /*
* Copyright (c) 2017. Matsuda, Akihit (akihito104)
*
* 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 applic... | fixed to avoid NPE
| app/src/main/java/com/freshdigitable/udonroad/module/realm/WritableTimelineRealm.java | fixed to avoid NPE | |
Java | apache-2.0 | 304aa1e4bcd0d49cbafc8127250075697cfad7f5 | 0 | GDP9/CecilRPi | package org.raspberrypi.cecil.view;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.colorchooser.*;
import javax.swing.text.*;
import java.awt.*;
import java.awt.event.*;
public class FontChooser extends JDialog{
JComboBox fontName;
JComboBox fontSize;
JLabel sampleText;
publ... | src/org/raspberrypi/cecil/view/FontChooser.java | package org.raspberrypi.cecil.view;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.colorchooser.*;
import javax.swing.text.*;
import java.awt.*;
import java.awt.event.*;
public class FontChooser extends JDialog{
JComboBox fontName;
JCheckBox fontBold, fontItalic;
JTextField f... | Font changes | src/org/raspberrypi/cecil/view/FontChooser.java | Font changes | |
Java | bsd-2-clause | 39aae4230483884229f4b307b2802c0116bd935a | 0 | amozhenin/pgjdbc,jamesthomp/pgjdbc,Gordiychuk/pgjdbc,whitingjr/pgjdbc,phillipross/pgjdbc,zapov/pgjdbc,amozhenin/pgjdbc,lordnelson/pgjdbc,zapov/pgjdbc,phillipross/pgjdbc,bocap/pgjdbc,rjmac/pgjdbc,marschall/pgjdbc,panchenko/pgjdbc,Gordiychuk/pgjdbc,jamesthomp/pgjdbc,pgjdbc/pgjdbc,jorsol/pgjdbc,sehrope/pgjdbc,AlexElin/pgj... | /*-------------------------------------------------------------------------
*
* Copyright (c) 2004-2014, PostgreSQL Global Development Group
*
*
*-------------------------------------------------------------------------
*/
package org.postgresql.jdbc2;
import java.io.*;
import java.lang.reflect.InvocationTargetExcept... | org/postgresql/jdbc2/AbstractJdbc2Statement.java | /*-------------------------------------------------------------------------
*
* Copyright (c) 2004-2014, PostgreSQL Global Development Group
*
*
*-------------------------------------------------------------------------
*/
package org.postgresql.jdbc2;
import java.io.*;
import java.lang.reflect.InvocationTargetExcept... | Removed unnecessary isClosed call which does not exists in jdbc2
| org/postgresql/jdbc2/AbstractJdbc2Statement.java | Removed unnecessary isClosed call which does not exists in jdbc2 | |
Java | bsd-3-clause | a3ddc04f580e71fa56cb212338d88c4dfecbeb8a | 0 | NCIP/c3pr,NCIP/c3pr,NCIP/c3pr | package edu.duke.cabig.c3pr.web.study.tabs;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.validation.Errors;
import edu.duke.cabig.c3pr.constants.InvestigatorStatusCodeEnum;
import edu.duke.cabig.c3pr.dao.HealthcareSiteInvestigatorDao;
import edu.duke.cabig.c3pr.doma... | codebase/projects/web/src/java/edu/duke/cabig/c3pr/web/study/tabs/StudyDetailsTab.java | package edu.duke.cabig.c3pr.web.study.tabs;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.validation.Errors;
import edu.duke.cabig.c3pr.constants.CoordinatingCenterStudyStatus;
import edu.duke.cabig.c3pr.constants.InvestigatorStatusCodeEnum;
import edu.duke.cabig.c3p... | removed unused imports
| codebase/projects/web/src/java/edu/duke/cabig/c3pr/web/study/tabs/StudyDetailsTab.java | removed unused imports | |
Java | mit | 450abd8f87038f9498a5a1bce888fbbeb933fc88 | 0 | Elecs-Mods/RFTools,Adaptivity/RFTools,ReneMuetti/RFTools,McJty/RFTools | package com.mcjty.rftools.blocks.dimletconstruction;
import com.mcjty.container.GenericGuiContainer;
import com.mcjty.gui.Window;
import com.mcjty.gui.events.ButtonEvent;
import com.mcjty.gui.layout.PositionalLayout;
import com.mcjty.gui.widgets.Button;
import com.mcjty.gui.widgets.*;
import com.mcjty.gui.widgets.Pane... | src/main/java/com/mcjty/rftools/blocks/dimletconstruction/GuiDimletWorkbench.java | package com.mcjty.rftools.blocks.dimletconstruction;
import com.mcjty.container.GenericGuiContainer;
import com.mcjty.gui.Window;
import com.mcjty.gui.events.ButtonEvent;
import com.mcjty.gui.layout.PositionalLayout;
import com.mcjty.gui.widgets.Button;
import com.mcjty.gui.widgets.*;
import com.mcjty.gui.widgets.Pane... | More work on the id refactoring.
| src/main/java/com/mcjty/rftools/blocks/dimletconstruction/GuiDimletWorkbench.java | More work on the id refactoring. | |
Java | mit | 27bcfcff887369110de2ae076de801a4263403da | 0 | bptlab/BPMConverter,BP2014W1/BPMConverter | package de.uni_potsdam.hpi.bpt.bp2014.conversion.converter.pcm;
import de.uni_potsdam.hpi.bpt.bp2014.conversion.IEdge;
import de.uni_potsdam.hpi.bpt.bp2014.conversion.activity_centric.ActivityCentricProcessModel;
import de.uni_potsdam.hpi.bpt.bp2014.conversion.converter.activity_centric.ActivityCentricToSynchronizedOL... | src/main/java/de/uni_potsdam/hpi/bpt/bp2014/conversion/converter/pcm/ScenarioToSynchronizedOLC.java | package de.uni_potsdam.hpi.bpt.bp2014.conversion.converter.pcm;
import de.uni_potsdam.hpi.bpt.bp2014.conversion.IEdge;
import de.uni_potsdam.hpi.bpt.bp2014.conversion.activity_centric.ActivityCentricProcessModel;
import de.uni_potsdam.hpi.bpt.bp2014.conversion.converter.activity_centric.ActivityCentricToSynchronizedOL... | converter.pcm package completed
Added docs to ScenarioToSynchronizedOLC
| src/main/java/de/uni_potsdam/hpi/bpt/bp2014/conversion/converter/pcm/ScenarioToSynchronizedOLC.java | converter.pcm package completed Added docs to ScenarioToSynchronizedOLC | |
Java | mit | 3dea0c65fac13a53040fe9ba384a92122ed8777c | 0 | wKovacs64/mTorch | package com.wkovacs64.mTorch;
import android.app.Notification;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
import android.graphics.PixelFormat;
import android.os.AsyncTask;
import android.os.Build;
import android.os.IBinder;
import android.support.v4.app.NotificationCom... | mTorch/src/main/java/com/wkovacs64/mTorch/mTorchService.java | package com.wkovacs64.mTorch;
import android.app.Notification;
import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
import android.graphics.PixelFormat;
import android.os.Build;
import android.os.IBinder;
import android.support.v4.app.NotificationCompat;
import android.support.v... | Service: wrap some of the longer running camera tasks in AsyncTask
Choreographer was indicating there was too much work being done in the main
thread, causing frame skipping. The two tasks in the service that were taking
the longest were acquiring the camera and starting the preview. This wraps both
in their own Async... | mTorch/src/main/java/com/wkovacs64/mTorch/mTorchService.java | Service: wrap some of the longer running camera tasks in AsyncTask | |
Java | mit | d63a0facadb8f4b1ce420e539ad8b7767c434b04 | 0 | elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin | package com.elmakers.mine.bukkit.wand;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import java.util.TreeSet;
import java.util.UUID;
import java.util.logging.Level;... | Magic/src/main/java/com/elmakers/mine/bukkit/wand/Wand.java | package com.elmakers.mine.bukkit.wand;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import java.util.TreeSet;
import java.util.UUID;
import java.util.logging.Level;... | Fix /wand fill command
| Magic/src/main/java/com/elmakers/mine/bukkit/wand/Wand.java | Fix /wand fill command | |
Java | mit | e2d1e9cf70c9bf398f1e01e6be6265e7cb63ce01 | 0 | jpush/jpush-react-plugin,jpush/jpush-react-plugin | package cn.jpush.reactnativejpush;
import android.app.Notification;
import android.app.ProgressDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import com.facebook.react.br... | android/src/main/java/cn/jpush/reactnativejpush/JPushModule.java | package cn.jpush.reactnativejpush;
import android.app.Notification;
import android.app.ProgressDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import com.facebook.react.bridge.Arguments;
import co... | add try catch on onReceive notification method
| android/src/main/java/cn/jpush/reactnativejpush/JPushModule.java | add try catch on onReceive notification method | |
Java | mit | 7e51c230f16539859c8d3208d5eb24a3970ff1fc | 0 | shitikanth/jabref,mairdl/jabref,mredaelli/jabref,tschechlovdev/jabref,ayanai1/jabref,JabRef/jabref,mredaelli/jabref,Braunch/jabref,oscargus/jabref,grimes2/jabref,grimes2/jabref,tobiasdiez/jabref,bartsch-dev/jabref,Braunch/jabref,mairdl/jabref,Siedlerchr/jabref,motokito/jabref,mredaelli/jabref,grimes2/jabref,ayanai1/jab... | package net.sf.jabref.logic.config;
import net.sf.jabref.JabRefPreferences;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import java.util.Vector;
/**
* Stores the save order config from MetaData
* <p>
* Format: <choice>, pair of field + ascending (boolean)
*/
public class SaveOrderCo... | src/main/java/net/sf/jabref/logic/config/SaveOrderConfig.java | package net.sf.jabref.logic.config;
import net.sf.jabref.JabRefPreferences;
import java.util.List;
import java.util.Objects;
import java.util.Vector;
/**
* Stores the save order config from MetaData
* <p>
* Format: <choice>, pair of field + ascending (boolean)
*/
public class SaveOrderConfig {
public boolea... | Travis CI cannot compile auto generated hashCode implementation by IntelliJ
| src/main/java/net/sf/jabref/logic/config/SaveOrderConfig.java | Travis CI cannot compile auto generated hashCode implementation by IntelliJ | |
Java | mit | fe3ece6d4a569d643a254803d6a0c46be7e803a0 | 0 | vrampal/connectfour,vrampal/connectfour,vrampal/connectfour | package vrampal.connectfour.robot;
import vrampal.connectfour.core.Player;
public class ConnectFourRobotStats implements Runnable {
public static void main(String[] args) {
new ConnectFourRobotStats().run();
}
private static final int NB_TOTAL_GAME = 1000000;
private int nbYellowWin = 0;
private int... | cmdline/src/main/java/vrampal/connectfour/robot/ConnectFourRobotStats.java | package vrampal.connectfour.robot;
import vrampal.connectfour.core.Player;
public class ConnectFourRobotStats implements Runnable {
public static void main(String[] args) {
new ConnectFourRobotStats().run();
}
private static final int NB_TOTAL_GAME = 1000000;
private int nbRedWin = 0;
private int nb... | Update display for player order
| cmdline/src/main/java/vrampal/connectfour/robot/ConnectFourRobotStats.java | Update display for player order | |
Java | mit | cb887f3eca32baa3bb536a2a085be9eedf27f896 | 0 | okse-2/okse,okse-2/okse,einhov/okse,einhov/okse,kradalby/okse,einhov/okse,kradalby/okse,okse-2/okse,einhov/okse,okse-2/okse,kradalby/okse,kradalby/okse,einhov/okse,okse-2/okse,kradalby/okse | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Norwegian Defence Research Establishment / NTNU
*
* 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 witho... | src/test/java/no/ntnu/okse/protocol/amqp/AMQPServerTest.java | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Norwegian Defence Research Establishment / NTNU
*
* 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 witho... | fixed null pointer in test
| src/test/java/no/ntnu/okse/protocol/amqp/AMQPServerTest.java | fixed null pointer in test | |
Java | agpl-3.0 | a9297a4e722d6c3153380f2b0d831622956a380e | 0 | imCodePartnerAB/imcms,imCodePartnerAB/imcms,imCodePartnerAB/imcms | package com.imcode.imcms.servlet;
import com.imcode.imcms.api.DocumentLanguage;
import com.imcode.imcms.api.DocumentLanguages;
import com.imcode.imcms.mapping.DocGetterCallback;
import com.imcode.imcms.model.Language;
import imcode.server.Imcms;
import imcode.server.ImcmsConstants;
import imcode.server.ImcmsServices;
... | src/main/java/com/imcode/imcms/servlet/ImcmsSetupFilter.java | package com.imcode.imcms.servlet;
import com.imcode.imcms.api.DocumentLanguage;
import com.imcode.imcms.api.DocumentLanguages;
import com.imcode.imcms.mapping.DocGetterCallback;
import com.imcode.imcms.model.Language;
import imcode.server.Imcms;
import imcode.server.ImcmsConstants;
import imcode.server.ImcmsServices;
... | Issue imc-14: - Menu issues re language
- Add session attribute for current language
| src/main/java/com/imcode/imcms/servlet/ImcmsSetupFilter.java | Issue imc-14: - Menu issues re language - Add session attribute for current language | |
Java | lgpl-2.1 | ffacb87dbaaebb53c5084bfa6102367d9d4ee4c5 | 0 | victos/opencms-core,ggiudetti/opencms-core,it-tavis/opencms-core,sbonoc/opencms-core,ggiudetti/opencms-core,gallardo/opencms-core,mediaworx/opencms-core,it-tavis/opencms-core,gallardo/opencms-core,ggiudetti/opencms-core,MenZil/opencms-core,victos/opencms-core,mediaworx/opencms-core,mediaworx/opencms-core,sbonoc/opencms... | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* 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 So... | src-gwt/org/opencms/ade/sitemap/client/control/CmsSitemapController.java | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* 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 So... | Fixing issue where using the sitepath to access sitemap entries could
lead to null pointer exceptions. | src-gwt/org/opencms/ade/sitemap/client/control/CmsSitemapController.java | Fixing issue where using the sitepath to access sitemap entries could lead to null pointer exceptions. | |
Java | apache-2.0 | 02ce826ce4720bc6a74eaf3439656753fe6fcc44 | 0 | spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework | /*
* Copyright 2002-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | spring-core/src/main/java/org/springframework/core/convert/Property.java | /*
* Copyright 2002-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Cache and late resolve annotations for performance
Annotations are no longer resolved in the constructor and are cached
for improved performance.
Issue: SPR-9166
| spring-core/src/main/java/org/springframework/core/convert/Property.java | Cache and late resolve annotations for performance | |
Java | apache-2.0 | 9bc8a6d3207dcd9c23f9cbecb1e7ac39bfe30cd9 | 0 | hal/elemento,hal/elemento | /*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | core/src/main/java/org/jboss/gwt/elemento/core/Elements.java | /*
* JBoss, Home of Professional Open Source.
* Copyright 2010, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | Replace com.google.common.collect.Lists.asList with java.util.Arrays.asList
| core/src/main/java/org/jboss/gwt/elemento/core/Elements.java | Replace com.google.common.collect.Lists.asList with java.util.Arrays.asList | |
Java | apache-2.0 | 5aa7682bbeb6ba1cde89b96296aad5ed8f12bc70 | 0 | Xceptance/XCMailr,Xceptance/XCMailr,Xceptance/XCMailr,Xceptance/XCMailr | package controllers;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.Properties;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.internet.MimeMessage;
import org.junit.Assert;
import org.junit.Ignore;
import org.jun... | xcmailr-webapp/src/test/java/controllers/MessageListenerLoopCheckTest.java | package controllers;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.util.Properties;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.internet.MimeMessage;
import org.junit.Assert;
import org.junit.Test;
/**
* Should t... | disabled return path tests | xcmailr-webapp/src/test/java/controllers/MessageListenerLoopCheckTest.java | disabled return path tests | |
Java | apache-2.0 | cc8a5b9801f1f57fefc4b5955eac693c3c2976ab | 0 | ilya-klyuchnikov/buck,zhan-xiong/buck,marcinkwiatkowski/buck,zhan-xiong/buck,robbertvanginkel/buck,JoelMarcey/buck,kageiit/buck,grumpyjames/buck,dsyang/buck,k21/buck,JoelMarcey/buck,k21/buck,LegNeato/buck,darkforestzero/buck,Addepar/buck,shybovycha/buck,clonetwin26/buck,k21/buck,romanoid/buck,brettwooldridge/buck,Selen... | /*
* Copyright 2014-present Facebook, 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... | test/com/facebook/buck/testutil/HasConsecutiveItemsMatcher.java | /*
* Copyright 2014-present Facebook, 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... | HasConsecutiveItemsMatcher: Make it compile with JDK 9
Summary:
This problem is probably related to: [1].
Closes https://github.com/facebook/buck/pull/1131
Test Plan:
Apply this PR https://github.com/facebook/buck/pull/1047 and run:
buck build --config java.error_prone_javac=true \
test/com/facebook/buck/testutil:... | test/com/facebook/buck/testutil/HasConsecutiveItemsMatcher.java | HasConsecutiveItemsMatcher: Make it compile with JDK 9 | |
Java | apache-2.0 | 3d8321d071130d5e759cd4e13ab9e4e7ad9459f6 | 0 | EBIBioStudies/FrontEndUI,arrayexpress/ae-interface,arrayexpress/ae-interface,arrayexpress/ae-interface,EBIBioStudies/FrontEndUI,EBIBioStudies/FrontEndUI | components/ae-similarity/src/main/java/uk/ac/ebi/fg/utils/experimentComparator.java | package uk.ac.ebi.fg.utils;
import uk.ac.ebi.fg.utils.objects.ExperimentId;
import java.util.Comparator;
public class experimentComparator implements Comparator {
public int compare(Object experiment1, Object experiment2) {
ExperimentId expId1 = (ExperimentId) experiment1;
ExperimentId expId2 = (... | ?
git-svn-id: d21cf3f823a38adcd0967a5aa33e5b271a1966c2@20133 2913f559-6b04-0410-9a09-c530ee9f5186
| components/ae-similarity/src/main/java/uk/ac/ebi/fg/utils/experimentComparator.java | ? | ||
Java | apache-2.0 | 3837edacb2da2b7894241ad2e600cfb2cdf0d444 | 0 | samaitra/jena,kidaa/jena,apache/jena,adrapereira/jena,kamir/jena,atsolakid/jena,atsolakid/jena,jianglili007/jena,tr3vr/jena,samaitra/jena,apache/jena,samaitra/jena,apache/jena,kamir/jena,tr3vr/jena,CesarPantoja/jena,kidaa/jena,adrapereira/jena,atsolakid/jena,kidaa/jena,apache/jena,tr3vr/jena,CesarPantoja/jena,kamir/jen... | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | jena-arq/src/main/java/com/hp/hpl/jena/sparql/sse/builders/BuilderOp.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 ... | Don't aggregate 'assign' when simply parsing and building an algebra tree. c.f. extend.
git-svn-id: bc509ec38c1227b3e85ea1246fda136342965d36@1624259 13f79535-47bb-0310-9956-ffa450edef68
| jena-arq/src/main/java/com/hp/hpl/jena/sparql/sse/builders/BuilderOp.java | Don't aggregate 'assign' when simply parsing and building an algebra tree. c.f. extend. | |
Java | apache-2.0 | cfcf49991f840419443f90125b77e24f3ac50779 | 0 | phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida | /*
* Copyright 2013 Franklin Bristow <franklin.bristow@phac-aspc.gc.ca>.
*
* 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
*
* Unles... | src/main/java/ca/corefacility/bioinformatics/irida/model/roles/impl/Identifier.java | /*
* Copyright 2013 Franklin Bristow <franklin.bristow@phac-aspc.gc.ca>.
*
* 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
*
* Unles... | Added myself to the authors | src/main/java/ca/corefacility/bioinformatics/irida/model/roles/impl/Identifier.java | Added myself to the authors | |
Java | apache-2.0 | 9c1f0dacfc0e74be2d4c04eaf7e21ed2dc182e84 | 0 | dimagi/javarosa,dimagi/commcare,dimagi/javarosa,dimagi/commcare-core,dimagi/commcare-core,dimagi/commcare,dimagi/javarosa,dimagi/commcare-core,dimagi/commcare | package org.commcare.resources.model;
import org.commcare.resources.model.installers.ProfileInstaller;
import org.commcare.util.CommCareInstance;
import org.javarosa.core.reference.InvalidReferenceException;
import org.javarosa.core.reference.Reference;
import org.javarosa.core.reference.ReferenceManager;
import org.j... | backend/src/org/commcare/resources/model/ResourceTable.java | package org.commcare.resources.model;
import org.commcare.resources.model.installers.ProfileInstaller;
import org.commcare.util.CommCareInstance;
import org.javarosa.core.reference.InvalidReferenceException;
import org.javarosa.core.reference.Reference;
import org.javarosa.core.reference.ReferenceManager;
import org.j... | Check for cancellation in multimedia verification
| backend/src/org/commcare/resources/model/ResourceTable.java | Check for cancellation in multimedia verification | |
Java | apache-2.0 | c0e3a25fefe92344f13e11383d93013d4a812223 | 0 | mobimentum/phonegap-plugin-loading-spinner,kunder-lab/cl.kunder.cordovaNativeLoading,kunder-lab/cl.kunder.cordovaNativeLoading,mobimentum/phonegap-plugin-loading-spinner,mobimentum/phonegap-plugin-loading-spinner | package it.mobimentum.phonegapspinnerplugin;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.widget.ProgressBar;
import android.widget.RelativeLayout;
import android.widget.RelativeLayout.LayoutParams;
public class ProgressActivity ex... | src/it/mobimentum/phonegapspinnerplugin/ProgressActivity.java | package it.mobimentum.phonegapspinnerplugin;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Handler;
import android.widget.ProgressBar;
import android.widget.RelativeLayout;
import android.widget.RelativeLayout.LayoutParams;
publi... | fixed some bugs
| src/it/mobimentum/phonegapspinnerplugin/ProgressActivity.java | fixed some bugs | |
Java | apache-2.0 | 56d2bff642a10b7ee6676304cc1bea2f72ec8bf3 | 0 | spatial4j/spatial4j,spatial4j/spatial4j | /*
* 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/java/com/spatial4j/core/io/GeneralPolyshapeTest.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 ... | Using polyshape writer as the test writer.
Signed-off-by: jdeolive <a2227d52c95cb6f286ff575825e36cb0eaada813@gmail.com>
| src/test/java/com/spatial4j/core/io/GeneralPolyshapeTest.java | Using polyshape writer as the test writer. | |
Java | apache-2.0 | 1201310f0bc2a6d597742f6388fbc28c034c94db | 0 | markpollack/spring-cloud-skipper,markpollack/spring-cloud-skipper,markpollack/spring-cloud-skipper,markpollack/spring-cloud-skipper,markpollack/spring-cloud-skipper | /*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | spring-cloud-skipper-server/src/test/java/org/springframework/cloud/skipper/AbstractIntegrationTest.java | /*
* Copyright 2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Add DirtiesContext into AbstractIntegrationTests
| spring-cloud-skipper-server/src/test/java/org/springframework/cloud/skipper/AbstractIntegrationTest.java | Add DirtiesContext into AbstractIntegrationTests | |
Java | apache-2.0 | 92c3d8b0b1c20297556510c13b7d442db31a7c0d | 0 | dinooliva/instrumentation-java,sebright/instrumentation-java,dinooliva/instrumentation-java,census-instrumentation/opencensus-java,songy23/instrumentation-java,sebright/opencensus-java,bogdandrutu/opencensus-java,sebright/opencensus-java,songy23/instrumentation-java,songy23/instrumentation-java,bogdandrutu/opencensus-j... | /*
* Copyright 2016, Google Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writi... | core_impl/src/test/java/com/google/instrumentation/stats/StatsContextTest.java | /*
* Copyright 2016, Google Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writi... | Temporarily disable flaky test.
This was reported in #224.
| core_impl/src/test/java/com/google/instrumentation/stats/StatsContextTest.java | Temporarily disable flaky test. | |
Java | apache-2.0 | e8f0afc6bfb6c81aab4ce5431a5e763d35134f79 | 0 | javamelody/javamelody,javamelody/javamelody,javamelody/javamelody | /*
* Copyright 2008-2010 by Emeric Vernat
*
* This file is part of Java Melody.
*
* Java Melody 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 3 of the License, or
* ... | javamelody-core/src/main/java/net/bull/javamelody/PdfReport.java | /*
* Copyright 2008-2010 by Emeric Vernat
*
* This file is part of Java Melody.
*
* Java Melody 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 3 of the License, or
* ... | mise en page du pdf | javamelody-core/src/main/java/net/bull/javamelody/PdfReport.java | mise en page du pdf | |
Java | apache-2.0 | 94471c6879e5bf7fd3839d8fac149a529d69f57d | 0 | kantega/reststop,kantega/reststop,kantega/reststop,kantega/reststop,kantega/reststop | /*
* Copyright 2015 Kantega AS
*
* 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... | maven-plugin/src/main/java/org/kantega/reststop/maven/dist/RpmBuilder.java | /*
* Copyright 2015 Kantega AS
*
* 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... | Bugfix: setting attributes to install dir.
| maven-plugin/src/main/java/org/kantega/reststop/maven/dist/RpmBuilder.java | Bugfix: setting attributes to install dir. | |
Java | apache-2.0 | 13ef423b04e6d0ecc87f3a928fd1791f49558a1a | 0 | consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo | /*
* Copyright 2013-2021 consulo.io
*
* 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 ... | modules/base/external-storage-impl/src/main/java/consulo/externalStorage/ExternaStoragePluginManager.java | /*
* Copyright 2013-2021 consulo.io
*
* 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 ... | check info about installed plugins - it can provide bug with infinity restart suggestion
| modules/base/external-storage-impl/src/main/java/consulo/externalStorage/ExternaStoragePluginManager.java | check info about installed plugins - it can provide bug with infinity restart suggestion | |
Java | apache-2.0 | 9dfe078f76a91c997daed0ceb051580f496ebe1e | 0 | vishwesh3/zulip-mobile,vishwesh3/zulip-mobile,vishwesh3/zulip-mobile,vishwesh3/zulip-mobile | package com.zulipmobile;
import android.app.Application;
import android.app.NotificationManager;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import com.RNFetchBlob.RNFetchBlobPackage;
import com.facebook.react.ReactApplication;
import com.nikolaiwarner.RNTextInputReset.RNTextInp... | android/app/src/main/java/com/zulipmobile/MainApplication.java | package com.zulipmobile;
import android.app.Application;
import android.app.NotificationManager;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import com.RNFetchBlob.RNFetchBlobPackage;
import com.facebook.react.ReactApplication;
import com.nikolaiwarner.RNTextInputReset.RNTextInp... | android notif: Stop advertising wix's interface on our Application.
Now that we've replaced both the GCM listener service, and the
intent service for getting user responses to a notification,
we never use the library code that looks for this interface.
Stop advertising it; that will allow us to refactor.
| android/app/src/main/java/com/zulipmobile/MainApplication.java | android notif: Stop advertising wix's interface on our Application. | |
Java | apache-2.0 | f55d2cea2a50ff7c6abe06401e34d5f4cac35c40 | 0 | jnidzwetzki/bboxdb,jnidzwetzki/scalephant,jnidzwetzki/bboxdb,jnidzwetzki/scalephant,jnidzwetzki/bboxdb | /*******************************************************************************
*
* Copyright (C) 2015-2018 the BBoxDB project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licens... | bboxdb-tools/src/main/java/org/bboxdb/tools/gui/BBoxDBGui.java | /*******************************************************************************
*
* Copyright (C) 2015-2018 the BBoxDB project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licens... | Changed window size | bboxdb-tools/src/main/java/org/bboxdb/tools/gui/BBoxDBGui.java | Changed window size | |
Java | apache-2.0 | f1803dfba8c3515af1945a7ba4750b2226acad1b | 0 | ShailShah/alluxio,calvinjia/tachyon,jsimsa/alluxio,ShailShah/alluxio,riversand963/alluxio,jswudi/alluxio,riversand963/alluxio,ShailShah/alluxio,Alluxio/alluxio,ChangerYoung/alluxio,wwjiang007/alluxio,bf8086/alluxio,EvilMcJerkface/alluxio,jswudi/alluxio,EvilMcJerkface/alluxio,aaudiber/alluxio,aaudiber/alluxio,Reidddddd/... | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | core/common/src/main/java/alluxio/metrics/MetricsSystem.java | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | Address comments
| core/common/src/main/java/alluxio/metrics/MetricsSystem.java | Address comments | |
Java | apache-2.0 | 3a392609e176e8e5321dc8d18d1d955375d1bc64 | 0 | nizhikov/ignite,andrey-kuznetsov/ignite,SomeFire/ignite,ilantukh/ignite,andrey-kuznetsov/ignite,SomeFire/ignite,xtern/ignite,apache/ignite,nizhikov/ignite,SomeFire/ignite,ilantukh/ignite,SomeFire/ignite,nizhikov/ignite,ilantukh/ignite,NSAmelchev/ignite,ilantukh/ignite,chandresh-pancholi/ignite,ilantukh/ignite,chandresh... | /*
* 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 ... | modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTxFinishSync.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 ... | IGNITE-11754 Fixed memory leak in TxFinishSync - Fixes #6462.
Signed-off-by: Alexey Goncharuk <c2e378302c4fe819c8ea9894ec81272c9da3a0af@gmail.com>
| modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTxFinishSync.java | IGNITE-11754 Fixed memory leak in TxFinishSync - Fixes #6462. | |
Java | apache-2.0 | 821a1b98bf45b63db06c00773a42da33f207115d | 0 | OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine | package org.ovirt.engine.core.bll;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.collections.... | backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddDiskCommand.java | package org.ovirt.engine.core.bll;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.collections.... | backend: use Collections.singletonList instead of Arrays.asList
When building a list with one node only and with no requirement for
adding or removing nodes from the list, it's better to use
Collections.singletonList for performance reasons.
Change-Id: I0cab98ea362d708712716e956e437e1eeff83d4d
Signed-off-by: Idan Sha... | backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddDiskCommand.java | backend: use Collections.singletonList instead of Arrays.asList | |
Java | bsd-2-clause | 50c39164b7f896c98e3ef8c55d3537a957e2cda7 | 0 | runelite/runelite,runelite/runelite,runelite/runelite | /*
* Copyright (c) 2019, Hydrox6 <ikada@protonmail.ch>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* ... | runelite-client/src/main/java/net/runelite/client/plugins/itemidentification/ItemIdentification.java | /*
* Copyright (c) 2019, Hydrox6 <ikada@protonmail.ch>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* ... | item identification: Fix duplicate tree seed entries
| runelite-client/src/main/java/net/runelite/client/plugins/itemidentification/ItemIdentification.java | item identification: Fix duplicate tree seed entries | |
Java | bsd-3-clause | 91511a6c932d1b89ed8506c595c1e921f357a50f | 0 | exponentjs/exponent,exponentjs/exponent,exponentjs/exponent,exponent/exponent,exponentjs/exponent,exponentjs/exponent,exponent/exponent,exponent/exponent,exponentjs/exponent,exponent/exponent,exponentjs/exponent,exponent/exponent,exponentjs/exponent,exponent/exponent,exponent/exponent,exponent/exponent,exponent/exponen... | package host.exp.exponent.network;
import java.io.IOException;
import java.io.InputStream;
public class OkHttpV1ExpoResponse implements ExpoResponse {
expolib_v1.okhttp3.Response mOkHttpResponse;
public OkHttpV1ExpoResponse(expolib_v1.okhttp3.Response response) {
mOkHttpResponse = response;
}
class OkH... | android/expoview/src/main/java/host/exp/exponent/network/OkHttpV1ExpoResponse.java | package host.exp.exponent.network;
import java.io.IOException;
import java.io.InputStream;
public class OkHttpV1ExpoResponse implements ExpoResponse {
expolib_v1.okhttp3.Response mOkHttpResponse;
public OkHttpV1ExpoResponse(expolib_v1.okhttp3.Response response) {
mOkHttpResponse = response;
}
class OkH... | return null networkResponse in OkHttpV1ExpoResponse if the underlying networkResponse is null (#2726)
fbshipit-source-id: efdd1b8
| android/expoview/src/main/java/host/exp/exponent/network/OkHttpV1ExpoResponse.java | return null networkResponse in OkHttpV1ExpoResponse if the underlying networkResponse is null (#2726) | |
Java | bsd-3-clause | 68a61aa5784d9b7abba936e49a4015d9ef4f186d | 0 | krishagni/openspecimen,krishagni/openspecimen,asamgir/openspecimen,asamgir/openspecimen,krishagni/openspecimen,asamgir/openspecimen | package edu.wustl.catissuecore.action;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.StringTokenizer;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ... | WEB-INF/src/edu/wustl/catissuecore/action/CreateSpecimenTemplateAction.java | package edu.wustl.catissuecore.action;
import java.util.ArrayList;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.StringTokenizer;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import ... | changes for showing the tree items selected
SVN-Revision: 13604
| WEB-INF/src/edu/wustl/catissuecore/action/CreateSpecimenTemplateAction.java | changes for showing the tree items selected | |
Java | bsd-3-clause | 12a36946e89306a3886541be98be6190d07662f4 | 0 | mcanthony/antlr4,wjkohnen/antlr4,joshids/antlr4,joshids/antlr4,krzkaczor/antlr4,parrt/antlr4,mcanthony/antlr4,hce/antlr4,ericvergnaud/antlr4,wjkohnen/antlr4,worsht/antlr4,Pursuit92/antlr4,worsht/antlr4,parrt/antlr4,Distrotech/antlr4,parrt/antlr4,jvanzyl/antlr4,Pursuit92/antlr4,krzkaczor/antlr4,worsht/antlr4,Distrotech/... | /*
* [The "BSD license"]
* Copyright (c) 2013 Terence Parr
* Copyright (c) 2013 Sam Harwell
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must r... | runtime/Java/src/org/antlr/v4/runtime/ParserInterpreter.java | /*
* [The "BSD license"]
* Copyright (c) 2013 Terence Parr
* Copyright (c) 2013 Sam Harwell
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must r... | actually just show text of erroneous token in red in treeviewer.
| runtime/Java/src/org/antlr/v4/runtime/ParserInterpreter.java | actually just show text of erroneous token in red in treeviewer. | |
Java | bsd-3-clause | 4d1b43388a53a0cf90873f5125250e83c98c1b31 | 0 | lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon | /*
* $Id: CasaEditriceCluebSourceXmlMetadataExtractorFactory.java,v 1.2 2012-07-29 17:09:36 pgust Exp $
*/
/*
Copyright (c) 2000-2010 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and assoc... | plugins/src/org/lockss/plugin/casaeditriceclueb/CasaEditriceCluebSourceXmlMetadataExtractorFactory.java | /*
* $Id: CasaEditriceCluebSourceXmlMetadataExtractorFactory.java,v 1.1 2012-03-13 22:39:42 dylanrhodes Exp $
*/
/*
Copyright (c) 2000-2010 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and... | Extract ISBN from metadata.
git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@19111 4f837ed2-42f5-46e7-a7a5-fa17313484d4
| plugins/src/org/lockss/plugin/casaeditriceclueb/CasaEditriceCluebSourceXmlMetadataExtractorFactory.java | Extract ISBN from metadata. | |
Java | mit | 9a02e8c1d23b6b21f48fd1ecafd7d96a898919d7 | 0 | skanukov/sparklet,skanukov/sparklet | package com.github.skanukov.sparklet.config;
import com.github.skanukov.sparklet.core.json.JsonEngineFactory;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
/**
* Holds application settings.
*/
public class Se... | src/main/java/com/github/skanukov/sparklet/config/Settings.java | package com.github.skanukov.sparklet.config;
import com.google.gson.Gson;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
/**
* Holds application settings.
*/
public class Settings {
private static final St... | Refactor Settings class
| src/main/java/com/github/skanukov/sparklet/config/Settings.java | Refactor Settings class | |
Java | mit | 7df1d7025880e15c5a59dfc47a6de49df7103629 | 0 | companieshouse/forms-enablement-api,companieshouse/forms-enablement-api | package com.ch.conversion.builders;
import com.ch.conversion.config.ITransformConfig;
import org.apache.commons.io.IOUtils;
import org.glassfish.jersey.media.multipart.FormDataBodyPart;
import org.glassfish.jersey.media.multipart.FormDataMultiPart;
import org.json.JSONArray;
import org.json.JSONObject;
import java.i... | src/main/java/com/ch/conversion/builders/JsonBuilder.java | package com.ch.conversion.builders;
import com.ch.conversion.config.ITransformConfig;
import org.glassfish.jersey.media.multipart.FormDataBodyPart;
import org.glassfish.jersey.media.multipart.FormDataMultiPart;
import org.json.JSONArray;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.List;
... | media types
| src/main/java/com/ch/conversion/builders/JsonBuilder.java | media types | |
Java | mit | cb35c9602083a36405b7fe4497cb1050b42e29e6 | 0 | defano/hypertalk-java | package com.defano.hypertalk.ast.expressions.operators.binary;
import com.defano.hypertalk.ast.expressions.Expression;
import com.defano.hypertalk.ast.expressions.operators.BinaryOperatorExp;
import com.defano.hypertalk.ast.model.Value;
import com.defano.hypertalk.exception.HtException;
import org.antlr.v4.runtime.Par... | src/main/java/com/defano/hypertalk/ast/expressions/operators/binary/AndOp.java | package com.defano.hypertalk.ast.expressions.operators.binary;
import com.defano.hypertalk.ast.expressions.Expression;
import com.defano.hypertalk.ast.expressions.operators.BinaryOperatorExp;
import com.defano.hypertalk.ast.model.Value;
import com.defano.hypertalk.exception.HtException;
import org.antlr.v4.runtime.Par... | Fixing broken ‘and’ operator (typo)
| src/main/java/com/defano/hypertalk/ast/expressions/operators/binary/AndOp.java | Fixing broken ‘and’ operator (typo) | |
Java | mit | 7dcc5f18518ebc56b7ca0ad34013de937b4c1d8b | 0 | smarr/SOMns,richard-roberts/SOMns,smarr/SOMns,smarr/SOMns,richard-roberts/SOMns,MetaConc/SOMns,MetaConc/SOMns,richard-roberts/SOMns,richard-roberts/SOMns,VAISHALI-DHANOA/SOMns,smarr/SOMns,richard-roberts/SOMns,VAISHALI-DHANOA/SOMns,MetaConc/SOMns,VAISHALI-DHANOA/SOMns,richard-roberts/SOMns,smarr/SOMns,richard-roberts/S... | package som.compiler;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map.Entry;
import com.oracle.truffle.api.CallTarget;
import com.oracle.truffle.api.CompilerAsserts;
import com.oracle.t... | src/som/compiler/MixinDefinition.java | package som.compiler;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map.Entry;
import com.oracle.truffle.api.CallTarget;
import com.oracle.truffle.api.CompilerAsserts;
import com.oracle.t... | Add getter for primary factory selector on MixinDefinition
Signed-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>
| src/som/compiler/MixinDefinition.java | Add getter for primary factory selector on MixinDefinition | |
Java | mit | b2acb2915e1369a58c9500470d1563dd10fc69f6 | 0 | FlorianLoch/calculator-parser | package edu.kit.stc.lexer;
import edu.kit.stc.lexer.exception.LException;
import edu.kit.stc.vocabulary.terminal.Token;
import java.util.ArrayList;
import java.util.Queue;
import static org.junit.Assert.*;
/**
* Created by florian on 08.05.16.
*/
public class LexerTest {
@org.junit.Test
public void simpl... | test/edu/kit/stc/lexer/LexerTest.java | package edu.kit.stc.lexer;
import edu.kit.stc.vocabulary.terminal.Token;
import java.util.ArrayList;
import java.util.Queue;
import static org.junit.Assert.*;
/**
* Created by florian on 08.05.16.
*/
public class LexerTest {
@org.junit.Test
public void testLex() throws Exception {
final String SA... | Add some little tests for lexer
| test/edu/kit/stc/lexer/LexerTest.java | Add some little tests for lexer | |
Java | cc0-1.0 | 9e548b08541eb4db2411412c3b770873ed43a0df | 0 | ontometrics/integration-agents,ontometrics/integration-agents | package com.ontometrics.integrations.sources;
import com.ontometrics.test.util.TestUtil;
import org.junit.Before;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.xml.stream.*;
import javax.xml.stream.events.StartElement;
import javax.xml.stream.events.XMLEvent;
import java... | src/test/java/com/ontometrics/integrations/sources/SourceEventMapperTest.java | package com.ontometrics.integrations.sources;
import com.ontometrics.test.util.TestUtil;
import org.junit.Before;
import org.junit.Test;
import org.junit.experimental.theories.suppliers.TestedOn;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.xml.stream.*;
import javax.xml.stream.events.StartEl... | AIA-2 removing warnings, even though this is just scratch code
| src/test/java/com/ontometrics/integrations/sources/SourceEventMapperTest.java | AIA-2 removing warnings, even though this is just scratch code | |
Java | apache-2.0 | 408f128a72ccea6c3bd0d84833743b4b4ff2c108 | 0 | raphw/byte-buddy,raphw/byte-buddy,raphw/byte-buddy | /*
* Copyright 2014 - 2020 Rafael Winterhalter
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | byte-buddy-dep/src/main/java/net/bytebuddy/asm/Advice.java | /*
* Copyright 2014 - 2020 Rafael Winterhalter
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | Add invoker abstraction.
| byte-buddy-dep/src/main/java/net/bytebuddy/asm/Advice.java | Add invoker abstraction. | |
Java | apache-2.0 | 7de8959a0e33ee661d4a6fd59a9d40589d1829a2 | 0 | leapframework/framework,leapframework/framework,leapframework/framework,leapframework/framework | /*
* Copyright 2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | data/orm/src/main/java/leap/orm/annotation/ColumnType.java | /*
* Copyright 2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | orm: fix type name at 'ColumnType' enum
| data/orm/src/main/java/leap/orm/annotation/ColumnType.java | orm: fix type name at 'ColumnType' enum | |
Java | apache-2.0 | 4f9ad3bce72c33a139fa3a2aa511b7919e2f44ff | 0 | irccloud/android,irccloud/android,irccloud/android,irccloud/android,irccloud/android | /*
* Copyright (c) 2015 IRCCloud, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | src/com/irccloud/android/fragment/MessageViewFragment.java | /*
* Copyright (c) 2015 IRCCloud, Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Fix a few crashes
| src/com/irccloud/android/fragment/MessageViewFragment.java | Fix a few crashes | |
Java | apache-2.0 | 0f9851891412a140baa7accc17ef5dc974cc497e | 0 | GinRyan/OtomenoMVP | package org.xellossryan.mvpgo.ui;
import android.os.Bundle;
import android.support.design.widget.Snackbar;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.StaggeredGridLayoutManager;
im... | app/src/main/java/org/xellossryan/mvpgo/ui/MainActivity.java | package org.xellossryan.mvpgo.ui;
import android.os.Bundle;
import android.support.design.widget.Snackbar;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.StaggeredGridLayoutManager;
im... | auto refresh
| app/src/main/java/org/xellossryan/mvpgo/ui/MainActivity.java | auto refresh | |
Java | apache-2.0 | 54bc23c6c869e19deaaa29ba1c9d9f4ceca8f276 | 0 | consulo/consulo-napile,consulo/consulo-napile | /*
* Copyright 2010-2013 napile.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | src/org/napile/idea/plugin/editor/completion/NapileCompletionContributor.java | /*
* Copyright 2010-2013 napile.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | ref completion
| src/org/napile/idea/plugin/editor/completion/NapileCompletionContributor.java | ref completion | |
Java | apache-2.0 | ebc87aec539eef752072e95315daee65f7f42ebb | 0 | smadha/tika,zamattiac/tika,smadha/tika,smadha/tika,zamattiac/tika,zamattiac/tika,smadha/tika,zamattiac/tika,zamattiac/tika,zamattiac/tika,smadha/tika,zamattiac/tika,smadha/tika,smadha/tika,zamattiac/tika,smadha/tika | /*
* 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 ... | tika-parsers/src/main/java/org/apache/tika/parser/ocr/TesseractOCRParser.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 ... | TIKA-2359: Alert user that tesseract is available and will be used.
| tika-parsers/src/main/java/org/apache/tika/parser/ocr/TesseractOCRParser.java | TIKA-2359: Alert user that tesseract is available and will be used. | |
Java | apache-2.0 | 1691f083a98156c4c48569bc78efda4e720347df | 0 | b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,IHTSDO/snow-owl,IHTSDO/snow-owl,b2ihealthcare/snow-owl,IHTSDO/snow-owl,IHTSDO/snow-owl,b2ihealthcare/snow-owl | /*
* Copyright 2017 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 ... | commons/com.b2international.index.es/src/com/b2international/index/admin/EsIndexAdmin.java | /*
* Copyright 2017 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 ... | [es5] fix invalid mapping constructs generated by EsIndexAdmin.toProps | commons/com.b2international.index.es/src/com/b2international/index/admin/EsIndexAdmin.java | [es5] fix invalid mapping constructs generated by EsIndexAdmin.toProps | |
Java | apache-2.0 | 4535c50e632398ad133d790c9ebaa59e038ba41a | 0 | Softmotions/ncms,Softmotions/ncms,Softmotions/ncms,Softmotions/ncms,Softmotions/ncms,Softmotions/ncms,Softmotions/ncms | package com.softmotions.ncms.mediawiki;
import info.bliki.wiki.filter.Encoder;
import com.softmotions.commons.ctype.CTypeUtils;
import com.softmotions.ncms.NcmsEnvironment;
import com.softmotions.ncms.NcmsMessages;
import com.softmotions.ncms.jaxrs.BadRequestException;
import com.softmotions.ncms.media.MediaRepository... | ncms-engine/ncms-engine-core/src/main/java/com/softmotions/ncms/mediawiki/MediaWikiRS.java | package com.softmotions.ncms.mediawiki;
import info.bliki.wiki.filter.Encoder;
import com.softmotions.commons.ctype.CTypeUtils;
import com.softmotions.ncms.NcmsEnvironment;
import com.softmotions.ncms.NcmsMessages;
import com.softmotions.ncms.jaxrs.BadRequestException;
import com.softmotions.ncms.media.MediaRepository... | cyrillic domains fixed
| ncms-engine/ncms-engine-core/src/main/java/com/softmotions/ncms/mediawiki/MediaWikiRS.java | cyrillic domains fixed | |
Java | apache-2.0 | 2c50506b2f1ab14ccb960fcb970fcffec1161e3c | 0 | orfjackal/jumi,donaldlee2008/jumi-actors,orfjackal/jumi-actors | // Copyright © 2011-2012, Esko Luontola <www.orfjackal.net>
// This software is released under the Apache License 2.0.
// The license text is at http://www.apache.org/licenses/LICENSE-2.0
package fi.jumi.test;
import fi.jumi.core.config.*;
import fi.jumi.core.network.*;
import fi.jumi.core.runs.RunId;
import fi.jumi.... | end-to-end-tests/src/test/java/fi/jumi/test/AppRunner.java | // Copyright © 2011-2012, Esko Luontola <www.orfjackal.net>
// This software is released under the Apache License 2.0.
// The license text is at http://www.apache.org/licenses/LICENSE-2.0
package fi.jumi.test;
import fi.jumi.core.config.*;
import fi.jumi.core.network.*;
import fi.jumi.core.runs.RunId;
import fi.jumi.... | Refactored
| end-to-end-tests/src/test/java/fi/jumi/test/AppRunner.java | Refactored | |
Java | apache-2.0 | 656cb35226d84706580fbef9047cb2e5db808511 | 0 | OpenGamma/Strata,jmptrader/Strata,ChinaQuants/Strata | /**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.collect.result;
import java.io.Serializable;
import java.util.Collection;
import java.util.Map;
import java.util.NoSuchElementException;
import java.uti... | modules/collect/src/main/java/com/opengamma/strata/collect/result/Failure.java | /**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.collect.result;
import java.io.Serializable;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Set;
import java.util.strea... | Make Failure.of methods public (#1305)
| modules/collect/src/main/java/com/opengamma/strata/collect/result/Failure.java | Make Failure.of methods public (#1305) | |
Java | apache-2.0 | 1a22cc05ea6c0e1501854a9452aefaa478362b1c | 0 | sdnwiselab/onos,chenxiuyang/onos,planoAccess/clonedONOS,zsh2938/onos,mengmoya/onos,osinstom/onos,kuujo/onos,kkkane/ONOS,donNewtonAlpha/onos,VinodKumarS-Huawei/ietf96yang,packet-tracker/onos,SmartInfrastructures/dreamer,mengmoya/onos,maheshraju-Huawei/actn,LorenzReinhart/ONOSnew,kuangrewawa/onos,maheshraju-Huawei/actn,c... | /*
* Copyright 2014 Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | apps/foo/src/main/java/org/onlab/onos/foo/FooComponent.java | /*
* Copyright 2014 Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | Foo: Do not dump DatabaseException backtrace
Change-Id: I43e538cfcedc0c9f6f51fd6d7ccb2509f6723f0f
| apps/foo/src/main/java/org/onlab/onos/foo/FooComponent.java | Foo: Do not dump DatabaseException backtrace | |
Java | apache-2.0 | 86470c2ac73be544771d63c4a95faff818052e9f | 0 | wmz7year/ignite,rfqu/ignite,a1vanov/ignite,ptupitsyn/ignite,NSAmelchev/ignite,mcherkasov/ignite,SomeFire/ignite,ntikhonov/ignite,ntikhonov/ignite,alexzaitzev/ignite,wmz7year/ignite,irudyak/ignite,daradurvs/ignite,chandresh-pancholi/ignite,apache/ignite,sk0x50/ignite,sk0x50/ignite,xtern/ignite,samaitra/ignite,BiryukovVA... | /*
* 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 ... | modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.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 ... | DB-X - Fixing tests.
| modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java | DB-X - Fixing tests. | |
Java | apache-2.0 | 90a1a8ec08a9d44917831542aab6ae63c80be5f8 | 0 | bitsofproof/supernode,joansmith/supernode | package com.bitsofproof.supernode.model;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.sprin... | src/com/bitsofproof/supernode/model/JpaPeerStore.java | package com.bitsofproof.supernode.model;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.sprin... | prefer peers with long chains | src/com/bitsofproof/supernode/model/JpaPeerStore.java | prefer peers with long chains | |
Java | apache-2.0 | 2ff73777d3cdfc7257a82a6722312805b29ef9d9 | 0 | Valkryst/VTerminal | package com.valkryst.VTerminal.builder;
import com.valkryst.VTerminal.Panel;
import com.valkryst.VTerminal.component.Screen;
import com.valkryst.VTerminal.font.Font;
import lombok.Getter;
import javax.swing.JFrame;
import javax.swing.WindowConstants;
public class PanelBuilder {
/** The width of the panel, in cha... | src/com/valkryst/VTerminal/builder/PanelBuilder.java | package com.valkryst.VTerminal.builder;
import com.valkryst.VTerminal.Panel;
import com.valkryst.VTerminal.component.Screen;
import lombok.Getter;
import javax.swing.JFrame;
import javax.swing.WindowConstants;
import java.util.Objects;
public class PanelBuilder {
/** The width of the panel, in characters. */
... | Reverts previous commit.
| src/com/valkryst/VTerminal/builder/PanelBuilder.java | Reverts previous commit. | |
Java | apache-2.0 | e12ef642ae1531395b3f13aa252fa0ebe6c853ef | 0 | HubSpot/jinjava,HubSpot/jinjava | /**********************************************************************
* Copyright (c) 2014 HubSpot 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/lice... | src/main/java/com/hubspot/jinjava/lib/tag/IfTag.java | /**********************************************************************
Copyright (c) 2014 HubSpot 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
U... | missing expression for if tag should be syntax error
| src/main/java/com/hubspot/jinjava/lib/tag/IfTag.java | missing expression for if tag should be syntax error | |
Java | apache-2.0 | 9e60f930ef9faa0f3472cf5dd7c11797e978c15c | 0 | lynring24/ITimeU | package com.itti7.itimeu;
import android.content.SharedPreferences;
import android.provider.BaseColumns;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.CursorLoader;
import android.support.v4.content.Loader;
import android.app.Activity;
import android.content.ContentUris;
import android... | ITimeU/app/src/main/java/com/itti7/itimeu/ListItemFragment.java | package com.itti7.itimeu;
import android.content.SharedPreferences;
import android.provider.BaseColumns;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.CursorLoader;
import android.support.v4.content.Loader;
import android.app.Activity;
import android.content.ContentUris;
import android... | mItemName -> 메인 액티비티에서 아이템 이름 가져오는 것으로 변경
| ITimeU/app/src/main/java/com/itti7/itimeu/ListItemFragment.java | mItemName -> 메인 액티비티에서 아이템 이름 가져오는 것으로 변경 | |
Java | apache-2.0 | 8a1cfb27e11c41928b7530a17815cd0f3a1f9ea6 | 0 | realityforge/arez,realityforge/arez,realityforge/arez | package arez.component.internal;
import arez.Arez;
import arez.ArezContext;
import arez.Component;
import arez.ComputableValue;
import arez.Disposable;
import arez.Flags;
import arez.ObservableValue;
import arez.SafeProcedure;
import arez.annotations.ArezComponent;
import arez.annotations.Observe;
import arez.componen... | core/src/main/java/arez/component/internal/ComponentKernel.java | package arez.component.internal;
import arez.Arez;
import arez.ArezContext;
import arez.Component;
import arez.ComputableValue;
import arez.Disposable;
import arez.Flags;
import arez.ObservableValue;
import arez.SafeProcedure;
import arez.annotations.ArezComponent;
import arez.annotations.Observe;
import arez.componen... | Move state accessors into central place
| core/src/main/java/arez/component/internal/ComponentKernel.java | Move state accessors into central place | |
Java | bsd-3-clause | 7279594cd23947d14a7af37ab70ae32016113600 | 0 | jpetazzo/s3auth,jpetazzo/s3auth,jpetazzo/s3auth | /**
* Copyright (c) 2012-2014, s3auth.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met: 1) Redistributions of source code must retain the above
* copyright notice, this list of conditio... | s3auth-relay/src/main/java/com/s3auth/relay/SecuredHost.java | /**
* Copyright (c) 2012-2014, s3auth.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met: 1) Redistributions of source code must retain the above
* copyright notice, this list of conditio... | #211 fixed
| s3auth-relay/src/main/java/com/s3auth/relay/SecuredHost.java | #211 fixed | |
Java | bsd-3-clause | 908837c9205c15a66bc28a7d50881f219dee0a99 | 0 | ndexbio/ndex-object-model | /**
* Copyright (c) 2013, 2016, The Regents of the University of California, The Cytoscape Consortium
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code m... | src/main/java/org/ndexbio/model/cx/FunctionTermElement.java | /**
* Copyright (c) 2013, 2016, The Regents of the University of California, The Cytoscape Consortium
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code m... | Add comments in FunctionTermElement. | src/main/java/org/ndexbio/model/cx/FunctionTermElement.java | Add comments in FunctionTermElement. | |
Java | mit | 05c8ac33a5c83b63019e4295ea7b4f2438646bb5 | 0 | dbisUnibas/cineast,silvanheller/cineast,vitrivr/cineast,vitrivr/cineast | package org.vitrivr.cineast.core.importer;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.vitrivr.cineast.core.util.LogHelper;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Array... | src/org/vitrivr/cineast/core/importer/DataImportHandler.java | package org.vitrivr.cineast.core.importer;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.vitrivr.cineast.core.util.LogHelper;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Array... | added gc call to DataImportHandler
| src/org/vitrivr/cineast/core/importer/DataImportHandler.java | added gc call to DataImportHandler | |
Java | mit | 48cd20fc4be7b4456a3f214f41a9f7baf281a642 | 0 | dbisUnibas/cineast,silvanheller/cineast,vitrivr/cineast,vitrivr/cineast | package org.vitrivr.cineast.core.features.neuralnet;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.vitrivr.adam.grpc.AdamGrpc;
import org.vitrivr.cineast.core.config.QueryConfig;
import org.vitrivr.cineast.core.data.FloatVectorImpl;
import org.vitrivr.cineast.core.data.... | src/org/vitrivr/cineast/core/features/neuralnet/NeuralNetFeature.java | package org.vitrivr.cineast.core.features.neuralnet;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.vitrivr.adam.grpc.AdamGrpc;
import org.vitrivr.cineast.core.config.QueryConfig;
import org.vitrivr.cineast.core.data.FloatVectorImpl;
import org.vitrivr.cineast.core.data.... | Using String Interpolation for Logging
| src/org/vitrivr/cineast/core/features/neuralnet/NeuralNetFeature.java | Using String Interpolation for Logging | |
Java | mit | error: pathspec 'Graph.java' did not match any file(s) known to git
| f2f8d7a8f96787923d9e9364fcfc8c480cfc589b | 1 | Lw-Cui/visual-graph-algs,Lw-Cui/visual-graph-algs | import edu.princeton.cs.algs4.*;
public class Graph {
public static void main(String[] args) {
int N = 1000;
int XMAX = 100, YMAX = 100;
int[] x = new int[N], y = new int[N];
for (int i = 0; i < N; i++) {
x[i] = StdRandom.uniform(0, XMAX);
y[i] = S... | Graph.java | basic visual processing
| Graph.java | basic visual processing | |
Java | mit | error: pathspec 'jomblo.java' did not match any file(s) known to git
| d25d50823ab21b63687fdd5b1c0ddc7ae6a85d5a | 1 | christoga/Jomblo,christoga/Jomblo,christoga/Jomblo,christoga/Jomblo,christoga/Jomblo,christoga/Jomblo | import javax.swing.JOptionPane;
public class Jomblo {
public static void main(String[] args){
String name = "";
name = JOptionPane.showInputDialog("Siapa namanya?");
String msg = "Halo " + name + ",";
JOptionPane.showMessageDialog(null, msg);
}
}
| jomblo.java | Added java
| jomblo.java | Added java | |
Java | mit | error: pathspec 'src/src/Game.java' did not match any file(s) known to git
| dc11bc53e2bf6212938fdf8a0e6f41a46e5715d3 | 1 | SarahWhereIsMyTea/Tournament,SarahWhereIsMyTea/Tournament,SarahWhereIsMyTea/Tournament,SarahWhereIsMyTea/Tournament,SarahWhereIsMyTea/Tournament | package src;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
public class Game {
String _player;
DataBaseWorker _dbworker;
String _judge;
public Game(String player, DataBaseWorker dbworker, String judge){
_player = player;
... | src/src/Game.java | Create method DO, define Judge's return format.
| src/src/Game.java | Create method DO, define Judge's return format. | |
Java | mit | error: pathspec 'BOJ/2721/Main.java' did not match any file(s) known to git
| c6a64dd50a434dc85da8a1029a472df3c02d18b6 | 1 | ISKU/Algorithm | /*
* Author: Minho Kim (ISKU)
* Date: August 8, 2018
* E-mail: minho.kim093@gmail.com
*
* https://github.com/ISKU/Algorithm
* https://www.acmicpc.net/problem/2721
*/
import java.io.*;
public class Main {
public static void main(String... args) throws Exception {
BufferedReader br = new BufferedReader(new In... | BOJ/2721/Main.java | BOJ #2721: 삼각수의 합
| BOJ/2721/Main.java | BOJ #2721: 삼각수의 합 | |
Java | mit | error: pathspec 'src/MinNumInRotateArray.java' did not match any file(s) known to git
| d624c94c34363edae5e1cd13e9a24f5a944af1c9 | 1 | qiuyongchen/nowcoder | /**
* Created by qiuyongchen on 16/7/10.
*/
public class MinNumInRotateArray {
public static void main(String[] args) {
}
/**
* 把一个数组最开始的若干个元素搬到数组的末尾,我们称之为数组的旋转。
* 输入一个递增排序的数组的一个旋转,输出旋转数组的最小元素。
* 例如数组{3,4,5,1,2}为{1,2,3,4,5}的一个旋转,该数组的最小值为1。
* NOTE:给出的所有元素都大于0,若数组大小为0,请返回0。
*
... | src/MinNumInRotateArray.java | 旋转数组的最小元素
| src/MinNumInRotateArray.java | 旋转数组的最小元素 | |
Java | mit | error: pathspec 'src/Codility/_L0803PrimeNosCountPeaks.java' did not match any file(s) known to git
| 326b7c4a5b336f2c2dafbde528916c55ec299b8c | 1 | darshanhs90/Java-Coding,darshanhs90/Java-InterviewPrep | package Codility;
import java.util.ArrayList;
import java.util.Arrays;
/*
* Author : Haridarshan H.S.
* Link : https://codility.com/programmers/task/peaks
*/
public class _L0803PrimeNosCountPeaks {
public static void main(String[] args) {
System.out.println(solution(new int[]{1, 2, 3, 4, 3, 4, 1, 2... | src/Codility/_L0803PrimeNosCountPeaks.java | Peaks completed | src/Codility/_L0803PrimeNosCountPeaks.java | Peaks completed | |
Java | mit | error: pathspec 'src/main/java/writables/PointWritable.java' did not match any file(s) known to git
| 46589071a692a616aef6ffb3eed5f5d4409cb970 | 1 | Rarioty/KMeansHadoop | package main.java.writables;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import org.apache.hadoop.io.Writable;
public class PointWritable implements Writable {
public int nbDimensions;
public Double[] dimensions;
public PointWritable() {
System.out.println("Ne... | src/main/java/writables/PointWritable.java | fix(writable): Adding missing file !
| src/main/java/writables/PointWritable.java | fix(writable): Adding missing file ! | |
Java | mit | error: pathspec 'src/se/embargo/core/graphics/ShaderProgram.java' did not match any file(s) known to git
| a8f327f4e08997600b286547110258bb18ce95c0 | 1 | mikljohansson/android-core | package se.embargo.core.graphics;
import java.io.IOException;
import java.io.InputStream;
import se.embargo.core.io.Streams;
import android.content.Context;
import android.opengl.GLES20;
import android.util.Log;
public class ShaderProgram {
private static final String TAG = "ShaderProgram";
priva... | src/se/embargo/core/graphics/ShaderProgram.java | Shader program utility class
| src/se/embargo/core/graphics/ShaderProgram.java | Shader program utility class |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.