commit stringlengths 40 40 | old_file stringlengths 4 236 | new_file stringlengths 4 236 | old_contents stringlengths 1 3.26k | new_contents stringlengths 16 4.43k | subject stringlengths 16 624 | message stringlengths 17 3.29k | lang stringclasses 5
values | license stringclasses 13
values | repos stringlengths 5 91.5k |
|---|---|---|---|---|---|---|---|---|---|
7a12a49fe84b8e57fd77a9d6fede11316e258251 | core/che-core-api-core/src/main/java/org/eclipse/che/api/core/ErrorCodes.java | core/che-core-api-core/src/main/java/org/eclipse/che/api/core/ErrorCodes.java | /*******************************************************************************
* Copyright (c) 2012-2016 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | /*******************************************************************************
* Copyright (c) 2012-2016 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | Add comment which defines error codes range | Add comment which defines error codes range
| Java | epl-1.0 | TypeFox/che,davidfestal/che,cemalkilic/che,TypeFox/che,jonahkichwacoders/che,Mirage20/che,kaloyan-raev/che,cemalkilic/che,ollie314/che,Patricol/che,kaloyan-raev/che,stour/che,bartlomiej-laczkowski/che,snjeza/che,akervern/che,ollie314/che,akervern/che,cemalkilic/che,akervern/che,cemalkilic/che,cdietrich/che,gazarenkov/c... |
3cd5cd8a53b99ec0e5bff1a4ba30356454395e25 | src/main/java/com/alexrnl/commons/io/IOUtils.java | src/main/java/com/alexrnl/commons/io/IOUtils.java | package com.alexrnl.commons.io;
import java.io.BufferedReader;
import java.io.EOFException;
import java.io.IOException;
import java.util.Objects;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* Utility methods for IO stuff.<br />
* @author Alex
*/
public final class IOUtils {
/** Logger */
... | package com.alexrnl.commons.io;
import java.io.BufferedReader;
import java.io.EOFException;
import java.io.IOException;
import java.util.Objects;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* Utility methods for IO stuff.<br />
* @author Alex
*/
public final class IOUtils {
/** Logger */
... | Add constant for unicode byte order mark | Add constant for unicode byte order mark
| Java | bsd-3-clause | AlexRNL/Commons |
76dbe0b44d22d5a179e61ee215ab96db420529b5 | Common/src/main/java/net/darkhax/bookshelf/api/registry/IRegistryReader.java | Common/src/main/java/net/darkhax/bookshelf/api/registry/IRegistryReader.java | package net.darkhax.bookshelf.api.registry;
import net.minecraft.resources.ResourceLocation;
import javax.annotation.Nullable;
import java.util.stream.Stream;
import java.util.stream.StreamSupport;
public interface IRegistryReader<T> extends Iterable<T> {
@Nullable
T get(ResourceLocation id);
@Nullable... | package net.darkhax.bookshelf.api.registry;
import net.minecraft.resources.ResourceLocation;
import javax.annotation.Nullable;
import java.util.stream.Stream;
import java.util.stream.StreamSupport;
public interface IRegistryReader<T> extends Iterable<T> {
@Nullable
T get(ResourceLocation id);
@Nullable... | Add a registry reader method that gets an ID with an optional fallback. | Add a registry reader method that gets an ID with an optional fallback.
| Java | lgpl-2.1 | Darkhax-Minecraft/Bookshelf |
465272c29d6fc7c448b5b6cf4a4822f578aa0bd8 | pax-jdbc-itest/src/test/java/org/ops4j/pax/jdbc/test/pool/PoolAriesTest.java | pax-jdbc-itest/src/test/java/org/ops4j/pax/jdbc/test/pool/PoolAriesTest.java | package org.ops4j.pax.jdbc.test.pool;
import javax.inject.Inject;
import org.junit.Test;
import org.ops4j.pax.exam.Configuration;
import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.util.Filter;
import org.ops4j.pax.jdbc.pool.common.PooledDataSourceFactory;
import org.ops4j.pax.jdbc.test.AbstractJdbcTest;
pu... | package org.ops4j.pax.jdbc.test.pool;
import javax.inject.Inject;
import org.junit.Test;
import org.ops4j.pax.exam.Configuration;
import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.util.Filter;
import org.ops4j.pax.jdbc.pool.common.PooledDataSourceFactory;
import org.ops4j.pax.jdbc.test.AbstractJdbcTest;
pu... | Fix missing itest dependency for aries-pool | [PAXJDBC-124] Fix missing itest dependency for aries-pool
| Java | apache-2.0 | ops4j/org.ops4j.pax.jdbc |
22a568f714191b716b6b88a1f6105e64a4b2e0e3 | src/chart_parser/CategoryEquivalence.java | src/chart_parser/CategoryEquivalence.java | package chart_parser;
import java.util.HashMap;
import cat_combination.SuperCategory;
public class CategoryEquivalence {
/*
* keys are triples of (position, span, SuperCategory); value becomes the *last*
* SuperCategory in the linked list of equivalents
*/
// should refactor into Hashmap<EquivKey, LinkedList... | package chart_parser;
import java.util.HashMap;
import cat_combination.SuperCategory;
public class CategoryEquivalence {
/*
* keys are triples of (position, span, SuperCategory); value becomes the *last*
* SuperCategory in the linked list of equivalents
*/
// should refactor into Hashmap<EquivKey, LinkedList... | Modify add() to save one extra get() call to HashMap. | Modify add() to save one extra get() call to HashMap.
| Java | bsd-2-clause | darrenfoong/candc |
7bd2b9804ed2460230787ee220ef257c4aa3a786 | src/com/opera/core/systems/scope/stp/StpThread.java | src/com/opera/core/systems/scope/stp/StpThread.java | package com.opera.core.systems.scope.stp;
import java.util.logging.Logger;
import com.opera.core.systems.util.SocketMonitor;
import com.opera.core.systems.scope.handlers.IConnectionHandler;
/**
*
* @author Jan Vidar Krey
*/
public class StpThread extends Thread {
private final Logger logger = Logger.getLogg... | package com.opera.core.systems.scope.stp;
import java.util.logging.Logger;
import com.opera.core.systems.util.SocketMonitor;
import com.opera.core.systems.scope.handlers.IConnectionHandler;
/**
*
* @author Jan Vidar Krey
*/
public class StpThread extends Thread {
private final Logger logger = Logger.getLogg... | Make sure we close the STP connection listener when stopping the STP thread. | Make sure we close the STP connection listener when stopping the STP thread.
| Java | apache-2.0 | operasoftware/operaprestodriver,operasoftware/operaprestodriver,operasoftware/operaprestodriver |
2781b07143593f8766d403a347e45c2e32fa54b3 | jmist-core/src/main/java/ca/eandb/jmist/framework/geometry/mesh/MeshUtil.java | jmist-core/src/main/java/ca/eandb/jmist/framework/geometry/mesh/MeshUtil.java | /**
*
*/
package ca.eandb.jmist.framework.geometry.mesh;
import java.util.stream.StreamSupport;
import ca.eandb.jmist.framework.BoundingBoxBuilder3;
import ca.eandb.jmist.math.Box3;
import ca.eandb.jmist.math.Sphere;
/**
* @author bwkimmel
*
*/
public final class MeshUtil {
private MeshUtil() {}
publ... | /**
*
*/
package ca.eandb.jmist.framework.geometry.mesh;
import java.util.stream.StreamSupport;
import ca.eandb.jmist.framework.BoundingBoxBuilder3;
import ca.eandb.jmist.math.Box3;
import ca.eandb.jmist.math.Sphere;
/**
* @author bwkimmel
*
*/
public final class MeshUtil {
private MeshUtil() {}
publ... | Use method reference instead of lambda | Use method reference instead of lambda
| Java | mit | bwkimmel/jmist |
e3b2ec07b43996573f9b1b5d6c618719fab52125 | src/main/java/com/smoothcsv/commons/utils/CollectionUtils.java | src/main/java/com/smoothcsv/commons/utils/CollectionUtils.java | /*
* Copyright 2016 kohii
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, s... | /*
* Copyright 2016 kohii
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, s... | Modify CsvMetaPanel so that it remembers user selection history | Modify CsvMetaPanel so that it remembers user selection history
| Java | apache-2.0 | kohii/smoothcsv-commons |
bffc885de958ca9bb92c77e827f0c05e9982d7ba | sipXconfig/neoconf/src/org/sipfoundry/sipxconfig/common/SystemTaskRunner.java | sipXconfig/neoconf/src/org/sipfoundry/sipxconfig/common/SystemTaskRunner.java | /*
*
*
* Copyright (C) 2007 SIPfoundry Inc.
* Licensed by SIPfoundry under the LGPL license.
*
* Copyright (C) 2007 Pingtel Corp.
* Licensed to SIPfoundry under a Contributor Agreement.
*
* $
*/
package org.sipfoundry.sipxconfig.common;
import org.springframework.beans.factory.access.BeanFactoryLocator;
... | /*
*
*
* Copyright (C) 2007 SIPfoundry Inc.
* Licensed by SIPfoundry under the LGPL license.
*
* Copyright (C) 2007 Pingtel Corp.
* Licensed to SIPfoundry under a Contributor Agreement.
*
* $
*/
package org.sipfoundry.sipxconfig.common;
import org.springframework.beans.factory.access.BeanFactoryLocator;
... | Remove checkstyle warning about System.err | Remove checkstyle warning about System.err
git-svn-id: f26ccc5efe72c2bd8e1c40f599fe313f2692e4de@9328 a612230a-c5fa-0310-af8b-88eea846685b
| Java | lgpl-2.1 | sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror |
029b9de65f189345ec8ef630757aa1f2e280007a | parity-top/src/main/java/org/jvirtanen/parity/top/MarketListener.java | parity-top/src/main/java/org/jvirtanen/parity/top/MarketListener.java | package org.jvirtanen.parity.top;
/**
* <code>MarketListener</code> is the interface for outbound events from the
* order book reconstruction.
*/
public interface MarketListener {
/**
* An event indicating that the best bid and offer (BBO) has changed.
*
* @param instrument the instrument
*... | package org.jvirtanen.parity.top;
/**
* The interface for outbound events from the order book reconstruction.
*/
public interface MarketListener {
/**
* An event indicating that the best bid and offer (BBO) has changed.
*
* @param instrument the instrument
* @param bidPrice the bid price or ... | Tweak documentation for market listener in order book reconstruction | Tweak documentation for market listener in order book reconstruction
| Java | apache-2.0 | pmcs/parity,pmcs/parity,paritytrading/parity,paritytrading/parity |
a1caf5a60e9671475b97fa3aa10d163933182426 | app/src/test/java/com/github/mkjensen/dml/test/CursorUtils.java | app/src/test/java/com/github/mkjensen/dml/test/CursorUtils.java | /*
* Copyright 2016 Martin Kamp Jensen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | /*
* Copyright 2016 Martin Kamp Jensen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | Change getColumnIndex method to be private | Change getColumnIndex method to be private
| Java | apache-2.0 | mkjensen/danish-media-license |
1a0e879f0601688c6fa706aaf74890af789fe8d6 | appengine/src/main/java/org/retrostore/request/ContentType.java | appengine/src/main/java/org/retrostore/request/ContentType.java | /*
* Copyright 2017, Sascha Häberling
*
* 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... | /*
* Copyright 2017, Sascha Häberling
*
* 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... | Expand content type detection to jpg and htm. | Expand content type detection to jpg and htm.
| Java | apache-2.0 | shaeberling/retrostore,shaeberling/retrostore,shaeberling/retrostore,shaeberling/retrostore,shaeberling/retrostore,shaeberling/retrostore |
1c467ec74899e69df8cf9f18b8814883388f14b2 | library/src/main/java/com/hivedi/statfscompat/StatFsCompat.java | library/src/main/java/com/hivedi/statfscompat/StatFsCompat.java | package com.hivedi.statfscompat;
import android.os.Build;
import android.os.StatFs;
import java.io.File;
/**
* Created by Hivedi2 on 2015-11-24.
*
*/
public class StatFsCompat {
@SuppressWarnings("deprecation")
public static long getStatFsTotal(File f) {
StatFs statFs = new StatFs(f.getAbsolutePath());
if ... | package com.hivedi.statfscompat;
import android.os.Build;
import android.os.StatFs;
import java.io.File;
/**
* Created by Hivedi2 on 2015-11-24.
*
*/
public class StatFsCompat {
public static final long STAT_FS_ERROR = -1L;
@SuppressWarnings("deprecation")
public static long getStatFsTotal(File f) {
try {
... | Handle error if file not exists | Handle error if file not exists
| Java | apache-2.0 | Hivedi/StatFsCompat |
6b32b5bd4ceed5677b2d06944be46952a3dfca31 | app/src/main/java/com/martindisch/chronoscopy/logic/ChrUsage.java | app/src/main/java/com/martindisch/chronoscopy/logic/ChrUsage.java | package com.martindisch.chronoscopy.logic;
import com.orm.SugarRecord;
/**
* Represents a usage of an activity, with a date and duration.
*/
public class ChrUsage extends SugarRecord {
private ChrActivity activity;
private String date;
private String time;
/**
* Default constructor, necessary... | package com.martindisch.chronoscopy.logic;
import com.orm.SugarRecord;
/**
* Represents a usage of an activity, with a date and duration.
*/
public class ChrUsage extends SugarRecord {
private long activityId;
private String date;
private String time;
/**
* Default constructor, necessary for ... | Store activity id directly to prevent issues | Store activity id directly to prevent issues
| Java | mit | martindisch/Chronoscopy |
72162d49f08e0e0b2de129f10999788429194e61 | servlet/src/main/java/io/undertow/servlet/api/ServletStackTraces.java | servlet/src/main/java/io/undertow/servlet/api/ServletStackTraces.java | package io.undertow.servlet.api;
/**
* @author Stuart Douglas
*/
public enum ServletStackTraces {
NONE,
LOCAL_ONLY,
ALL
}
| package io.undertow.servlet.api;
/**
* @author Stuart Douglas
*/
public enum ServletStackTraces {
NONE("none"),
LOCAL_ONLY("local-only"),
ALL("all");
private final String value;
private ServletStackTraces(String value) {
this.value = value;
}
@Override
public String toStri... | Add string representation to enum | Add string representation to enum
| Java | apache-2.0 | grassjedi/undertow,TomasHofman/undertow,rogerchina/undertow,jamezp/undertow,grassjedi/undertow,TomasHofman/undertow,baranowb/undertow,TomasHofman/undertow,biddyweb/undertow,Karm/undertow,baranowb/undertow,rhatlapa/undertow,yonglehou/undertow,popstr/undertow,ctomc/undertow,pedroigor/undertow,n1hility/undertow,aradchykov... |
35a5867d47f195a48368433b6d2ff4def290d76b | src/test/java/tars/commons/util/StringUtilTest.java | src/test/java/tars/commons/util/StringUtilTest.java | package tars.commons.util;
import org.junit.Test;
import tars.commons.util.StringUtil;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
public class StringUtilTest {
@Test
public void isUnsignedPositiveInteger() {
assertFalse(StringUtil.isUnsignedInteger(null))... | package tars.commons.util;
import org.junit.Test;
import tars.commons.util.StringUtil;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
public class StringUtilTest {
@Test
public void isUnsignedPositiveInteger() {
assertFalse(StringUtil.isUnsignedInteger(null))... | Increase test coverage for StringUtil | Increase test coverage for StringUtil
| Java | mit | CS2103AUG2016-F10-C1/main,CS2103AUG2016-F10-C1/main,CS2103AUG2016-F10-C1/main |
9b7369b3d3e9108875c4539b3e96463edbcef7dc | src/main/java/com/sleekbyte/tailor/output/ViolationMessage.java | src/main/java/com/sleekbyte/tailor/output/ViolationMessage.java | package com.sleekbyte.tailor.output;
public class ViolationMessage implements Comparable<ViolationMessage> {
private final String filePath;
private final int lineNumber;
private final int columnNumber;
private final String classification;
private final String violationMessage;
public Violation... | package com.sleekbyte.tailor.output;
public class ViolationMessage implements Comparable<ViolationMessage> {
private final String filePath;
private final int lineNumber;
private final int columnNumber;
private final String classification;
private final String violationMessage;
public Violation... | Sort on col num if line num are equal | Sort on col num if line num are equal
| Java | mit | sleekbyte/tailor,sleekbyte/tailor,sleekbyte/tailor,sleekbyte/tailor,sleekbyte/tailor |
2edd05638e35a95435185b9040b252e8b98893e4 | app/src/main/java/com/annimon/hotarufx/bundles/InterpolatorsBundle.java | app/src/main/java/com/annimon/hotarufx/bundles/InterpolatorsBundle.java | package com.annimon.hotarufx.bundles;
import com.annimon.hotarufx.lib.Context;
import com.annimon.hotarufx.lib.InterpolatorValue;
import java.util.HashMap;
import java.util.Map;
import javafx.animation.Interpolator;
public class InterpolatorsBundle implements Bundle {
private static final Map<String, FunctionInf... | package com.annimon.hotarufx.bundles;
import com.annimon.hotarufx.lib.Context;
import com.annimon.hotarufx.lib.InterpolatorValue;
import java.util.HashMap;
import java.util.Map;
import javafx.animation.Interpolator;
public class InterpolatorsBundle implements Bundle {
private static final Map<String, FunctionInf... | Add alias for discrete interpolator | Add alias for discrete interpolator
| Java | apache-2.0 | aNNiMON/HotaruFX |
c6f594d36cb44a77f6ca88ce9b1282cc8f70f480 | nabl2.terms/src/main/java/mb/nabl2/util/CapsuleUtil.java | nabl2.terms/src/main/java/mb/nabl2/util/CapsuleUtil.java | package mb.nabl2.util;
import java.util.Map.Entry;
import org.metaborg.util.functions.Function2;
import io.usethesource.capsule.Map;
public final class CapsuleUtil {
private CapsuleUtil() {
}
public static <K, V> void replace(Map.Transient<K, V> map, Function2<K, V, V> mapper) {
for(Entry<K, V... | package mb.nabl2.util;
import java.util.Map.Entry;
import org.metaborg.util.functions.Function2;
import io.usethesource.capsule.Map;
import io.usethesource.capsule.Set;
public final class CapsuleUtil {
private CapsuleUtil() {
}
public static <K, V> void replace(Map.Transient<K, V> map, Function2<K, V,... | Add method to construct Capsule set from Iterable. | Add method to construct Capsule set from Iterable.
| Java | apache-2.0 | metaborg/nabl,metaborg/nabl,metaborg/nabl |
5ff43f58a1dbe128a64403d8e4b5f3ea76856e59 | src/core/org/apache/jmeter/testelement/VariablesCollection.java | src/core/org/apache/jmeter/testelement/VariablesCollection.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 ... | /*
* 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 ... | Fix up some raw types | Fix up some raw types
git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@804686 13f79535-47bb-0310-9956-ffa450edef68
Former-commit-id: a63ffb7f588237f535fcfc739967ddd91ac6bfe2 | Java | apache-2.0 | etnetera/jmeter,etnetera/jmeter,apache/jmeter,apache/jmeter,ham1/jmeter,apache/jmeter,ham1/jmeter,benbenw/jmeter,apache/jmeter,ham1/jmeter,ham1/jmeter,etnetera/jmeter,etnetera/jmeter,benbenw/jmeter,apache/jmeter,ham1/jmeter,etnetera/jmeter,benbenw/jmeter,benbenw/jmeter |
497fa513a7fc59d6b96d4bfb41f18a91c7f533c2 | src/com/intellij/plugins/haxe/lang/psi/impl/HaxeDummyASTNode.java | src/com/intellij/plugins/haxe/lang/psi/impl/HaxeDummyASTNode.java | /*
* Copyright 2000-2013 JetBrains s.r.o.
* Copyright 2014-2014 AS3Boyan
* Copyright 2014-2014 Elias Ku
*
* 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... | /*
* Copyright 2000-2013 JetBrains s.r.o.
* Copyright 2014-2014 AS3Boyan
* Copyright 2014-2014 Elias Ku
*
* 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... | Add two utility functions to HaxeDummyNode to detect whether a node is a dummy node. | Add two utility functions to HaxeDummyNode to detect whether a node is a dummy node.
| Java | apache-2.0 | TiVo/intellij-haxe,yanhick/intellij-haxe-nightly-builds,mtkocak/intellij-haxe,TiVo/intellij-haxe-nightly-builds,EricBishton/intellij-haxe,TiVo/intellij-haxe-nightly-builds,JetBrains/intellij-haxe,TiVo/intellij-haxe,HaxeFoundation/intellij-haxe,giabao/intellij-haxe,mtkocak/intellij-haxe,eliasku/intellij-haxe,TiVo/intell... |
eb3d7364c2410d18b8a13e94357b50c00a1e7d54 | src/main/java/com/carpentersblocks/util/protection/ProtectedObject.java | src/main/java/com/carpentersblocks/util/protection/ProtectedObject.java | package com.carpentersblocks.util.protection;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.relauncher.Side;
public class ProtectedObject {
public EntityPlayer entityPlayer;
public Protecte... | package com.carpentersblocks.util.protection;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.relauncher.Side;
public class ProtectedObject {
public EntityPlayer entityPlayer;
public Protecte... | Store player name as owner by default. Should further help singleplayer ownership issues. | Store player name as owner by default. Should further help singleplayer ownership issues.
| Java | lgpl-2.1 | Mineshopper/carpentersblocks,burpingdog1/carpentersblocks,Techern/carpentersblocks |
062127f799d8a6821493d04d404eecfc063eb38d | src/main/java/ch/rasc/extdirectspring/demo/TestAction.java | src/main/java/ch/rasc/extdirectspring/demo/TestAction.java | /**
* Copyright 2010-2015 Ralph Schaer <ralphschaer@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | /**
* Copyright 2010-2015 Ralph Schaer <ralphschaer@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | Add a long running method for testing | Add a long running method for testing | Java | apache-2.0 | ralscha/extdirectspring-demo,ralscha/extdirectspring-demo,ralscha/extdirectspring-demo |
cefde706226db48957a3f6c1777af16682d5c7cb | src/main/java/com/hubspot/jinjava/interpret/LazyExpression.java | src/main/java/com/hubspot/jinjava/interpret/LazyExpression.java | package com.hubspot.jinjava.interpret;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.function.Supplier;
public class LazyExpression implements Supplier {
private final Supplier supplier;
private final String image;
private final boolean memoize;
private Object jsonValue = null;
privat... | package com.hubspot.jinjava.interpret;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.function.Supplier;
public class LazyExpression implements Supplier {
private final Supplier supplier;
private final String image;
private final MEMOIZATION memoization;
private Object jsonValue = null;
... | Switch from boolean to enum for memoization argument | Switch from boolean to enum for memoization argument
| Java | apache-2.0 | HubSpot/jinjava,HubSpot/jinjava |
86d74d15b4a8238bb9ce013d90b9f9148e6b27de | src/main/java/com/dottydingo/hyperion/service/marshall/EndpointMarshaller.java | src/main/java/com/dottydingo/hyperion/service/marshall/EndpointMarshaller.java | package com.dottydingo.hyperion.service.marshall;
import com.dottydingo.hyperion.exception.BadRequestException;
import com.dottydingo.hyperion.exception.InternalException;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.InputStream;
import java.io.OutputStream;
/**
*/
public class EndpointMarshal... | package com.dottydingo.hyperion.service.marshall;
import com.dottydingo.hyperion.exception.BadRequestException;
import com.dottydingo.hyperion.exception.InternalException;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.InputStream;
import java.io.OutputStream;
/**
*/
public class EndpointMarshal... | Add more detail to unmarshalling errors | Add more detail to unmarshalling errors
| Java | apache-2.0 | dottydingo/hyperion,mhellkamp/hyperion |
3b7a7a8726d416fdf4de8054140c89bb6932a8b4 | src/main/java/de/fh_bielefeld/newsboard/model/Classification.java | src/main/java/de/fh_bielefeld/newsboard/model/Classification.java | package de.fh_bielefeld.newsboard.model;
import java.util.OptionalDouble;
import java.util.OptionalInt;
/**
* Domain class representing a classification of a document or sentence.
*
* @author Felix Meyer, Lukas Taake
*/
public class Classification {
private OptionalInt sentenceId = OptionalInt.empty();
pr... | package de.fh_bielefeld.newsboard.model;
import java.util.OptionalDouble;
import java.util.OptionalInt;
/**
* Domain class representing a classification of a document or sentence.
*
* @author Felix Meyer, Lukas Taake
*/
public class Classification {
private OptionalInt sentenceId = OptionalInt.empty();
pr... | Document class changed for recent model changes. | Document class changed for recent model changes.
| Java | mit | mrm1st3r/fh-newsboard,mrm1st3r/fh-newsboard |
f55681bdb56b5d8bd258446bdb6f457e345fdc7f | src/main/java/info/u_team/u_team_core/util/world/WorldUtil.java | src/main/java/info/u_team/u_team_core/util/world/WorldUtil.java | package info.u_team.u_team_core.util.world;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.math.*;
public class WorldUtil {
public static RayTraceResult rayTraceServerSide(EntityPlayer player, double range) {
return rayTraceServerSide(player, range, RayTraceFluidMode.NEVER, false, tru... | package info.u_team.u_team_core.util.world;
import java.util.function.Function;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.math.*;
import net.minecraft.world.World;
import net.minecraft.world.dimension.DimensionType;
import net.minecraft.world.storage.WorldSavedData;
public class Worl... | Add a method to get savedata from the world quit easy | Add a method to get savedata from the world quit easy
| Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
48b9dc9566971a0b07f3c9a801a7324c019cf3c3 | jboss-remoting/src/test/java/org/jboss/remoting3/test/InvocationTestObject.java | jboss-remoting/src/test/java/org/jboss/remoting3/test/InvocationTestObject.java | /*
* JBoss, Home of Professional Open Source
* Copyright 2010, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the ter... | /*
* JBoss, Home of Professional Open Source
* Copyright 2010, JBoss Inc., and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the ter... | Implement equals/hashCode on test object so equals assertions work across remote connections | Implement equals/hashCode on test object so equals assertions work across remote connections
| Java | lgpl-2.1 | stuartwdouglas/jboss-remoting,rhusar/jboss-remoting,bmaxwell/jboss-remoting,kabir/jboss-remoting,seeburger-ag/jboss-remoting,dpospisil/jboss-remoting |
0feadad8794c917638e1c135cafe6b8b6881a2f6 | src/main/java/ru/taximaxim/pgsqlblocks/utils/DateUtils.java | src/main/java/ru/taximaxim/pgsqlblocks/utils/DateUtils.java | package ru.taximaxim.pgsqlblocks.utils;
import org.apache.log4j.Logger;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
public final class DateUtils {
private static final Logger LOG = Logger.getLogger(DateUtils.class);
private static final SimpleDateFormat dateFo... | package ru.taximaxim.pgsqlblocks.utils;
import org.apache.log4j.Logger;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
public final class DateUtils {
private static final Logger LOG = Logger.getLogger(DateUtils.class);
private final SimpleDateFormat dateFormat = ... | Synchronize DateFormat usages due to it being thread unsafe (Sonar S2885) | Synchronize DateFormat usages due to it being thread unsafe (Sonar S2885)
| Java | apache-2.0 | technology16/pgsqlblocks,technology16/pgsqlblocks |
c2853c82812671a9f4d771ac787036a7380a2b8d | core/src/test/java/org/elasticsearch/search/aggregations/bucket/FilterTests.java | core/src/test/java/org/elasticsearch/search/aggregations/bucket/FilterTests.java | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | Remove old norelease comment, the test is okay as it is | Remove old norelease comment, the test is okay as it is
| Java | apache-2.0 | wenpos/elasticsearch,rajanm/elasticsearch,nknize/elasticsearch,scorpionvicky/elasticsearch,scottsom/elasticsearch,maddin2016/elasticsearch,s1monw/elasticsearch,uschindler/elasticsearch,pozhidaevak/elasticsearch,GlenRSmith/elasticsearch,fred84/elasticsearch,kalimatas/elasticsearch,uschindler/elasticsearch,ThiagoGarciaAl... |
61bf25cf6522d3f78a45650f82472c4bb5b86cf5 | src/main/java/com/maxmind/geoip2/GeoIp2Provider.java | src/main/java/com/maxmind/geoip2/GeoIp2Provider.java | package com.maxmind.geoip2;
import com.maxmind.geoip2.exception.GeoIp2Exception;
import com.maxmind.geoip2.model.CityResponse;
import com.maxmind.geoip2.model.CountryResponse;
import java.io.IOException;
import java.net.InetAddress;
public interface GeoIp2Provider {
/**
* @param ipAddress IPv4 or IPv6 addr... | package com.maxmind.geoip2;
import com.maxmind.geoip2.exception.GeoIp2Exception;
import com.maxmind.geoip2.model.CityResponse;
import com.maxmind.geoip2.model.CountryResponse;
import java.io.IOException;
import java.net.InetAddress;
public interface GeoIp2Provider {
/**
* @param ipAddress IPv4 or IPv6 addr... | Fix - removed "public" access modifiers on interface methods | Fix - removed "public" access modifiers on interface methods
| Java | apache-2.0 | maxmind/GeoIP2-java,maxmind/GeoIP2-java |
6266a52ad53def0d25f0e9de0d9bd8467b861fa5 | src/main/java/at/ac/tuwien/inso/repository/CourseRepository.java | src/main/java/at/ac/tuwien/inso/repository/CourseRepository.java | package at.ac.tuwien.inso.repository;
import at.ac.tuwien.inso.entity.*;
import org.springframework.data.repository.*;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface CourseRepository extends CrudRepository<Course, Long> {
List<Course> findAllBySemester(Sem... | package at.ac.tuwien.inso.repository;
import at.ac.tuwien.inso.entity.*;
import org.springframework.data.repository.*;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface CourseRepository extends CrudRepository<Course, Long> {
List<Course> findAllBySemester(Sem... | Add find course by semester and lecturer | Add find course by semester and lecturer
| Java | mit | university-information-system/uis,university-information-system/uis,university-information-system/uis,university-information-system/uis |
4ab29a29bc09f1bff0dda4b99a866959d6120b89 | src/main/java/valandur/webapi/json/serializers/world/GeneratorTypeSerializer.java | src/main/java/valandur/webapi/json/serializers/world/GeneratorTypeSerializer.java | package valandur.webapi.json.serializers.world;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.ser.std.StdSerializer;
import org.spongepowered.api.world.GeneratorType;
import java.io.IOException;
public class GeneratorT... | package valandur.webapi.json.serializers.world;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.ser.std.StdSerializer;
import org.spongepowered.api.data.DataQuery;
import org.spongepowered.api.world.GeneratorType;
import ... | Fix generator type serializer not serializing properties | fix(json): Fix generator type serializer not serializing properties
| Java | mit | Valandur/Web-API,Valandur/Web-API,Valandur/Web-API |
158dcea1ff95417cf1a94f1531d9be89451939e4 | caliper-api/src/main/java/com/google/caliper/model/Defaults.java | caliper-api/src/main/java/com/google/caliper/model/Defaults.java | /*
* Copyright (C) 2012 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 ... | /*
* Copyright (C) 2012 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 ... | Migrate from ambiguous `new Instant(long)` to `Instant.ofEpochMilli(long)`. | Migrate from ambiguous `new Instant(long)` to `Instant.ofEpochMilli(long)`.
PiperOrigin-RevId: 488644521
| Java | apache-2.0 | google/caliper |
643ed8eaa384027131752d91d868de97c4c87827 | clients/android/NewsBlur/src/com/newsblur/activity/Settings.java | clients/android/NewsBlur/src/com/newsblur/activity/Settings.java | package com.newsblur.activity;
import com.actionbarsherlock.app.SherlockPreferenceActivity;
import com.newsblur.R;
import com.newsblur.util.PrefConstants;
import android.os.Bundle;
public class Settings extends SherlockPreferenceActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
... | package com.newsblur.activity;
import com.actionbarsherlock.app.SherlockPreferenceActivity;
import com.actionbarsherlock.view.MenuItem;
import com.newsblur.R;
import com.newsblur.util.PrefConstants;
import android.os.Bundle;
public class Settings extends SherlockPreferenceActivity {
@Override
public void on... | Support navigating back to home page from action bar in Preferences | Support navigating back to home page from action bar in Preferences
| Java | mit | petecummings/NewsBlur,mihaip/NewsBlur,manderson23/NewsBlur,epiphany27/NewsBlur,petecummings/NewsBlur,canwe/NewsBlur,lucidbard/NewsBlur,lucidbard/NewsBlur,bruceyou/NewsBlur,manderson23/NewsBlur,waltharius/NewsBlur,youprofit/NewsBlur,slava-sh/NewsBlur,bruceyou/NewsBlur,petecummings/NewsBlur,Suninus/NewsBlur,youprofit/New... |
187ff0f6c413c92f28118a520cf1d6a0c34ddc82 | jmetal-core/src/main/java/org/uma/jmetal/core/Operator.java | jmetal-core/src/main/java/org/uma/jmetal/core/Operator.java | package org.uma.jmetal.core;
import org.uma.jmetal45.util.JMetalException;
/**
* Interface representing an operator
* @author Antonio J. Nebro
* @version 0.1
*/
public interface Operator<Source, Result> {
/**
* @param source the data to process
* @throws JMetalException when the combination of parameters ... | // This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it wi... | Add comments to some classes | Add comments to some classes
| Java | mit | matthieu-vergne/jMetal |
ed3bbcf1dc9a398b2b5139562206f64ddbf5cb6d | src/test/java/org/jenkinsci/plugins/visualworks_store/StoreSCMTest.java | src/test/java/org/jenkinsci/plugins/visualworks_store/StoreSCMTest.java | package org.jenkinsci.plugins.visualworks_store;
import hudson.util.ArgumentListBuilder;
import org.junit.Test;
import java.util.Arrays;
import java.util.List;
import static org.junit.Assert.assertEquals;
public class StoreSCMTest {
@Test
public void preparesPollingCommandForSinglePundle() {
List<Pu... | package org.jenkinsci.plugins.visualworks_store;
import hudson.util.ArgumentListBuilder;
import org.junit.Test;
import java.util.Arrays;
import java.util.List;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
public class StoreSCMTest {
@Test
public void preparesPollin... | Add another polling command test. | Add another polling command test.
| Java | mit | randycoulman/visualworks-store-plugin,jenkinsci/visualworks-store-plugin,jenkinsci/visualworks-store-plugin,randycoulman/visualworks-store-plugin |
51ed7294ff5c57a4453fd02a5f1043ed9ef5b2e3 | SeriesGuide/src/com/battlelancer/seriesguide/PrefBackupHelper.java | SeriesGuide/src/com/battlelancer/seriesguide/PrefBackupHelper.java |
package com.battlelancer.seriesguide;
import android.app.backup.BackupAgentHelper;
import android.app.backup.SharedPreferencesBackupHelper;
public class PrefBackupHelper extends BackupAgentHelper {
// The name of the SharedPreferences file
static final String PREFS = "com.battlelancer.seriesguide_pre... |
package com.battlelancer.seriesguide;
import android.app.backup.BackupAgentHelper;
import android.app.backup.SharedPreferencesBackupHelper;
public class PrefBackupHelper extends BackupAgentHelper {
// A key to uniquely identify the set of backup data
static final String PREFS_BACKUP_KEY = "prefs";
... | Use correct package name for backup helper (so it will work with the beta, too). | Use correct package name for backup helper (so it will work with the
beta, too). | Java | apache-2.0 | epiphany27/SeriesGuide,0359xiaodong/SeriesGuide,r00t-user/SeriesGuide,hoanganhx86/SeriesGuide,UweTrottmann/SeriesGuide,UweTrottmann/SeriesGuide,artemnikitin/SeriesGuide |
9d42ab847a9187fe54c53553a0593fad0aea9263 | design/base/android/support/design/widget/VisibilityAwareImageButton.java | design/base/android/support/design/widget/VisibilityAwareImageButton.java | /*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Fix crash in FAB background tint | Fix crash in FAB background tint
Caused by moving the base class to AppCompatImageButton.
That class's functionality interferes with FAB.
BUG: 25302006
Change-Id: I283508caa8ddf5664a5b15209cfff06c464ec187
| Java | apache-2.0 | AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,aosp-mirror/platform_frameworks_support,androidx/androidx,AndroidX/androidx,androidx/androidx,aosp-mirror/platform_frameworks_support,androi... |
a96d46d91024e3700d6d9cc1aee907e583567391 | jps-plugin/src/org/jetbrains/jps/cabal/CabalJspInterface.java | jps-plugin/src/org/jetbrains/jps/cabal/CabalJspInterface.java | package org.jetbrains.jps.cabal;
import org.jetbrains.annotations.NotNull;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Arrays;
public class CabalJspInterface{
private final String myCabalPath;
@NotNull
private File myCabal... | package org.jetbrains.jps.cabal;
import org.jetbrains.annotations.NotNull;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Arrays;
public class CabalJspInterface{
private final String myCabalPath;
@NotNull
private File myCabal... | Fix compilation with new SDK | Fix compilation with new SDK
| Java | apache-2.0 | Atsky/haskell-idea-plugin,Atsky/haskell-idea-plugin |
9dc90551b95534c7fce523b4226cb404a9e98b91 | src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/PopulationDao.java | src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/PopulationDao.java | package edu.northwestern.bioinformatics.studycalendar.dao;
import edu.northwestern.bioinformatics.studycalendar.domain.Population;
import edu.northwestern.bioinformatics.studycalendar.domain.Study;
import edu.nwu.bioinformatics.commons.CollectionUtils;
import java.util.Set;
import java.util.HashSet;
import org.sprin... | package edu.northwestern.bioinformatics.studycalendar.dao;
import edu.northwestern.bioinformatics.studycalendar.domain.Population;
import edu.northwestern.bioinformatics.studycalendar.domain.Study;
import edu.nwu.bioinformatics.commons.CollectionUtils;
import org.springframework.transaction.annotation.Transactional;
... | Add javadoc to planned population dao. | Add javadoc to planned population dao.
git-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@2432 0d517254-b314-0410-acde-c619094fa49f
| Java | bsd-3-clause | NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror |
f69985dc5a2b4c54b56eb6f18ae19174e0b07c90 | src/com/nasmlanguage/NASMLexerAdapter.java | src/com/nasmlanguage/NASMLexerAdapter.java | /*++
NASM Assembly Language Plugin
Copyright (c) 2017-2018 Aidan Khoury. All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your opt... | /*++
NASM Assembly Language Plugin
Copyright (c) 2017-2018 Aidan Khoury
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use... | Update copyright notice with MIT license | Update copyright notice with MIT license | Java | mit | dude719/JetBrains-NASM-Language |
b016041d3e3d088cffbde6a2c48c254635e0c985 | checkout/src/com/checkout/api/services/charge/response/Charge.java | checkout/src/com/checkout/api/services/charge/response/Charge.java | package com.checkout.api.services.charge.response;
import com.checkout.api.services.card.response.Card;
import com.checkout.api.services.charge.request.BaseCharge;
public class Charge extends BaseCharge {
public String id;
public String liveMode;
public String created;
public String transactionIndicator;
public ... | package com.checkout.api.services.charge.response;
import com.checkout.api.services.card.response.Card;
import com.checkout.api.services.charge.request.BaseCharge;
public class Charge extends BaseCharge {
public String id;
public String liveMode;
public String created;
public String transactionIndicator;
public ... | Add 3D Secure charge verification specific fields to charge response | Add 3D Secure charge verification specific fields to charge response
| Java | mit | CKOTech/checkout-java-library,checkout/checkout-java-library |
97785ce460e5ac45b0d9592bc18036d06c8824c5 | src/us/crast/flyingtub/DamageListener.java | src/us/crast/flyingtub/DamageListener.java | package us.crast.flyingtub;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.entity.EntityDamageEvent.DamageCause;
public class DamageListener implemen... | package us.crast.flyingtub;
import org.bukkit.entity.Entity;
import org.bukkit.entity.EntityType;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.entity.EntityDamageEvent.DamageCause;
public class DamageListener implemen... | Make some performance tweaks in the damage listener that'll potentially speed things up | Make some performance tweaks in the damage listener that'll potentially speed things up
| Java | bsd-3-clause | crast/FlyingTub,crast/FlyingTub |
279e3807276bad80c6a88e0c415a049996289905 | ethereumj-core/src/main/java/org/ethereum/db/ByteArrayWrapper.java | ethereumj-core/src/main/java/org/ethereum/db/ByteArrayWrapper.java | package org.ethereum.db;
import com.google.common.primitives.UnsignedBytes;
import java.util.Arrays;
import java.util.Comparator;
/**
* www.ethereumJ.com
*
* @author: Roman Mandeleil
* Created on: 11/06/2014 15:02
*/
public class ByteArrayWrapper implements Comparable{
private final byte[] data;
publ... | package org.ethereum.db;
import java.util.Arrays;
import org.ethereum.util.FastByteComparisons;
/**
* www.ethereumJ.com
*
* @author: Roman Mandeleil Created on: 11/06/2014 15:02
*/
public class ByteArrayWrapper implements Comparable<ByteArrayWrapper> {
private final byte[] data;
public ByteArrayWrapper(byte... | Replace equals and compareTo with FastByteComparison | Replace equals and compareTo with FastByteComparison
| Java | mit | loxal/ethereumj,ethereumj/ethereumj,syng-io/ethereumj-android,shahankhatch/ethereumj,BlockchainSociety/ethereumj-android,ethereumj/ethereumj,ddworken/ethereumj,loxal/FreeEthereum,chengtalent/ethereumj,swaldman/ethereumj,fjl/ethereumj,swaldman/ethereumj,caxqueiroz/ethereumj,loxal/FreeEthereum,loxal/FreeEthereum,vaporry/... |
32d6ee843ed84339bdf859b3dca7de4f402ccb9f | project/src/main/java/com/google/sps/data/CompetitionSummary.java | project/src/main/java/com/google/sps/data/CompetitionSummary.java | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | Add basic competition object without additional info | Add basic competition object without additional info
| Java | apache-2.0 | googleinterns/sgonks,googleinterns/sgonks,googleinterns/sgonks,googleinterns/sgonks |
3b4defa88ae68b62d1630f3ea22dca473f47b091 | java/client/test/org/openqa/selenium/android/environment/AndroidTestEnvironment.java | java/client/test/org/openqa/selenium/android/environment/AndroidTestEnvironment.java | /*
Copyright 2010 WebDriver committers
Copyright 2010 Google Inc.
Portions copyright 2011 Software Freedom Conservatory
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apac... | /*
Copyright 2010 WebDriver committers
Copyright 2010 Google Inc.
Portions copyright 2011 Software Freedom Conservatory
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apac... | Allow running the Android tests on a real device by specifying the external IP of the in-process test server. | EranMes: Allow running the Android tests on a real device by specifying the external IP of the in-process test server.
git-svn-id: aa1aa1384423cb28c2b1e29129bb3a91de1d9196@14991 07704840-8298-11de-bf8c-fd130f914ac9
| Java | apache-2.0 | jmt4/Selenium2,jmt4/Selenium2,yumingjuan/selenium,jmt4/Selenium2,jmt4/Selenium2,jmt4/Selenium2,yumingjuan/selenium,jmt4/Selenium2,yumingjuan/selenium,yumingjuan/selenium,yumingjuan/selenium,yumingjuan/selenium,jmt4/Selenium2,yumingjuan/selenium,yumingjuan/selenium,yumingjuan/selenium,jmt4/Selenium2,jmt4/Selenium2 |
76fcc2c497e61829c416e55bc9738f4cd71265c0 | jme3-core/src/main/java/com/jme3/input/JoystickState.java | jme3-core/src/main/java/com/jme3/input/JoystickState.java | package com.jme3.input;
/**
* Response for joystick callback events.
* @author jayfella
*/
public enum JoystickState {
// a list of connected/disconnected codes from various contexts.
// using the JoystickState.fromCode(int) method, if the code matches
// it will return the enum value.
CONNECTED(... | package com.jme3.input;
/**
* Response for joystick callback events.
* @author jayfella
*/
public enum JoystickState {
Connected,
Disconnected,
}
| Remove magic number translations and remove uppercase names. | Remove magic number translations and remove uppercase names.
| Java | bsd-3-clause | zzuegg/jmonkeyengine,jMonkeyEngine/jmonkeyengine,zzuegg/jmonkeyengine,jMonkeyEngine/jmonkeyengine,zzuegg/jmonkeyengine,jMonkeyEngine/jmonkeyengine,zzuegg/jmonkeyengine,jMonkeyEngine/jmonkeyengine |
6df499d317b53597351919ad9a8035582ccc63b5 | demo/org/getahead/dwrdemo/cli/JettyLauncher.java | demo/org/getahead/dwrdemo/cli/JettyLauncher.java | package org.getahead.dwrdemo.cli;
import org.directwebremoting.servlet.DwrServlet;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.handler.ResourceHandler;
import org.mortbay.jetty.nio.SelectChannelConnector;
import org.mortbay.jetty.servlet.Context;
import org.mortbay.jetty.servlet.ServletHolder;
/**
* Je... | package org.getahead.dwrdemo.cli;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.nio.SelectChannelConnector;
import org.mortbay.jetty.webapp.WebAppContext;
/**
* JettyLauncher.
*/
public class JettyLauncher
{
/**
* Sets up and runs server.
* @param args
*/
public static void main(S... | Use more compact Jetty Launcher | Use more compact Jetty Launcher
git-svn-id: ba1d8d5a2a2c535e023d6080c1e5c29aa0f5364e@1318 3a8262b2-faa5-11dc-8610-ff947880b6b2
| Java | apache-2.0 | burris/dwr,burris/dwr |
d648ed8f1f92cbdef4cfda50d2a9ed82de33dee4 | sdk/src/test/java/com/orange/datavenue/client/test/Constant.java | sdk/src/test/java/com/orange/datavenue/client/test/Constant.java | /**
* Copyright (C) 2015 Orange
*
* This software is distributed under the terms and conditions of the 'Apache-2.0'
* license which can be found in the file 'LICENSE' in this package distribution
* or at 'http://www.apache.org/licenses/LICENSE-2.0'.
*/
package com.orange.datavenue.client.test;
public interfa... | /**
* Copyright (C) 2015 Orange
*
* This software is distributed under the terms and conditions of the 'Apache-2.0'
* license which can be found in the file 'LICENSE' in this package distribution
* or at 'http://www.apache.org/licenses/LICENSE-2.0'.
*/
package com.orange.datavenue.client.test;
public interfa... | Change conf to java system properties | Change conf to java system properties
| Java | apache-2.0 | Orange-OpenSource/Datavenue-Java-SDK,Orange-Datavenue/Datavenue-Java-SDK |
4c0868ab9c6e6cda84b8bdc1284632f79feb64da | container-core/src/main/java/com/yahoo/restapi/MessageResponse.java | container-core/src/main/java/com/yahoo/restapi/MessageResponse.java | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.restapi;
import com.yahoo.slime.Slime;
/**
* A 200 ok response with a message in JSON.
*
* @author bratseth
*/
public class MessageResponse extends SlimeJsonResponse {
publ... | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.restapi;
import com.yahoo.slime.Slime;
/**
* A 200 ok response with a message in JSON.
*
* @author bratseth
*/
public class MessageResponse extends SlimeJsonResponse {
publ... | Add constructor also taking status code | Add constructor also taking status code
| Java | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
059b456f7072ae6e6a8902ee47cc464bbc334b61 | common/data/src/main/java/org/thingsboard/server/common/data/EntityType.java | common/data/src/main/java/org/thingsboard/server/common/data/EntityType.java | /**
* Copyright © 2016-2020 The Thingsboard 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 applicab... | /**
* Copyright © 2016-2020 The Thingsboard 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 applicab... | Move device/tenant profile entitiy type enums to the end of list. | Move device/tenant profile entitiy type enums to the end of list.
| Java | apache-2.0 | volodymyr-babak/thingsboard,thingsboard/thingsboard,thingsboard/thingsboard,thingsboard/thingsboard,thingsboard/thingsboard,volodymyr-babak/thingsboard,thingsboard/thingsboard,volodymyr-babak/thingsboard,volodymyr-babak/thingsboard,volodymyr-babak/thingsboard,volodymyr-babak/thingsboard,thingsboard/thingsboard |
81d41bf01e593cbef5f6cb8ef3d95ee96c0f251f | app/src/main/java/com/blocksolid/okrello/display/Scores.java | app/src/main/java/com/blocksolid/okrello/display/Scores.java | package com.blocksolid.okrello.display;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Created by Dan Buckland on 02/12/2015.
*/
public class Scores {
public String extractScoreFromString(String string) {
Pattern pattern = Pattern.compile("\\[(\\d{1}\\.\\d{1})\\]");
Matche... | package com.blocksolid.okrello.display;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Created by Dan Buckland on 02/12/2015.
*/
public class Scores {
public String extractScoreFromString(String string) {
Pattern pattern = Pattern.compile("\\[(\\d{1}\\.\\d{1})\\]");
Matche... | Complete removeScoreFromString method to pass unit tests | Complete removeScoreFromString method to pass unit tests
| Java | mit | danbuckland/okrello,danbuckland/okrello |
00e5ca59b78be88293a9e41f4ad1f9283cc41021 | src/main/java/com/royalrangers/controller/SubscribeController.java | src/main/java/com/royalrangers/controller/SubscribeController.java | package com.royalrangers.controller;
import com.royalrangers.dto.ResponseResult;
import com.royalrangers.dto.user.EmailDto;
import com.royalrangers.service.SubscribeService;
import com.royalrangers.utils.ResponseBuilder;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springfra... | package com.royalrangers.controller;
import com.royalrangers.dto.ResponseResult;
import com.royalrangers.dto.user.EmailDto;
import com.royalrangers.service.SubscribeService;
import com.royalrangers.utils.ResponseBuilder;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springfra... | Fix API description for Subscribe Controller | Fix API description for Subscribe Controller
| Java | apache-2.0 | royalrangers-ck/rr-api,royalrangers-ck/rr-api |
8be8400161c49edb77006664eb314a1e938ea02a | plugins/groovy/src/org/jetbrains/plugins/groovy/util/ClassInstanceCache.java | plugins/groovy/src/org/jetbrains/plugins/groovy/util/ClassInstanceCache.java | package org.jetbrains.plugins.groovy.util;
import com.intellij.util.containers.ConcurrentHashMap;
import org.jetbrains.annotations.NotNull;
/**
* @author Sergey Evdokimov
*/
public class ClassInstanceCache {
private static final ConcurrentHashMap<String, Object> CACHE = new ConcurrentHashMap<String, Object>();
... | package org.jetbrains.plugins.groovy.util;
import com.intellij.ide.plugins.IdeaPluginDescriptor;
import com.intellij.ide.plugins.PluginManager;
import com.intellij.util.containers.ConcurrentHashMap;
import org.jetbrains.annotations.NotNull;
/**
* @author Sergey Evdokimov
*/
public class ClassInstanceCache {
priv... | Improve class loading in GroovyMethodInfo. (cf9bf0e) | Revert: Improve class loading in GroovyMethodInfo. (cf9bf0e)
| Java | apache-2.0 | apixandru/intellij-community,wreckJ/intellij-community,petteyg/intellij-community,hurricup/intellij-community,ibinti/intellij-community,robovm/robovm-studio,signed/intellij-community,vladmm/intellij-community,robovm/robovm-studio,fengbaicanhe/intellij-community,hurricup/intellij-community,holmes/intellij-community,sign... |
8114d9f9be1da16cd58974caa5619bfb82006c65 | edocs-service/src/main/java/com/github/aureliano/edocs/service/bean/UserServiceBean.java | edocs-service/src/main/java/com/github/aureliano/edocs/service/bean/UserServiceBean.java | package com.github.aureliano.edocs.service.bean;
public class UserServiceBean implements IServiceBean {
} | package com.github.aureliano.edocs.service.bean;
import com.github.aureliano.edocs.common.exception.ServiceException;
import com.github.aureliano.edocs.domain.entity.User;
public class UserServiceBean implements IServiceBean {
public UserServiceBean() {}
public User createDatabaseUser(String name, String passwor... | Add user service methods signatures. | Add user service methods signatures.
| Java | mit | aureliano/e-docs |
5fcd0a9e7b92841363576083271e763a8f3a634e | webapps/api/src/main/java/uk/ac/ebi/biosamples/repos/ReadOnlyNeoSampleRepository.java | webapps/api/src/main/java/uk/ac/ebi/biosamples/repos/ReadOnlyNeoSampleRepository.java | package uk.ac.ebi.biosamples.repos;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import uk.ac.ebi.biosamples.models.NeoSample;
@RepositoryRestResource(path="samplesrelations",collectionResourceRel="samplesrelations",itemResourceRel="samplerelations")
public interface ReadOnlyNeoSample... | package uk.ac.ebi.biosamples.repos;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import org.springframework.data.rest.core.annotation.RestResource;
import uk.ac.ebi.biosamples.models.NeoSample;
@RepositoryRestResource(path="samplesrelations",collectionResourceRel="samplesrelations",i... | Fix for exporting via REST | Fix for exporting via REST | Java | apache-2.0 | EBIBioSamples/biosamples-v4,EBIBioSamples/biosamples-v4,EBIBioSamples/biosamples-v4,EBIBioSamples/biosamples-v4 |
5ce262a21f77d31e39ae1c9c58b66eddac624dd4 | rmi/src/main/java/com/lynn9388/rmichatroom/rmi/User.java | rmi/src/main/java/com/lynn9388/rmichatroom/rmi/User.java | /*
* Copyright (C) 2016 Lynn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | /*
* Copyright (C) 2016 Lynn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | Change user's port value style | Change user's port value style
| Java | apache-2.0 | lynn9388/rmi-chat-room |
ee4c375b59367d00a61e5beb98445f8036aa667b | app/src/main/java/net/emteeware/emteeseason/MainActivity.java | app/src/main/java/net/emteeware/emteeseason/MainActivity.java | package net.emteeware.emteeseason;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.Toast;
import static net.emteeware.emteeseason.R.id.Serie... | package net.emteeware.emteeseason;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.Toast;
import java.util.ArrayList;
import static net.emt... | Add new items when button is pressed | Add new items when button is pressed
| Java | apache-2.0 | eMTeeWare/eMTeeSeason |
9876118d4ee5d694d7b44e42e81c5229554bfed4 | app/src/main/java/net/squanchy/search/engines/StringNormalizer.java | app/src/main/java/net/squanchy/search/engines/StringNormalizer.java | package net.squanchy.search.engines;
import java.text.Normalizer;
import java.util.Locale;
import java.util.regex.Pattern;
final class StringNormalizer {
private static final String EMPTY_STRING = "";
private static final String ACCENTS_PATTERN_STRING = "\\p{M}";
private static final Pattern ACCENTS_PATT... | package net.squanchy.search.engines;
import java.text.Normalizer;
import java.util.Locale;
import java.util.regex.Pattern;
final class StringNormalizer {
private static final String ACCENTS_PATTERN_STRING = "\\p{M}";
private static final Pattern ACCENTS_PATTERN = Pattern.compile(ACCENTS_PATTERN_STRING);
... | Use root locale when normalising | Use root locale when normalising
| Java | apache-2.0 | squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android |
98d2cf758998849263fe877f42abefe5517b027c | plugin-dnx-agent/src/test/java/jetbrains/buildServer/dnx/test/DnxToolProviderTest.java | plugin-dnx-agent/src/test/java/jetbrains/buildServer/dnx/test/DnxToolProviderTest.java | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* See LICENSE in the project root for license information.
*/
package jetbrains.buildServer.dnx.test;
import jetbrains.buildServer.agent.ToolProvider;
import jetbrains.buildServer.agent.impl.ToolProvider... | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* See LICENSE in the project root for license information.
*/
package jetbrains.buildServer.dnx.test;
import jetbrains.buildServer.agent.ToolCannotBeFoundException;
import jetbrains.buildServer.agent.Too... | Fix assertion in dnu discovery test | Fix assertion in dnu discovery test
| Java | apache-2.0 | JetBrains/teamcity-dnx-plugin |
f3d6fa072e462aa812958d45d6b47f90a751b843 | Common/src/main/java/me/jesensky/dan/playertracker/net/NetUtils.java | Common/src/main/java/me/jesensky/dan/playertracker/net/NetUtils.java | package me.jesensky.dan.playertracker.net;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.List;
public final class NetUtils {
private NetUtils(){
}
public static byte[] byteListToArray(List<Byte> bytes){
... | package me.jesensky.dan.playertracker.net;
import java.io.UnsupportedEncodingException;
import java.nio.charset.Charset;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.List;
public final class NetUtils {
private NetUtils(){
}
public static byte[] byte... | Add utility of bytes to string in netutils | Add utility of bytes to string in netutils
| Java | artistic-2.0 | 14jesenskyd/PlayerTracker-Java |
08774bd0e5b6e9414b86a1c3cd83c84e047b9abb | src/main/java/co/paralleluniverse/firebase/FirebaseUtil.java | src/main/java/co/paralleluniverse/firebase/FirebaseUtil.java | package co.paralleluniverse.firebase;
//~--- non-JDK imports --------------------------------------------------------
import co.paralleluniverse.fibers.SuspendExecution;
import com.firebase.client.DataSnapshot;
import com.firebase.client.Firebase;
import com.firebase.client.Query;
/**
* This class exposes Firebase... | package co.paralleluniverse.firebase;
//~--- non-JDK imports --------------------------------------------------------
import co.paralleluniverse.fibers.SuspendExecution;
import com.firebase.client.DataSnapshot;
import com.firebase.client.Firebase;
import com.firebase.client.Query;
/**
* This class exposes Firebase... | Add throws to the javadoc | Add throws to the javadoc
| Java | epl-1.0 | azell/quasar-firebase |
585466b1e535015540a87c6ac5e2a9e54a384a30 | modelimplementation/src/main/java/org/verapdf/model/tools/IDGenerator.java | modelimplementation/src/main/java/org/verapdf/model/tools/IDGenerator.java | package org.verapdf.model.tools;
import org.apache.pdfbox.cos.COSBase;
import org.apache.pdfbox.cos.COSObject;
/**
* Created by Evgeniy Muravitskiy on 4/27/15.
*<p>
* This class specified for creating ID`s for every object from model.
*/
public final class IDGenerator {
private IDGenerator(){}
/**
... | package org.verapdf.model.tools;
import org.apache.pdfbox.cos.COSBase;
import org.apache.pdfbox.cos.COSObject;
/**
* Created by Evgeniy Muravitskiy on 4/27/15.
*<p>
* This class specified for creating ID`s for every object from model.
*/
public final class IDGenerator {
private IDGenerator(){}
/**
... | Change working principle of id generating | Change working principle of id generating
| Java | mpl-2.0 | carlwilson/veraPDF-library |
27e6e37257e505a32de93ad74379c454ce88f653 | engine/src/main/java/org/terasology/utilities/gson/InputHandler.java | engine/src/main/java/org/terasology/utilities/gson/InputHandler.java | /*
* Copyright 2013 MovingBlocks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | /*
* Copyright 2013 MovingBlocks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | Fix to input handler to support space -> underscore conversion. | Fix to input handler to support space -> underscore conversion.
| Java | apache-2.0 | MovingBlocks/Terasology,Nanoware/Terasology,Vizaxo/Terasology,AWildBeard/Terasology,Ciclop/Terasology,CC4401-TeraCity/TeraCity,dannyzhou98/Terasology,sceptross/Terasology,neshume/Terasology,samuto/Terasology,Nanoware/Terasology,indianajohn/Terasology,leelib/Terasology,MarcinSc/Terasology,immortius/Terasology,Malanius/T... |
f0341f455338f5c24b0c6d11de0c7c8123027649 | proposals/rmi-remotemanager/java/org/apache/james/services/UsersStore.java | proposals/rmi-remotemanager/java/org/apache/james/services/UsersStore.java | /*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE file.
*/
package org.apache.james.services;
import java.util.Iterator;
im... | /*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE file.
*/
package org.apache.james.services;
import java.util.Iterator;
/*... | Remove reference to long deprecated Service interface. | Remove reference to long deprecated Service interface.
git-svn-id: de9d04cf23151003780adc3e4ddb7078e3680318@107893 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | rouazana/james,chibenwa/james,aduprat/james,chibenwa/james,aduprat/james,chibenwa/james,rouazana/james,rouazana/james,aduprat/james,chibenwa/james,rouazana/james,aduprat/james |
3ab7cac6209cfa3c2d13929123bb61903fe10f58 | testsuite-shading/src/test/java/io/netty/testsuite/shading/ShadingIT.java | testsuite-shading/src/test/java/io/netty/testsuite/shading/ShadingIT.java | /*
* Copyright 2018 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | /*
* Copyright 2018 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | Disable test as it sometimes fails on the CI | Disable test as it sometimes fails on the CI
Motivation:
Temporary disable test that wwas introduced as part of f60d08fd32b7287f65077f99a88bac645834098f as it sometimes fail on the CI. We need to figure out why it fails there (can not reproduce so far even on the CI after ssh into it).
Modifications:
Ignore test.
... | Java | apache-2.0 | tbrooks8/netty,fengjiachun/netty,jchambers/netty,Squarespace/netty,doom369/netty,johnou/netty,johnou/netty,fenik17/netty,fengjiachun/netty,bryce-anderson/netty,netty/netty,doom369/netty,mikkokar/netty,bryce-anderson/netty,netty/netty,artgon/netty,jchambers/netty,bryce-anderson/netty,johnou/netty,Squarespace/netty,Squar... |
88a6d8d489a1ae92c964d5c1c88842de2011f4fd | applications/client/src/main/java/com/paritytrading/parity/client/command/HelpCommand.java | applications/client/src/main/java/com/paritytrading/parity/client/command/HelpCommand.java | package com.paritytrading.parity.client.command;
import com.paritytrading.parity.client.TerminalClient;
import java.util.Scanner;
class HelpCommand implements Command {
@Override
public void execute(TerminalClient client, Scanner arguments) throws CommandException {
if (arguments.hasNext()) {
... | package com.paritytrading.parity.client.command;
import com.paritytrading.parity.client.TerminalClient;
import java.util.Scanner;
class HelpCommand implements Command {
@Override
public void execute(TerminalClient client, Scanner arguments) throws CommandException {
if (arguments.hasNext()) {
... | Simplify command name length calculation | parity-client: Simplify command name length calculation
| Java | apache-2.0 | paritytrading/parity,paritytrading/parity,pmcs/parity,pmcs/parity |
6de8d71da5c3ff81091c756271b62fb57b5cfd9a | vespajlib/src/main/java/com/yahoo/security/KeyStoreType.java | vespajlib/src/main/java/com/yahoo/security/KeyStoreType.java | // Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.security;
import java.security.GeneralSecurityException;
import java.security.KeyStore;
import java.security.KeyStoreException;
/**
* @author bjorncs
*/
public enum KeyStoreType {... | // Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.security;
import java.security.GeneralSecurityException;
import java.security.KeyStore;
import java.security.KeyStoreException;
/**
* @author bjorncs
*/
public enum KeyStoreType {... | Use BouncyCastle as provider for JKS keystore | Use BouncyCastle as provider for JKS keystore
Fixes an issue where KeyStoreBuilder fails to handle elliptic-curve crypto on older versions of OpenJDK
| Java | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
a95c3da209dbb2dd64a375d39a285a3cc7c66fa8 | PowerHour/app/src/main/java/com/codemagic/powerhour/Dashboard.java | PowerHour/app/src/main/java/com/codemagic/powerhour/Dashboard.java | package com.codemagic.powerhour;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Toast;
public class Dashboard extends Activity {
Preferences myPrefs;
@Override
protected void onCreate(Bundle s... | package com.codemagic.powerhour;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Toast;
public class Dashboard extends Activity {
Preferences myPrefs;
@Override
protected void onCreate(Bundle s... | Comment for info of save btn | Comment for info of save btn
| Java | cc0-1.0 | codeMagic23/PowerHour |
a8949a357bea55f7e760d2f3ca4b4252ecdd41d6 | src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/SourceDao.java | src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/SourceDao.java | package edu.northwestern.bioinformatics.studycalendar.dao;
import edu.northwestern.bioinformatics.studycalendar.domain.Source;
import java.util.List;
public class SourceDao extends StudyCalendarMutableDomainObjectDao<Source> {
public Class<Source> domainClass() {
return Source.class;
}
public Li... | package edu.northwestern.bioinformatics.studycalendar.dao;
import edu.northwestern.bioinformatics.studycalendar.domain.Source;
import java.util.List;
public class SourceDao extends StudyCalendarMutableDomainObjectDao<Source> {
public Class<Source> domainClass() {
return Source.class;
}
/**
... | Add javadoc to source dao. | Add javadoc to source dao.
| Java | bsd-3-clause | NCIP/psc,NCIP/psc,NCIP/psc,NCIP/psc |
ac624fa12ec49edf9b2f16b64130d3460e36ad3f | api/src/main/java/com/redhat/chrometwo/api/services/AccountWS.java | api/src/main/java/com/redhat/chrometwo/api/services/AccountWS.java | package com.redhat.chrometwo.api.services;
import javax.ejb.EJB;
import javax.ejb.LocalBean;
import javax.ejb.Stateless;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.core.Context;
import com.redhat.chrometwo.api.persist... | package com.redhat.chrometwo.api.services;
import javax.ejb.EJB;
import javax.ejb.LocalBean;
import javax.ejb.Stateless;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.core.Context;
import com.redhat.chrometwo.api.persist... | Revert "work around EJB's not working" | Revert "work around EJB's not working"
This reverts commit 5436a3e18ae816f62f80db7e5fa8a4b3ec18f6ae.
| Java | agpl-3.0 | gavin-romig-koch/victims-upload,gavin-romig-koch/victims-upload,gavin-romig-koch/victims-upload |
1530d35baba1c35be251cfa62082bc3da02bdab5 | skype-reporting/src/main/java/org/asg/report/CleanJob.java | skype-reporting/src/main/java/org/asg/report/CleanJob.java | package org.asg.report;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
public class CleanJob implements Job {
public void execute(JobExecutionContext context)
throws JobExecutionException {
App.statuses.clear();
}
}
| package org.asg.report;
import org.apache.log4j.Logger;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
public class CleanJob implements Job {
private final static Logger LOGGER = Logger.getLogger(CleanJob.class);
public void execute(JobExecutionContext cont... | Add logging to status queue clearing | Add logging to status queue clearing | Java | apache-2.0 | Akceptor/skype-reporting |
0ecb279aefe2256c8a3d9a3f7b3810f289cca6d1 | SAM/web/src/main/java/kr/ac/kaist/se/tardis/web/controller/ExceptionHandlingController.java | SAM/web/src/main/java/kr/ac/kaist/se/tardis/web/controller/ExceptionHandlingController.java | package kr.ac.kaist.se.tardis.web.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.boot.autoconfigure.web.ErrorController;
import org.springframewo... | package kr.ac.kaist.se.tardis.web.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.boot.autoconfigure.web.ErrorController;
import org.springframewo... | Fix controller annotation on Error | Fix controller annotation on Error
| Java | apache-2.0 | rbraeunlich/Project-TARDIS,rbraeunlich/Project-TARDIS,rbraeunlich/Project-TARDIS,rbraeunlich/Project-TARDIS |
853d0fecf124a3278f4ae41f8e905e7b87b782b9 | cgeotest/src/cgeo/geocaching/test/GeoPointParserTest.java | cgeotest/src/cgeo/geocaching/test/GeoPointParserTest.java | package cgeo.geocaching.test;
import cgeo.geocaching.geopoint.GeopointParser;
import junit.framework.Assert;
import android.test.AndroidTestCase;
public class GeoPointParserTest extends AndroidTestCase {
public void testParseLatitude() throws Throwable {
Assert.assertEquals(49.0 + 56.031 / 6... | package cgeo.geocaching.test;
import cgeo.geocaching.geopoint.Geopoint;
import cgeo.geocaching.geopoint.GeopointParser;
import junit.framework.Assert;
import android.test.AndroidTestCase;
public class GeoPointParserTest extends AndroidTestCase {
private static final double refLongitude = 8.0 + 38.564 / 60.... | Add more tests for GeopointParser | Add more tests for GeopointParser
| Java | apache-2.0 | lewurm/cgeo,Huertix/cgeo,kumy/cgeo,madankb/cgeo,xiaoyanit/cgeo,marco-dev/c-geo-opensource,Bananeweizen/cgeo,brok85/cgeo,S-Bartfast/cgeo,madankb/cgeo,yummy222/cgeo,pstorch/cgeo,superspindel/cgeo,Bananeweizen/cgeo,auricgoldfinger/cgeo,samueltardieu/cgeo,samueltardieu/cgeo,tobiasge/cgeo,yummy222/cgeo,schwabe/cgeo,cgeo/cge... |
d0e7de0f4d885c731640b2d9b800bd6318e9b1d7 | src/main/java/net/openhft/chronicle/queue/RollDetails.java | src/main/java/net/openhft/chronicle/queue/RollDetails.java | /*
* Copyright 2016 higherfrequencytrading.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | /*
* Copyright 2016 higherfrequencytrading.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | Use extends AbstractMarshallable in more places. | Use extends AbstractMarshallable in more places.
| Java | apache-2.0 | OpenHFT/Chronicle-Queue,OpenHFT/Chronicle-Queue |
b71445e6c0b8b94a2f17133fd5c3f6f679196343 | libraries/netip/java/src/main/java/eu/netide/lib/netip/OpenFlowMessage.java | libraries/netip/java/src/main/java/eu/netide/lib/netip/OpenFlowMessage.java | package eu.netide.lib.netip;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;
import org.projectfloodlight.openflow.protocol.OFMessage;
/**
* Class representing a message of type OPENFLOW.
* Note that this only serves as a convenience class - if the MessageType is manipulat... | package eu.netide.lib.netip;
import org.jboss.netty.buffer.ChannelBuffer;
import org.jboss.netty.buffer.ChannelBuffers;
import org.projectfloodlight.openflow.protocol.OFMessage;
/**
* Class representing a message of type OPENFLOW.
* Note that this only serves as a convenience class - if the MessageType is manipulat... | Fix OpenFlow packets getting stuffed with \0 bytes. | Fix OpenFlow packets getting stuffed with \0 bytes.
| Java | epl-1.0 | fp7-netide/Engine,fp7-netide/Engine,pablomuri/Engine,pablomuri/Engine,pablomuri/Engine,fp7-netide/Engine,fp7-netide/Engine,fp7-netide/Engine |
442c6cefd4b2c7663a2781c41a1653a24996b948 | src/test/java/io/reactivex/internal/util/OpenHashSetTest.java | src/test/java/io/reactivex/internal/util/OpenHashSetTest.java | /**
* Copyright 2016 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | /**
* Copyright 2016 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | Add equals() to the unit test to satisfy checkstyle | Add equals() to the unit test to satisfy checkstyle | Java | apache-2.0 | reactivex/rxjava,artem-zinnatullin/RxJava,benjchristensen/RxJava,AttwellBrian/RxJava,artem-zinnatullin/RxJava,ReactiveX/RxJava,AttwellBrian/RxJava,akarnokd/RxJava,NiteshKant/RxJava,reactivex/rxjava,akarnokd/RxJava,ReactiveX/RxJava,NiteshKant/RxJava |
c63024e0e3cec9b7e588717761e52c5f6382d64a | commons/src/main/java/com/adaptc/mws/plugins/PluginState.java | commons/src/main/java/com/adaptc/mws/plugins/PluginState.java | package com.adaptc.mws.plugins;
/**
* Represents the current state of a plugin.
* @author bsaville
*/
public enum PluginState {
/**
* The plugin is created and ready for use, but is not
* currently receiving any events
*/
STOPPED("Stopped"),
/**
* The plugin is currently receiving events and is working ... | package com.adaptc.mws.plugins;
/**
* Represents the current state of a plugin.
* @author bsaville
*/
public enum PluginState {
/**
* The plugin is created and ready for use, but is not
* currently receiving any events
*/
STOPPED("Stopped"),
/**
* The plugin is currently receiving events and is working ... | Fix documentation for plugin state | Fix documentation for plugin state
| Java | apache-2.0 | adaptivecomputing/plugins-commons |
ae30ec80f775b27fd7b1c669c9aaa076e2ec7fdb | control-users/src/main/java/fi/nls/oskari/control/users/UserController.java | control-users/src/main/java/fi/nls/oskari/control/users/UserController.java | package fi.nls.oskari.control.users;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import fi.nls.oskari.log.LogFactory;
import fi.nls.oskari.log.Logger... | package fi.nls.oskari.control.users;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import fi.nls.oskari.log.LogFactory;
import fi.nls.oskari.log.Logger... | Return view is set to 'resetPassword'. | Return view is set to 'resetPassword'.
| Java | mit | nls-oskari/oskari-server,nls-oskari/oskari-server,nls-oskari/oskari-server |
84fdbad5bd4f4a1c04978c09622b8042215c2ec0 | src/main/java/io/github/vcuswimlab/stackintheflow/controller/QueryExecutor.java | src/main/java/io/github/vcuswimlab/stackintheflow/controller/QueryExecutor.java | package io.github.vcuswimlab.stackintheflow.controller;
import io.github.vcuswimlab.stackintheflow.model.JerseyGet;
import io.github.vcuswimlab.stackintheflow.model.JerseyResponse;
import io.github.vcuswimlab.stackintheflow.model.Query;
/**
* Created by Chase on 1/5/2017.
*/
public class QueryExecutor {
privat... | package io.github.vcuswimlab.stackintheflow.controller;
import io.github.vcuswimlab.stackintheflow.model.JerseyGet;
import io.github.vcuswimlab.stackintheflow.model.JerseyResponse;
import io.github.vcuswimlab.stackintheflow.model.Query;
/**
* Created by Chase on 1/5/2017.
*/
public class QueryExecutor {
privat... | Clean up execute query methods. | Clean up execute query methods.
| Java | mit | vcu-swim-lab/stack-intheflow,vcu-swim-lab/stack-intheflow,vcu-swim-lab/stack-intheflow |
e9f68b81321a111946b0bef4ee8ba3b9bf20829f | src/main/java/absyn/DecVar.java | src/main/java/absyn/DecVar.java | package absyn;
import env.Env;
import javaslang.collection.Tree;
import parse.Loc;
import semantic.SemanticHelper;
import types.Type;
public class DecVar extends Dec {
public final String name;
public final String typeName;
public final Exp init;
public DecVar(Loc loc, String name, String typeName, Exp ... | package absyn;
import env.Env;
import javaslang.collection.List;
import javaslang.collection.Tree;
import parse.Loc;
import semantic.SemanticHelper;
import types.Type;
public class DecVar extends Dec {
public final String name;
public final String typeName;
public final Exp init;
public DecVar(Loc loc, ... | Fix toTree method for variable declarations | Fix toTree method for variable declarations
The type name of the variable may be missing.
| Java | mit | romildo/eplan,romildo/eplan |
36801f3c7de6facd9293aa6fd1099d0e7ef1dc0b | mod/resolver/src/main/com/thaiopensource/resolver/BasicResolver.java | mod/resolver/src/main/com/thaiopensource/resolver/BasicResolver.java | package com.thaiopensource.resolver;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.io.IOException;
/**
*
*/
public class BasicResolver implements Resolver {
static private final BasicResolver theInstance = new BasicResolver();
protected BasicResolver() {
}
publi... | package com.thaiopensource.resolver;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.io.IOException;
/**
*
*/
public class BasicResolver implements Resolver {
static private final BasicResolver theInstance = new BasicResolver();
protected BasicResolver() {
}
publi... | Add note that we need to handle HTTP redirection | Add note that we need to handle HTTP redirection | Java | bsd-3-clause | webhost/jing-trang,webhost/jing-trang,webhost/jing-trang |
abb4422f167d074e615bf46aca2678d05afb8b96 | src/eds-hl7receiver/src/main/java/org/endeavourhealth/hl7receiver/Main.java | src/eds-hl7receiver/src/main/java/org/endeavourhealth/hl7receiver/Main.java | package org.endeavourhealth.hl7receiver;
import org.endeavourhealth.core.data.config.ConfigManagerException;
import org.endeavourhealth.hl7receiver.hl7.HL7Service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Main {
private static final String PROGRAM_DISPLAY_NAME = "EDS HL7 receiver";
pri... | package org.endeavourhealth.hl7receiver;
import org.endeavourhealth.core.data.config.ConfigManagerException;
import org.endeavourhealth.hl7receiver.hl7.HL7Service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Main {
private static final String PROGRAM_DISPLAY_NAME = "EDS HL7 receiver";
pri... | Change main thread to support upstart | Change main thread to support upstart
| Java | apache-2.0 | endeavourhealth/EDS,endeavourhealth/EDS,endeavourhealth/EDS,endeavourhealth/EDS,endeavourhealth/EDS |
44a4dfb6b5535c910a5e66a52061c662bf391a69 | src/main/java/com/github/jmchilton/blend4j/galaxy/beans/HistoryDetails.java | src/main/java/com/github/jmchilton/blend4j/galaxy/beans/HistoryDetails.java | package com.github.jmchilton.blend4j.galaxy.beans;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown=true)
public class HistoryDetails extends History {
private String state;
public String getState() {
return state;
}
public void setState(String state) {
... | package com.github.jmchilton.blend4j.galaxy.beans;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown=true)
public class HistoryDetails extends History ... | Add property to get state map from histories, figure out which HDAs are in what state - ok, failed, etc.... | Add property to get state map from histories, figure out which HDAs are in what state - ok, failed, etc....
| Java | epl-1.0 | jmchilton/blend4j,apetkau/blend4j,greenwoodma/blend4j,apetkau/blend4j,biologghe/blend4j,greenwoodma/blend4j,jmchilton/blend4j |
02d006351dcac8244e8ebe9f3306cf9e21800d9b | java-library-tester/src/test/java/study/hard/javalib/nativelib/GetClassTest.java | java-library-tester/src/test/java/study/hard/javalib/nativelib/GetClassTest.java | package study.hard.javalib.nativelib;
public class GetClassTest {
public static void main(String[] args) {
GetClassTest tester = new GetClassTest();
ExtendedClassA extendedA = tester.new ExtendedClassA();
extendedA.printClass(); // class study.hard.javalib.nativelib.GetClassTest$ExtendedClassA
Class<? exten... | package study.hard.javalib.nativelib;
public class GetClassTest {
public static void main(String[] args) {
GetClassTest tester = new GetClassTest();
ExtendedClassA extendedA = tester.new ExtendedClassA();
extendedA.printClass(); // class study.hard.javalib.nativelib.GetClassTest$ExtendedClassA
Class<? exten... | Add a test case to check identity of result of getClass() and classname.class. | Add a test case to check identity of result of getClass() and
classname.class. | Java | mit | iandmyhand/java-library-tester |
4eb7b4b8ccbda6d9850d15b322777e4f6bf0fd8a | src/main/java/ch/ralscha/extdirectspring/demo/RunDemoOnTomcat.java | src/main/java/ch/ralscha/extdirectspring/demo/RunDemoOnTomcat.java | /**
* Copyright 2010-2012 Ralph Schaer <ralphschaer@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | /**
* Copyright 2010-2012 Ralph Schaer <ralphschaer@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | Remove resource jar handling. Works now out of the box with latest Tomcat | Remove resource jar handling. Works now out of the box with latest
Tomcat | Java | apache-2.0 | ralscha/extdirectspring-demo,ralscha/extdirectspring-demo,ralscha/extdirectspring-demo |
436723d071078f13f3e0147cddc628f1f5b1b9e3 | src/main/java/com/linecorp/armeria/client/http/HttpHeaderUtil.java | src/main/java/com/linecorp/armeria/client/http/HttpHeaderUtil.java | /*
* Copyright 2016 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | /*
* Copyright 2016 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | Fix missing version information in user-agent header | Fix missing version information in user-agent header
Motivation:
HttpClient sends the 'user-agent' header with incorrect version
information. It's sending artifactId instead of artifactVersion.
Modifications:
- Use artifactVersion instead of artifactId
- Use correct class loader
Result:
The 'user-agent' header va... | Java | apache-2.0 | minwoox/armeria,dongjinleekr/armeria,anuraaga/armeria,line/armeria,anuraaga/armeria,jmostella/armeria,minwoox/armeria,anuraaga/armeria,trustin/armeria,minwoox/armeria,kojilin/armeria,imasahiro/armeria,line/armeria,dongjinleekr/armeria,line/armeria,kojilin/armeria,jmostella/armeria,jonefeewang/armeria,line/armeria,jmost... |
a1b3be5eb9a35347f809f3c7ed9588ad3a93bfe6 | src/java/com/magnet/mmx/sasl/MMXOAuthCallbackHandler.java | src/java/com/magnet/mmx/sasl/MMXOAuthCallbackHandler.java | /* Copyright (c) 2015 Magnet Systems, 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 ... | /* Copyright (c) 2015 Magnet Systems, 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 ... | Correct a misleading class name for the logger. | Correct a misleading class name for the logger.
| Java | apache-2.0 | magnetsystems/message-openfire,magnetsystems/message-openfire,magnetsystems/message-openfire,magnetsystems/message-openfire,magnetsystems/message-openfire |
76dcb98842c92b8f84355f17348bb4208e5ff319 | src/main/java/org/frawa/elmtest/run/ElmTestConfigurationFactory.java | src/main/java/org/frawa/elmtest/run/ElmTestConfigurationFactory.java | package org.frawa.elmtest.run;
import com.intellij.execution.configurations.ConfigurationFactory;
import com.intellij.execution.configurations.ConfigurationType;
import com.intellij.execution.configurations.RunConfiguration;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.IconLoader;
impo... | package org.frawa.elmtest.run;
import com.intellij.execution.configurations.ConfigurationFactory;
import com.intellij.execution.configurations.ConfigurationType;
import com.intellij.execution.configurations.RunConfiguration;
import com.intellij.openapi.project.Project;
import org.elm.ide.icons.ElmIcons;
import org.jet... | Fix icon (SVG was being rendered HUGE in WebStorm) | Fix icon (SVG was being rendered HUGE in WebStorm)
| Java | mit | klazuka/intellij-elm,klazuka/intellij-elm |
2bc31354efab71b3a1946680c3703a166a2255a2 | test/unit/edu/northwestern/bioinformatics/studycalendar/testing/DaoTestCase.java | test/unit/edu/northwestern/bioinformatics/studycalendar/testing/DaoTestCase.java | package edu.northwestern.bioinformatics.studycalendar.testing;
import edu.nwu.bioinformatics.commons.testing.DbTestCase;
import org.springframework.context.ApplicationContext;
import javax.sql.DataSource;
/**
* @author Rhett Sutphin
*/
public class DaoTestCase extends DbTestCase {
private static ApplicationCo... | package edu.northwestern.bioinformatics.studycalendar.testing;
import edu.nwu.bioinformatics.commons.testing.DbTestCase;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.mock.web.MockHttpServletReques... | Add open session in view filter support to tests | Add open session in view filter support to tests
| Java | bsd-3-clause | NCIP/psc,NCIP/psc,NCIP/psc,NCIP/psc |
b3a4f637f92d5fbe6185cc8cbbe6080dcce0117b | src/main/java/com/cjm721/overloaded/OverloadedItemGroups.java | src/main/java/com/cjm721/overloaded/OverloadedItemGroups.java | package com.cjm721.overloaded;
import com.cjm721.overloaded.block.ModBlocks;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
public class OverloadedItemGroups {
public static final ItemGroup TECH =
new ItemGroup("Overloaded_Tech") {
@Override
public ItemStack createI... | package com.cjm721.overloaded;
import com.cjm721.overloaded.block.ModBlocks;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
import net.minecraft.util.NonNullList;
import java.util.Comparator;
public class OverloadedItemGroups {
public static final ItemGroup TECH =
new ItemGroup("O... | Sort item group so easier to find things | Sort item group so easier to find things
| Java | bsd-3-clause | CJ-MC-Mods/Overloaded |
e8e9c41f67db2944bd1c9622bd9cdb05a7e5db15 | src/main/java/com/modesteam/urutau/service/KanbanService.java | src/main/java/com/modesteam/urutau/service/KanbanService.java | package com.modesteam.urutau.service;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import com.modesteam.urutau.dao.LayerDAO;
import com.modesteam.urutau.model.system.Layer;
public class KanbanService {
private static final Long FIRST_DEFAULT_LAYER_ID = 1L;
private static final ... | package com.modesteam.urutau.service;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import com.modesteam.urutau.dao.LayerDAO;
import com.modesteam.urutau.exception.SystemBreakException;
import com.modesteam.urutau.model.system.Layer;
public class KanbanService {
private static fin... | Throw exception if backlog layer are null | Throw exception if backlog layer are null
| Java | apache-2.0 | tainarareis/Urutau,ProjectUrutau/Urutau,tainarareis/Urutau,Modesteam/Urutau,tainarareis/Urutau,ProjectUrutau/Urutau,tainarareis/Urutau,Modesteam/Urutau,tainarareis/Urutau |
4dac90e1bfd665c3bc6462437b121f0a8ea929c4 | edocs-app/src/main/java/com/github/aureliano/edocs/app/gui/menu/MenuBar.java | edocs-app/src/main/java/com/github/aureliano/edocs/app/gui/menu/MenuBar.java | package com.github.aureliano.edocs.app.gui.menu;
import javax.swing.JMenuBar;
public class MenuBar extends JMenuBar {
private static final long serialVersionUID = 5179328504511930019L;
private FileMenu fileMenu;
private DocumentMenu documentMenu;
public MenuBar() {
this.addMenus();
}
private void addMenu... | package com.github.aureliano.edocs.app.gui.menu;
import javax.swing.JMenuBar;
public class MenuBar extends JMenuBar {
private static final long serialVersionUID = 5179328504511930019L;
private FileMenu fileMenu;
private DocumentMenu documentMenu;
private HelpMenu helpMenu;
public MenuBar() {
this.addMenus(... | Add help menu to menu bar. | Add help menu to menu bar.
| Java | mit | aureliano/e-docs |
3207f31eee7c65a25924b18652046d69f23f238f | ushahidi/src/test/java/com/ushahidi/android/DefaultConfig.java | ushahidi/src/test/java/com/ushahidi/android/DefaultConfig.java | package com.ushahidi.android;
/**
* Provides config common to all available test
*
* @author Henry Addo
*/
public class DefaultConfig {
// The api level that Roboelectric will use to run the unit tests
public static final int EMULATE_SDK = 21;
private DefaultConfig() {
// No instance
}
... | package com.ushahidi.android;
/**
* Provides config common to all available test
*
* @author Henry Addo
*/
public final class DefaultConfig {
/**
* The api level that Roboelectric will use to run the unit tests
*/
public static final int EMULATE_SDK = 21;
private DefaultConfig() {
/... | Make defaul config final so it can't be instantiated | Make defaul config final so it can't be instantiated
| Java | agpl-3.0 | malikov/platform-android,malikov/platform-android |
28bd2f6c727644858f497d8e68cb5c64ceb603fe | jpa-model/src/main/java/org/ihtsdo/otf/mapping/rf2/jpa/AbstractDescriptionRefSetMember.java | jpa-model/src/main/java/org/ihtsdo/otf/mapping/rf2/jpa/AbstractDescriptionRefSetMember.java | package org.ihtsdo.otf.mapping.rf2.jpa;
import org.hibernate.search.annotations.ContainedIn;
import com.fasterxml.jackson.annotation.JsonBackReference;
import javax.persistence.ManyToOne;
import javax.persistence.MappedSuperclass;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlIDR... | package org.ihtsdo.otf.mapping.rf2.jpa;
import org.hibernate.search.annotations.ContainedIn;
import com.fasterxml.jackson.annotation.JsonBackReference;
import javax.persistence.ManyToOne;
import javax.persistence.MappedSuperclass;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlIDR... | Add another optional=false for the description refset member. | Add another optional=false for the description refset member.
| Java | apache-2.0 | IHTSDO/OTF-Mapping-Service,IHTSDO/OTF-Mapping-Service,IHTSDO/OTF-Mapping-Service,IHTSDO/OTF-Mapping-Service,IHTSDO/OTF-Mapping-Service,IHTSDO/OTF-Mapping-Service |
83b21d33fc2bce360b0860a0cb34ba48a2f8f8df | KnightsOfAlentejoAndroid-AS/app/src/main/java/br/odb/menu/ShowOutcomeActivity.java | KnightsOfAlentejoAndroid-AS/app/src/main/java/br/odb/menu/ShowOutcomeActivity.java | package br.odb.menu;
import android.app.Activity;
import android.graphics.Typeface;
import android.os.Bundle;
import android.widget.TextView;
import br.odb.knights.R;
public class ShowOutcomeActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedI... | package br.odb.menu;
import android.app.Activity;
import android.graphics.Typeface;
import android.os.Bundle;
import android.widget.TextView;
import br.odb.knights.R;
public class ShowOutcomeActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedI... | Use outcome for activity title in said activity | Use outcome for activity title in said activity
| Java | bsd-2-clause | TheFakeMontyOnTheRun/knightsofalentejo,TheFakeMontyOnTheRun/knightsofalentejo,TheFakeMontyOnTheRun/knightsofalentejo |
4202f671c743e60c3f931fe2802b4aa96ed1e594 | box-content-sdk/src/main/java/com/box/androidsdk/content/requests/BoxRequestRecentItems.java | box-content-sdk/src/main/java/com/box/androidsdk/content/requests/BoxRequestRecentItems.java | package com.box.androidsdk.content.requests;
import com.box.androidsdk.content.BoxException;
import com.box.androidsdk.content.BoxFutureTask;
import com.box.androidsdk.content.models.BoxIteratorRecentItems;
import com.box.androidsdk.content.models.BoxSession;
/**
* BoxRequest to perform operations on the global rece... | package com.box.androidsdk.content.requests;
import com.box.androidsdk.content.BoxException;
import com.box.androidsdk.content.BoxFutureTask;
import com.box.androidsdk.content.models.BoxIteratorRecentItems;
import com.box.androidsdk.content.models.BoxSession;
/**
* BoxRequest to perform operations on the global rece... | Set limit for GET request for recents endpoint | AND-7076: Set limit for GET request for recents endpoint
The default limit of 100 is set for GET recent items.
| Java | apache-2.0 | box/box-android-sdk,seema-at-box/box-android-sdk,box/box-android-sdk,seema-at-box/box-android-sdk,seema-at-box/box-android-sdk,box/box-android-sdk |
eee6fa0bcf1be0963e6ec9b9c36dc2f0f47c6723 | lucene/facet/src/java/org/apache/lucene/facet/range/package-info.java | lucene/facet/src/java/org/apache/lucene/facet/range/package-info.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 ... | /*
* 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 ... | Fix javadocs by reverting to previous state (script failure possibly) | LUCENE-7013: Fix javadocs by reverting to previous state (script failure possibly)
| Java | apache-2.0 | apache/solr,apache/solr,apache/solr,apache/solr,apache/solr |
2a17e7ec549d6e535ed585ed46075a825bc607ab | ZhihuDailyPurify/src/main/java/io/github/izzyleung/zhihudailypurify/task/BaseGetNewsTask.java | ZhihuDailyPurify/src/main/java/io/github/izzyleung/zhihudailypurify/task/BaseGetNewsTask.java | package io.github.izzyleung.zhihudailypurify.task;
import io.github.izzyleung.zhihudailypurify.ZhihuDailyPurifyApplication;
import io.github.izzyleung.zhihudailypurify.bean.DailyNews;
import java.util.List;
public abstract class BaseGetNewsTask extends BaseDownloadTask<Void, Void, List<DailyNews>> {
protected bo... | package io.github.izzyleung.zhihudailypurify.task;
import io.github.izzyleung.zhihudailypurify.ZhihuDailyPurifyApplication;
import io.github.izzyleung.zhihudailypurify.bean.DailyNews;
import java.util.List;
public abstract class BaseGetNewsTask extends BaseDownloadTask<Void, Void, List<DailyNews>> {
protected bo... | Remove callback when the job is done | Remove callback when the job is done
| Java | apache-2.0 | JohnTsaiAndroid/ZhihuDailyPurify,hzy87email/ZhihuDailyPurify,02N/ZhihuDailyPurify,ALEXGUOQ/ZhihuDailyPurify,Neilsgithub/ZhihuDailyPurify,hesy007/ZhihuDailyPurify,shireworld/ZhihuDailyPurify,zhouzizi/ZhihuDailyPurify,520it/ZhihuDailyPurify,owenmike/ZhihuDailyPurify,treejames/ZhihuDailyPurify,pingfanganwei/ZhihuDailyPuri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.