lang stringclasses 1
value | license stringclasses 13
values | stderr stringlengths 0 350 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 7 45.1k | new_contents stringlengths 0 1.87M | new_file stringlengths 6 292 | old_contents stringlengths 0 1.87M | message stringlengths 6 9.26k | old_file stringlengths 6 292 | subject stringlengths 0 4.45k |
|---|---|---|---|---|---|---|---|---|---|---|---|
Java | bsd-2-clause | 345a2473467f3f2ff050cd1b8a28634175913ec7 | 0 | deepinniagafalls/ScrabbleStage3,deepinniagafalls/part2 | package code.util;
import java.util.ArrayList;
public class Reader {
private ArrayList<String> _words = new ArrayList<String>();
public Reader(){
}
public ArrayList<String> getWords(){
return _words;
}
}
| part2/src/code/util/Reader.java | package code.util;
public class Reader {
}
| ArrayList | part2/src/code/util/Reader.java | ArrayList | |
Java | bsd-3-clause | 94348d38df84add395ac17c771497f3991756bc6 | 0 | OASTEM/FRCTesting,OASTEM/FRCTesting,OASTEM/FRCTesting | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.oastem.frc.imaging;
import com.sun.squawk.util.MathUtils;
import edu.wpi.first.wpilibj.image.BinaryImage;
import edu.wpi.first.wpilibj.image.LinearAverages;
import edu.wpi.first.wpilibj.image.NIVision;
impor... | src/org/oastem/frc/sensor/imageUtils.java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.oastem.frc.imaging;
import com.sun.squawk.util.MathUtils;
import edu.wpi.first.wpilibj.image.BinaryImage;
import edu.wpi.first.wpilibj.image.LinearAverages;
import edu.wpi.first.wpilibj.image.NIVision;
impor... | imported colorImage and added methods
| src/org/oastem/frc/sensor/imageUtils.java | imported colorImage and added methods | |
Java | mit | 116a7499235aa9773d573fc97fc8af19e6872a91 | 0 | openregister/openregister-java,openregister/openregister-java,openregister/openregister-java,openregister/openregister-java,openregister/openregister-java | package uk.gov.register.presentation.functional;
import com.google.common.collect.ImmutableList;
import org.junit.BeforeClass;
import org.junit.Test;
import uk.gov.register.presentation.functional.testSupport.DBSupport;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import java.io.IOException;
i... | src/test/java/uk/gov/register/presentation/functional/DataResourceTest.java | package uk.gov.register.presentation.functional;
import com.google.common.collect.ImmutableList;
import org.junit.BeforeClass;
import org.junit.Test;
import uk.gov.register.presentation.functional.testSupport.DBSupport;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import java.io.IOException;
i... | Use hamcrest assertThat method instead of assertTrue as suggested.
| src/test/java/uk/gov/register/presentation/functional/DataResourceTest.java | Use hamcrest assertThat method instead of assertTrue as suggested. | |
Java | mit | 2d1c9bc226a9266e2200eb6c3d7c27a810b5fb15 | 0 | influxdb/influxdb-java,influxdata/influxdb-java,influxdata/influxdb-java | package org.influxdb.dto;
import static org.assertj.core.api.Assertions.assertThat;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.At... | src/test/java/org/influxdb/dto/PointTest.java | package org.influxdb.dto;
import static org.assertj.core.api.Assertions.assertThat;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.At... | issue #468 tags should be sorted by key in line protocol to reduce db
server overheads
add unit test
| src/test/java/org/influxdb/dto/PointTest.java | issue #468 tags should be sorted by key in line protocol to reduce db server overheads add unit test | |
Java | mit | 31c5e50424cc56fa40d1a5a543e512b5204bce6e | 0 | thombergs/code-examples,thombergs/code-examples,thombergs/code-examples,thombergs/code-examples,thombergs/code-examples,thombergs/code-examples | /**
*
*/
package io.pratik.restclient;
import java.net.URI;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import org.springframework.boot.web.client.R... | spring-boot/resttemplate/src/main/java/io/pratik/restclient/RestConsumer.java | /**
*
*/
package io.pratik.restclient;
import java.net.URI;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import org.springframework.boot.web.client.R... | edited restconsumer.java
| spring-boot/resttemplate/src/main/java/io/pratik/restclient/RestConsumer.java | edited restconsumer.java | |
Java | mit | aeee243d3d5c5c97b309fd941e6323370bbda52b | 0 | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode | package leetcode;
import java.util.Arrays;
/**
* https://leetcode.com/problems/shortest-unsorted-continuous-subarray/
*/
public class Problem581 {
public int findUnsortedSubarray(int[] nums) {
int[] sorted = Arrays.copyOf(nums, nums.length);
Arrays.sort(sorted);
int count = 0;
in... | src/main/java/leetcode/Problem581.java | package leetcode;
/**
* https://leetcode.com/problems/shortest-unsorted-continuous-subarray/
*/
public class Problem581 {
public int findUnsortedSubarray(int[] nums) {
for (int i = 0; i < nums.length; i++) {
}
return 0;
}
public static void main(String[] args) {
Problem... | Solve problem 581
| src/main/java/leetcode/Problem581.java | Solve problem 581 | |
Java | mit | 998f62846f8c74c714f133de4b4d2fdf68a6d6b4 | 0 | diirt/diirt,ControlSystemStudio/diirt,ControlSystemStudio/diirt,diirt/diirt,berryma4/diirt,diirt/diirt,diirt/diirt,berryma4/diirt,berryma4/diirt,ControlSystemStudio/diirt,ControlSystemStudio/diirt,berryma4/diirt | /**
* Copyright (C) 2010-14 diirt developers. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
*/
package org.diirt.pods.web.common;
import java.io.IOException;
import java.io.Writer;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.websocket.Enc... | pods/web-pods-common/src/main/java/org/diirt/pods/web/common/MessageEncoder.java | /**
* Copyright (C) 2010-14 diirt developers. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
*/
package org.diirt.pods.web.common;
import java.io.IOException;
import java.io.Writer;
import javax.websocket.EncodeException;
import javax.websocket.Encoder;
import javax.websoc... | pods-web-common: log encoding exception | pods/web-pods-common/src/main/java/org/diirt/pods/web/common/MessageEncoder.java | pods-web-common: log encoding exception | |
Java | epl-1.0 | bdb8c36de52c4c9eec17247e1ee536240a0551a7 | 0 | RWArunde/Mallet,RWArunde/Mallet,ohjeyong/mallet,ohjeyong/mallet,carschno/Mallet,steveash/Mallet,lewg/Mallet,lewg/Mallet,zxsted/Mallet,steveash/Mallet,lewg/Mallet,RWArunde/Mallet,carschno/Mallet,steveash/Mallet,palm-toolkit/Mallet,zxsted/Mallet,ohjeyong/mallet,carschno/Mallet,palm-toolkit/Mallet,zxsted/Mallet | /* Copyright (C) 2002 Univ. of Massachusetts Amherst, Computer Science Dept.
This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit).
http://www.cs.umass.edu/~mccallum/mallet
This software is provided under the terms of the Common Public License,
version 1.0, as published by http://www.opensou... | src/cc/mallet/classify/FeatureConstraintUtil.java | /* Copyright (C) 2002 Univ. of Massachusetts Amherst, Computer Science Dept.
This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit).
http://www.cs.umass.edu/~mccallum/mallet
This software is provided under the terms of the Common Public License,
version 1.0, as published by http://www.opensou... | Removing unnecessary method.
| src/cc/mallet/classify/FeatureConstraintUtil.java | Removing unnecessary method. | |
Java | agpl-3.0 | ce816f07474c9e3ae9d1467769f3942bb39819da | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | 893c04f6-2e61-11e5-9284-b827eb9e62be | hello.java | 89368e5e-2e61-11e5-9284-b827eb9e62be | 893c04f6-2e61-11e5-9284-b827eb9e62be | hello.java | 893c04f6-2e61-11e5-9284-b827eb9e62be | |
Java | agpl-3.0 | 16dae6da0b29a4b94e822db4daaf85c44fd58768 | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | eebb4d2e-2e60-11e5-9284-b827eb9e62be | hello.java | eeb5ebc2-2e60-11e5-9284-b827eb9e62be | eebb4d2e-2e60-11e5-9284-b827eb9e62be | hello.java | eebb4d2e-2e60-11e5-9284-b827eb9e62be | |
Java | apache-2.0 | 7f25840e5df27aa65c19df15757bcea52842ba5a | 0 | Evolveum/midpoint-ide-plugins | package com.evolveum.midpoint.eclipse.ui.components.browser;
import java.io.ByteArrayInputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import org.apache.commons.lang.StringUtils;
import org.eclipse.core.resources.IContain... | com.evolveum.midpoint.eclipse.parent/com.evolveum.midpoint.eclipse.ui/src/com/evolveum/midpoint/eclipse/ui/components/browser/BrowserDialog.java | package com.evolveum.midpoint.eclipse.ui.components.browser;
import java.io.ByteArrayInputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import org.apache.commons.lang.StringUtils;
import org.eclipse.core.resources.IContain... | Browser: auto expand single-type trees. | com.evolveum.midpoint.eclipse.parent/com.evolveum.midpoint.eclipse.ui/src/com/evolveum/midpoint/eclipse/ui/components/browser/BrowserDialog.java | Browser: auto expand single-type trees. | |
Java | apache-2.0 | f1870629e91802d85e69cb0c77a6331253b6b35b | 0 | dcsch/typecast | /*
* $Id: BaseTable.java,v 1.3 2007-02-08 04:31:31 davidsch Exp $
*
* Typecast - The Font Development Environment
*
* Copyright (c) 2004-2007 David Schweinsberg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtai... | src/net/java/dev/typecast/ot/table/BaseTable.java | /*
* $Id: BaseTable.java,v 1.2 2007-02-05 12:41:06 davidsch Exp $
*
* Typecast - The Font Development Environment
*
* Copyright (c) 2004-2007 David Schweinsberg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtai... | Included a check in the "toString" method that a horiz and vert axis actually exist before trying to dump it.
| src/net/java/dev/typecast/ot/table/BaseTable.java | Included a check in the "toString" method that a horiz and vert axis actually exist before trying to dump it. | |
Java | apache-2.0 | 3767769d98b83150f03594c3cc14d4afeef8a6f6 | 0 | DataSketches/sketches-core | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | src/test/java/org/apache/datasketches/tuple/aninteger/EngagementTest.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 ... | Update EngagementTest | src/test/java/org/apache/datasketches/tuple/aninteger/EngagementTest.java | Update EngagementTest | |
Java | apache-2.0 | ffb6a6aae11516b3a148206800f57ab19f8272c1 | 0 | mta452/Tehreer-Android,mta452/Tehreer-Android,mta452/Tehreer-Android | /*
* Copyright (C) 2018 Muhammad Tayyab Akram
*
* 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... | tehreer-android/src/main/java/com/mta/tehreer/internal/util/StringUtils.java | /*
* Copyright (C) 2018 Muhammad Tayyab Akram
*
* 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... | [lib] Made string utils work on char sequence...
| tehreer-android/src/main/java/com/mta/tehreer/internal/util/StringUtils.java | [lib] Made string utils work on char sequence... | |
Java | apache-2.0 | 6b9bc97ceedc26ba9d59efc49609e47a4bb032ae | 0 | IHTSDO/OTF-User-Module,IHTSDO/OTF-User-Module,IHTSDO/OTF-User-Module | package org.ihtsdo.otf.security;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.logging.Logger;
import org.ihtsdo.otf.security.dto.OtfAccount;
import org.ihtsdo.otf.security.dto.OtfAccountMi... | security/src/main/java/org/ihtsdo/otf/security/AbstractUserSecurityModel.java | package org.ihtsdo.otf.security;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.logging.Logger;
import org.ihtsdo.otf.security.dto.OtfAccount;
import org.ihtsdo.otf.security.dto.OtfAccountMi... | rem debug | security/src/main/java/org/ihtsdo/otf/security/AbstractUserSecurityModel.java | rem debug | |
Java | apache-2.0 | 515de7a9b193baf66fe1d66ec685d29c373adcb5 | 0 | droidcon/iosched,droidcon/iosched,droidcon/iosched | /*
* Copyright 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... | android/src/main/java/com/funkyandroid/droidcon/uk/iosched/sync/SyncHelper.java | /*
* Copyright 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... | Bump data version number
| android/src/main/java/com/funkyandroid/droidcon/uk/iosched/sync/SyncHelper.java | Bump data version number | |
Java | apache-2.0 | 7f256c32cbc4884a6e7d3d128fa5595b67c84637 | 0 | driftx/cassandra,nutbunnies/cassandra,michaelsembwever/cassandra,cooldoger/cassandra,scylladb/scylla-tools-java,pofallon/cassandra,belliottsmith/cassandra,yhnishi/cassandra,Instagram/cassandra,pcmanus/cassandra,iamaleksey/cassandra,rdio/cassandra,spodkowinski/cassandra,project-zerus/cassandra,beobal/cassandra,Stratio/c... | /**
* 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"... | src/org/apache/cassandra/utils/BloomFilter.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"... | r/m unused code, including entire CountingBloomFilter
git-svn-id: 1e8683751772dd0ef52a45d586103b4a82d616ff@766137 13f79535-47bb-0310-9956-ffa450edef68
| src/org/apache/cassandra/utils/BloomFilter.java | r/m unused code, including entire CountingBloomFilter | |
Java | apache-2.0 | 64b90dfb52185279d646843e82ba2a1faa835dc2 | 0 | npgall/concurrent-trees | /**
* Copyright 2012-2013 Niall Gallagher
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | code/src/main/java/com/googlecode/concurrenttrees/radix/node/util/NodeUtil.java | /**
* Copyright 2012-2013 Niall Gallagher
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | Remove GC overhead of NodeUtil#binarySearchForEdge()
| code/src/main/java/com/googlecode/concurrenttrees/radix/node/util/NodeUtil.java | Remove GC overhead of NodeUtil#binarySearchForEdge() | |
Java | apache-2.0 | 3daf887a9d03770b2eecfda20f3e74e185ef5813 | 0 | JakeWharton/SnakeWallpaper | package com.jakewharton.snakewallpaper;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.os.Handler;
import android.service.wallpaper.WallpaperService;
import android.util.Log;
import android.view.MotionEvent;... | src/com/jakewharton/snakewallpaper/Wallpaper.java | package com.jakewharton.snakewallpaper;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.os.Handler;
import android.service.wallpaper.WallpaperService;
import android.util.Log;
import android.view.MotionEvent;... | Revert "Catch-all reboot."
This reverts commit 600227105c9007c563aa4ce11f6b9574d3d6b9ac.
| src/com/jakewharton/snakewallpaper/Wallpaper.java | Revert "Catch-all reboot." | |
Java | apache-2.0 | 71e52b6b8d6d0bd8ce95b153e27b822e1809caa5 | 0 | ivan-fedorov/intellij-community,signed/intellij-community,petteyg/intellij-community,fnouama/intellij-community,MichaelNedzelsky/intellij-community,orekyuu/intellij-community,kdwink/intellij-community,caot/intellij-community,TangHao1987/intellij-community,michaelgallacher/intellij-community,fitermay/intellij-community,... | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/platform-impl/src/com/intellij/openapi/vfs/ex/temp/TempFileSystem.java | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | some recovery for inconsistency between TempFS and cached PersistentFS state
| platform/platform-impl/src/com/intellij/openapi/vfs/ex/temp/TempFileSystem.java | some recovery for inconsistency between TempFS and cached PersistentFS state | |
Java | apache-2.0 | d93614c84445377ac589ddac7bd4322fbe17314c | 0 | JacksonSha/cat,itnihao/cat,unidal/cat,chinaboard/cat,wuqiangxjtu/cat,wuqiangxjtu/cat,chinaboard/cat,michael8335/cat,chinaboard/cat,howepeng/cat,unidal/cat,xiaojiaqi/cat,unidal/cat,chinaboard/cat,ddviplinux/cat,redbeans2015/cat,TonyChai24/cat,dadarom/cat,jialinsun/cat,wyzssw/cat,dadarom/cat,ddviplinux/cat,chinaboard/cat... | package com.dianping.cat.configuration;
import java.net.Inet4Address;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public enum NetworkInterfaceManag... | cat-client/src/main/java/com/dianping/cat/configuration/NetworkInterfaceManager.java | package com.dianping.cat.configuration;
import java.net.Inet4Address;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public enum NetworkInterfaceManag... | modify the network interface manager
| cat-client/src/main/java/com/dianping/cat/configuration/NetworkInterfaceManager.java | modify the network interface manager | |
Java | apache-2.0 | a71552075296de4ecdc267305ec0c5c498f0e54a | 0 | AVnetWS/Hentoid,AVnetWS/Hentoid,AVnetWS/Hentoid | package me.devsaki.hentoid.database;
import android.content.Context;
import android.util.SparseIntArray;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import io.reactivex.Single;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.disposables.CompositeDisp... | app/src/main/java/me/devsaki/hentoid/database/ObjectBoxCollectionAccessor.java | package me.devsaki.hentoid.database;
import android.content.Context;
import android.util.SparseIntArray;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import io.reactivex.Single;
import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.disposables.CompositeDisp... | Actually run queries on a background thread as intentionally intended, using Single.fromCallable instead of Single.just
| app/src/main/java/me/devsaki/hentoid/database/ObjectBoxCollectionAccessor.java | Actually run queries on a background thread as intentionally intended, using Single.fromCallable instead of Single.just | |
Java | apache-2.0 | 00951e532cb5d227295bf0981fb7420c7b805353 | 0 | Lovemma/ZhihuDaily | package xyz.lovemma.zhihudaily.ui.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
imp... | app/src/main/java/xyz/lovemma/zhihudaily/ui/fragment/DailyStoriesFragment.java | package xyz.lovemma.zhihudaily.ui.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
imp... | 完成上拉刷新
| app/src/main/java/xyz/lovemma/zhihudaily/ui/fragment/DailyStoriesFragment.java | 完成上拉刷新 | |
Java | apache-2.0 | 70a1181873a5a70e54a2c3ef5ff3a8753db3778d | 0 | apache/pdfbox,apache/pdfbox,kalaspuffar/pdfbox,kalaspuffar/pdfbox | /*
* 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... | examples/src/test/java/org/apache/pdfbox/examples/pdmodel/TestCreateSignature.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... | PDFBOX-4297: remove unused import
git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1882387 13f79535-47bb-0310-9956-ffa450edef68
| examples/src/test/java/org/apache/pdfbox/examples/pdmodel/TestCreateSignature.java | PDFBOX-4297: remove unused import | |
Java | apache-2.0 | 275766f5537a44a06938f8e906b81c354994ad7d | 0 | TelluIoT/ThingML,TelluIoT/ThingML,TelluIoT/ThingML,TelluIoT/ThingML,TelluIoT/ThingML,TelluIoT/ThingML | /**
* Copyright (C) 2014 SINTEF <franck.fleurey@sintef.no>
*
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, Version 3, 29 June 2007;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.gnu.org/licenses/lgpl-3.0.txt
*
* Unless req... | org.thingml.compilers/src/main/java/org/thingml/compilers/api/JavaApiCompiler.java | /**
* Copyright (C) 2014 SINTEF <franck.fleurey@sintef.no>
*
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, Version 3, 29 June 2007;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.gnu.org/licenses/lgpl-3.0.txt
*
* Unless req... | fix small regression
| org.thingml.compilers/src/main/java/org/thingml/compilers/api/JavaApiCompiler.java | fix small regression | |
Java | apache-2.0 | 53166e40967871fd803f8f5f079edada6939d5ac | 0 | chibenwa/james,aduprat/james,aduprat/james,chibenwa/james,aduprat/james,chibenwa/james,rouazana/james,chibenwa/james,rouazana/james,rouazana/james,aduprat/james,rouazana/james | /****************************************************************
* 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 ... | pop3server/src/main/java/org/apache/james/pop3server/core/JamesPassCmdHandler.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 class needs to be fixed, it doesn't fullfill what's excepted when loded via spring (JAMES-1360)
git-svn-id: de9d04cf23151003780adc3e4ddb7078e3680318@1228105 13f79535-47bb-0310-9956-ffa450edef68
| pop3server/src/main/java/org/apache/james/pop3server/core/JamesPassCmdHandler.java | This class needs to be fixed, it doesn't fullfill what's excepted when loded via spring (JAMES-1360) | |
Java | mit | e64dc9151fc84c1a367a6dc5c9ce6be2dbed865f | 0 | Backendless/Android-SDK,Backendless/Android-SDK,gwokudasam/Android-SDK | /*
* ********************************************************************************************************************
* <p/>
* BACKENDLESS.COM CONFIDENTIAL
* <p/>
* ********************************************************************************************************************
* <p/>
* Copyright 20... | src/com/backendless/media/StreamQuality.java | /*
* ********************************************************************************************************************
* <p/>
* BACKENDLESS.COM CONFIDENTIAL
* <p/>
* ********************************************************************************************************************
* <p/>
* Copyright 20... | change stream quality parameters | src/com/backendless/media/StreamQuality.java | change stream quality parameters | |
Java | mit | 3f6870be8673c1f603b8e4a213efe55104029a31 | 0 | plume-lib/plume-util | // If you edit this file, you must also edit its tests.
// For tests of this and the entire plume package, see class TestPlume.
package org.plumelib.util;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Compar... | src/main/java/org/plumelib/util/CollectionsPlume.java | // If you edit this file, you must also edit its tests.
// For tests of this and the entire plume package, see class TestPlume.
package org.plumelib.util;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Compar... | Removed redundant suppress warnings
| src/main/java/org/plumelib/util/CollectionsPlume.java | Removed redundant suppress warnings | |
Java | mit | 444bc181838945fcb2aaef8a4c4ac58ad6085b24 | 0 | iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller... | package org.broadinstitute.sting.playground.gatk.walkers;
import org.broadinstitute.sting.gatk.*;
import org.broadinstitute.sting.gatk.refdata.*;
import org.broadinstitute.sting.gatk.walkers.*;
import org.broadinstitute.sting.playground.utils.*;
import org.broadinstitute.sting.utils.cmdLine.Argument;
import org.broad... | java/src/org/broadinstitute/sting/playground/gatk/walkers/SingleSampleGenotyper.java | package org.broadinstitute.sting.playground.gatk.walkers;
import org.broadinstitute.sting.gatk.*;
import org.broadinstitute.sting.gatk.refdata.*;
import org.broadinstitute.sting.gatk.walkers.*;
import org.broadinstitute.sting.playground.utils.*;
import org.broadinstitute.sting.utils.cmdLine.Argument;
import org.broad... | Removed binomialProb() method. Set better values for qHom, qHet, and qHomNonRef and allowed those to be set from the command-line.
git-svn-id: 4561c0a8f080806b19201efb9525134c00b76d40@546 348d0f76-0448-11de-a6fe-93d51630548a
| java/src/org/broadinstitute/sting/playground/gatk/walkers/SingleSampleGenotyper.java | Removed binomialProb() method. Set better values for qHom, qHet, and qHomNonRef and allowed those to be set from the command-line. | |
Java | mit | fdfb2a8c629b15a51b2472ade6608b90f69a5ee0 | 0 | HadoopGenomics/Hadoop-BAM,fnothaft/Hadoop-BAM,ryan-williams/Hadoop-BAM,ryan-williams/Hadoop-BAM,cmnbroad/Hadoop-BAM,tkrishp/Hadoop-BAM,tomwhite/Hadoop-BAM,fnothaft/Hadoop-BAM,fnothaft/Hadoop-BAM,HadoopGenomics/Hadoop-BAM,HadoopGenomics/Hadoop-BAM,cmnbroad/Hadoop-BAM | // Copyright (c) 2011 Aalto University
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publi... | src/fi/tkk/ics/hadoop/bam/BAMSplitGuesser.java | // Copyright (c) 2011 Aalto University
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publi... | Adding treatment of RuntimeIOException to BAMSplitGuesser
| src/fi/tkk/ics/hadoop/bam/BAMSplitGuesser.java | Adding treatment of RuntimeIOException to BAMSplitGuesser | |
Java | epl-1.0 | 357bae8b54195a44c88de748af8526557780b4a9 | 0 | rgom/Pydev,fabioz/Pydev,fabioz/Pydev,akurtakov/Pydev,akurtakov/Pydev,rgom/Pydev,RandallDW/Aruba_plugin,RandallDW/Aruba_plugin,rajul/Pydev,RandallDW/Aruba_plugin,fabioz/Pydev,fabioz/Pydev,akurtakov/Pydev,aptana/Pydev,rgom/Pydev,RandallDW/Aruba_plugin,aptana/Pydev,akurtakov/Pydev,rajul/Pydev,aptana/Pydev,rgom/Pydev,akurt... | package com.python.pydev.debug.remote;
import java.io.IOException;
import java.net.ServerSocket;
import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.ILaunch;
import org.python.pydev.debug.model.PySourceLocator;
import org.python.pydev.debug.model.remote.AbstractRemoteDebugger;
import com.pyth... | com.python.pydev.debug/src/com/python/pydev/debug/remote/RemoteDebuggerServer.java | package com.python.pydev.debug.remote;
import java.io.IOException;
import java.net.ServerSocket;
import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.ILaunch;
import org.python.pydev.debug.model.PySourceLocator;
import org.python.pydev.debug.model.remote.AbstractRemoteDebugger;
import com.pyth... | *** empty log message ***
git-svn-id: cdbd3c3453b226d8644b39c93ea790e37ea3ca1b@572 42a48d6c-1186-114d-bcb1-a7d39102e91d
| com.python.pydev.debug/src/com/python/pydev/debug/remote/RemoteDebuggerServer.java | *** empty log message *** | |
Java | mpl-2.0 | 15c5bb84f8fe76ba88ed5fa9bb63ab87c473f5af | 0 | emlai/wge3 | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package wge3.engine;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.gra... | core/src/wge3/engine/MenuState.java | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package wge3.engine;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input.Keys;
import com.badlogic.gdx.gra... | Replace map name TextField with SelectBox
that contains the names of all .tmx maps found in assets/maps.
| core/src/wge3/engine/MenuState.java | Replace map name TextField with SelectBox | |
Java | agpl-3.0 | a3d3aba74a76a3489d2f606bb0661cd37ca4410b | 0 | clintonhealthaccess/lmis-moz-mobile,clintonhealthaccess/lmis-moz-mobile,clintonhealthaccess/lmis-moz-mobile,clintonhealthaccess/lmis-moz-mobile | /*
* This program is part of the OpenLMIS logistics management information
* system platform software.
*
* Copyright © 2015 ThoughtWorks, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Softwar... | app/src/main/java/org/openlmis/core/view/fragment/StockMovementHistoryFragment.java | /*
* This program is part of the OpenLMIS logistics management information
* system platform software.
*
* Copyright © 2015 ThoughtWorks, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Softwar... | ZS&ZY -#226- fix null point bug
| app/src/main/java/org/openlmis/core/view/fragment/StockMovementHistoryFragment.java | ZS&ZY -#226- fix null point bug | |
Java | lgpl-2.1 | 6ec345491a7afe1302e02bb5e2acd9a64e1752f2 | 0 | mediaworx/opencms-core,ggiudetti/opencms-core,it-tavis/opencms-core,serrapos/opencms-core,sbonoc/opencms-core,victos/opencms-core,MenZil/opencms-core,serrapos/opencms-core,sbonoc/opencms-core,serrapos/opencms-core,serrapos/opencms-core,serrapos/opencms-core,it-tavis/opencms-core,alkacon/opencms-core,it-tavis/opencms-co... | package com.opencms.file.genericSql;
/*
* File : $Source: /alkacon/cvs/opencms/src/com/opencms/file/genericSql/Attic/CmsDbAccess.java,v $
* Date : $Date: 2001/01/29 18:06:00 $
* Version: $Revision: 1.183 $
*
* Copyright (C) 2000 The OpenCms Group
*
* This File is part of OpenCms -
* the Open Source Cont... | src/com/opencms/file/genericSql/CmsDbAccess.java | package com.opencms.file.genericSql;
/*
* File : $Source: /alkacon/cvs/opencms/src/com/opencms/file/genericSql/Attic/CmsDbAccess.java,v $
* Date : $Date: 2001/01/29 15:13:25 $
* Version: $Revision: 1.182 $
*
* Copyright (C) 2000 The OpenCms Group
*
* This File is part of OpenCms -
* the Open Source Cont... | Corrected a bug in session-failover. Not serializable objects are not stored any more.
| src/com/opencms/file/genericSql/CmsDbAccess.java | Corrected a bug in session-failover. Not serializable objects are not stored any more. | |
Java | lgpl-2.1 | ca29fb0cb46eaeaac9e42977e7766c3badf44508 | 0 | emckee2006/biojava,biojava/biojava,andreasprlic/biojava,lafita/biojava,emckee2006/biojava,pwrose/biojava,sbliven/biojava-sbliven,heuermh/biojava,heuermh/biojava,pwrose/biojava,lafita/biojava,andreasprlic/biojava,andreasprlic/biojava,lafita/biojava,sbliven/biojava-sbliven,biojava/biojava,biojava/biojava,andreasprlic/bio... | /**
* BioJava development code
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. If you do not have a copy,
* see:
*
* http://www.gnu.org/copyleft/lesser.html
*
* Copyright for th... | biojava-structure/src/main/java/org/biojava/nbio/structure/scop/ScopInstallation.java | /**
* BioJava development code
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. If you do not have a copy,
* see:
*
* http://www.gnu.org/copyleft/lesser.html
*
* Copyright for th... | #542 changing default SCOP download location to Berkeley- SCOP.
| biojava-structure/src/main/java/org/biojava/nbio/structure/scop/ScopInstallation.java | #542 changing default SCOP download location to Berkeley- SCOP. | |
Java | apache-2.0 | b5495d5124ce01504e52614710d9af6df34c1ed5 | 0 | pantsbuild/intellij-pants-plugin,pantsbuild/intellij-pants-plugin,pantsbuild/intellij-pants-plugin,pantsbuild/intellij-pants-plugin,pantsbuild/intellij-pants-plugin | // Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).
// Licensed under the Apache License, Version 2.0 (see LICENSE).
package com.twitter.intellij.pants.service.python;
import com.intellij.facet.FacetManager;
import com.intellij.facet.ModifiableFacetModel;
import com.intellij.openapi.diagnostic.Logger;... | src/com/twitter/intellij/pants/service/python/PantsPythonSetupDataService.java | // Copyright 2015 Pants project contributors (see CONTRIBUTORS.md).
// Licensed under the Apache License, Version 2.0 (see LICENSE).
package com.twitter.intellij.pants.service.python;
import com.intellij.facet.FacetManager;
import com.intellij.facet.ModifiableFacetModel;
import com.intellij.openapi.diagnostic.Logger;... | projectData.getExternalName
| src/com/twitter/intellij/pants/service/python/PantsPythonSetupDataService.java | projectData.getExternalName | |
Java | apache-2.0 | 68951aca1bfa2d75abcb5c5db2967d1dbd8c7c7b | 0 | 99soft/junice | /*
* Copyright 2010-2012 The 99 Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | src/main/java/org/nnsoft/guice/junice/handler/GuiceInjectableClassHandler.java | /*
* Copyright 2010-2012 The 99 Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | both Field/Method implement Member interface | src/main/java/org/nnsoft/guice/junice/handler/GuiceInjectableClassHandler.java | both Field/Method implement Member interface | |
Java | apache-2.0 | 56e5eea3d53804430c8af5d488a0f7ae9db01062 | 0 | AlexSafatli/NootBot | package net.dirtydeeds.discordsoundboard.chat;
import net.dirtydeeds.discordsoundboard.service.SoundboardBot;
import net.dirtydeeds.discordsoundboard.utils.StringUtils;
import net.dirtydeeds.discordsoundboard.utils.Strings;
import net.dv8tion.jda.core.events.message.MessageReceivedEvent;
public class UnfavoritePhrase... | src/main/java/net/dirtydeeds/discordsoundboard/chat/UnfavoritePhraseProcessor.java | package net.dirtydeeds.discordsoundboard.chat;
import net.dirtydeeds.discordsoundboard.service.SoundboardBot;
import net.dirtydeeds.discordsoundboard.utils.StringUtils;
import net.dirtydeeds.discordsoundboard.utils.Strings;
import net.dv8tion.jda.core.events.message.MessageReceivedEvent;
public class UnfavoritePhrase... | Subjugation is liberation!
| src/main/java/net/dirtydeeds/discordsoundboard/chat/UnfavoritePhraseProcessor.java | Subjugation is liberation! | |
Java | apache-2.0 | 6288c5ebf69af0f4050cb3d1ced954f41a3122f2 | 0 | OmniKryptec/OmniKryptec-Engine | package omnikryptec.entity;
import org.lwjgl.util.vector.Vector3f;
import omnikryptec.model.Model;
import omnikryptec.model.TexturedModel;
import omnikryptec.texture.Texture;
public class Entity extends GameObject{
public static enum RenderType {
NORMAL,
FOLIAGE;
}
priva... | src/omnikryptec/entity/Entity.java | package omnikryptec.entity;
import org.lwjgl.util.vector.Vector3f;
import omnikryptec.model.Model;
import omnikryptec.model.TexturedModel;
import omnikryptec.texture.Texture;
public class Entity extends GameObject{
public static enum RenderType{
NORMAL,FOLIAGE;
}
private TexturedModel model;... | Another fixes
| src/omnikryptec/entity/Entity.java | Another fixes | |
Java | apache-2.0 | bf045ba4635640c7c9ff29b4e8da3b9e86c632dd | 0 | asedunov/intellij-community,FHannes/intellij-community,vvv1559/intellij-community,xfournet/intellij-community,ibinti/intellij-community,mglukhikh/intellij-community,semonte/intellij-community,semonte/intellij-community,FHannes/intellij-community,FHannes/intellij-community,xfournet/intellij-community,allotria/intellij-c... | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | java/java-impl/src/com/intellij/codeInsight/completion/PreferByKindWeigher.java | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | EA-100814 - NPE: PreferByKindWeigher.isOnTopLevelInVoidMethod
| java/java-impl/src/com/intellij/codeInsight/completion/PreferByKindWeigher.java | EA-100814 - NPE: PreferByKindWeigher.isOnTopLevelInVoidMethod | |
Java | apache-2.0 | 9deab5b643e4c4a34ddd0e8096f89d3cafc70af3 | 0 | jerrinot/hazelcast-stabilizer,hasancelik/hazelcast-stabilizer,hasancelik/hazelcast-stabilizer,Danny-Hazelcast/hazelcast-stabilizer,fengshao0907/hazelcast-simulator,jerrinot/hazelcast-stabilizer,hazelcast/hazelcast-simulator,Donnerbart/hazelcast-simulator,pveentjer/hazelcast-simulator,gAmUssA/hazelcast-simulator,eminn/h... | package com.hazelcast.stabilizer.tests.map;
import com.hazelcast.config.MaxSizeConfig;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.IList;
import com.hazelcast.core.IMap;
import com.hazelcast.stabilizer.tests.TestContext;
import com.hazelcast.stabilizer.tests.annotations.Run;
import com.hazel... | stabilizer/src/main/java/com/hazelcast/stabilizer/tests/map/MapMaxSizeTest.java | package com.hazelcast.stabilizer.tests.map;
import com.hazelcast.config.MaxSizeConfig;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.IList;
import com.hazelcast.core.IMap;
import com.hazelcast.spi.exception.DistributedObjectDestroyedException;
import com.hazelcast.stabilizer.tests.TestContext;... | testing
| stabilizer/src/main/java/com/hazelcast/stabilizer/tests/map/MapMaxSizeTest.java | testing | |
Java | apache-2.0 | 6431fe2f318d3a8bb14eda7b5f50e64907c98d98 | 0 | takke/twitter4j,HubSpot/twitter4j,intruxxer/twitter4j,takke/twitter4j,ColinZang/twitter4j,krallus/twitter4j,thedevd/twitter4j,lithiumtech/twitter4j-pub,thedevd/twitter4j,HasanAliKaraca/twitter4j,lamorin/Twitter4J,afeiluo/twitter4j,david8zhang/twitter4j,matsumo/twitter4j,DellayHaroun/twitter4j,qingsong-xu/twitter4j,tyle... | /*
Copyright (c) 2007-2011, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | twitter4j-media-support/src/main/java/twitter4j/media/ImageUploaderFactory.java | /*
Copyright (c) 2007-2011, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | TFJ-506 added ImageUploadFactory#getInstance(Authorization authorization) and getInstance(MediaProvider mediaProvider, Authorization authorization)
| twitter4j-media-support/src/main/java/twitter4j/media/ImageUploaderFactory.java | TFJ-506 added ImageUploadFactory#getInstance(Authorization authorization) and getInstance(MediaProvider mediaProvider, Authorization authorization) | |
Java | apache-2.0 | f881ac5439e2ab0dbfcd68f02d101224627fd384 | 0 | orionhealth/XBDD,orionhealth/XBDD,orionhealth/XBDD,orionhealth/XBDD,orionhealth/XBDD | backend/src/test/java/xbdd/webapp/resource/feature/SearchTest.java | /**
* Copyright (C) 2015 Orion Health (Orchestral Development Ltd)
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unle... | Deleted test class with nothing in it.
| backend/src/test/java/xbdd/webapp/resource/feature/SearchTest.java | Deleted test class with nothing in it. | ||
Java | apache-2.0 | 2025433d1fae8c4191e6b744ba981e4b3de94d69 | 0 | Malintha/product-emm,dilee/product-emm,Kamidu/product-mdm,Malintha/product-emm,charithag/product-emm,milanperera/product-mdm,milanperera/product-mdm,milanperera/product-mdm,dilee/product-emm,Malintha/product-emm,dilee/product-emm,charithag/product-emm,dilee/product-mdm,Malintha/product-emm,dilee/product-mdm,wso2/produc... | /*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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/... | modules/apps/jax-rs/mdm-admin/src/main/java/org/wso2/carbon/mdm/api/Dashboard.java | /*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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/... | Updating constant visibility in dashboard apis
| modules/apps/jax-rs/mdm-admin/src/main/java/org/wso2/carbon/mdm/api/Dashboard.java | Updating constant visibility in dashboard apis | |
Java | apache-2.0 | 8fcaccffd3f112416a31d7dcfd511853953db9c3 | 0 | zuzanamullerova/unitime,UniTime/unitime,rafati/unitime,sktoo/timetabling-system-,nikeshmhr/unitime,zuzanamullerova/unitime,nikeshmhr/unitime,rafati/unitime,maciej-zygmunt/unitime,nikeshmhr/unitime,sktoo/timetabling-system-,UniTime/unitime,maciej-zygmunt/unitime,sktoo/timetabling-system-,rafati/unitime,UniTime/unitime,z... | /*
* UniTime 3.3 (University Timetabling Application)
* Copyright (C) 2011, UniTime LLC, and individual contributors
* as indicated by the @authors tag.
*
* 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 Soft... | JavaSource/org/unitime/timetable/onlinesectioning/status/FindStudentInfoAction.java | /*
* UniTime 3.3 (University Timetabling Application)
* Copyright (C) 2011, UniTime LLC, and individual contributors
* as indicated by the @authors tag.
*
* 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 Soft... | Student Scheduling Dashboard
- email time-stamp was not set for students without a schedule
| JavaSource/org/unitime/timetable/onlinesectioning/status/FindStudentInfoAction.java | Student Scheduling Dashboard - email time-stamp was not set for students without a schedule | |
Java | apache-2.0 | de92d3e3ba70de39768832ecceee85275e7a2b39 | 0 | reportportal/service-api,reportportal/service-api,reportportal/service-api,reportportal/service-api,reportportal/service-api | /*
* Copyright 2019 EPAM Systems
*
* 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 ... | src/main/java/com/epam/ta/reportportal/core/item/impl/UpdateTestItemHandlerImpl.java | /*
* Copyright 2019 EPAM Systems
*
* 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 ... | Reset auto analyzed flag on reanalysis (#917)
| src/main/java/com/epam/ta/reportportal/core/item/impl/UpdateTestItemHandlerImpl.java | Reset auto analyzed flag on reanalysis (#917) | |
Java | apache-2.0 | af3b8c4c0aea808a507ce1e6f42245af85c268cc | 0 | Smile-SA/fast-maven-plugin,Smile-SA/fast-maven-plugin | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | src/main/java/org/fast/maven/plugin/AssemblyMojo.java | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | change verbosity to reduce default log information | src/main/java/org/fast/maven/plugin/AssemblyMojo.java | change verbosity to reduce default log information | |
Java | apache-2.0 | 61058e6d9c842dc5b85a51101d725ac2fb34f4f3 | 0 | subclipse/svnclientadapter | /*******************************************************************************
* Copyright (c) 2004, 2006 svnClientAdapter project and others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Lice... | src/javahl/org/tigris/subversion/svnclientadapter/javahl/JhlClientAdapterFactory.java | /*******************************************************************************
* Copyright (c) 2004, 2006 svnClientAdapter project and others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Lice... | Update to SVN 1.8-rc2
| src/javahl/org/tigris/subversion/svnclientadapter/javahl/JhlClientAdapterFactory.java | Update to SVN 1.8-rc2 | |
Java | apache-2.0 | 1a41764bcef41f939e9cd5481527cccbbd067472 | 0 | jruesga/rview,jruesga/rview,jruesga/rview | /*
* Copyright (C) 2016 Jorge Ruesga
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | app/src/main/java/com/ruesga/rview/SearchActivity.java | /*
* Copyright (C) 2016 Jorge Ruesga
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Improve autocomplete of enums
Signed-off-by: Jorge Ruesga <33f927344e079e00d3fa45d8833b04e735223eec@ruesga.com>
| app/src/main/java/com/ruesga/rview/SearchActivity.java | Improve autocomplete of enums | |
Java | apache-2.0 | 411c55b03a44e01a08b777753b134a6766a509a1 | 0 | aravindc/databenecommons | /*
* (c) Copyright 2007-2011 by Volker Bergmann. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, is permitted under the terms of the
* GNU General Public License.
*
* For redistributing this software or a derivative work under a license other
*... | src/main/java/org/databene/commons/converter/String2DateConverter.java | /*
* (c) Copyright 2007-2011 by Volker Bergmann. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, is permitted under the terms of the
* GNU General Public License.
*
* For redistributing this software or a derivative work under a license other
*... | Supporting datetime formats without 'T'
git-svn-id: 5d4207b98d7274194a51d188374a5d8ee1fe55c3@72 783448d1-dfc0-4521-9cb0-58c191f7d5bb
| src/main/java/org/databene/commons/converter/String2DateConverter.java | Supporting datetime formats without 'T' | |
Java | apache-2.0 | 2e3eac25b79453d9a0c4ca86c1b32fccf55d949b | 0 | amzn/exoplayer-amazon-port,superbderrick/ExoPlayer,stari4ek/ExoPlayer,saki4510t/ExoPlayer,saki4510t/ExoPlayer,google/ExoPlayer,ened/ExoPlayer,amzn/exoplayer-amazon-port,superbderrick/ExoPlayer,stari4ek/ExoPlayer,androidx/media,google/ExoPlayer,ened/ExoPlayer,stari4ek/ExoPlayer,superbderrick/ExoPlayer,google/ExoPlayer,s... | /*
* Copyright (C) 2017 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... | library/core/src/main/java/com/google/android/exoplayer2/offline/DownloadManager.java | /*
* Copyright (C) 2017 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... | Cleanly detach DownloadThreads on release
- Make a best effort to avoid posting MSG_DOWNLOAD_THREAD_STOPPED
if the internal thread has already quit. Doing so is harmless,
but causes an error in Logcat. We used to generate this warning
quite a bit in ExoPlayerImplInternal as well, and we got quite
a few issues ... | library/core/src/main/java/com/google/android/exoplayer2/offline/DownloadManager.java | Cleanly detach DownloadThreads on release | |
Java | apache-2.0 | db661597972f824c61f4fb67da5ee47a87ff0e0d | 0 | lastaflute/lastaflute-test-fortress,lastaflute/lastaflute-test-fortress,lastaflute/lastaflute-test-fortress,lastaflute/lastaflute-test-fortress,lastaflute/lastaflute-test-fortress,lastaflute/lastaflute-test-fortress,lastaflute/lastaflute-test-fortress | /*
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | src/test/java/org/docksidestage/whitebox/lastadi/extctx/WxExternalContextPlainTest.java | /*
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | save originalContext | src/test/java/org/docksidestage/whitebox/lastadi/extctx/WxExternalContextPlainTest.java | save originalContext | |
Java | apache-2.0 | d89360c024a25c829deabc79e8872ec424281caa | 0 | stevespringett/dependency-track,stevespringett/dependency-track,stevespringett/dependency-track | /*
* This file is part of Dependency-Track.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | src/test/java/org/owasp/dependencytrack/parser/cyclonedx/CycloneDxParserTest.java | /*
* This file is part of Dependency-Track.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | Correcting purl
| src/test/java/org/owasp/dependencytrack/parser/cyclonedx/CycloneDxParserTest.java | Correcting purl | |
Java | apache-2.0 | 1e933052b0b6673c5f7756fa34d389e918a0e5b1 | 0 | radargun/radargun,radargun/radargun,radargun/radargun,radargun/radargun | package org.radargun.service;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import javax.management.InstanceNotFoundException;
import javax.management.IntrospectionException;
impo... | plugins/infinispan52/src/main/java/org/radargun/service/InfinispanServerClustered.java | package org.radargun.service;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import javax.management.InstanceNotFoundException;
import javax.management.IntrospectionException;
impo... | checkAndUpdateMembership should be executed after the start
| plugins/infinispan52/src/main/java/org/radargun/service/InfinispanServerClustered.java | checkAndUpdateMembership should be executed after the start | |
Java | apache-2.0 | 1d80b3678da1749790dfe05bb6cac1aba244d0f0 | 0 | apache/solr,apache/solr,apache/solr,apache/solr,apache/solr | package org.apache.solr.cloud.hdfs;
/*
* 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, Ver... | solr/core/src/test/org/apache/solr/cloud/hdfs/HdfsCollectionsAPIDistributedZkTest.java | package org.apache.solr.cloud.hdfs;
/*
* 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, Ver... | SOLR-8046: HdfsCollectionsAPIDistributedZkTest checks that no transaction logs failed to be opened during the test but does not isolate this to the test and could fail due to other tests.
git-svn-id: 308d55f399f3bd9aa0560a10e81a003040006c48@1703827 13f79535-47bb-0310-9956-ffa450edef68
| solr/core/src/test/org/apache/solr/cloud/hdfs/HdfsCollectionsAPIDistributedZkTest.java | SOLR-8046: HdfsCollectionsAPIDistributedZkTest checks that no transaction logs failed to be opened during the test but does not isolate this to the test and could fail due to other tests. | |
Java | apache-2.0 | 37ce93e0bb6d13af422bf8a7727626589ba0fa59 | 0 | helyho/Voovan,helyho/Voovan,helyho/Voovan | package org.voovan.http.server.module.annontationRouter.annotation;
import java.lang.annotation.*;
/**
* 请求参数检查
*
* @author: helyho
* Voovan Framework.
* WebSite: https://github.com/helyho/Voovan
* Licence: Apache v2 License
*/
@Repeatable(value = Checks.class)
@Retention(RetentionPolicy.RUNTIME)
@Target({Ele... | Web/src/main/java/org/voovan/http/server/module/annontationRouter/annotation/Check.java | package org.voovan.http.server.module.annontationRouter.annotation;
import java.lang.annotation.*;
/**
* 请求参数检查
*
* @author: helyho
* Voovan Framework.
* WebSite: https://github.com/helyho/Voovan
* Licence: Apache v2 License
*/
@Repeatable(value = Checks.class)
@Retention(RetentionPolicy.RUNTIME)
@Target({Ele... | fix: Check 和 Checks 注解修复
| Web/src/main/java/org/voovan/http/server/module/annontationRouter/annotation/Check.java | fix: Check 和 Checks 注解修复 | |
Java | apache-2.0 | 79e1fb95d49ff0a9064077f035d3bf2fec13c49c | 0 | HanSolo/tilesfx,HanSolo/tilesfx,HanSolo/tilesfx | /*
* Copyright (c) 2016 by Gerrit Grunwald
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | src/main/java/eu/hansolo/tilesfx/skins/SwitchTileSkin.java | /*
* Copyright (c) 2016 by Gerrit Grunwald
*
* 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... | Fixed bug in SwitchTileSkin related to thumb position
| src/main/java/eu/hansolo/tilesfx/skins/SwitchTileSkin.java | Fixed bug in SwitchTileSkin related to thumb position | |
Java | apache-2.0 | 22c80a9a7a9c7a7082ab414cfcc63086d7d172b1 | 0 | maheshika/carbon4-kernel,maheshika/carbon4-kernel,maheshika/carbon4-kernel,maheshika/carbon4-kernel | /*
* Copyright 2005-2014 WSO2, Inc. (http://wso2.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... | core/org.wso2.carbon.core/src/main/java/org/wso2/carbon/core/ServerStartupObserver.java | /*
* Copyright 2005-2007 WSO2, Inc. (http://wso2.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... | Fixed CARBON-14977
| core/org.wso2.carbon.core/src/main/java/org/wso2/carbon/core/ServerStartupObserver.java | Fixed CARBON-14977 | |
Java | apache-2.0 | 137d683b8f5c0b4fbeeea686cf992f6280cc6941 | 0 | MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim | package learn;
import gcm2sbml.parser.GCMFile;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
import java.util.prefs.Preferences;
import javax.swing.*;
import org.sbml.libsbml.*;
import biomodelsim.*;
/**
* This class creates a GUI for the Learn program. It implements the
* Act... | gui/src/learn/Learn.java | package learn;
import gcm2sbml.parser.GCMFile;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
import java.util.prefs.Preferences;
import javax.swing.*;
import org.sbml.libsbml.*;
import biomodelsim.*;
/**
* This class creates a GUI for the Learn program. It implements the
* Act... | Improved learning log
| gui/src/learn/Learn.java | Improved learning log | |
Java | apache-2.0 | c01b1e59cb33422616acb3182a3e04b68a5cbd49 | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vfs.newvfs.persistent;
import com.intellij.openapi.util.SystemInfo;
import com.intellij.openapi.util.io.FileAttributes;
import com.intellij.openapi.v... | platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/PersistentFS.java | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vfs.newvfs.persistent;
import com.intellij.openapi.util.SystemInfo;
import com.intellij.openapi.util.io.FileAttributes;
import com.intellij.openapi.v... | Cleanup (code reuse; formatting)
GitOrigin-RevId: ca1a7ccea8767efcd40dba79013b0c2442782b2b | platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/PersistentFS.java | Cleanup (code reuse; formatting) | |
Java | bsd-2-clause | ce74ae7e3f14913a03cd1296c114f721035f01fd | 0 | bonej-org/BoneJ2,bonej-org/BoneJ2 | /*
* #%L
* BoneJ: open source tools for trabecular geometry and whole bone shape analysis.
* %%
* Copyright (C) 2007 - 2016 Michael Doube, BoneJ developers. See also individual class @authors.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | Legacy/util/src/main/java/org/doube/geometry/Trig.java | /*
* #%L
* BoneJ: open source tools for trabecular geometry and whole bone shape analysis.
* %%
* Copyright (C) 2007 - 2016 Michael Doube, BoneJ developers. See also individual class @authors.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Publ... | Fix rounding bug
| Legacy/util/src/main/java/org/doube/geometry/Trig.java | Fix rounding bug | |
Java | bsd-3-clause | 971677431bcef947d7bcf410d66f2732739a54dd | 0 | SilverCory/SpongePls | /*
* http://ryred.co/
* ace[at]ac3-servers.eu
*
* =================================================================
*
* Copyright (c) 2015, Cory Redmond
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condi... | src/main/java/co/ryred/spongepls/SpongePlsPlugin.java | /*
* http://ryred.co/
* ace[at]ac3-servers.eu
*
* =================================================================
*
* Copyright (c) 2015, Cory Redmond
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condi... | Case insensative and compile.
| src/main/java/co/ryred/spongepls/SpongePlsPlugin.java | Case insensative and compile. | |
Java | bsd-3-clause | 13c8506aeb8242446929e7fd8310e206af5ca0f6 | 0 | JervenBolleman/sesame-loader,JervenBolleman/sesame-loader | package com.github.sesameloader;
/*
* Copyright Swiss Institute of Bioinformatics (http://www.isb-sib.ch/) (c) 2012.
*
* Licensed under the Aduna BSD-style license.
*/
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
... | src/main/java/com/github/sesameloader/LoaderMain.java | package com.github.sesameloader;
/*
* Copyright Swiss Institute of Bioinformatics (http://www.isb-sib.ch/) (c) 2012.
*
* Licensed under the Aduna BSD-style license.
*/
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
... | use new getValueFactory method in LoaderMain instead of getConnection | src/main/java/com/github/sesameloader/LoaderMain.java | use new getValueFactory method in LoaderMain instead of getConnection | |
Java | mit | f23410869f3ac766545e7e507821490efcf8f3f3 | 0 | sureshsajja/CodeRevisited,sureshsajja/CodingProblems | package com.coderevisited.arrays.rotation;
/**
* Initialize A = arr[0..d-1] and B = arr[d..n-1]
* 1) Do following until size of A is equal to size of B
* <p/>
* a) If A is shorter, divide B into Bl and Br such that Br is of same
* length as A. Swap A and Br to change ABlBr into BrBlA. Now A
* is at its final pl... | src/com/coderevisited/arrays/rotation/ArrayRotationBlockSwap.java | package com.coderevisited.arrays.rotation;
public class ArrayRotationBlockSwap
{
public static void main(String[] args)
{
int[] array = new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
rotateArray(array, 4);
System.out.println("contents after rotation : ");
for (int i : array) {
... | Array Rotation Block swap
| src/com/coderevisited/arrays/rotation/ArrayRotationBlockSwap.java | Array Rotation Block swap | |
Java | mit | 61e9c713a17262cb82d9f1487707fdaede1d9e69 | 0 | curiosone-bot/curiosone-core | package com.github.bot.curiosone.core.nlp;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
/**
* Represents a Phrase.
* A Phrase is a text that can be splitted in different Tokens.
* A Phrase can be interpreted as a question or an answer.
* Provides methods to create the Phrase and ge... | src/main/java/com/github/bot/curiosone/core/nlp/Phrase.java | package com.github.bot.curiosone.core.nlp;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
/**
* Represents a Phrase.
* Provides methods to create a Phrase and get its information.
*/
public class Phrase {
/**
* Stores the text content of this Phrase.
*/
private String text;... | improve Phrase javadoc
| src/main/java/com/github/bot/curiosone/core/nlp/Phrase.java | improve Phrase javadoc | |
Java | mit | db96d405041987d7d228166d625385526a031f3b | 0 | elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicAPI,elBukkit/MagicPlugin | package com.elmakers.mine.bukkit.api.magic;
import java.util.Collection;
import java.util.List;
import java.util.Set;
import com.elmakers.mine.bukkit.api.action.GUIAction;
import com.elmakers.mine.bukkit.api.spell.MageSpell;
import org.bukkit.Color;
import org.bukkit.Location;
import org.bukkit.Material;
import org.b... | src/main/java/com/elmakers/mine/bukkit/api/magic/Mage.java | package com.elmakers.mine.bukkit.api.magic;
import java.util.Collection;
import java.util.List;
import java.util.Set;
import com.elmakers.mine.bukkit.api.action.GUIAction;
import com.elmakers.mine.bukkit.api.spell.MageSpell;
import org.bukkit.Color;
import org.bukkit.Location;
import org.bukkit.Material;
import org.b... | Add Mage.giveItem
| src/main/java/com/elmakers/mine/bukkit/api/magic/Mage.java | Add Mage.giveItem | |
Java | mit | 06f4e044079a470a37cc4336683e17bf66a5831e | 0 | CS2103JAN2017-W10-B1/main,CS2103JAN2017-W10-B1/main | //@@author A0138474X
package seedu.address.logic.commands;
import seedu.address.commons.core.EventsCenter;
import seedu.address.commons.events.ui.JumpToListRequestEvent;
import seedu.address.commons.exceptions.IllegalValueException;
import seedu.address.logic.commands.exceptions.CommandException;
import seedu.address.... | src/main/java/seedu/address/logic/commands/AddCommand.java | //@@author A0138474X
package seedu.address.logic.commands;
import seedu.address.commons.core.EventsCenter;
import seedu.address.commons.events.ui.JumpToListRequestEvent;
import seedu.address.commons.exceptions.IllegalValueException;
import seedu.address.logic.commands.exceptions.CommandException;
import seedu.address.... | [V0.5RC][Logic] Update input parameters for add command
| src/main/java/seedu/address/logic/commands/AddCommand.java | [V0.5RC][Logic] Update input parameters for add command | |
Java | mit | 85d0799baa8fc230eec89f4e2882cacdb610c66d | 0 | AstromechZA/bunkr,AstromechZA/bunkr | package org.bunkr.gui.controllers;
import javafx.event.Event;
import javafx.scene.control.ContextMenu;
import javafx.scene.control.MenuItem;
import javafx.scene.control.TreeItem;
import javafx.scene.input.MouseButton;
import javafx.stage.FileChooser;
import org.bunkr.core.ArchiveInfoContext;
import org.bunkr.core.exce... | bunkr-gui/src/org/bunkr/gui/controllers/InventoryCMController.java | package org.bunkr.gui.controllers;
import javafx.event.Event;
import javafx.scene.control.ContextMenu;
import javafx.scene.control.MenuItem;
import javafx.scene.control.TreeItem;
import javafx.scene.input.MouseButton;
import javafx.stage.FileChooser;
import org.bunkr.core.ArchiveInfoContext;
import org.bunkr.core.exce... | Added media type choice on import file
| bunkr-gui/src/org/bunkr/gui/controllers/InventoryCMController.java | Added media type choice on import file | |
Java | mit | a0eb287c74fe9b680abfeb65a7b98c2849b92804 | 0 | core9/module-widgets | package io.core9.plugin.widgets.pagemodel;
import io.core9.plugin.database.repository.AbstractCrudEntity;
import io.core9.plugin.database.repository.Collection;
import io.core9.plugin.widgets.Component;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.... | src/api/java/io/core9/plugin/widgets/pagemodel/PageModelImpl.java | package io.core9.plugin.widgets.pagemodel;
import io.core9.plugin.database.repository.AbstractCrudEntity;
import io.core9.plugin.database.repository.Collection;
import io.core9.plugin.widgets.Component;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util... | no guava dependency in api | src/api/java/io/core9/plugin/widgets/pagemodel/PageModelImpl.java | no guava dependency in api | |
Java | mit | 3501c0d85867e5fb00ccb3a4fa178109d1fb7e1f | 0 | veyndan/paper-for-reddit,veyndan/paper-for-reddit,veyndan/reddit-client | package com.veyndan.redditclient.post.model;
import android.content.Context;
import android.content.res.Resources;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.text.Html;
import android.text.TextUtils;
import android.text.format.DateUtils;
import com.veyndan.re... | app/src/main/java/com/veyndan/redditclient/post/model/Post.java | package com.veyndan.redditclient.post.model;
import android.content.Context;
import android.content.res.Resources;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.text.Html;
import android.text.TextUtils;
import android.text.format.DateUtils;
import com.veyndan.re... | Use wild card instead of casting to Object.class
| app/src/main/java/com/veyndan/redditclient/post/model/Post.java | Use wild card instead of casting to Object.class | |
Java | lgpl-2.1 | 157fa4ab28042872d57e719017dfa8070f273a4d | 0 | yuan39/TuxGuitar,yuan39/TuxGuitar,yuan39/TuxGuitar,yuan39/TuxGuitar,yuan39/TuxGuitar | /*
* Created on 02-dic-2005
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package org.herac.tuxguitar.gui.items.menu;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.MenuItem;
import org.... | TuxGuitar/src/org/herac/tuxguitar/gui/items/menu/BeatMenuItem.java | /*
* Created on 02-dic-2005
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package org.herac.tuxguitar.gui.items.menu;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.MenuItem;
import org.... |
git-svn-id: https://tuxguitar.svn.sourceforge.net/svnroot/tuxguitar/trunk@398 e5ace225-184b-0410-aeed-e0aa2ff36a70
| TuxGuitar/src/org/herac/tuxguitar/gui/items/menu/BeatMenuItem.java | ||
Java | lgpl-2.1 | ca3c2fa0d4079fd6f6d9a2f85243e8345429ca53 | 0 | zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform | /*
* Copyright 2010, Red Hat, Inc. and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public ... | server/zanata-war/src/main/java/org/zanata/security/FixedRememberMe.java | /*
* Copyright 2010, Red Hat, Inc. and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public ... | clarify comments: SEAMSECURITY-9 seems to be the underlying bug
| server/zanata-war/src/main/java/org/zanata/security/FixedRememberMe.java | clarify comments: SEAMSECURITY-9 seems to be the underlying bug | |
Java | apache-2.0 | 390dfabd6d5c339b049736efdb031846380ae892 | 0 | cdapio/twill,serranom/twill | /*
* 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 ... | twill-yarn/src/main/java/org/apache/twill/internal/yarn/YarnUtils.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 ... | (TWILL-194) Acquires KMS delegation token correctly
- This is to workaround HDFS-10296 that if FileContext object is used
to acquire delegation token, the KMS delegation token is not included
This closes #43 on Github.
Signed-off-by: Terence Yim <124a74c257b731c60c274382144d5c07e3dcf301@apache.org>
| twill-yarn/src/main/java/org/apache/twill/internal/yarn/YarnUtils.java | (TWILL-194) Acquires KMS delegation token correctly | |
Java | apache-2.0 | 62b48d46fe525a5516e7d6dd6993b5d9fd1e486a | 0 | pinnackl/shopping-list | package com.pinnackl.shoppinglist.user;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.util.Log;
import com.pinnackl.shoppinglist.activities.LoginActivity;
import org.json.JSONException;
import org.j... | app/src/main/java/com/pinnackl/shoppinglist/user/UserUtil.java | package com.pinnackl.shoppinglist.user;
import android.content.Context;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.util.Log;
import org.json.JSONException;
import org.json.JSONObject;
/**
* Created by htutuaku on 28/11/2016.
*/
public class UserUtil {
... | [FEATURE] logout method
| app/src/main/java/com/pinnackl/shoppinglist/user/UserUtil.java | [FEATURE] logout method | |
Java | apache-2.0 | 379e4f0581f9e46b814b98861086df3d76889e12 | 0 | fkeglevich/Raw-Dumper,fkeglevich/Raw-Dumper,fkeglevich/Raw-Dumper | /*
* Copyright 2017, Flávio Keglevich
*
* 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... | app/src/main/java/com/fkeglevich/rawdumper/MainActivity5.java | /*
* Copyright 2017, Flávio Keglevich
*
* 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... | Updating the main testing activity class
| app/src/main/java/com/fkeglevich/rawdumper/MainActivity5.java | Updating the main testing activity class | |
Java | apache-2.0 | d3a8de45cf4be3e6ea5bfac23c3d80d91cd7567f | 0 | sverkera/camel,Thopap/camel,YoshikiHigo/camel,lowwool/camel,ssharma/camel,anoordover/camel,maschmid/camel,gautric/camel,stalet/camel,w4tson/camel,mzapletal/camel,bhaveshdt/camel,gautric/camel,sabre1041/camel,stalet/camel,satishgummadelli/camel,NetNow/camel,lowwool/camel,mzapletal/camel,acartapanis/camel,askannon/camel,... | /**
* 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... | components/camel-cdi/src/main/java/org/apache/camel/cdi/Main.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... | Removed the duplicated line from camel-cdi Main.java
| components/camel-cdi/src/main/java/org/apache/camel/cdi/Main.java | Removed the duplicated line from camel-cdi Main.java | |
Java | apache-2.0 | bb7fe0e702e6a7ec9b4e5c7388a140252c15f6d9 | 0 | FlakyTestDetection/jackrabbit-oak,francescomari/jackrabbit-oak,anchela/jackrabbit-oak,anchela/jackrabbit-oak,alexparvulescu/jackrabbit-oak,catholicon/jackrabbit-oak,francescomari/jackrabbit-oak,alexparvulescu/jackrabbit-oak,alexkli/jackrabbit-oak,anchela/jackrabbit-oak,alexparvulescu/jackrabbit-oak,stillalex/jackrabbit... | /*
* 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 ... | oak-run/src/main/java/org/apache/jackrabbit/oak/index/IndexCommand.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 ... | OAK-7094 - Log cli arguments and vm arguments passed to indexer command
git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1818746 13f79535-47bb-0310-9956-ffa450edef68
| oak-run/src/main/java/org/apache/jackrabbit/oak/index/IndexCommand.java | OAK-7094 - Log cli arguments and vm arguments passed to indexer command | |
Java | apache-2.0 | 0d320af1a256afa669c9534191927755e9dee6e6 | 0 | maboelhassan/alluxio,riversand963/alluxio,yuluo-ding/alluxio,apc999/alluxio,Alluxio/alluxio,bf8086/alluxio,ChangerYoung/alluxio,EvilMcJerkface/alluxio,Reidddddd/alluxio,Alluxio/alluxio,yuluo-ding/alluxio,maobaolong/alluxio,apc999/alluxio,apc999/alluxio,maboelhassan/alluxio,PasaLab/tachyon,bf8086/alluxio,calvinjia/tachy... | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the “License”). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | core/client/src/main/java/alluxio/client/FileSystemTestUtils.java | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the “License”). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | [SMALLFIX] Removed explicit type argument in FileSystemTestUtils
| core/client/src/main/java/alluxio/client/FileSystemTestUtils.java | [SMALLFIX] Removed explicit type argument in FileSystemTestUtils | |
Java | apache-2.0 | b189ed0791b45ed91b3c0402131d8a328c8a1d92 | 0 | santhosh-tekuri/jlibs,santhosh-tekuri/jlibs | /**
* Copyright 2015 Santhosh Kumar Tekuri
*
* The JLibs authors license 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
*
* Unl... | wamp4j-netty/src/test/java/jlibs/wamp4j/ConnectionTest.java | /**
* Copyright 2015 Santhosh Kumar Tekuri
*
* The JLibs authors license 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
*
* Unl... | wamp4j: use free port in tests
| wamp4j-netty/src/test/java/jlibs/wamp4j/ConnectionTest.java | wamp4j: use free port in tests | |
Java | apache-2.0 | 404ff1eb446a5066af3300f89e14eb0d2d754463 | 0 | Algoru/Essentials | package Essentials;
import PluginReference.*;
import java.util.Arrays;
import java.util.List;
public class Nick implements MC_Command {
public Nick() {
}
@Override
public List<String> getAliases() {
return Arrays.asList("nickname");
}
@Override
public String getCommandName() {
... | src/Essentials/Nick.java | package Essentials;
import PluginReference.*;
import java.util.Arrays;
import java.util.List;
public class Nick implements MC_Command {
public Nick() {
}
@Override
public List<String> getAliases() {
return Arrays.asList("nickname");
}
@Override
public String getCommandName() {
... | Update Nick.java | src/Essentials/Nick.java | Update Nick.java | |
Java | apache-2.0 | 02604d5b7df9fb0295a68fedc6314048bbea87af | 0 | calvinjia/tachyon,maboelhassan/alluxio,PasaLab/tachyon,Reidddddd/alluxio,Reidddddd/alluxio,madanadit/alluxio,aaudiber/alluxio,maobaolong/alluxio,Alluxio/alluxio,apc999/alluxio,jswudi/alluxio,apc999/alluxio,apc999/alluxio,maobaolong/alluxio,bf8086/alluxio,madanadit/alluxio,aaudiber/alluxio,calvinjia/tachyon,PasaLab/tach... | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | core/common/src/test/java/alluxio/retry/CountingRetryTest.java | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | Make CountingRetryTest final
| core/common/src/test/java/alluxio/retry/CountingRetryTest.java | Make CountingRetryTest final | |
Java | apache-2.0 | 86e27082096eef65e80c7e784088698f4ab1f1c8 | 0 | valfirst/selenium,valfirst/selenium,titusfortner/selenium,valfirst/selenium,SeleniumHQ/selenium,valfirst/selenium,SeleniumHQ/selenium,titusfortner/selenium,valfirst/selenium,joshmgrant/selenium,joshmgrant/selenium,HtmlUnit/selenium,HtmlUnit/selenium,joshmgrant/selenium,valfirst/selenium,SeleniumHQ/selenium,SeleniumHQ/s... | // Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | java/client/src/org/openqa/selenium/remote/ProtocolHandshake.java | // Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | [java] Code formatting to match the project code style, no functional changes
| java/client/src/org/openqa/selenium/remote/ProtocolHandshake.java | [java] Code formatting to match the project code style, no functional changes | |
Java | apache-2.0 | a32a2ea0f8d53bbac7181c874aaf9317e3e3f18a | 0 | zhou-you/RxEasyHttp,zhou-you/RxEasyHttp | /*
* Copyright (C) 2017 zhouyou(478319399@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | rxeasyhttp/src/main/java/com/zhouyou/http/func/ApiResultFunc.java | /*
* Copyright (C) 2017 zhouyou(478319399@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 增加代码注释
| rxeasyhttp/src/main/java/com/zhouyou/http/func/ApiResultFunc.java | 增加代码注释 | |
Java | apache-2.0 | 3e4605852521987c5ec8d573ab2c7c89d2832bc4 | 0 | ViDA-NYU/ache,ViDA-NYU/ache,ViDA-NYU/ache | package focusedCrawler.crawler.async;
import java.io.BufferedOutputStream;
import java.io.Closeable;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.file.Files;
imp... | src/main/java/focusedCrawler/crawler/async/HttpDownloader.java | package focusedCrawler.crawler.async;
import java.io.BufferedOutputStream;
import java.io.Closeable;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.file.Files;
imp... | Fix minor bug in log messages of HttpDownloader
| src/main/java/focusedCrawler/crawler/async/HttpDownloader.java | Fix minor bug in log messages of HttpDownloader | |
Java | apache-2.0 | 291108376dea4153937c6bc756c1f46e59c2084a | 0 | rsocket/rsocket-java | /*
* Copyright (c) 2020-Present Pivotal Software Inc, All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* U... | rsocket-core/src/jcstress/java/io/rsocket/core/StressSubscriber.java | /*
* Copyright (c) 2020-Present Pivotal Software Inc, All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* U... | adds fusion support for jcstress test StressSubscriber
Signed-off-by: Oleh Dokuka <188f2c7bcec1f031a8b0e77efcf0b7f9d7c0165e@icloud.com>
| rsocket-core/src/jcstress/java/io/rsocket/core/StressSubscriber.java | adds fusion support for jcstress test StressSubscriber | |
Java | apache-2.0 | e8f0072be75e9098e3a6a63f767b01a751abada6 | 0 | venushka/jmxeval,venushka/jmxeval | package com.adahas.tools.jmxeval.model.impl;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.management.remote.JMXConnector;
import javax.management.remote.JMXConnectorFactory;
import javax.management.r... | src/main/java/com/adahas/tools/jmxeval/model/impl/Connection.java | package com.adahas.tools.jmxeval.model.impl;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.management.remote.JMXConnector;
import javax.management.remote.JMXConnectorFactory;
import javax.management.r... | Fixing the incorrect import.
| src/main/java/com/adahas/tools/jmxeval/model/impl/Connection.java | Fixing the incorrect import. | |
Java | apache-2.0 | 96fec736e00dcf1879407a73bb0e176da29cd285 | 0 | pgroth/hbase-rdf,pgroth/hbase-rdf | package nl.vu.datalayer.hbase.sail;
import info.aduna.iteration.CloseableIteration;
import info.aduna.iteration.CloseableIteratorIteration;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.StringTokenizer;
import nl.vu.datalayer.hbase.HBaseClientSol... | src/main/java/nl/vu/datalayer/hbase/sail/HBaseSailConnection.java | package nl.vu.datalayer.hbase.sail;
import info.aduna.iteration.CloseableIteration;
import info.aduna.iteration.CloseableIteratorIteration;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.StringTokenizer;
import nl.vu.datalayer.hbase.HBaseClientSol... | updated sail test
| src/main/java/nl/vu/datalayer/hbase/sail/HBaseSailConnection.java | updated sail test | |
Java | apache-2.0 | 4a062d1643b066f0bd3bde868b99517a0747a2ca | 0 | linkedin/dr-elephant,linkedin/dr-elephant,linkedin/dr-elephant,linkedin/dr-elephant,linkedin/dr-elephant | package com.linkedin.drelephant.hadoop;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
public class HadoopCounterHolder {
// This is a map of group to all the counters in the group and their values.
private final Map<String, Map<S... | app/com/linkedin/drelephant/hadoop/HadoopCounterHolder.java | package com.linkedin.drelephant.hadoop;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
public class HadoopCounterHolder {
// This is a map of group to all the counters in the group and their values.
private final Map<String, Map<String, Long>> _pubCounters;
... | HADOOP-9685: Dr. Elephant fails to fetch task counter data on hadoop2
| app/com/linkedin/drelephant/hadoop/HadoopCounterHolder.java | HADOOP-9685: Dr. Elephant fails to fetch task counter data on hadoop2 | |
Java | apache-2.0 | e7eb2913ac61aa911fbe8d74263b399a0ada2dee | 0 | cushon/error-prone,cushon/error-prone,cushon/error-prone,google/error-prone,google/error-prone,cushon/error-prone | /*
* Copyright 2013 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | core/src/main/java/com/google/errorprone/refaster/ExpressionTemplate.java | /*
* Copyright 2013 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | Add special casing for conditional expressions
which appears sufficient to resolve Refaster test failures in Java 8.
RELNOTES: changes Refaster return type handling behavior
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=121324175
| core/src/main/java/com/google/errorprone/refaster/ExpressionTemplate.java | Add special casing for conditional expressions | |
Java | bsd-2-clause | 780945b52246af343d551cffbc2fdfc275d074f4 | 0 | UltraNurd/robot-mason-gp,UltraNurd/robot-mason-gp | package edu.harvard.seas.cs266.naptime;
import java.io.File;
import sim.engine.SimState;
import sim.engine.Steppable;
import sim.field.continuous.Continuous2D;
import sim.util.Double2D;
@SuppressWarnings("serial")
public class Team implements Steppable {
/**
* Which team are we?
*/
public Boolean opposing;
... | simulator/Tournament/src/edu/harvard/seas/cs266/naptime/Team.java | package edu.harvard.seas.cs266.naptime;
import java.io.File;
import sim.engine.SimState;
import sim.engine.Steppable;
import sim.field.continuous.Continuous2D;
import sim.util.Double2D;
@SuppressWarnings("serial")
public class Team implements Steppable {
/**
* Which team are we?
*/
public Boolean opposing;
... | flip goal position to be more like the competition
| simulator/Tournament/src/edu/harvard/seas/cs266/naptime/Team.java | flip goal position to be more like the competition | |
Java | bsd-3-clause | 97741f09fb5904e43b5ce43627e6cb7bfec14174 | 0 | HearthStats/HearthStats.net-Uploader,HearthStats/HearthStats.net-Uploader | package net.hearthstats.state;
/**
* Defines pixel tests that aren't in the standard locations.
* They are usually used to identify elements on specific screens,
* rather than to identify a screen itself.
*/
public enum UniquePixel {
OPPONENT_DRUID_1 (1161, 185, 175, 225, 212, 235, 255, 255),
OPPONENT_DRU... | uploader/src/main/java/net/hearthstats/state/UniquePixel.java | package net.hearthstats.state;
/**
* Defines pixel tests that aren't in the standard locations.
* They are usually used to identify elements on specific screens,
* rather than to identify a screen itself.
*/
public enum UniquePixel {
OPPONENT_DRUID_1 (1161, 185, 175, 225, 212, 235, 255, 255),
OPPONENT... | Reformatted to 2-spaces instead of 4-spaces
| uploader/src/main/java/net/hearthstats/state/UniquePixel.java | Reformatted to 2-spaces instead of 4-spaces | |
Java | bsd-3-clause | 719d2c90233f70f56c774bc86d1137f0b127e07a | 0 | joansmith/tripleplay,tomfisher/tripleplay,joansmith/tripleplay,joansmith/tripleplay,tomfisher/tripleplay,tomfisher/tripleplay,joansmith/tripleplay,joansmith/tripleplay,tomfisher/tripleplay,tomfisher/tripleplay | //
// Triple Play - utilities for use in PlayN-based games
// Copyright (c) 2011-2013, Three Rings Design, Inc. - All rights reserved.
// http://github.com/threerings/tripleplay/blob/master/LICENSE
package tripleplay.demo.entity;
import java.util.Iterator;
import java.util.Random;
import playn.core.*;
import playn.c... | demo/core/src/main/java/tripleplay/demo/entity/AsteroidsDemo.java | //
// Triple Play - utilities for use in PlayN-based games
// Copyright (c) 2011-2013, Three Rings Design, Inc. - All rights reserved.
// http://github.com/threerings/tripleplay/blob/master/LICENSE
package tripleplay.demo.entity;
import java.util.Iterator;
import java.util.Random;
import playn.core.*;
import playn.c... | Spurious semicolon
| demo/core/src/main/java/tripleplay/demo/entity/AsteroidsDemo.java | Spurious semicolon | |
Java | bsd-3-clause | 2e7051912d3e98170313ba30ae26df8688e94e67 | 0 | julesjacobsen/phenopacket-reference-implementation,phenopackets/phenopacket-reference-implementation | package org.phenopackets.api.model.condition;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import ioinformarics.oss.jackson.module.jsonld.annotation.JsonldProperty;
import org.phenopackets.api.model.environment.Environment;
import org.phenopacke... | src/main/java/org/phenopackets/api/model/condition/Condition.java | package org.phenopackets.api.model.condition;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import ioinformarics.oss.jackson.module.jsonld.annotation.JsonldProperty;
import org.phenopackets.api.model.environment.Environment;
import org.phenopacke... | accessors for environment and severity | src/main/java/org/phenopackets/api/model/condition/Condition.java | accessors for environment and severity | |
Java | bsd-3-clause | 8ac6ad646293adff6b0d22f9b005b709156eec52 | 0 | psygate/CivModCore,Civcraft/CivModCore,psygate/CivModCore | package vg.civcraft.mc.civmodcore.itemHandling;
import static vg.civcraft.mc.civmodcore.CivModCorePlugin.log;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.UUID;
impor... | src/main/java/vg/civcraft/mc/civmodcore/itemHandling/ItemMap.java | package vg.civcraft.mc.civmodcore.itemHandling;
import static vg.civcraft.mc.civmodcore.CivModCorePlugin.log;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.UUID;
impor... | Fix fitsIn
| src/main/java/vg/civcraft/mc/civmodcore/itemHandling/ItemMap.java | Fix fitsIn | |
Java | mit | 65c5ae98586662f11055f92fb8793e47d99fa083 | 0 | DMDirc/Plugins,DMDirc/Plugins,DMDirc/Plugins,csmith/DMDirc-Plugins,csmith/DMDirc-Plugins,csmith/DMDirc-Plugins,DMDirc/Plugins,csmith/DMDirc-Plugins,DMDirc/Plugins,csmith/DMDirc-Plugins | ui_swing/src/com/dmdirc/addons/ui_swing/MainSplitPane.java | package com.dmdirc.addons.ui_swing;
import com.dmdirc.addons.ui_swing.components.SplitPane;
public class MainSplitPane extends SplitPane {
} | Remove class that never existed.
| ui_swing/src/com/dmdirc/addons/ui_swing/MainSplitPane.java | Remove class that never existed. | ||
Java | mit | b29a8f78b8576da0803ba1a39e9e7f3791870c4c | 0 | Veyhunk/battle-of-balls | app/src/main/java/com/veyhunk/battle_of_balls/model/ActionBall.java | //package com.veyhunk.battle_of_balls.model;
//
///**
// * Created by Veyhunk on 09/April/2017.
// * Old ActionBall
// */
//
//
//import com.veyhunk.battle_of_balls.utils.Clock;
//import com.veyhunk.battle_of_balls.utils.Rocker;
//
//import static com.veyhunk.battle_of_balls.constants.Constants.ACTION_DAMPING;
//import... | Remove unused code
| app/src/main/java/com/veyhunk/battle_of_balls/model/ActionBall.java | Remove unused code | ||
Java | mit | 8bea72f0131fcafc70ae599d1e8910da1b70c074 | 0 | alebianco/bugzilla-intellij-task-provider | package eu.alebianco.intellij.tasks.bugzilla;
import com.intellij.openapi.util.IconLoader;
import com.intellij.tasks.Comment;
import com.intellij.tasks.Task;
import com.intellij.tasks.TaskType;
import com.j2bugzilla.base.Bug;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import ... | src/eu/alebianco/intellij/tasks/bugzilla/BugzillaTask.java | package eu.alebianco.intellij.tasks.bugzilla;
import com.intellij.openapi.util.IconLoader;
import com.intellij.tasks.Comment;
import com.intellij.tasks.Task;
import com.intellij.tasks.TaskType;
import de.lightningbug.api.domain.Bug;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
... | updated task class to use new object types
| src/eu/alebianco/intellij/tasks/bugzilla/BugzillaTask.java | updated task class to use new object types | |
Java | mit | 26be6e215c55e56684cd64b97a47cf1800b87081 | 0 | YOTOV-LIMITED/validator,validator/validator,validator/validator,YOTOV-LIMITED/validator,sammuelyee/validator,tripu/validator,sammuelyee/validator,takenspc/validator,YOTOV-LIMITED/validator,takenspc/validator,tripu/validator,tripu/validator,takenspc/validator,takenspc/validator,YOTOV-LIMITED/validator,sammuelyee/validat... | /*
* Copyright (c) 2008 Mozilla Foundation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merg... | src/nu/validator/xml/BaseUriTracker.java | /*
* Copyright (c) 2008 Mozilla Foundation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merg... | Image report ready to deploy
--HG--
extra : convert_revision : svn%3A5bfc576b-c432-0410-be1c-015b6bc4b1a2/trunk%4061
| src/nu/validator/xml/BaseUriTracker.java | Image report ready to deploy | |
Java | mit | 101dfefaf1c52a5a136dfd47d93a9ffef8f98fd7 | 0 | VisualDataWeb/OWL2VOWL,phoenixnudt/OWL2VOWL | /*
* Constants.java
*
*/
package de.uni_stuttgart.vis.vowl.owl2vowl.model;
/**
* @author Vincent Link, Eduard Marbach
*/
public class Constants {
/* NODE TYPES */
public static final String TYPE_CLASS = "owl:Class";
public static final String TYPE_RDFSCLASS = "rdfs:Class";
public static final String TYPE_EQ... | src/main/java/de/uni_stuttgart/vis/vowl/owl2vowl/model/Constants.java | /*
* Constants.java
*
*/
package de.uni_stuttgart.vis.vowl.owl2vowl.model;
/**
* @author Vincent Link, Eduard Marbach
*/
public class Constants {
/* NODE TYPES */
public static final String TYPE_CLASS = "owl:Class";
public static final String TYPE_RDFSCLASS = "rdfs:Class";
public static final String TYPE_EQ... | Add constants for own created languages. | src/main/java/de/uni_stuttgart/vis/vowl/owl2vowl/model/Constants.java | Add constants for own created languages. | |
Java | mit | 2d00c11faf5ece3f07e68700d8e2f2e933e0c214 | 0 | dennis-park/springies | package springies;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import javax.swing.JFileChooser;
import javax.swing.filechooser.FileNameExtensionFilter;
import jboxGlue.WorldManager;
import jgame.platform.JGEngine;
import listeners.JGameActionListener;
import masses... | src/springies/Springies.java | package springies;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import javax.swing.JFileChooser;
import javax.swing.filechooser.FileNameExtensionFilter;
import jboxGlue.WorldManager;
import jgame.platform.JGEngine;
import listeners.ClearAssemblyListener;
import list... | removed imports
| src/springies/Springies.java | removed imports |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.