lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | apache-2.0 | 0f8cf690cb78c7b4c505cb07087a6bd2d477a0e2 | 0 | fantayeneh/netty,liyang1025/netty,xiongzheng/netty,afds/netty,zzcclp/netty,danbev/netty,lukehutch/netty,bob329/netty,danbev/netty,orika/netty,sverkera/netty,carlbai/netty,IBYoung/netty,AchinthaReemal/netty,caoyanwei/netty,seetharamireddy540/netty,kvr000/netty,alkemist/netty,altihou/netty,bob329/netty,lugt/netty,alkemis... | /*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | transport/src/main/java/io/netty/channel/AbstractChannel.java | /*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | Do not defer closing of Channel when in flush
Motivation:
Previously, we deferred the closing of the Channel when we were flushing. This is problematic as this means that if the user adds a ChannelFutureListener, that will close the Channel, the closing will not happen until we are done with flushing. This can lead t... | transport/src/main/java/io/netty/channel/AbstractChannel.java | Do not defer closing of Channel when in flush | <ide><path>ransport/src/main/java/io/netty/channel/AbstractChannel.java
<ide> return;
<ide> }
<ide>
<del> if (inFlush0) {
<del> invokeLater(new OneTimeTask() {
<del> @Override
<del> public void run() {
<del> ... | |
Java | apache-2.0 | 6bbb05a2fa942b68a39659e3a11bd06402ee28ef | 0 | thelastpickle/cassandra-reaper,thelastpickle/cassandra-reaper,thelastpickle/cassandra-reaper,thelastpickle/cassandra-reaper,thelastpickle/cassandra-reaper | /*
* Copyright 2014-2017 Spotify AB
* Copyright 2016-2018 The Last Pickle Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | src/server/src/main/java/io/cassandrareaper/jmx/JmxProxyImpl.java | /*
* Copyright 2014-2017 Spotify AB
* Copyright 2016-2018 The Last Pickle Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | Fix deprecation warning
| src/server/src/main/java/io/cassandrareaper/jmx/JmxProxyImpl.java | Fix deprecation warning | <ide><path>rc/server/src/main/java/io/cassandrareaper/jmx/JmxProxyImpl.java
<ide> final HostAndPort hostAndPort = HostAndPort.fromString(host);
<ide>
<ide> return connect(
<del> hostAndPort.getHostText(),
<add> hostAndPort.getHost(),
<ide> hostAndPort.getPortOrDefault(JMX_PORT),
<id... | |
Java | apache-2.0 | 2e1487c77ac271bcf24616f6900d950a5949e49c | 0 | xiongwei-git/Inputer,aheadlcx/Inputer | package com.android.ted.inputer.util;
import android.text.TextUtils;
import com.android.ted.inputer.db.opt.KeyWordDataHelper;
import com.android.ted.inputer.main.MainApplication;
import rx.Observable;
import rx.Subscriber;
import rx.Subscription;
import rx.android.schedulers.AndroidSchedulers;
import rx.functions.Fu... | app/src/rxjava/java/com.android.ted.inputer.util/KeyWordUtil.java | package com.android.ted.inputer.util;
import android.text.TextUtils;
import com.android.ted.inputer.db.opt.KeyWordDataHelper;
import com.android.ted.inputer.main.MainApplication;
import rx.Observable;
import rx.Subscriber;
import rx.Subscription;
import rx.functions.Func0;
/**
* Description:
* Creator: ZhangJinWe... | rxjava thread control
| app/src/rxjava/java/com.android.ted.inputer.util/KeyWordUtil.java | rxjava thread control | <ide><path>pp/src/rxjava/java/com.android.ted.inputer.util/KeyWordUtil.java
<ide> import rx.Observable;
<ide> import rx.Subscriber;
<ide> import rx.Subscription;
<add>import rx.android.schedulers.AndroidSchedulers;
<ide> import rx.functions.Func0;
<add>import rx.schedulers.Schedulers;
<ide>
<ide> /**
<ide> * Descript... | |
JavaScript | mit | 66cadd07d70bd646edc669b56959de05742d0f5d | 0 | oeuillot/node-omxplayer,acidhax/node-omxplayer | /*jslint node: true */
"use strict";
var Util = require('util');
var child_process = require('child_process');
var Events = require('events');
var fs = require('fs');
var assert = require('assert');
var DBus = require('dbus-native');
var invokeSemaphore = require('semaphore')(1);
var DEFAULT_DBUS_ADDRESS_FILENAME =... | lib/omxplayer.js | /*jslint node: true */
"use strict";
var Util = require('util');
var child_process = require('child_process');
var Events = require('events');
var fs = require('fs');
var assert = require('assert');
var DBus = require('dbus-native');
var sem = require('semaphore')(1);
var DEFAULT_DBUS_ADDRESS_FILENAME = "/tmp/omxpl... | First tests | lib/omxplayer.js | First tests | <ide><path>ib/omxplayer.js
<ide>
<ide> var DBus = require('dbus-native');
<ide>
<del>var sem = require('semaphore')(1);
<add>var invokeSemaphore = require('semaphore')(1);
<ide>
<ide> var DEFAULT_DBUS_ADDRESS_FILENAME = "/tmp/omxplayerdbus";
<ide>
<ide>
<ide> configuration.omxPlayerPath = configuration.omxPlayerP... | |
Java | mit | b4a033e51f917c9b4327d2e58694577ebdfcd1e0 | 0 | KWStudios/RageMode,KWStudios/RageMode | package org.kwstudios.play.ragemode.commands;
import org.bukkit.ChatColor;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
import org.kwstudios.play.ragemode.gameLogic.PlayerList;
import org.kwstudios.play.ragemode.toolbox.ConstantHolder;
import org.kwstudios.play.ragemo... | src/org/kwstudios/play/ragemode/commands/RemoveGame.java | package org.kwstudios.play.ragemode.commands;
import org.bukkit.ChatColor;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
import org.kwstudios.play.ragemode.gameLogic.PlayerList;
import org.kwstudios.play.ragemode.toolbox.ConstantHolder;
import org.kwstudios.play.ragemo... | Bugfix | src/org/kwstudios/play/ragemode/commands/RemoveGame.java | Bugfix | <ide><path>rc/org/kwstudios/play/ragemode/commands/RemoveGame.java
<ide>
<ide> public class RemoveGame {
<ide> public RemoveGame(Player player, String label, String[] args, FileConfiguration fileConfiguration) {
<del> if(args.length < 2) {
<add> if(args.length >= 2) {
<ide> String game = args[1];
<ide>
<ide>... | |
Java | mit | 208085d686133f91f33fe0428a5147e7d776457e | 0 | jgrabenstein/Rapture,RapturePlatform/Rapture,jgrabenstein/Rapture,amkimian/Rapture,jonathan-major/Rapture,jonathan-major/Rapture,RapturePlatform/Rapture,jgrabenstein/Rapture,jonathan-major/Rapture,jonathan-major/Rapture,dukenguyen/Rapture,dukenguyen/Rapture,RapturePlatform/Rapture,jgrabenstein/Rapture,dukenguyen/Raptur... | /**
* The MIT License (MIT)
*
* Copyright (c) 2011-2016 Incapture Technologies LLC
*
* 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 t... | Libs/RaptureCore/src/test/java/rapture/table/memory/MemoryIndexHandlerTest.java | /**
* The MIT License (MIT)
*
* Copyright (c) 2011-2016 Incapture Technologies LLC
*
* 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 t... | UNFILED: Debugging for a docker test failure
| Libs/RaptureCore/src/test/java/rapture/table/memory/MemoryIndexHandlerTest.java | UNFILED: Debugging for a docker test failure | <ide><path>ibs/RaptureCore/src/test/java/rapture/table/memory/MemoryIndexHandlerTest.java
<ide> import rapture.common.dp.WorkOrderStorage;
<ide> import rapture.common.exception.ExceptionToString;
<ide> import rapture.common.exception.RaptureException;
<add>import rapture.common.impl.jackson.JacksonUtil;
<ide> import ra... | |
Java | mit | error: pathspec 'src/main/java/com/k13n/lt_codes/Client.java' did not match any file(s) known to git
| 9f7436afe343f1309df97fbe13980cde58ae97ce | 1 | k13n/lt_codes | package com.k13n.lt_codes;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
public class Client {
private final Decoder decoder;
private final Queue<byte[]> queue;
private Thread decodingThread;
public Client() {
queue = new ConcurrentLinkedQueue<>();
decoder = setUpDecoder(... | src/main/java/com/k13n/lt_codes/Client.java | Create a Client class which is the endpoint of the channel
The client queues all incoming packets and processes them in a separate
thread.
| src/main/java/com/k13n/lt_codes/Client.java | Create a Client class which is the endpoint of the channel | <ide><path>rc/main/java/com/k13n/lt_codes/Client.java
<add>package com.k13n.lt_codes;
<add>
<add>import java.util.Queue;
<add>import java.util.concurrent.ConcurrentLinkedQueue;
<add>
<add>public class Client {
<add> private final Decoder decoder;
<add> private final Queue<byte[]> queue;
<add> private Thread decoding... | |
JavaScript | apache-2.0 | cea9806cf864ee829dd92f85db321e608253ea43 | 0 | revanthkolli/osf.io,bdyetton/prettychart,zamattiac/osf.io,danielneis/osf.io,doublebits/osf.io,monikagrabowska/osf.io,kwierman/osf.io,zkraime/osf.io,kwierman/osf.io,CenterForOpenScience/osf.io,TomHeatwole/osf.io,lamdnhan/osf.io,Ghalko/osf.io,SSJohns/osf.io,GageGaskins/osf.io,sbt9uc/osf.io,GageGaskins/osf.io,ZobairAlijan... | /**
* Created by faye on 10/15/14.
*/
/**
* An OSF-flavored wrapper around Treebeard.
*
* Module to render the consolidated files view. Reads addon configurations and
* initializes a Treebeard.
*/
//Unnamed function that attaches fangorn to the global namespace (which will usually be window)
(function (global, ... | website/static/js/fangorn.js | /**
* Created by faye on 10/15/14.
*/
/**
* An OSF-flavored wrapper around Treebeard.
*
* Module to render the consolidated files view. Reads addon configurations and
* initializes a Treebeard.
*/
//Unnamed function that attaches fangorn to the global namespace (which will usually be window)
(function (global, ... | Initial fangorn options working
| website/static/js/fangorn.js | Initial fangorn options working | <ide><path>ebsite/static/js/fangorn.js
<ide> }
<ide> }(this, function($, Treebeard){
<ide>
<del> /// Domething else
<ide> // OSF-specific Treebeard options common to all addons
<del> baseOptions = {
<del> rowHeight : 35,
<del> showTotal : 15,
<del> paginate : false,
<del> lazyLo... | |
Java | bsd-3-clause | ca2890de8d6c05acefb41b146e71b6e1ce8891bf | 0 | NCIP/i-spy,NCIP/i-spy | package gov.nih.nci.ispy.service.findings.strategies;
import gov.nih.nci.caintegrator.application.cache.BusinessTierCache;
import gov.nih.nci.caintegrator.dto.query.QueryDTO;
import gov.nih.nci.caintegrator.enumeration.FindingStatus;
import gov.nih.nci.caintegrator.exceptions.FindingsAnalysisException;
import go... | src/gov/nih/nci/ispy/service/findings/strategies/P53FindingStrategy.java | package gov.nih.nci.ispy.service.findings.strategies;
import java.util.Collection;
import gov.nih.nci.caintegrator.application.cache.BusinessTierCache;
import gov.nih.nci.caintegrator.dto.query.QueryDTO;
import gov.nih.nci.caintegrator.enumeration.FindingStatus;
import gov.nih.nci.caintegrator.exceptions.Findi... | modified
SVN-Revision: 4763
| src/gov/nih/nci/ispy/service/findings/strategies/P53FindingStrategy.java | modified | <ide><path>rc/gov/nih/nci/ispy/service/findings/strategies/P53FindingStrategy.java
<ide> package gov.nih.nci.ispy.service.findings.strategies;
<del>
<del>import java.util.Collection;
<ide>
<ide> import gov.nih.nci.caintegrator.application.cache.BusinessTierCache;
<ide> import gov.nih.nci.caintegrator.dto.query.QueryDT... | |
Java | bsd-3-clause | 4d081402834ec7c0d6a53c1c3ca04d03dac4b14c | 0 | NCIP/nci-term-browser,NCIP/nci-term-browser,NCIP/nci-term-browser,NCIP/nci-term-browser | package gov.nih.nci.evs.browser.utils;
import gov.nih.nci.evs.browser.common.*;
import java.util.*;
import javax.servlet.http.*;
import org.apache.log4j.*;
/**
* <!-- LICENSE_TEXT_START -->
* Copyright 2008,2009 NGIT. This software was developed in conjunction
* with the National Cancer Institute, ... | software/ncitbrowser/src/java/gov/nih/nci/evs/browser/utils/JSPUtils.java | package gov.nih.nci.evs.browser.utils;
import gov.nih.nci.evs.browser.common.*;
import java.util.*;
import javax.servlet.http.*;
import org.apache.log4j.*;
/**
* <!-- LICENSE_TEXT_START -->
* Copyright 2008,2009 NGIT. This software was developed in conjunction
* with the National Cancer Institute, ... | GF29865: Handling cases where dictionary is set and version is not.
For this case, set version to production.
SVN-Revision: 2057
| software/ncitbrowser/src/java/gov/nih/nci/evs/browser/utils/JSPUtils.java | GF29865: Handling cases where dictionary is set and version is not. For this case, set version to production. | <ide><path>oftware/ncitbrowser/src/java/gov/nih/nci/evs/browser/utils/JSPUtils.java
<ide> debugDV("Session Attributes: ", dictionary, version);
<ide> }
<ide>
<del> if (isNull(dictionary) && ! isNull(version) &&
<add> boolean isDictionaryNull = isNull(dictionary);
<add... | |
Java | apache-2.0 | defcd9399ec1da083dbbf47cd687dd9a31a76939 | 0 | rotty3000/aries,alien11689/aries,rotty3000/aries,alien11689/aries,alien11689/aries,graben/aries,apache/aries,graben/aries,apache/aries,alien11689/aries,graben/aries,rotty3000/aries,rotty3000/aries,graben/aries,apache/aries,apache/aries | /**
* 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
* distribu... | cdi/cdi-extender/src/main/java/org/apache/aries/cdi/container/internal/model/BeansModelBuilder.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
* distribu... | [CDI] handle Errors which are not exceptions
Signed-off-by: Raymond Auge <rotty3000@apache.org>
git-svn-id: f3027bd689517dd712b868b0d3f5f59c3162b83d@1845390 13f79535-47bb-0310-9956-ffa450edef68
| cdi/cdi-extender/src/main/java/org/apache/aries/cdi/container/internal/model/BeansModelBuilder.java | [CDI] handle Errors which are not exceptions | <ide><path>di/cdi-extender/src/main/java/org/apache/aries/cdi/container/internal/model/BeansModelBuilder.java
<ide>
<ide> package org.apache.aries.cdi.container.internal.model;
<ide>
<del>import static org.apache.aries.cdi.container.internal.util.Reflection.*;
<del>import static org.osgi.service.cdi.CDIConstants.*;
<... | |
Java | apache-2.0 | b0603fec9a9877b1cfe2f248877cf7b4b6532379 | 0 | izonder/intellij-community,Distrotech/intellij-community,retomerz/intellij-community,MER-GROUP/intellij-community,ThiagoGarciaAlves/intellij-community,apixandru/intellij-community,fengbaicanhe/intellij-community,lucafavatella/intellij-community,tmpgit/intellij-community,Lekanich/intellij-community,semonte/intellij-comm... | /*
* 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... | java/java-impl/src/com/intellij/codeInsight/daemon/impl/analysis/HighlightVisitorImpl.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... | EA-20463 suppress INRE
| java/java-impl/src/com/intellij/codeInsight/daemon/impl/analysis/HighlightVisitorImpl.java | EA-20463 suppress INRE | <ide><path>ava/java-impl/src/com/intellij/codeInsight/daemon/impl/analysis/HighlightVisitorImpl.java
<ide>
<ide> if (!myHolder.hasErrorResults()) myHolder.add(HighlightUtil.checkExpressionRequired(expression));
<ide> if (!myHolder.hasErrorResults() && resolved instanceof PsiField) {
<del> myHolder.add(Hig... | |
Java | mit | a086f3fe68d0280f95003ff5b0374de8b57dffc9 | 0 | yzhnasa/TASSEL-iRods,yzhnasa/TASSEL-iRods,yzhnasa/TASSEL-iRods,yzhnasa/TASSEL-iRods | package net.maizegenetics.util;
import java.io.*;
import java.security.MessageDigest;
/**
* User: dkroon
* Date: 4/9/13
* Time: 11:47 AM
* Adapted from http://www.rgagnon.com/javadetails/java-0416.html ("Real's HowTo")
*/
public class CheckSum {
/**
*
* @param filename
* @p... | src/net/maizegenetics/util/CheckSum.java | package net.maizegenetics.util;
import java.io.*;
import java.security.MessageDigest;
/**
* User: dkroon
* Date: 4/9/13
* Time: 11:47 AM
* Adapted from http://www.rgagnon.com/javadetails/java-0416.html ("Real's HowTo")
*/
public class CheckSum {
/**
*
* @param filename
* @p... | Get canonical path when possible to resolve symbolic links
| src/net/maizegenetics/util/CheckSum.java | Get canonical path when possible to resolve symbolic links | <ide><path>rc/net/maizegenetics/util/CheckSum.java
<ide>
<ide>
<ide> private static String getMD5ChecksumByFile(File aFile) {
<del> byte[] b = null;
<add>
<add> String result = "";
<ide> try{
<del> b = createChecksum(aFile, "MD5");
<del> }catch(Exception e){ /* ignore */ }
<... | |
Java | apache-2.0 | f73541fc7a95f52aa47963d0d7f0148fb98b1dad | 0 | gchq/Gaffer,gchq/Gaffer,gchq/Gaffer,GovernmentCommunicationsHeadquarters/Gaffer,GovernmentCommunicationsHeadquarters/Gaffer,GovernmentCommunicationsHeadquarters/Gaffer,gchq/Gaffer,GovernmentCommunicationsHeadquarters/Gaffer | /*
* Copyright 2017 Crown Copyright
*
* 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... | core/store/src/main/java/uk/gov/gchq/gaffer/store/operation/handler/GetWalksHandler.java | /*
* Copyright 2017 Crown Copyright
*
* 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... | gh-1598 - fixed compile issue for some versions of java
| core/store/src/main/java/uk/gov/gchq/gaffer/store/operation/handler/GetWalksHandler.java | gh-1598 - fixed compile issue for some versions of java | <ide><path>ore/store/src/main/java/uk/gov/gchq/gaffer/store/operation/handler/GetWalksHandler.java
<ide> final Integer resultLimit = getWalks.getResultsLimit();
<ide> final int hops = getWalks.getNumberOfGetEdgeOperations();
<ide>
<del> final List<EntityId> originalInput = Lists.newArrayList(new... | |
Java | apache-2.0 | f31a85a4a8f4803d0c90757666a32d04c3172233 | 0 | Netflix/Nicobar,Netflix/Nicobar,mhawrylczak/Nicobar,Netflix/Nicobar,mhawrylczak/Nicobar,reversemind/Nicobar,reversemind/Nicobar | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | nicobar-core/src/test/java/com/netflix/nicobar/core/testutil/CoreTestResourceUtil.java | /*
*
* Copyright 2013 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Test is optimized
| nicobar-core/src/test/java/com/netflix/nicobar/core/testutil/CoreTestResourceUtil.java | Test is optimized | <ide><path>icobar-core/src/test/java/com/netflix/nicobar/core/testutil/CoreTestResourceUtil.java
<ide> private final String resourcePath;
<ide> private final Set<String> contentPaths;
<ide> private TestResource(String moduleId, String resourcePath, String... contentPaths) {
<del> this... | |
Java | apache-2.0 | 98f61f2cfba54f91dfae8bd2bf257d2e7c1f5c78 | 0 | mccraigmccraig/opennlp,mccraigmccraig/opennlp | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreemnets. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/test/java/opennlp/tools/sentdetect/SentenceDetectorMETest.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreemnets. 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 ... | new tests for sentence detector.
| src/test/java/opennlp/tools/sentdetect/SentenceDetectorMETest.java | new tests for sentence detector. | <ide><path>rc/test/java/opennlp/tools/sentdetect/SentenceDetectorMETest.java
<ide> * Tests for the {@link SentenceDetectorME} class.
<ide> */
<ide> public class SentenceDetectorMETest extends TestCase {
<del>
<add>
<ide> public void testSentenceDetector() {
<ide>
<ide> InputStream in = getClass().getResource... | |
Java | agpl-3.0 | be34fabb4e74f0f412e067962174c6e2f7ad2fac | 0 | papparazzo/moba-server,papparazzo/moba-appServer | /*
* Project: moba-server
*
* Copyright (C) 2018 Stefan Paproth <pappi-@gmx.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (a... | src/tracklayout/Actuation.java | /*
* Project: moba-server
*
* Copyright (C) 2018 Stefan Paproth <pappi-@gmx.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (a... | wip... | src/tracklayout/Actuation.java | wip... | <ide><path>rc/tracklayout/Actuation.java
<ide> package tracklayout;
<ide>
<ide> public class Actuation {
<del> int address;
<add>
<add> protected int address;
<ide>
<ide> public Actuation(int address) {
<ide> this.address = address; | |
Java | apache-2.0 | 4f5a00a850cbeca2081ba2fedd331c916ac42142 | 0 | xtracoder/bnd,lostiniceland/bnd,GEBIT/bnd,GEBIT/bnd,psoreide/bnd,mcculls/bnd,psoreide/bnd,xtracoder/bnd,joansmith/bnd,joansmith/bnd,magnet/bnd,magnet/bnd,psoreide/bnd,mcculls/bnd,mcculls/bnd,magnet/bnd,lostiniceland/bnd,lostiniceland/bnd | package aQute.lib.deployer;
import java.io.*;
import java.security.*;
import java.util.*;
import java.util.jar.*;
import java.util.regex.*;
import aQute.bnd.header.*;
import aQute.bnd.osgi.*;
import aQute.bnd.service.*;
import aQute.bnd.version.*;
import aQute.lib.io.*;
import aQute.libg.command.*;
import aQute.servi... | biz.aQute.bndlib/src/aQute/lib/deployer/FileRepo.java | package aQute.lib.deployer;
import java.io.*;
import java.security.*;
import java.util.*;
import java.util.jar.*;
import java.util.regex.*;
import aQute.bnd.header.*;
import aQute.bnd.osgi.*;
import aQute.bnd.service.*;
import aQute.bnd.version.*;
import aQute.lib.io.*;
import aQute.libg.command.*;
import aQute.servi... | FileRepo: always call refresh hook
instead of only when we are dirty
Signed-off-by: Ferry Huberts <66e11f9f5d965b69497c7e73d5e808f8b13c1218@pelagic.nl>
| biz.aQute.bndlib/src/aQute/lib/deployer/FileRepo.java | FileRepo: always call refresh hook | <ide><path>iz.aQute.bndlib/src/aQute/lib/deployer/FileRepo.java
<ide>
<ide> public boolean refresh() throws Exception {
<ide> init();
<add> exec(refresh, null);
<ide> if (dirty) {
<ide> dirty = false;
<del> exec(refresh, null);
<ide> return true;
<ide> }
<ide> return false; | |
Java | bsd-3-clause | d3db0bb2e88405033d512faed471167b093b66f6 | 0 | jguerinet/ECSE321-Assignment2 | public class PrintPrimes {
int numberOfPrimes;
int numberOfRows;
int numberOfColumns;
int ORDMAX;
int listOfPrimes[];
public PrintPrimes(int numberOfPrimes, int numberOfRows, int numberOfColumns, int ORDMAX) {
this.numberOfPrimes = numberOfPrimes;
this.numberOfRows = numberOfRows;
this.numbe... | PrintPrimes.java | public class PrintPrimes {
int numberOfPrimes;
int numberOfRows;
int numberOfColumns;
int ORDMAX;
int listOfPrimes[];
public PrintPrimes(int numberOfPrimes, int numberOfRows, int numberOfColumns, int ORDMAX) {
this.numberOfPrimes = numberOfPrimes;
this.numberOfRows = numberOfRows;
this.numbe... | Added Brackets Around Single-Line if Statements
Easier to read.
| PrintPrimes.java | Added Brackets Around Single-Line if Statements | <ide><path>rintPrimes.java
<ide> while (N < ORD && isPrime) {
<ide> while (MULT[N] < currentNumber)
<ide> MULT[N] = MULT[N] + listOfPrimes[N] + listOfPrimes[N];
<del> if (MULT[N] == currentNumber)
<add> if (MULT[N] == currentNumber){
<ide> isPrime ... | |
JavaScript | mit | 4924f6f06a7744a97b8e05bde122414bf4afd849 | 0 | namniak/canvas-text-wrapper,namniak/CanvasTextWrapper | /*! CanvasTextWrapper (https://github.com/namniak/CanvasTextWrapper)
* Version: 0.1.0
*
* MIT License (http://www.opensource.org/licenses/mit-license.html)
* Copyright (c) 2014 Vadim Namniak
*/
(function() {
'use strict';
var defaultOptions = {
font: '18px Arial, sans-serif',
textAlig... | CanvasTextWrapper.js | /*! CanvasTextWrapper (https://github.com/namniak/CanvasTextWrapper)
* Version: 0.1.0
*
* MIT License (http://www.opensource.org/licenses/mit-license.html)
* Copyright (c) 2014 Vadim Namniak
*/
(function() {
'use strict';
var defaultOptions = {
font: '18px Arial, sans-serif',
textAlig... | Slightly DRYer
| CanvasTextWrapper.js | Slightly DRYer | <ide><path>anvasTextWrapper.js
<ide>
<ide> // use previous font size, not the one that broke the while condition
<ide> this.setFontSize(--fontSize);
<del> var lines = this.getWrappedText(elementWidth);
<del> var textBlockHeight = lines.length * this.lineHei... | |
Java | apache-2.0 | b07906a2a2fc9c5d2808cb53acf1e855cfef0314 | 0 | bonnetb/sqoop,unicredit/sqoop,apache/sqoop,icoding/sqoop,baifendian/sqoop,rekhajoshm/sqoopfork,pkit/sqoop,apache/sqoop,unicredit/sqoop,YaroslavLitvinov/sqoop,pkit/sqoop,dlanza1/parquet-mr,bonnetb/sqoop,baifendian/sqoop,icoding/sqoop,dlanza1/parquet-mr,dlanza1/parquet-mr,unicredit/sqoop,pkit/sqoop,YaroslavLitvinov/sqoop... | /**
* 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/java/org/apache/sqoop/tool/BaseSqoopTool.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... | SQOOP-1052: Hive import is not compatible with Avro and SequenceFile but no errors are thrown
(Jarek Jarcec Cecho via Kate Ting)
| src/java/org/apache/sqoop/tool/BaseSqoopTool.java | SQOOP-1052: Hive import is not compatible with Avro and SequenceFile but no errors are thrown | <ide><path>rc/java/org/apache/sqoop/tool/BaseSqoopTool.java
<ide> + " option." + HELP_STR);
<ide> }
<ide>
<add> if(options.doHiveImport()
<add> && options.getFileLayout() == SqoopOptions.FileLayout.AvroDataFile) {
<add> throw new InvalidOptionsException("Hive import is not compatible w... | |
Java | agpl-3.0 | f0ab554483c3edca0f509c665f0344a4f676fa1e | 0 | Peergos/Peergos,Peergos/Peergos,Peergos/Peergos | package peergos.server.storage;
import io.prometheus.client.Histogram;
import io.prometheus.client.Counter;
import peergos.server.*;
import peergos.server.corenode.*;
import peergos.server.space.*;
import peergos.server.sql.*;
import peergos.server.storage.auth.*;
import peergos.server.util.*;
import peergos.shared.*;... | src/peergos/server/storage/S3BlockStorage.java | package peergos.server.storage;
import io.prometheus.client.Histogram;
import io.prometheus.client.Counter;
import peergos.server.*;
import peergos.server.corenode.*;
import peergos.server.space.*;
import peergos.server.sql.*;
import peergos.server.storage.auth.*;
import peergos.server.util.*;
import peergos.shared.*;... | If S3 times out, treat it as a rate limit and slow down
| src/peergos/server/storage/S3BlockStorage.java | If S3 times out, treat it as a rate limit and slow down | <ide><path>rc/peergos/server/storage/S3BlockStorage.java
<ide> import peergos.shared.util.*;
<ide>
<ide> import java.io.*;
<add>import java.net.*;
<ide> import java.nio.file.*;
<ide> import java.sql.*;
<ide> import java.time.*;
<ide> if (enforceAuth && ! authoriser.allowRead(hash, block, id, auth).join())
... | |
Java | mit | error: pathspec 'src/main/java/org/xander/behavioral/lazyevaluation/Factorial.java' did not match any file(s) known to git
| 89614fdcec6f2def7318ac201663ebccdfbf8fc8 | 1 | AncientMariner/Patterns | package org.xander.behavioral.lazyevaluation;
public class Factorial {
public static void main(String[] args) {
System.out.println(factorial(5));
System.out.println(factorial(20000));
}
public static int factorial(final int number) {
return TailCalls.factorialTailRec(1, number).in... | src/main/java/org/xander/behavioral/lazyevaluation/Factorial.java | Create Factorial.java | src/main/java/org/xander/behavioral/lazyevaluation/Factorial.java | Create Factorial.java | <ide><path>rc/main/java/org/xander/behavioral/lazyevaluation/Factorial.java
<add>package org.xander.behavioral.lazyevaluation;
<add>
<add>public class Factorial {
<add>
<add> public static void main(String[] args) {
<add> System.out.println(factorial(5));
<add> System.out.println(factorial(20000));
<ad... | |
Java | apache-2.0 | 3e8bf7f794bb4f5bdb933c993b05ff089849f8c7 | 0 | nogalavi/Bikeable,nogalavi/Bikeable | package com.nnys.bikeable;
import android.content.Context;
import android.os.Bundle;
import android.os.StrictMode;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.util.DisplayMetrics;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.MotionEve... | app/src/main/java/com/nnys/bikeable/CentralActivity.java | package com.nnys.bikeable;
import android.os.Bundle;
import android.os.StrictMode;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.util.DisplayMetrics;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
im... | Last commit before moving to google's location, this is working but slow and not running in the background
| app/src/main/java/com/nnys/bikeable/CentralActivity.java | Last commit before moving to google's location, this is working but slow and not running in the background | <ide><path>pp/src/main/java/com/nnys/bikeable/CentralActivity.java
<ide> package com.nnys.bikeable;
<ide>
<add>import android.content.Context;
<ide> import android.os.Bundle;
<ide> import android.os.StrictMode;
<ide> import android.support.v7.app.AppCompatActivity;
<ide> import android.view.Menu;
<ide> import android.... | |
Java | apache-2.0 | 8f87816b72d1a08f12cd73f3dce41b401c56224d | 0 | GerritCodeReview/gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-ger... | // Copyright (C) 2012 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 applicable ... | java/com/google/gerrit/server/restapi/change/Submit.java | // Copyright (C) 2012 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 applicable ... | Submit: Do not request fields from index when computing topic size
To compute the size of a topic we query for open changes with a matching
topic. Since we are only interested in the number of matches we don't
need to request any fields.
Change-Id: I0f044bc2c30416e42b6c58e0bc1ce5b698f79cce
Signed-off-by: Edwin Kempin... | java/com/google/gerrit/server/restapi/change/Submit.java | Submit: Do not request fields from index when computing topic size | <ide><path>ava/com/google/gerrit/server/restapi/change/Submit.java
<ide> String topic = change.getTopic();
<ide> int topicSize = 0;
<ide> if (!Strings.isNullOrEmpty(topic)) {
<del> topicSize = queryProvider.get().byTopicOpen(topic).size();
<add> topicSize = queryProvider.get().noFields().byTopicOp... | |
Java | apache-2.0 | c8a77b2733312c826a44641b1e46481748bfe8eb | 0 | NSAmelchev/ignite,ptupitsyn/ignite,BiryukovVA/ignite,endian675/ignite,NSAmelchev/ignite,sk0x50/ignite,nizhikov/ignite,daradurvs/ignite,daradurvs/ignite,samaitra/ignite,alexzaitzev/ignite,vladisav/ignite,ptupitsyn/ignite,StalkXT/ignite,andrey-kuznetsov/ignite,ilantukh/ignite,endian675/ignite,daradurvs/ignite,andrey-kuzn... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | modules/indexing/src/test/java/org/apache/ignite/internal/processors/client/ClientConnectorConfigurationValidationSelfTest.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | IGNITE-7780 Fixed test ClientConnectorConfigurationValidationSelfTest#testJdbcConnectionDisabledForDaemon - Fixes #3555.
Signed-off-by: Alexey Goncharuk <c2e378302c4fe819c8ea9894ec81272c9da3a0af@gmail.com>
| modules/indexing/src/test/java/org/apache/ignite/internal/processors/client/ClientConnectorConfigurationValidationSelfTest.java | IGNITE-7780 Fixed test ClientConnectorConfigurationValidationSelfTest#testJdbcConnectionDisabledForDaemon - Fixes #3555. | <ide><path>odules/indexing/src/test/java/org/apache/ignite/internal/processors/client/ClientConnectorConfigurationValidationSelfTest.java
<ide> checkJdbc(null, ClientConnectorConfiguration.DFLT_PORT);
<ide> return null;
<ide> }
<del> }, SQLException.class, "Failed to c... | |
Java | apache-2.0 | a3d28d54dfc20b05c97cfbda94855ceb33107f32 | 0 | fitermay/intellij-community,ftomassetti/intellij-community,kool79/intellij-community,wreckJ/intellij-community,jagguli/intellij-community,petteyg/intellij-community,MER-GROUP/intellij-community,ivan-fedorov/intellij-community,Lekanich/intellij-community,fnouama/intellij-community,semonte/intellij-community,amith01994/i... | /*
* Copyright 2000-2014 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/util/src/com/intellij/util/xmlb/TagBinding.java | /*
* Copyright 2000-2013 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... | cleanup
| platform/util/src/com/intellij/util/xmlb/TagBinding.java | cleanup | <ide><path>latform/util/src/com/intellij/util/xmlb/TagBinding.java
<ide> /*
<del> * Copyright 2000-2013 JetBrains s.r.o.
<add> * Copyright 2000-2014 JetBrains s.r.o.
<ide> *
<ide> * Licensed under the Apache License, Version 2.0 (the "License");
<ide> * you may not use this file except in compliance with the License... | |
Java | mit | 99cddbfb19e86623ddf972b74ec92cd3215bfa9d | 0 | Narwhalprime/simcity201-team-project | package transportation.Agents;
import java.awt.*;
import java.util.*;
import java.util.List;
import market.Market;
import transportation.Transportation;
import transportation.TransportationPanel;
import transportation.GUIs.BusGui;
import transportation.GUIs.CarGui;
import transportation.GUIs.TruckGui;
import transpor... | src/transportation/Agents/TransportationController.java | package transportation.Agents;
import java.awt.*;
import java.util.*;
import java.util.List;
import market.Market;
import transportation.Transportation;
import transportation.TransportationPanel;
import transportation.GUIs.BusGui;
import transportation.GUIs.CarGui;
import transportation.GUIs.TruckGui;
import transpor... | directory changes almost finalized. Need new market and house names and locations
| src/transportation/Agents/TransportationController.java | directory changes almost finalized. Need new market and house names and locations | <ide><path>rc/transportation/Agents/TransportationController.java
<ide> //++++++++++++++++++++++BEGIN CREATION OF DIRECTORY++++++++++++++++++++++
<ide> directory = new HashMap<String, Building>();
<ide>
<del> Building tempBuilding = new Building("Main St Apartments #1", new Position(9, 2), new Position(9, 4), bus... | |
Java | apache-2.0 | 2d32c3ba5bc20727b8220b2a6d589c6fed2cdac6 | 0 | apache/commons-ognl,mohanaraosv/commons-ognl,mohanaraosv/commons-ognl,apache/commons-ognl | /*
* $Id$
*
* 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
* "Lice... | src/main/java/org/apache/commons/ognl/OgnlRuntime.java | /*
* $Id$
*
* 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
* "Lice... | code reformatted
git-svn-id: 67aa4b11cab64888ffe6335d36463920e891f74c@1184966 13f79535-47bb-0310-9956-ffa450edef68
| src/main/java/org/apache/commons/ognl/OgnlRuntime.java | code reformatted | <ide><path>rc/main/java/org/apache/commons/ognl/OgnlRuntime.java
<ide> static final Cache<Method, MethodAccessEntryValue> _methodAccessCache =
<ide> new ConcurrentHashMapCache<Method, MethodAccessEntryValue>( new MethodAccessCacheEntryFactory( ) );
<ide>
<del> ;
<del>
<ide> private static final Meth... | |
Java | bsd-3-clause | 3d0d9f2bcbf25ccb5e895d7d70eed6189ce9d4e7 | 0 | iamedu/dari,iamedu/dari,iamedu/dari,iamedu/dari | package com.psddev.dari.db;
import java.util.AbstractList;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.nodes.Node;
import org.jsoup.nodes.TextNode;
import org.j... | db/src/main/java/com/psddev/dari/db/ReferentialText.java | package com.psddev.dari.db;
import java.util.AbstractList;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.nodes.Node;
import org.jsoup.nodes.TextNode;
import org.j... | Fixes last bit of text to be wrapped in paragraph when it's immediately preceded by a reference in ReferentialText. | db/src/main/java/com/psddev/dari/db/ReferentialText.java | Fixes last bit of text to be wrapped in paragraph when it's immediately preceded by a reference in ReferentialText. | <ide><path>b/src/main/java/com/psddev/dari/db/ReferentialText.java
<ide> // Convert 'text<br><br>' to '<p>text</p>'.
<ide> Document document = Jsoup.parseBodyFragment(html.toString());
<ide> Element body = document.body();
<del> Element lastParagraph = null;
<add> Node lastNode = n... | |
Java | apache-2.0 | 552be140c980ce0daafbae6dcf934aa75495fce0 | 0 | cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x | /*
* Copyright 2002-2006 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | src/org/springframework/scheduling/quartz/LocalTaskExecutorThreadPool.java | /*
* Copyright 2002-2005 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | updated to be compatible with Quartz 1.6
git-svn-id: b619a0c99665f88f1afe72824344cefe9a1c8c90@12203 fd5a2b45-1f63-4059-99e9-3c7cb7fd75c8
| src/org/springframework/scheduling/quartz/LocalTaskExecutorThreadPool.java | updated to be compatible with Quartz 1.6 | <ide><path>rc/org/springframework/scheduling/quartz/LocalTaskExecutorThreadPool.java
<ide> /*
<del> * Copyright 2002-2005 the original author or authors.
<add> * Copyright 2002-2006 the original author or authors.
<ide> *
<ide> * Licensed under the Apache License, Version 2.0 (the "License");
<ide> * you may not use... | |
Java | apache-2.0 | 89be1eec8c59da9e0955ca2a52b8e4b7bc903a1b | 0 | apache/opennlp,jzonthemtn/opennlp,jzonthemtn/opennlp,ragerri/opennlp,jzonthemtn/opennlp,ragerri/opennlp,apache/opennlp,apache/opennlp,ragerri/opennlp | /*
* 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 ... | opennlp-tools/src/main/java/opennlp/tools/chunker/ChunkerCrossValidator.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 ... | Use the model provided beam size for evaluation
See issue OPENNLP-873
| opennlp-tools/src/main/java/opennlp/tools/chunker/ChunkerCrossValidator.java | Use the model provided beam size for evaluation | <ide><path>pennlp-tools/src/main/java/opennlp/tools/chunker/ChunkerCrossValidator.java
<ide> this.listeners = listeners;
<ide> }
<ide>
<del> public ChunkerCrossValidator(String languageCode, TrainingParameters params,
<add> public ChunkerCrossValidator(String languageCode, TrainingParameters params,
<ide> ... | |
Java | mit | 85d1b53d31c6cea9e26721ae11091945646772d3 | 0 | sake/bouncycastle-java | package org.bouncycastle.crypto.test;
import java.math.BigInteger;
import java.security.SecureRandom;
import org.bouncycastle.crypto.AsymmetricCipherKeyPair;
import org.bouncycastle.crypto.BasicAgreement;
import org.bouncycastle.crypto.agreement.ECDHBasicAgreement;
import org.bouncycastle.crypto.agreement.ECDHCBasicA... | test/src/org/bouncycastle/crypto/test/ECTest.java | package org.bouncycastle.crypto.test;
import java.math.BigInteger;
import java.security.SecureRandom;
import org.bouncycastle.crypto.AsymmetricCipherKeyPair;
import org.bouncycastle.crypto.BasicAgreement;
import org.bouncycastle.crypto.agreement.ECDHBasicAgreement;
import org.bouncycastle.crypto.agreement.ECDHCBasicA... | added f2m tests
| test/src/org/bouncycastle/crypto/test/ECTest.java | added f2m tests | <ide><path>est/src/org/bouncycastle/crypto/test/ECTest.java
<ide> }
<ide> }
<ide>
<add>
<add> /**
<add> * X9.62 - 1998,<br>
<add> * J.2.1, Page 100, ECDSA over the field F2m<br>
<add> * an example with 191 bit binary field
<add> */
<add> private void testECDSA191bitBinary()
<add> {... | |
Java | bsd-3-clause | 12b8cdf97779c99bb5256277a23ca455f3f3458b | 0 | krzyk/rexsl,krzyk/rexsl,yegor256/rexsl,yegor256/rexsl | /**
* Copyright (c) 2011-2013, ReXSL.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met: 1) Redistributions of source code must retain the above
* copyright notice, this list of condition... | rexsl-page/src/mock/java/com/rexsl/page/ServletContextMocker.java | /**
* Copyright (c) 2011-2013, ReXSL.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met: 1) Redistributions of source code must retain the above
* copyright notice, this list of condition... | #682: polished
| rexsl-page/src/mock/java/com/rexsl/page/ServletContextMocker.java | #682: polished | <ide><path>exsl-page/src/mock/java/com/rexsl/page/ServletContextMocker.java
<ide> return null;
<ide> }
<ide> }
<del> ).when(this.subj).setAttribute(
<del> Mockito.anyString(), Mockito.anyObject()
<del> );
<add> )
<add> .when(this... | |
Java | mit | error: pathspec 'src/main/java/t16b4/yats/model/item/Item.java' did not match any file(s) known to git
| 15e699c33de31c64e4f050decdedba2f59d8657f | 1 | CS2103JAN2017-T16-B4/main,CS2103JAN2017-T16-B4/main | package t16b4.yats.model.item;
public class Item {
}
| src/main/java/t16b4/yats/model/item/Item.java | Create Item class
| src/main/java/t16b4/yats/model/item/Item.java | Create Item class | <ide><path>rc/main/java/t16b4/yats/model/item/Item.java
<add>package t16b4.yats.model.item;
<add>
<add>public class Item {
<add>
<add>} | |
Java | apache-2.0 | 830765764900104a253bde8dbac1eb95eea3f74b | 0 | androidthings/contrib-drivers | /*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | button/src/main/java/com/google/android/things/contrib/driver/button/ButtonInputDriver.java | /*
* Copyright 2016 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Typo in error message
| button/src/main/java/com/google/android/things/contrib/driver/button/ButtonInputDriver.java | Typo in error message | <ide><path>utton/src/main/java/com/google/android/things/contrib/driver/button/ButtonInputDriver.java
<ide> */
<ide> public void register() {
<ide> if (mDevice == null) {
<del> throw new IllegalStateException("cannot registered closed driver");
<add> throw new IllegalStateExceptio... | |
Java | apache-2.0 | e853f71b10ebcf9c2474bbf5df7ea7b9ba98cce4 | 0 | mpouttuclarke/cdap,mpouttuclarke/cdap,caskdata/cdap,hsaputra/cdap,mpouttuclarke/cdap,mpouttuclarke/cdap,hsaputra/cdap,chtyim/cdap,chtyim/cdap,hsaputra/cdap,hsaputra/cdap,anthcp/cdap,anthcp/cdap,caskdata/cdap,caskdata/cdap,chtyim/cdap,anthcp/cdap,caskdata/cdap,anthcp/cdap,chtyim/cdap,caskdata/cdap,mpouttuclarke/cdap,cas... | package com.continuuity.passport.http.client;
import com.continuuity.passport.meta.Account;
import com.google.common.base.Preconditions;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import com.google.gson.*;
import org.apache.commons.io.IOUtils;
import org.apache.http.HttpResponse... | src/api/java/com/continuuity/passport/http/client/PassportClient.java | package com.continuuity.passport.http.client;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import com.continuuity.passport.meta.Account;
impo... | Add Get account in passport client
| src/api/java/com/continuuity/passport/http/client/PassportClient.java | Add Get account in passport client | <ide><path>rc/api/java/com/continuuity/passport/http/client/PassportClient.java
<ide> package com.continuuity.passport.http.client;
<ide>
<add>import com.continuuity.passport.meta.Account;
<add>import com.google.common.base.Preconditions;
<ide> import com.google.common.cache.Cache;
<ide> import com.google.common.cache... | |
Java | apache-2.0 | 0d0cdf09c21cc88300f0718943cb8ed3341a6411 | 0 | alxdarksage/BridgeIntegrationTests,DwayneJengSage/BridgeIntegrationTests | package org.sagebionetworks.bridge.sdk.integration;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.... | src/test/java/org/sagebionetworks/bridge/sdk/integration/ScheduledActivityTest.java | package org.sagebionetworks.bridge.sdk.integration;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.... | Fixing parameters to reflect change of offsetBy parameter to a string.
| src/test/java/org/sagebionetworks/bridge/sdk/integration/ScheduledActivityTest.java | Fixing parameters to reflect change of offsetBy parameter to a string. | <ide><path>rc/test/java/org/sagebionetworks/bridge/sdk/integration/ScheduledActivityTest.java
<ide>
<ide> // You can see this activity in history...
<ide> ForwardCursorScheduledActivityList list = usersApi.getActivityHistory(activity.getGuid(),
<del> startDateTime, endDateTime, null, "5"... | |
Java | apache-2.0 | 7d35b17d69b7ad215aa117f42a980ddb8f9ec465 | 0 | tiarebalbi/spring-data-dynamodb,michaellavelle/spring-data-dynamodb,derjust/spring-data-dynamodb | package org.socialsignin.spring.data.dynamodb.repository.support;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMarshaller;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.runners.MockitoJUnitRunner;
import org.socialsignin.spring.data.dynamodb.domain... | src/test/java/org/socialsignin/spring/data/dynamodb/repository/support/DynamoDBEntityMetadataSupportUnitTest.java | package org.socialsignin.spring.data.dynamodb.repository.support;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMarshaller;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.runners.MockitoJUnitRunner;
import org.socialsignin.spring.data.dynamodb.domain... | Remove warnings about raw types
| src/test/java/org/socialsignin/spring/data/dynamodb/repository/support/DynamoDBEntityMetadataSupportUnitTest.java | Remove warnings about raw types | <ide><path>rc/test/java/org/socialsignin/spring/data/dynamodb/repository/support/DynamoDBEntityMetadataSupportUnitTest.java
<ide> @Test
<ide> public void testGetMarshallerForProperty_WhenAnnotationIsOnField_AndReturnsDynamoDBMarshaller()
<ide> {
<del> DynamoDBEntityMetadataSupport support = new DynamoDBEntityMetada... | |
Java | agpl-3.0 | 29e51a7e5131257fcc8e6514eb147e3315e9c987 | 0 | yinheli/jPOS,bharavi/jPOS,sebastianpacheco/jPOS,barspi/jPOS,imam-san/jPOS-1,imam-san/jPOS-1,poynt/jPOS,chhil/jPOS,atancasis/jPOS,poynt/jPOS,c0deh4xor/jPOS,juanibdn/jPOS,alcarraz/jPOS,poynt/jPOS,sebastianpacheco/jPOS,jpos/jPOS,juanibdn/jPOS,fayezasar/jPOS,barspi/jPOS,jpos/jPOS,yinheli/jPOS,imam-san/jPOS-1,alcarraz/jPOS,... | /*
* jPOS Project [http://jpos.org]
* Copyright (C) 2000-2009 Alejandro P. Revilla
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your ... | jpos6/modules/jpos/test/org/jpos/util/FSDMsgTestCase.java | /*
* jPOS Project [http://jpos.org]
* Copyright (C) 2000-2009 Alejandro P. Revilla
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your ... | test FSDISOMsg clone and merge
| jpos6/modules/jpos/test/org/jpos/util/FSDMsgTestCase.java | test FSDISOMsg clone and merge | <ide><path>pos6/modules/jpos/test/org/jpos/util/FSDMsgTestCase.java
<ide> assertEquals ("Original alphavardata", "ABCDE", m0.get ("alphavardata"));
<ide> assertEquals ("Cloned alphavardata", "12345", m1.get ("alphavardata"));
<ide> }
<add> public void testFSDISOMsgPartialCloneAndMerge () throws E... | |
Java | apache-2.0 | eacff552005ae8276fa125c97181199addf60fd6 | 0 | benchdoos/WeblocOpener,benchdoos/WeblocOpener,benchdoos/WeblocOpener | /*
* (C) Copyright 2019. Eugene Zrazhevsky 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 License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable la... | src/main/java/com/github/benchdoos/weblocopener/gui/SettingsDialog.java | /*
* (C) Copyright 2019. Eugene Zrazhevsky 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 License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable la... | Code refactoring
| src/main/java/com/github/benchdoos/weblocopener/gui/SettingsDialog.java | Code refactoring | <ide><path>rc/main/java/com/github/benchdoos/weblocopener/gui/SettingsDialog.java
<ide> updateUIDarkMode();
<ide> updateDragAndDropNotice();
<ide>
<add> showOnApplyMessage();
<add> }
<add>
<add> private void onCancel() {
<add> dispose();
<add> }
<add>
<add> private void onSave... | |
JavaScript | mit | 0910e04ee03bfe90defb2ed2eb6b3bb21588ec7b | 0 | inverse/web-scrobbler,david-sabata/web-scrobbler,inverse/web-scrobbler,david-sabata/web-scrobbler,alexesprit/web-scrobbler,carpet-berlin/web-scrobbler,fakelbst/Chrome-Last.fm-Scrobbler,carpet-berlin/web-scrobbler,galeksandrp/web-scrobbler,alexesprit/web-scrobbler,fakelbst/Chrome-Last.fm-Scrobbler,galeksandrp/web-scrobb... | 'use strict';
/**
* All match entries are defined here, instead of manifest.
*
* Matching connector is injected to the page after document_end event.
*
* Supported fields:
* @param {String} label Website label
* @param {Array} matches Array of match patterns.
* Connectors are processed in order and the f... | src/core/connectors.js | 'use strict';
/**
* All match entries are defined here, instead of manifest.
*
* Matching connector is injected to the page after document_end event.
*
* Supported fields:
* @param {String} label Website label
* @param {Array} matches Array of match patterns.
* Connectors are processed in order and the f... | Update Plex label
Don't use upper case.
| src/core/connectors.js | Update Plex label | <ide><path>rc/core/connectors.js
<ide> js: 'connectors/yandex-music.js',
<ide> id: 'yandex-music',
<ide> }, {
<del> label: 'PLEX',
<add> label: 'Plex',
<ide> matches: [
<ide> '*://*32400/web/*',
<ide> '*://plex.tv/web/*', | |
Java | mit | a2e519d84db97f19c01ba656882eb50c9d655ce6 | 0 | figgefred/ai13-sokoban | package tester;
import java.io.IOException;
// Tethik normal:
//import sokoban.Tethik.*;
// Fred:
import sokoban.fredmaster2.*;
public class TestJob implements Runnable {
private String filename;
public volatile boolean result = false;
public String message = "";
public volatile boolean isRunning = true;
publ... | src/tester/TestJob.java | package tester;
import java.io.IOException;
import sokoban.Tethik.BoardState;
import sokoban.Tethik.Path;
import sokoban.Tethik.Player;
import sokoban.Tethik.IDAPlayer;
public class TestJob implements Runnable {
private String filename;
public volatile boolean result = false;
public String message = "";
public... | Testjob läättare att switcha mellan implementationer
| src/tester/TestJob.java | Testjob läättare att switcha mellan implementationer | <ide><path>rc/tester/TestJob.java
<ide>
<ide> import java.io.IOException;
<ide>
<del>import sokoban.Tethik.BoardState;
<del>import sokoban.Tethik.Path;
<del>import sokoban.Tethik.Player;
<del>import sokoban.Tethik.IDAPlayer;
<add>// Tethik normal:
<add>//import sokoban.Tethik.*;
<ide>
<add>// Fred:
<add>import sokob... | |
JavaScript | apache-2.0 | 7d2dd49cc30aab0d41eb0e8f651ab9e8e19257c5 | 0 | glow/glow2,glow/glow2 | /**
@name glow.util
@namespace
@description Core JavaScript helpers
*/
Glow.provide(function(glow) {
var util = {},
undefined,
TYPES = {
UNDEFINED : "undefined",
OBJECT : "object",
NUMBER : "number",
BOOLEAN : "boolean",
STRING : "string",
ARRAY : "array",
FUNCTION : "functi... | src/util/util.js | /**
@name glow.util
@namespace
@description Core JavaScript helpers
*/
Glow.provide(function(glow) {
var util = {},
undefined,
TYPES = {
UNDEFINED : "undefined",
OBJECT : "object",
NUMBER : "number",
BOOLEAN : "boolean",
STRING : "string",
ARRAY : "array",
FUNCTION : "functi... | Util: Fixing debug logic
| src/util/util.js | Util: Fixing debug logic | <ide><path>rc/util/util.js
<ide> type = _getType( object[key] );
<ide>
<ide> /*!debug*/
<del> if (type !== 'Array' || type !== 'string') {
<add> if (type !== 'Array' && type !== 'string') {
<ide> glow.debug.warn('[wrong type] glow.util.encodeUrl expected Array or String value for "' + key + '", not ' ... | |
JavaScript | mpl-2.0 | 9e4966af9a2f565325eef98ea61f098ea34d9593 | 0 | mozilla/advocacy.mozilla.org | import React from 'react';
module.exports = React.createClass({
contextTypes: {
intl: React.PropTypes.object
},
render: function() {
return (
<div className="form-body-container">
<div className="form-body">
<div className="form-description">
The Federal Communications... | src/components/net-neutrality/form-body.js | import React from 'react';
module.exports = React.createClass({
contextTypes: {
intl: React.PropTypes.object
},
render: function() {
return (
<div className="form-body-container">
<div className="form-body">
<div className="form-description">
The Federal Communications... | Fixing a typo.
| src/components/net-neutrality/form-body.js | Fixing a typo. | <ide><path>rc/components/net-neutrality/form-body.js
<ide> <li><b>Net neutrality is fundamental to free speech.</b> Without net neutrality, big companies could censor your voice and make it harder to speak up online. Net neutrality has been called the "First Amendment of the Internet."</li>
<ide> ... | |
JavaScript | bsd-3-clause | f3b0895c8eff78622f2eec4e8b102ab00f861b96 | 0 | MapofLife/MOL,MapofLife/MOL,MapofLife/MOL,MapofLife/MOL,MapofLife/MOL,MapofLife/MOL,MapofLife/MOL,MapofLife/MOL | /**
* Map module that wraps a Google Map and gives it the ability to handle app
* level events and perform AJAX calls to the server. It surfaces custom
* map controls with predefined slots.
*
* Event binding:
* ADD_MAP_CONTROL - Adds a control to the map.
* ADD_LAYER - Displays the layer on the map.
... | app/js/mol.ui.Map.js | /**
* Map module that wraps a Google Map and gives it the ability to handle app
* level events and perform AJAX calls to the server. It surfaces custom
* map controls with predefined slots.
*
* Event binding:
* ADD_MAP_CONTROL - Adds a control to the map.
* ADD_LAYER - Displays the layer on the map.
... | Moved HTML5 canvas stuff into MarkerCanvas class
| app/js/mol.ui.Map.js | Moved HTML5 canvas stuff into MarkerCanvas class | <ide><path>pp/js/mol.ui.Map.js
<ide> this._points = {};
<ide> this._layers = {};
<ide> this._controlDivs = {};
<del> this._canvasSupport = false;
<del> if ( !!document.createElement('canvas').getContext ) {
<del> this._icon... | |
JavaScript | mit | 308877ccbea412b34549832b1d6ad0e732f5ebd3 | 0 | egovernment/eregistrations,egovernment/eregistrations,egovernment/eregistrations | // Cost class
'use strict';
var memoize = require('memoizee/plain')
, defineCurrency = require('dbjs-ext/number/currency')
, defineStringLine = require('dbjs-ext/string/string-line');
module.exports = memoize(function (db) {
var StringLine = defineStringLine(db)
, Currency = defineCurrency(db);
... | model/cost.js | // Cost class
'use strict';
var memoize = require('memoizee/plain')
, defineCurrency = require('dbjs-ext/number/currency')
, defineStringLine = require('dbjs-ext/string/string-line')
, definePaymentReceiptUpload;
module.exports = memoize(function (db) {
var StringLine ... | -- cleanup
| model/cost.js | -- cleanup | <ide><path>odel/cost.js
<ide>
<ide> 'use strict';
<ide>
<del>var memoize = require('memoizee/plain')
<del> , defineCurrency = require('dbjs-ext/number/currency')
<del> , defineStringLine = require('dbjs-ext/string/string-line')
<del> , definePaymentReceiptUpload;
<add>var m... | |
Java | lgpl-2.1 | b3ce26c230494bd434ce3ff5a435d83397143167 | 0 | craigpetchell/Jaudiotagger,craigpetchell/Jaudiotagger | /*
* Jaudiotagger Copyright (C)2004,2005
*
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
* General Public License as published by the Free Software Foundation; either version 2.1 of the License,
* or (at your option) any later version.
*
* This libra... | srctest/org/jaudiotagger/AbstractTestCase.java | /*
* Jaudiotagger Copyright (C)2004,2005
*
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
* General Public License as published by the Free Software Foundation; either version 2.1 of the License,
* or (at your option) any later version.
*
* This libra... | Added setUp to ensure Tests are always run with default settings in TagOptionSingleton, (this issue came to, light when trying to run the test in Maven which must be doing it a different way to ant.)
| srctest/org/jaudiotagger/AbstractTestCase.java | Added setUp to ensure Tests are always run with default settings in TagOptionSingleton, (this issue came to, light when trying to run the test in Maven which must be doing it a different way to ant.) | <ide><path>rctest/org/jaudiotagger/AbstractTestCase.java
<ide>
<ide> import junit.framework.TestCase;
<ide> import org.jaudiotagger.logging.ErrorMessage;
<add>import org.jaudiotagger.tag.TagOptionSingleton;
<ide>
<ide> import java.io.*;
<ide> import java.util.EnumMap;
<ide> */
<ide> public abstract class AbstractTes... | |
Java | bsd-2-clause | 1d9fcc8d2d81074bd600915afee941bad9a63ad3 | 0 | edgehosting/jira-dvcs-connector,markphip/testing,markphip/testing,markphip/testing,edgehosting/jira-dvcs-connector,edgehosting/jira-dvcs-connector | package com.atlassian.jira.plugins.dvcs.ondemand;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.atlassian.jira.plugins.dvcs.model.Credential;
import com.atla... | jira-dvcs-connector-plugin/src/main/java/com/atlassian/jira/plugins/dvcs/ondemand/BitbucketAccountsConfigService.java | package com.atlassian.jira.plugins.dvcs.ondemand;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.atlassian.jira.plugins.dvcs.model.Credential;
import com.atla... | BBC-234 - bugfixes and refinements..
| jira-dvcs-connector-plugin/src/main/java/com/atlassian/jira/plugins/dvcs/ondemand/BitbucketAccountsConfigService.java | BBC-234 - bugfixes and refinements.. | <ide><path>ira-dvcs-connector-plugin/src/main/java/com/atlassian/jira/plugins/dvcs/ondemand/BitbucketAccountsConfigService.java
<ide> Organization newOrganization = null;
<ide>
<ide> if (userAddedAccount == null) {
<add>
<ide> // create brand new
<add> log.info("Creating new inte... | |
Java | mit | 777a92de2f1acade6b56632e11c96a23d9b7e902 | 0 | javache/react-native,facebook/react-native,facebook/react-native,javache/react-native,javache/react-native,javache/react-native,janicduplessis/react-native,facebook/react-native,facebook/react-native,janicduplessis/react-native,facebook/react-native,javache/react-native,janicduplessis/react-native,janicduplessis/react-... | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.uimanager;
import android.content.Context;
import android.view.View;
import androidx.annotation.NonNu... | ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManager.java | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.uimanager;
import android.content.Context;
import android.view.View;
import androidx.annotation.NonNu... | Work around some Views not using ThemedReactContext
Summary:
ThemedReactContext should be what is stored as the context on all RN views, but some legacy components use other things like an Activity.
Changelog: [Internal]
Reviewed By: cortinico
Differential Revision: D37356865
fbshipit-source-id: bc914cd06a88460375... | ReactAndroid/src/main/java/com/facebook/react/uimanager/ViewManager.java | Work around some Views not using ThemedReactContext | <ide><path>eactAndroid/src/main/java/com/facebook/react/uimanager/ViewManager.java
<ide> import android.view.View;
<ide> import androidx.annotation.NonNull;
<ide> import androidx.annotation.Nullable;
<add>import com.facebook.common.logging.FLog;
<ide> import com.facebook.react.bridge.BaseJavaModule;
<ide> import com.fa... | |
Java | apache-2.0 | b4f1e913465b3b150b56be3ef13377a397711aaf | 0 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE | package uk.ac.ebi.quickgo.ff.loader.ontology;
import uk.ac.ebi.quickgo.ff.files.ontology.ECOSourceFiles;
import uk.ac.ebi.quickgo.ff.files.ontology.GOSourceFiles;
import uk.ac.ebi.quickgo.graphics.service.GraphImageService;
import uk.ac.ebi.quickgo.model.ontology.eco.EvidenceCodeOntology;
import uk.ac.ebi.quickgo.mode... | sources/src/main/java/uk/ac/ebi/quickgo/ff/loader/ontology/OntologyGraphicsSourceLoader.java | package uk.ac.ebi.quickgo.ff.loader.ontology;
import uk.ac.ebi.quickgo.ff.files.ontology.ECOSourceFiles;
import uk.ac.ebi.quickgo.ff.files.ontology.GOSourceFiles;
import uk.ac.ebi.quickgo.graphics.service.GraphImageService;
import uk.ac.ebi.quickgo.model.ontology.eco.EvidenceCodeOntology;
import uk.ac.ebi.quickgo.mode... | Test commit
| sources/src/main/java/uk/ac/ebi/quickgo/ff/loader/ontology/OntologyGraphicsSourceLoader.java | Test commit | <ide><path>ources/src/main/java/uk/ac/ebi/quickgo/ff/loader/ontology/OntologyGraphicsSourceLoader.java
<ide> * only for showing graph images via {@link GraphImageService}. Encapsulation
<ide> * of the loading functionality makes it simpler to test at the level of any callers
<ide> * of {@link GraphImageService}.
<de... | |
Java | agpl-3.0 | ee4f467516eb15dafc3e7652560471a4fdfb89ec | 0 | mnip91/programming-multiactivities,acontes/scheduling,fviale/programming,acontes/programming,lpellegr/programming,acontes/programming,acontes/scheduling,paraita/programming,ow2-proactive/programming,lpellegr/programming,mnip91/proactive-component-monitoring,mnip91/proactive-component-monitoring,ow2-proactive/programmin... | package org.objectweb.proactive;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Map;
import java.util.StringTokenizer;
import javax.xml.XMLConstants;
import javax.xml.namespace.NamespaceContext;
import javax.xml... | src/Core/org/objectweb/proactive/JaxpDescriptorParser.java | package org.objectweb.proactive;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Map;
import java.util.StringTokenizer;
import javax.xml.XMLConstants;
import javax.xml.namespace.NamespaceContext;
import javax.xml... | Fixed bugs in process handling and DependendProcessSequenceExtractor
git-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@5033 28e8926c-6b08-0410-baaa-805c5e19b8d6
| src/Core/org/objectweb/proactive/JaxpDescriptorParser.java | Fixed bugs in process handling and DependendProcessSequenceExtractor | <ide><path>rc/Core/org/objectweb/proactive/JaxpDescriptorParser.java
<ide>
<ide>
<ide> public class JaxpDescriptorParser implements ProActiveDescriptorConstants {
<add> public static final String JINI_DEFAULT_PORT = "1099";
<add>
<ide> // variables
<ide> public static final String VARIABLES_DESCRIPTOR = "/... | |
Java | apache-2.0 | 793dda9581679e5070162e83ba18807c022dc585 | 0 | crosswalk-project/cordova-plugin-crosswalk-webview,Telerik-Verified-Plugins/Crosswalk,infil00p/cordova-crosswalk-engine,Telerik-Verified-Plugins/Crosswalk,infil00p/cordova-crosswalk-engine,crosswalk-project/cordova-plugin-crosswalk-webview | /*
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... | platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.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... | Send the message of xwalk's ready to plugin
Customer can listen the callback of onMessage in CordovaPlugin, also can
add plugin service to receive the message in CordovaActivity.
| platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java | Send the message of xwalk's ready to plugin | <ide><path>latforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java
<ide> exposeJsInterface(webView, bridge);
<ide>
<ide> loadUrl(startUrl, true);
<add> // Send the massage of xwalk's ready to plugin.
<add> if (pluginManager != null) {
<add> ... | |
Java | apache-2.0 | e333008da2a4843550e0fdbcd92e860abda5e47b | 0 | Aeronica/mxTune | /**
* Aeronica's mxTune MOD
* Copyright {2016} Paul Boese aka Aeronica
*
* 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 ... | src/main/java/net/aeronica/mods/mxtune/options/MusicOptionsUtil.java | /**
* Aeronica's mxTune MOD
* Copyright {2016} Paul Boese aka Aeronica
*
* 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 ... | MusicOptionsUtil; Clean up per sonarqube recommendations. Use EnumFacing.UP in place of null in all getCapability method calls to quell the bug flags the sonarqube keeps reporting. Using EnumFacing.UP will have not effect on the MUSIC_OPTIONS capability since it does not check for side.
| src/main/java/net/aeronica/mods/mxtune/options/MusicOptionsUtil.java | MusicOptionsUtil; Clean up per sonarqube recommendations. Use EnumFacing.UP in place of null in all getCapability method calls to quell the bug flags the sonarqube keeps reporting. Using EnumFacing.UP will have not effect on the MUSIC_OPTIONS capability since it does not check for side. | <ide><path>rc/main/java/net/aeronica/mods/mxtune/options/MusicOptionsUtil.java
<ide> package net.aeronica.mods.mxtune.options;
<ide>
<ide> import java.util.List;
<del>import java.util.UUID;
<ide>
<del>import com.mojang.authlib.GameProfile;
<del>
<del>import net.aeronica.mods.mxtune.util.ModLogger;
<ide> import net.mi... | |
Java | apache-2.0 | 1965daf52d397ed8bbc40eaa2a55abbf7a8855d3 | 0 | intellimate/IzouSDK | package org.intellimate.izou.sdk.frameworks.presence.consumer;
import org.intellimate.izou.resource.ResourceMinimalImpl;
import org.intellimate.izou.sdk.frameworks.presence.provider.Presence;
import org.intellimate.izou.sdk.frameworks.presence.resources.PresenceResource;
import org.intellimate.izou.sdk.util.ResourceUs... | src/main/java/org/intellimate/izou/sdk/frameworks/presence/consumer/PresenceResourceUser.java | package org.intellimate.izou.sdk.frameworks.presence.consumer;
import org.intellimate.izou.sdk.frameworks.presence.provider.Presence;
import org.intellimate.izou.sdk.frameworks.presence.resources.PresenceResource;
import org.intellimate.izou.sdk.util.ResourceUser;
import java.util.ArrayList;
import java.util.Optional... | changed PresenceResourceUser to be more usable
| src/main/java/org/intellimate/izou/sdk/frameworks/presence/consumer/PresenceResourceUser.java | changed PresenceResourceUser to be more usable | <ide><path>rc/main/java/org/intellimate/izou/sdk/frameworks/presence/consumer/PresenceResourceUser.java
<ide> package org.intellimate.izou.sdk.frameworks.presence.consumer;
<ide>
<add>import org.intellimate.izou.resource.ResourceMinimalImpl;
<ide> import org.intellimate.izou.sdk.frameworks.presence.provider.Presence;
... | |
Java | apache-2.0 | 622911662b17031617250e025a771ba12ebed631 | 0 | jeo/jeo,ryantxu/jeo,jeo/jeo,jeo/jeo | package org.jeo.geojson;
import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
import java.util.ArrayDeque;
import java.util.Deque;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.jeo.data.Cursor;
import org.jeo.feature.Feature;
import org.jeo.geom.Geo... | format/geojson/src/main/java/org/jeo/geojson/GeoJSONWriter.java | package org.jeo.geojson;
import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
import java.util.ArrayDeque;
import java.util.Deque;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.jeo.data.Cursor;
import org.jeo.feature.Feature;
import org.jeo.geom.Geo... | avoid duplicating geometry property in properties array
| format/geojson/src/main/java/org/jeo/geojson/GeoJSONWriter.java | avoid duplicating geometry property in properties array | <ide><path>ormat/geojson/src/main/java/org/jeo/geojson/GeoJSONWriter.java
<ide> obj.put("geometry", toObject(g));
<ide> }
<ide>
<del> Map<String,Object> map = new LinkedHashMap<String, Object>(f.map());
<del> map.remove("geometry");
<del>
<add> Map<String,Object> map = new Link... | |
Java | bsd-3-clause | 9b7baa463fc92c65fc07de04874d66a549b54e9a | 0 | mugitty/minerva,geneontology/minerva,geneontology/minerva,geneontology/minerva,mugitty/minerva | package org.geneontology.minerva.server.handler;
import static org.geneontology.minerva.server.handler.OperationsTools.*;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.lang.reflect.Type;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
impo... | minerva-server/src/main/java/org/geneontology/minerva/server/handler/JsonOrJsonpSeedHandler.java | package org.geneontology.minerva.server.handler;
import static org.geneontology.minerva.server.handler.OperationsTools.*;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.lang.reflect.Type;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
impo... | response message may not be null
| minerva-server/src/main/java/org/geneontology/minerva/server/handler/JsonOrJsonpSeedHandler.java | response message may not be null | <ide><path>inerva-server/src/main/java/org/geneontology/minerva/server/handler/JsonOrJsonpSeedHandler.java
<ide> // render result
<ide> // create response.data
<ide> response.messageType = SeedResponse.MESSAGE_TYPE_SUCCESS;
<add> response.message = SeedResponse.MESSAGE_TYPE_SUCCESS;
<ide> response.data = ... | |
JavaScript | mit | 9979ea2c0c86e51456a4d0807cd7e9b2401e3d76 | 0 | snailterror/fyd,snailterror/fyd | import {expect} from 'chai';
import jsdom from 'mocha-jsdom';
import Fyd from '../lib/fyd';
function fyd(f){
return new Fyd(f);
}
describe('Class selector', () => {
jsdom({
html : '<p class="doge">Just wow</p><p class="shibe">Holly ...</p><p class="shibe">Am p ! ...</p>'
});
it('Has class do... | test/core_spec.js | import {expect} from 'chai';
import jsdom from 'mocha-jsdom';
import Fyd from '../lib/fyd';
function fyd(f){
return new Fyd(f);
}
describe('Class selector', () => {
jsdom({
html : '<p class="doge">Just wow</p><p class="shibe">Holly ...</p><p class="shibe">Am p ! ...</p>'
});
it('Has class do... | Misc tests
| test/core_spec.js | Misc tests | <ide><path>est/core_spec.js
<ide> describe('Misc', () => {
<ide>
<ide> jsdom({
<del> html : '<p class="doge">Just wow</p>'
<add> html : '<p class="doge">Just wow</p><div class="bonjour">Div 1</div><div class="bonjour">Div 2</div><div class="bonjour">Div 3</div>'
<ide> });
<ide>
<ide> it('Rem... | |
Java | apache-2.0 | ef8817a946505e14fecfb9898441fe2a225be3ca | 0 | signed/intellij-community,fnouama/intellij-community,consulo/consulo,supersven/intellij-community,MichaelNedzelsky/intellij-community,MichaelNedzelsky/intellij-community,SerCeMan/intellij-community,fengbaicanhe/intellij-community,akosyakov/intellij-community,amith01994/intellij-community,ahb0327/intellij-community,reto... | package com.intellij.codeInsight.lookup.impl;
import com.intellij.codeInsight.CodeInsightSettings;
import com.intellij.codeInsight.completion.CompletionPreferencePolicy;
import com.intellij.codeInsight.completion.PrefixMatcher;
import com.intellij.codeInsight.completion.impl.CamelHumpMatcher;
import com.intellij.codeI... | lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java | package com.intellij.codeInsight.lookup.impl;
import com.intellij.codeInsight.CodeInsightSettings;
import com.intellij.codeInsight.completion.CompletionPreferencePolicy;
import com.intellij.codeInsight.completion.PrefixMatcher;
import com.intellij.codeInsight.completion.impl.CamelHumpMatcher;
import com.intellij.codeI... | don't update completion UI from wrong threads
| lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java | don't update completion UI from wrong threads | <ide><path>ang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java
<ide> private final Comparator<LookupElement> myComparator;
<ide> private volatile boolean myCalculating;
<ide> private final JLabel myAdComponent;
<add> private volatile String myAdText;
<add> private volatile int myLookupWidth = 50;
... | |
JavaScript | mit | 2cd90c664b886c30c1828766b61c661786efefb9 | 0 | iabw/nightwatch,feedhenry/nightwatch,Crunch-io/nightwatch,campbellwmorgan/nightwatch,joel-airspring/nightwatch,joel-airspring/nightwatch,miguelangelrr6/originnightwatch,CoderK/nightwatch,munro/nightwatch,sethmcl/nightwatch,beatfactor/nightwatch,AlphaGit/nightwatch,mbixby/nightwatch,gatero/nightwatch,campbellwmorgan/nig... | var util = require('util'),
events = require('events'),
qs = require('querystring'),
http = require('http'),
https = require('https'),
Logger = require('./../util/logger');
module.exports = (function() {
var Settings = {
selenium_host : 'localhost',
selenium_port : 4444,
default_... | lib/http/request.js | var util = require('util'),
events = require('events'),
qs = require('querystring'),
http = require('http'),
https = require('https'),
Logger = require('./../util/logger');
module.exports = (function() {
var Settings = {
selenium_host : 'localhost',
selenium_port : 4444,
default_... | added <no such element> to array of DO_NOT_LOG_ERRORS
| lib/http/request.js | added <no such element> to array of DO_NOT_LOG_ERRORS | <ide><path>ib/http/request.js
<ide> };
<ide>
<ide> var DO_NOT_LOG_ERRORS = [
<del> 'Unable to locate element'
<add> 'Unable to locate element',
<add> 'no such element'
<ide> ];
<ide>
<ide> function HttpRequest(options) { | |
Java | apache-2.0 | 6a796fe09c77c937a79f2eefcececdd1af080fce | 0 | evasiba-ericsson/eiffel-intelligence,AndriyZabavskyy/eiffel-intelligence | package com.ericsson.ei.waitlist;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import org.apache.commons.io.FileUtils;
import org.apache.qpid.server.Broker;
import org.apache.qpid.server.BrokerOptio... | src/test/java/com/ericsson/ei/waitlist/TestWaitListWorker.java | package com.ericsson.ei.waitlist;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import org.apache.commons.io.FileUtils;
import org.apache.qpid.server.Broker;
import org.apache.qpid.server.BrokerOptio... | update to trigger travis CI
| src/test/java/com/ericsson/ei/waitlist/TestWaitListWorker.java | update to trigger travis CI | <ide><path>rc/test/java/com/ericsson/ei/waitlist/TestWaitListWorker.java
<ide> };
<ide> channel.basicConsume(queueName, true, consumer);
<ide> channel.basicPublish(exchange, queueName, null, jsonFileContent.getBytes());
<del> Thread.sleep(1000);
<add> Thread.sle... | |
Java | agpl-3.0 | b1f8bf2cc8933408adef55e6c9d17e0b1e7c4878 | 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 | ca8cea92-2e61-11e5-9284-b827eb9e62be | hello.java | ca8780fc-2e61-11e5-9284-b827eb9e62be | ca8cea92-2e61-11e5-9284-b827eb9e62be | hello.java | ca8cea92-2e61-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>ca8780fc-2e61-11e5-9284-b827eb9e62be
<add>ca8cea92-2e61-11e5-9284-b827eb9e62be | |
Java | apache-2.0 | 8e6cd1242af9981847f09ae8647d9626825c06b6 | 0 | jyx140521/RestExpress,jyx140521/RestExpress,jasonchaffee/RestExpress,layerhq/RestExpress,cailin186/RestExpress,RestExpress/RestExpress,RestExpress/RestExpress,jasonchaffee/RestExpress,layerhq/RestExpress,geronimo-iia/restexpress,cailin186/RestExpress | package com.strategicgains.restexpress.route;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.jboss.netty.handler.codec.http.HttpMethod;
import org.junit.Test;
import com.strategicgains.restexpress.Request;
import com.strategicgains.restexpress.Response;
import com.... | test/java/com/strategicgains/restexpress/route/RouteBuilderTest.java | package com.strategicgains.restexpress.route;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.jboss.netty.handler.codec.http.HttpMethod;
import org.junit.Test;
import com.strategicgains.restexpress.Request;
import com.strategicgains.restexpress.Response;
import com.... | Added shouldGenerateActionMethods() test.
| test/java/com/strategicgains/restexpress/route/RouteBuilderTest.java | Added shouldGenerateActionMethods() test. | <ide><path>est/java/com/strategicgains/restexpress/route/RouteBuilderTest.java
<ide> assertTrue(md1.getMethods().contains("POST"));
<ide> assertTrue(md1.getMethods().contains("DELETE"));
<ide> }
<add>
<ide> @Test
<ide> public void shouldGenerateSpecifiedMethods()
<ide> {
<ide> RestExpress server = new RestExp... | |
Java | bsd-3-clause | 4811d7f378a35d7e9ad1d9e2d68ad3af6bc1513a | 0 | arurke/contiki,arurke/contiki,bluerover/6lbr,bluerover/6lbr,MohamedSeliem/contiki,MohamedSeliem/contiki,arurke/contiki,MohamedSeliem/contiki,arurke/contiki,bluerover/6lbr,arurke/contiki,arurke/contiki,bluerover/6lbr,MohamedSeliem/contiki,arurke/contiki,MohamedSeliem/contiki,bluerover/6lbr,MohamedSeliem/contiki,MohamedS... | /*
* Copyright (c) 2006, Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* n... | tools/cooja/java/se/sics/cooja/interfaces/IPAddress.java | /*
* Copyright (c) 2006, Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* n... | made ip-address-to-string method public
| tools/cooja/java/se/sics/cooja/interfaces/IPAddress.java | made ip-address-to-string method public | <ide><path>ools/cooja/java/se/sics/cooja/interfaces/IPAddress.java
<ide> return ipString;
<ide> }
<ide>
<add> public byte[] getIPv6Address() {
<add> byte[] ip = null;
<add>
<add> /* IpV6: Struct sizes and offsets */
<add> int ipv6NetworkInterfaceAddressOffset = moteMem.getByteValueOf("uip_ds6_netif_addr_l... | |
Java | mit | 1b84f07d185c7f8baf5332e20a9e84c66d9743ab | 0 | abeeku/TutorialVideo | public class DrawFigures1 {
// Add a comment right here
public static void main(String args[]) {
square();
}
public static void square() {
System.out.println(" _________");
System.out.println("|_________|");
System.out.println("|_________|");
System.out.println("|_________|");
System.out.println("|_... | DrawFigures1.java | public class DrawFigures1 {
// Add a comment right here
public static void main(String args[]) {
System.out.println(" _________");
System.out.println("|_________|");
System.out.println("|_________|");
System.out.println("|_________|");
System.out.println("|_________|");
}
} | Added Proc. Decomp.
| DrawFigures1.java | Added Proc. Decomp. | <ide><path>rawFigures1.java
<ide> public class DrawFigures1 {
<ide> // Add a comment right here
<ide> public static void main(String args[]) {
<add> square();
<add>
<add> }
<add>
<add> public static void square() {
<ide> System.out.println(" _________");
<ide> System.out.println("|_________|");
<ide> System.... | |
JavaScript | agpl-3.0 | f3a375505601e614f5a2567a6132107daf7743cd | 0 | frePPLe/frePPLe,frePPLe/frePPLe,frePPLe/frePPLe,frePPLe/frePPLe,frePPLe/frePPLe,frePPLe/frePPLe | // Django sets this variable in the admin/base.html template.
window.__admin_media_prefix__ = "/static/admin/";
//check for browser features
function isDragnDropUploadCapable() {
var adiv = document.createElement('div');
return (('draggable' in adiv) || ('ondragstart' in adiv && 'ondrop' in adiv)) && 'FormData' in... | freppledb/common/static/js/frepple.js | // Django sets this variable in the admin/base.html template.
window.__admin_media_prefix__ = "/static/admin/";
//check for browser features
function isDragnDropUploadCapable() {
var adiv = document.createElement('div');
return (('draggable' in adiv) || ('ondragstart' in adiv && 'ondrop' in adiv)) && 'FormData' in... | exporting miltiple scenarios: limit the list to 6 + always show current scenario as first in the list + 50px wider
| freppledb/common/static/js/frepple.js | exporting miltiple scenarios: limit the list to 6 + always show current scenario as first in the list + 50px wider | <ide><path>reppledb/common/static/js/frepple.js
<ide> $.jgrid.hideModal("#searchmodfbox_grid");
<ide>
<ide> // Prepare upfront the html for the scenarios to export
<add> // We limit the list of scenarios to 6
<ide> if (scenario_permissions.length > 0) {
<ide> var cb = "";
<del> for (var i = 0 ;... | |
Java | mit | 42a4cc690b83b343c08ca59a676a993d2ba43764 | 0 | papplampe/exquisitecode,papplampe/exquisitecode,henkman/exquisitecode,henkman/exquisitecode | package abnormale.knochen.exquisitecode.web;
import abnormale.knochen.exquisitecode.game.Game;
import abnormale.knochen.exquisitecode.game.Player;
import abnormale.knochen.exquisitecode.game.Task;
import abnormale.knochen.exquisitecode.interp.Interpreter;
import abnormale.knochen.exquisitecode.interp.InterpreterExcept... | src/main/java/abnormale/knochen/exquisitecode/web/Exquisite.java | package abnormale.knochen.exquisitecode.web;
import abnormale.knochen.exquisitecode.game.Game;
import abnormale.knochen.exquisitecode.game.Player;
import abnormale.knochen.exquisitecode.game.Task;
import abnormale.knochen.exquisitecode.interp.Interpreter;
import abnormale.knochen.exquisitecode.interp.InterpreterExcept... | todo: evaluate pebble
| src/main/java/abnormale/knochen/exquisitecode/web/Exquisite.java | todo: evaluate pebble | <ide><path>rc/main/java/abnormale/knochen/exquisitecode/web/Exquisite.java
<ide> tokenRegister = new TokenRegister(SESSION_SECONDS_FRESH);
<ide> tokenRegister.start();
<ide>
<del> // TODO: add html escaping tool
<add> // TODO: add html escaping tool or maybe use a different engine hat has... | |
JavaScript | bsd-3-clause | 77b40de29a41cb252da4ed8723e4ad80f0374f13 | 0 | HvyIndustries/php-parser,glayzzle/php-parser,HvyIndustries/php-parser,glayzzle/php-parser | /**
* Copyright (C) 2014 Glayzzle (BSD3 License)
* @authors https://github.com/glayzzle/php-parser/graphs/contributors
* @url http://glayzzle.com
*/
module.exports = function(api, tokens, EOF) {
return {
/**
* reading a list of top statements (helper for top_statement*)
* <ebnf>
* top_statemen... | src/parser/statement.js | /**
* Copyright (C) 2014 Glayzzle (BSD3 License)
* @authors https://github.com/glayzzle/php-parser/graphs/contributors
* @url http://glayzzle.com
*/
module.exports = function(api, tokens, EOF) {
return {
/**
* reading a list of top statements (helper for top_statement*)
* <ebnf>
* top_statemen... | fix static usage (into classes)
| src/parser/statement.js | fix static usage (into classes) | <ide><path>rc/parser/statement.js
<ide> return ['global', items];
<ide>
<ide> case tokens.T_STATIC:
<del> var items = this.next().read_list(function() {
<add> if (this.next().token === tokens.T_DOUBLE_COLON) {
<add> // static keyword for a class
<add> this.lex... | |
Java | mit | 031c831e51d3ec84e0fbc55a1375808b96e448f8 | 0 | 8-Bit-Warframe/Lost-Sector | package com.ezardlabs.lostsector.camera;
import com.ezardlabs.dethsquare.Screen;
import com.ezardlabs.dethsquare.Script;
import com.ezardlabs.dethsquare.Transform;
import com.ezardlabs.dethsquare.Vector2;
import com.ezardlabs.dethsquare.debug.Debug;
import java.util.ArrayList;
public class SmartCamera extends Script... | src/main/java/com/ezardlabs/lostsector/camera/SmartCamera.java | package com.ezardlabs.lostsector.camera;
import com.ezardlabs.dethsquare.Screen;
import com.ezardlabs.dethsquare.Script;
import com.ezardlabs.dethsquare.Transform;
import com.ezardlabs.dethsquare.Vector2;
import com.ezardlabs.dethsquare.debug.Debug;
import java.util.ArrayList;
public class SmartCamera extends Script... | Clean up constructors
| src/main/java/com/ezardlabs/lostsector/camera/SmartCamera.java | Clean up constructors | <ide><path>rc/main/java/com/ezardlabs/lostsector/camera/SmartCamera.java
<ide> private float quakeStrength = 0;
<ide>
<ide> public SmartCamera(Transform followTarget, float maxLookahead) {
<del> this.followTarget = followTarget;
<del> this.maxLookahead = maxLookahead;
<add> this(followTarget, maxLookahead, new Ve... | |
JavaScript | mit | 0691bc4409473ed6ffcbea211945389594ca2449 | 0 | tbchen/microbit-meets-alexa,tbchen/microbit-meets-alexa | 'use strict';
// --------------- Helpers that build all of the responses -----------------------
var AWS = require('aws-sdk');
AWS.config.region = 'us-west-2';
var http = require('http');
function buildSpeechletResponse(title, output, repromptText, shouldEndSession) {
return {
outputSpeech: {
... | lambda/lambda.js | 'use strict';
// --------------- Helpers that build all of the responses -----------------------
var AWS = require('aws-sdk');
AWS.config.region = 'us-west-2';
var http = require('http');
function buildSpeechletResponse(title, output, repromptText, shouldEndSession) {
return {
outputSpeech: {
... | modify something
| lambda/lambda.js | modify something | <ide><path>ambda/lambda.js
<ide> */
<ide> function setControlInSession(intent, session, callback) {
<ide> //get weather from open weather api
<del> var url = "http://api.openweathermap.org/data/2.5/weather?q=London&APPID=74ce281f29e619bfe6327c552eb89dce";
<add> var url = "http://api.openweathermap.org/data/2... | |
Java | agpl-3.0 | b666524909c8a64cf42daf6e17034989468bf53e | 0 | elki-project/elki,elki-project/elki,elki-project/elki | package de.lmu.ifi.dbs.utilities.optionhandling.constraints;
import de.lmu.ifi.dbs.utilities.optionhandling.Parameter;
import de.lmu.ifi.dbs.utilities.optionhandling.ParameterException;
import de.lmu.ifi.dbs.utilities.optionhandling.WrongParameterValueException;
/**
* Global parameter constraint for specifying the d... | src/de/lmu/ifi/dbs/utilities/optionhandling/constraints/DefaultValueGlobalConstraint.java | package de.lmu.ifi.dbs.utilities.optionhandling.constraints;
import de.lmu.ifi.dbs.utilities.optionhandling.Parameter;
import de.lmu.ifi.dbs.utilities.optionhandling.ParameterException;
import de.lmu.ifi.dbs.utilities.optionhandling.WrongParameterValueException;
/**
* Global parameter constraint for specifying the d... | probably only a new line
| src/de/lmu/ifi/dbs/utilities/optionhandling/constraints/DefaultValueGlobalConstraint.java | probably only a new line | <ide><path>rc/de/lmu/ifi/dbs/utilities/optionhandling/constraints/DefaultValueGlobalConstraint.java
<ide> * @author Steffi Wanka
<ide> *
<ide> */
<del>public class DefaultValueGlobalConstraint<T> implements GlobalParameterConstraint {
<add>public class DefaultValueGlobalConstraint<T extends Comparable<T>> implements... | |
Java | epl-1.0 | 7e40a60451fc810849c166eaf25775102599e122 | 0 | codenvy/che-plugins,codenvy/che-plugins,ollie314/che-plugins,ollie314/che-plugins,codenvy/che-plugins,ollie314/che-plugins,ollie314/che-plugins | /*******************************************************************************
* Copyright (c) 2012-2015 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | plugin-java/che-plugin-java-ext-debugger-java-client/src/main/java/org/eclipse/che/ide/ext/java/jdi/client/JavaRuntimeExtension.java | /*******************************************************************************
* Copyright (c) 2012-2015 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | Disable debuger actions becouse not working now
| plugin-java/che-plugin-java-ext-debugger-java-client/src/main/java/org/eclipse/che/ide/ext/java/jdi/client/JavaRuntimeExtension.java | Disable debuger actions becouse not working now | <ide><path>lugin-java/che-plugin-java-ext-debugger-java-client/src/main/java/org/eclipse/che/ide/ext/java/jdi/client/JavaRuntimeExtension.java
<ide> import org.eclipse.che.ide.Constants;
<ide> import org.eclipse.che.ide.api.action.ActionManager;
<ide> import org.eclipse.che.ide.api.action.DefaultActionGroup;
<del>impor... | |
Java | apache-2.0 | e9d6428fea6be5ffb93b3915602cca8745c53694 | 0 | JohnReedLOL/Nineteen_Characters | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package src.io.controller;
import java.net.DatagramPacket;
import java.util.ArrayList;
import java.util.Collections;
import java.util.... | src/src/io/controller/GameController.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package src.io.controller;
import java.net.DatagramPacket;
import java.util.ArrayList;
import java.util.Collections;
import java.util.... | Fixed chatbox attack
| src/src/io/controller/GameController.java | Fixed chatbox attack | <ide><path>rc/src/io/controller/GameController.java
<ide> Key_Commands command = Key_Commands.GET_CONVERSATION_OPTIONS;
<ide> if (foo.contains(HardCodedStrings.attack)) {
<ide> command = Key_Commands.ATTACK;
<del> updateDisplay(sendCommandToMapWithText(command, "")... | |
Java | apache-2.0 | 6433437a3ca291907d3106f0181b63a792957e3c | 0 | ehealthafrica-ci/couchdb-lucene,rnewson/couchdb-lucene,eHealthAfrica/couchdb-lucene,rnewson/couchdb-lucene,eHealthAfrica/couchdb-lucene,rnewson/couchdb-lucene,ehealthafrica-ci/couchdb-lucene,eHealthAfrica/couchdb-lucene,ehealthafrica-ci/couchdb-lucene | package com.github.rnewson.couchdb.lucene;
import java.io.File;
import java.io.InputStream;
import java.util.Properties;
import javax.servlet.http.HttpServlet;
import org.apache.http.HttpVersion;
import org.apache.http.client.HttpClient;
import org.apache.http.conn.ClientConnectionManager;
import org.apache.http.con... | src/main/java/com/github/rnewson/couchdb/lucene/Main.java | package com.github.rnewson.couchdb.lucene;
import java.io.File;
import java.io.InputStream;
import java.util.Properties;
import javax.servlet.http.HttpServlet;
import org.apache.http.HttpVersion;
import org.apache.http.client.HttpClient;
import org.apache.http.conn.ClientConnectionManager;
import org.apache.http.con... | wire up servlets correctly.
| src/main/java/com/github/rnewson/couchdb/lucene/Main.java | wire up servlets correctly. | <ide><path>rc/main/java/com/github/rnewson/couchdb/lucene/Main.java
<ide> final AdminServlet admin = new AdminServlet();
<ide> admin.setLocator(locator);
<ide> admin.setLucene(lucene);
<del> setupContext(contexts, "/admin", info);
<add> setupContext(contexts, "/admin", admin);
<ide... | |
JavaScript | apache-2.0 | fe428cb9c384428dcfaf8b404c9843aca486a4d8 | 0 | xgds/xgds_core,xgds/xgds_core,xgds/xgds_core | //__BEGIN_LICENSE__
//Copyright (c) 2015, United States Government, as represented by the
//Administrator of the National Aeronautics and Space Administration.
//All rights reserved.
//The xGDS platform is licensed under the Apache License, Version 2.0
//(the "License"); you may not use this file except in compliance ... | xgds_core/scripts/tungsten/handle_data_insertion.js | //__BEGIN_LICENSE__
//Copyright (c) 2015, United States Government, as represented by the
//Administrator of the National Aeronautics and Space Administration.
//All rights reserved.
//The xGDS platform is licensed under the Apache License, Version 2.0
//(the "License"); you may not use this file except in compliance ... | try to gather more info about row change keys
| xgds_core/scripts/tungsten/handle_data_insertion.js | try to gather more info about row change keys | <ide><path>gds_core/scripts/tungsten/handle_data_insertion.js
<ide> var tableListUrl = '/xgds_core/rebroadcast/tableNames/'
<ide> var url = '/xgds_core/tungsten/dataInsert/';
<ide> var httpStatusOK = 200;
<add>var colTypeInt = 4;
<add>var colTypeString = 12;
<ide>
<ide> var tableNames = [];
<ide> var getTableNames = f... | |
Java | bsd-3-clause | 01c30e2cf1814c9c9862fda7c42629b9808f1672 | 0 | TheGreenMachine/Zephyr-Java | package com.edinarobotics.zephyr.autonomous;
import com.edinarobotics.utils.autonomous.*;
import com.edinarobotics.zephyr.Zephyr;
/**
*
*/
public class AutonomousStepFactory {
private Zephyr robot;
public AutonomousStepFactory(Zephyr robot){
this.robot = robot;
}
public AutonomousS... | src/com/edinarobotics/zephyr/autonomous/AutonomousStepFactory.java | package com.edinarobotics.zephyr.autonomous;
import com.edinarobotics.utils.autonomous.*;
import com.edinarobotics.zephyr.Zephyr;
/**
*
*/
public class AutonomousStepFactory {
private Zephyr robot;
public AutonomousStepFactory(Zephyr robot){
this.robot = robot;
}
public AutonomousS... | Change delay values in AutonomousStepFactory.getShooterFireStep()
| src/com/edinarobotics/zephyr/autonomous/AutonomousStepFactory.java | Change delay values in AutonomousStepFactory.getShooterFireStep() | <ide><path>rc/com/edinarobotics/zephyr/autonomous/AutonomousStepFactory.java
<ide> }
<ide>
<ide> public AutonomousStep getShooterFireStep(double shooterSpeed, int numShots){
<del> final double SHOOTER_WARMUP_DELAY = 2;
<del> final double PISTON_SET_DELAY = 0.5;
<del> final double BALL_... | |
JavaScript | mit | ae24c1120f3eec1c3f79bc737a5ca1114da2886c | 0 | regosen/Gapless-5 | //////////////
//
// Gapless 5: Gapless JavaScript/CSS audio player for HTML5
// (requires jQuery 1.x or greater)
//
// Version 0.5
// Copyright 2014 Rego Sen
//
//////////////
// PROBLEM: We have 2 API's for playing audio through the web, and both of them have problems:
// - HTML5 Audio: the last chunk of au... | gapless5.js | //////////////
//
// Gapless 5: Gapless JavaScript/CSS audio player for HTML5
// (requires jQuery 1.x or greater)
//
// Version 0.5
// Copyright 2014 Rego Sen
//
//////////////
// PROBLEM: We have 2 API's for playing audio through the web, and both of them have problems:
// - HTML5 Audio: the last chunk of au... | call lastIndex() without arguments and get expected behavior
| gapless5.js | call lastIndex() without arguments and get expected behavior | <ide><path>apless5.js
<ide> // After a shuffle or unshuffle, the array has changed. Get the index
<ide> // for the current-displayed song in the previous array.
<ide> this.lastIndex = function(index, oldList) {
<del> compare = that.current[index];
<del> for (var n = 0; n < oldList.length ; n++ )
<del> if ( oldLi... | |
JavaScript | mit | f940821355c84b7879f7bf0e2d4e58c8fa7f5914 | 0 | PixieEngine/Cornerstone,PixieEngine/Cornerstone | ;
;
/**
Returns a copy of the array without null and undefined values.
@name compact
@methodOf Array#
@type Array
@returns An array that contains only the non-null values.
*/var __slice = Array.prototype.slice;
Array.prototype.compact = function() {
return this.select(function(element) {
return element != null;
... | corelib.js | ;
;
/**
Returns a copy of the array without null and undefined values.
@name compact
@methodOf Array#
@type Array
@returns An array that contains only the non-null values.
*/var __slice = Array.prototype.slice;
Array.prototype.compact = function() {
return this.select(function(element) {
return element != null;
... | Modified in browser at pixie.strd6.com
| corelib.js | Modified in browser at pixie.strd6.com | <ide><path>orelib.js
<ide> }
<ide> };
<ide> })();;
<del>(function() {
<del> /**
<del> @name Local
<del> @namespace
<del> */
<del> /**
<del> Store an object in local storage.
<del>
<del> @name set
<del> @methodOf Local
<del>
<del> @param {String} key
<del> @param {Object} value
<del> @type Object
<d... | |
JavaScript | mit | b280beafac3481887faa847a8f072d8dd17f1be9 | 0 | qmcree/color_code,qmcree/color_code,qmcree/color_code,qmcree/color_code | var colorcode = {
chart: {
DATA_SELECTOR: '#results-data',
CHART_SELECTOR: '#results-chart',
NAME_SELECTOR: '#results-name',
/**
* Loads Google visualization API.
*/
load: function() {
setTimeout(function() {
google.load('visuali... | public/packages/color_code/js/color_code.js | var colorcode = {
chart: {
DATA_SELECTOR: '#results-data',
CHART_SELECTOR: '#results-chart',
NAME_SELECTOR: '#results-name',
/**
* Loads Google visualization API.
*/
load: function() {
setTimeout(function() {
google.load('visuali... | slice color.
| public/packages/color_code/js/color_code.js | slice color. | <ide><path>ublic/packages/color_code/js/color_code.js
<ide> chart = new google.visualization.PieChart(jQuery(self.CHART_SELECTOR).get()[0]);
<ide>
<ide> chart.draw(dataTable, {
<del> title: 'Detailed results for ' + jQuery(self.NAME_SELECTOR).html()
<add> title... | |
Java | apache-2.0 | 5e55f506b4aa1a6c1f3b911ad861eabe08ed8f0d | 0 | GeorgiVoronov/java_test | package com.gosch.addressbook.appmanager;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.remote.BrowserType;
import java.util.concurrent.TimeUnit;
... | addressbook-web-tests/src/test/java/com/gosch/addressbook/appmanager/ApplicationManager.java | package com.gosch.addressbook.appmanager;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.remote.BrowserType;
import java.util.concurrent.TimeUnit;
... | WebDriver: Maximize window
| addressbook-web-tests/src/test/java/com/gosch/addressbook/appmanager/ApplicationManager.java | WebDriver: Maximize window | <ide><path>ddressbook-web-tests/src/test/java/com/gosch/addressbook/appmanager/ApplicationManager.java
<ide> } else if (browser.equals(BrowserType.IE)) {
<ide> wd = new InternetExplorerDriver();
<ide> }
<add> //wd.manage().window().maximize();
<ide> wd.manage().timeouts().implicitlyWait(... | |
Java | lgpl-2.1 | fd4edc868626605132bbdf0654f53fb0347ca682 | 0 | sbonoc/opencms-core,serrapos/opencms-core,ggiudetti/opencms-core,victos/opencms-core,sbonoc/opencms-core,gallardo/opencms-core,alkacon/opencms-core,victos/opencms-core,serrapos/opencms-core,sbonoc/opencms-core,mediaworx/opencms-core,gallardo/opencms-core,victos/opencms-core,sbonoc/opencms-core,serrapos/opencms-core,med... | /**
* File : $Source: /alkacon/cvs/opencms/src/com/opencms/defaults/master/Attic/CmsMasterContent.java,v $
* Author : $Author: e.falkenhan $
* Date : $Date: 2001/11/09 07:18:43 $
* Version: $Revision: 1.5 $
* Release: $Name: $
*
* Copyright (c) 2000 Framfab Deutschland ag. All Rights Reserved.
*
* THIS ... | src/com/opencms/defaults/master/CmsMasterContent.java | /**
* File : $Source: /alkacon/cvs/opencms/src/com/opencms/defaults/master/Attic/CmsMasterContent.java,v $
* Author : $Author: a.schouten $
* Date : $Date: 2001/11/06 08:06:36 $
* Version: $Revision: 1.4 $
* Release: $Name: $
*
* Copyright (c) 2000 Framfab Deutschland ag. All Rights Reserved.
*
* THIS S... | Added Methods for channels
| src/com/opencms/defaults/master/CmsMasterContent.java | Added Methods for channels | <ide><path>rc/com/opencms/defaults/master/CmsMasterContent.java
<ide> /**
<ide> * File : $Source: /alkacon/cvs/opencms/src/com/opencms/defaults/master/Attic/CmsMasterContent.java,v $
<del> * Author : $Author: a.schouten $
<del> * Date : $Date: 2001/11/06 08:06:36 $
<del> * Version: $Revision: 1.4 $
<add> * Author ... | |
Java | apache-2.0 | 0bbb5c8ebea48a43120d78952b3d9bde607c6aff | 0 | pveentjer/hazelcast-simulator,hazelcast/hazelcast-simulator,jerrinot/hazelcast-stabilizer,jerrinot/hazelcast-stabilizer,hazelcast/hazelcast-simulator,Donnerbart/hazelcast-simulator,hazelcast/hazelcast-simulator,Donnerbart/hazelcast-simulator,pveentjer/hazelcast-simulator | /*
* Copyright (c) 2008-2016, Hazelcast, 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 ... | simulator/src/main/java/com/hazelcast/simulator/worker/selector/OperationSelectorBuilder.java | /*
* Copyright (c) 2008-2016, Hazelcast, 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 ... | Fixed JavaDoc error in OperationSelectorBuilder.
| simulator/src/main/java/com/hazelcast/simulator/worker/selector/OperationSelectorBuilder.java | Fixed JavaDoc error in OperationSelectorBuilder. | <ide><path>imulator/src/main/java/com/hazelcast/simulator/worker/selector/OperationSelectorBuilder.java
<ide> /**
<ide> * Returns a set of all defined operations.
<ide> *
<del> * @return {@link Set<T>} of all defined operations.
<add> * @return {@link Set} of all defined operations.
<ide> */
... | |
Java | mpl-2.0 | c461a5f8c3ce1fcc4f3b96b8eb78498b5d0701c5 | 0 | tejassaoji/RhinoCoarseTainting,qhanam/rhino,sam/htmlunit-rhino-fork,tuchida/rhino,lv7777/egit_test,sainaen/rhino,AlexTrotsenko/rhino,rasmuserik/rhino,Distrotech/rhino,swannodette/rhino,sam/htmlunit-rhino-fork,Angelfirenze/rhino,jsdoc3/rhino,tntim96/rhino-jscover,sam/htmlunit-rhino-fork,sainaen/rhino,AlexTrotsenko/rhino... | /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. Yo... | src/org/mozilla/javascript/NativeArray.java | /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. Yo... | Implement getAttributes(int index) in NativeArray
Fixes propertyIsEnumerable for dense array elements
| src/org/mozilla/javascript/NativeArray.java | Implement getAttributes(int index) in NativeArray | <ide><path>rc/org/mozilla/javascript/NativeArray.java
<ide> }
<ide>
<ide> @Override
<add> public int getAttributes(int index) {
<add> if (dense != null && index >= 0 && index < length) {
<add> return EMPTY;
<add> }
<add> return super.getAttributes(index);
<add> }
<add>
<ad... | |
JavaScript | mit | 49de372056b1e5af054933af65accd2e548b29b0 | 0 | Roustalski/router | import {RouteRecognizer} from 'aurelia-route-recognizer';
import {Container} from 'aurelia-dependency-injection';
import {History} from 'aurelia-history';
import {NavigationInstruction} from './navigation-instruction';
import {NavModel} from './nav-model';
import {RouterConfiguration} from './router-configuration';
imp... | src/router.js | import {RouteRecognizer} from 'aurelia-route-recognizer';
import {Container} from 'aurelia-dependency-injection';
import {History} from 'aurelia-history';
import {NavigationInstruction} from './navigation-instruction';
import {NavModel} from './nav-model';
import {RouterConfiguration} from './router-configuration';
imp... | Updates the navigation strategy to handle and expect a resolved string or object of viewport names with module ids for each key.
| src/router.js | Updates the navigation strategy to handle and expect a resolved string or object of viewport names with module ids for each key. | <ide><path>rc/router.js
<ide> }
<ide>
<ide> function evaluateNavigationStrategy(instruction: NavigationInstruction, evaluator: Function, context: any): Promise<NavigationInstruction> {
<del> return Promise.resolve(evaluator.call(context, instruction)).then(() => {
<add> return Promise.resolve(evaluator.call(context,... | |
Java | apache-2.0 | 93592a5557a26522cd337116b2cd605ad59182c4 | 0 | erning/myrrix-recommender,erning/myrrix-recommender | /*
* Copyright Myrrix Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | web/src/net/myrrix/web/InitListener.java | /*
* Copyright Myrrix Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | Issue 30 better better log messages
| web/src/net/myrrix/web/InitListener.java | Issue 30 better better log messages | <ide><path>eb/src/net/myrrix/web/InitListener.java
<ide> return ClassUtils.loadInstanceOf(rescorerProviderClassName, RescorerProvider.class);
<ide> }
<ide>
<del> log.info("Class doesn't exist in local classpath, looking to external JAR file");
<add> log.info("Class doesn't exist in local classpath");
<... | |
Java | apache-2.0 | 62610f7ccaee2b6d8e4add199be47b8038e3483d | 0 | rcordovano/autopsy,rcordovano/autopsy,esaunders/autopsy,rcordovano/autopsy,wschaeferB/autopsy,wschaeferB/autopsy,esaunders/autopsy,rcordovano/autopsy,rcordovano/autopsy,wschaeferB/autopsy,rcordovano/autopsy,wschaeferB/autopsy,esaunders/autopsy,esaunders/autopsy,wschaeferB/autopsy,esaunders/autopsy | /*
*
* Autopsy Forensic Browser
*
* Copyright 2019 Basis Technology Corp.
*
* Project Contact/Architect: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licens... | RecentActivity/src/org/sleuthkit/autopsy/recentactivity/ChromeCacheExtractor.java | /*
*
* Autopsy Forensic Browser
*
* Copyright 2019 Basis Technology Corp.
*
* Project Contact/Architect: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licens... | Fixed the Source of Web Cache artifacts.
| RecentActivity/src/org/sleuthkit/autopsy/recentactivity/ChromeCacheExtractor.java | Fixed the Source of Web Cache artifacts. | <ide><path>ecentActivity/src/org/sleuthkit/autopsy/recentactivity/ChromeCacheExtractor.java
<ide>
<ide> List<DerivedFile> derivedFiles = new ArrayList<>();
<ide>
<del> String fileName = cacheEntryAddress.getFilename();
<add> String cacheEntryFileName = cacheEntryAddress.getFile... | |
Java | apache-2.0 | a7eec6290116dce275f7e2b4475e1c85a71f5b11 | 0 | my-popsy/cameraview | /*
* Copyright (C) 2016 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/src/main/api21/com/google/android/cameraview/Camera2.java | /*
* Copyright (C) 2016 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... | Camera2 now will try to reconnect if the camera apperas as disconnected
| library/src/main/api21/com/google/android/cameraview/Camera2.java | Camera2 now will try to reconnect if the camera apperas as disconnected | <ide><path>ibrary/src/main/api21/com/google/android/cameraview/Camera2.java
<ide> mCamera.createCaptureSession(Arrays.asList(surface, mImageReader.getSurface()),
<ide> mSessionCallback, null);
<ide> } catch (CameraAccessException e) {
<del> throw new RuntimeException("... | |
Java | apache-2.0 | c100231a644a20b48aaa8014aa6c41dfa0781ed3 | 0 | dhutchis/accumulo,mikewalch/accumulo,phrocker/accumulo-1,mikewalch/accumulo,lstav/accumulo,adamjshook/accumulo,apache/accumulo,mjwall/accumulo,adamjshook/accumulo,dhutchis/accumulo,phrocker/accumulo-1,lstav/accumulo,ctubbsii/accumulo,milleruntime/accumulo,ctubbsii/accumulo,dhutchis/accumulo,keith-turner/accumulo,keith-... | /*
* 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 ... | test/src/test/java/org/apache/accumulo/test/TableOperationsIT.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 ... | ACCUMULO-3877 Fix the test to acct for compactions over both tablets.
| test/src/test/java/org/apache/accumulo/test/TableOperationsIT.java | ACCUMULO-3877 Fix the test to acct for compactions over both tablets. | <ide><path>est/src/test/java/org/apache/accumulo/test/TableOperationsIT.java
<ide> import org.apache.hadoop.io.Text;
<ide> import org.apache.thrift.TException;
<ide> import org.junit.Assert;
<del>import org.junit.Assume;
<ide> import org.junit.Before;
<ide> import org.junit.Test;
<ide>
<ide> Map<Key,Value> actual ... | |
Java | apache-2.0 | ca9ebd63d1d24d6424e8757491902f2526eee831 | 0 | gbif/registry,gbif/registry | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | registry-integration-tests/src/test/java/org/gbif/registry/ws/it/collections/service/PrimaryCollectionEntityServiceIT.java | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | fixing tests
| registry-integration-tests/src/test/java/org/gbif/registry/ws/it/collections/service/PrimaryCollectionEntityServiceIT.java | fixing tests | <ide><path>egistry-integration-tests/src/test/java/org/gbif/registry/ws/it/collections/service/PrimaryCollectionEntityServiceIT.java
<ide> import java.util.List;
<ide> import java.util.Set;
<ide> import java.util.UUID;
<add>import java.util.concurrent.CompletableFuture;
<ide> import java.util.function.Function;
<ide> i... | |
Java | apache-2.0 | 6d5ee13cb3b9216f5797fd36a8901c1b7b13db64 | 0 | blackducksoftware/hub-jira,blackducksoftware/hub-jira,blackducksoftware/hub-jira | /*******************************************************************************
* Copyright (C) 2016 Black Duck Software, Inc.
* http://www.blackducksoftware.com/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this w... | src/main/java/com/blackducksoftware/integration/jira/task/TicketGenerator.java | /*******************************************************************************
* Copyright (C) 2016 Black Duck Software, Inc.
* http://www.blackducksoftware.com/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this w... | Updating log level of specific messages | src/main/java/com/blackducksoftware/integration/jira/task/TicketGenerator.java | Updating log level of specific messages | <ide><path>rc/main/java/com/blackducksoftware/integration/jira/task/TicketGenerator.java
<ide> // final List<NotificationItem> notifs =
<ide> // notificationService.fetchNotifications(notificationDateRange);
<ide> if ((notifs == null) || (notifs.size() == 0)) {
<del> logger.debug("There are no notifications... | |
Java | bsd-2-clause | 0cdeb0941b863bb7a36cdcbfccdc73a5720778d0 | 0 | kravietz/java-saml-validator | /*
* Copyright Pawel Krawczyk (c) 2013.
* 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 t... | src/test/org/owasp/saml/ValidatorTest.java | /*
* Copyright Pawel Krawczyk (c) 2013.
* 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 t... | remove empty methods
| src/test/org/owasp/saml/ValidatorTest.java | remove empty methods | <ide><path>rc/test/org/owasp/saml/ValidatorTest.java
<ide>
<ide> package test.org.owasp.saml;
<ide>
<del>import org.junit.After;
<del>import org.junit.Before;
<ide> import org.junit.Test;
<ide> import org.owasp.saml.Validator;
<ide> import org.xml.sax.SAXException;
<ide> * @since <pre>Oct 7, 2013</pre>
<ide> */
<id... | |
Java | apache-2.0 | d2329f75ad379898f01e2e9f22c4a5432a9da591 | 0 | ChangerYoung/alluxio,apc999/alluxio,EvilMcJerkface/alluxio,Alluxio/alluxio,ChangerYoung/alluxio,wwjiang007/alluxio,maboelhassan/alluxio,madanadit/alluxio,yuluo-ding/alluxio,EvilMcJerkface/alluxio,PasaLab/tachyon,maboelhassan/alluxio,Alluxio/alluxio,maobaolong/alluxio,wwjiang007/alluxio,uronce-cc/alluxio,ChangerYoung/al... | /*
* 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/collections/DirectedAcyclicGraphTest.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... | auto format
| core/common/src/test/java/alluxio/collections/DirectedAcyclicGraphTest.java | auto format | <ide><path>ore/common/src/test/java/alluxio/collections/DirectedAcyclicGraphTest.java
<ide> Assert.assertEquals(seen.size(), 2);
<ide> }
<ide> }
<add> | |
Java | apache-2.0 | 1911126fadcb198189e1dd1cc4a1ee2b02892056 | 0 | svn2github/hwmail-mirror,svn2github/hwmail-mirror,svn2github/hwmail-mirror,svn2github/hwmail-mirror | /*
* Copyright 2010 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 requi... | hedwig-server/src/main/java/com/hs/mail/smtp/server/SmtpConnectionHandler.java | /*
* Copyright 2010 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 requi... | Prevent from CLOSE_WAIT
git-svn-id: 8dfb7bc8a35ad97041dc8641b33183382b83e7ae@196 aade673b-a3a6-47a5-a793-c3231508b26e
| hedwig-server/src/main/java/com/hs/mail/smtp/server/SmtpConnectionHandler.java | Prevent from CLOSE_WAIT | <ide><path>edwig-server/src/main/java/com/hs/mail/smtp/server/SmtpConnectionHandler.java
<ide>
<ide> while (!trans.isSessionEnded()) {
<ide> String line = trans.readLine();
<del> if (line != null) {
<del> session.debug(line);
<del> StringTokenizer st = new StringTokenizer(line);
<del> if (!st.hasMoreTo... | |
Java | apache-2.0 | 3a4f00d24ebe8e5f58734394046d1356e480009b | 0 | Yannic/closure-compiler,shantanusharma/closure-compiler,tdelmas/closure-compiler,shantanusharma/closure-compiler,nawawi/closure-compiler,ChadKillingsworth/closure-compiler,tdelmas/closure-compiler,monetate/closure-compiler,nawawi/closure-compiler,vobruba-martin/closure-compiler,tdelmas/closure-compiler,ChadKillingswort... | /*
* Copyright 2006 The Closure Compiler 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 applicable... | test/com/google/javascript/jscomp/CollapsePropertiesTest.java | /*
* Copyright 2006 The Closure Compiler 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 applicable... | Test that superclass names are collapsed correctly.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=175901800
| test/com/google/javascript/jscomp/CollapsePropertiesTest.java | Test that superclass names are collapsed correctly. | <ide><path>est/com/google/javascript/jscomp/CollapsePropertiesTest.java
<ide> "use(B.foo);"));
<ide> }
<ide>
<add> public void testEs6ClassExtendsChildClass() {
<add> test(
<add> lines(
<add> "class Thing {}",
<add> "Thing.Builder = class {};",
<add> "class Subthin... | |
Java | mpl-2.0 | e4ed231d487d6eeb7fb559cc548cd24078589361 | 0 | Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV | package org.helioviewer.gl3d.model.image;
import java.awt.Point;
import java.util.ArrayList;
import java.util.List;
import javax.media.opengl.GL;
import org.helioviewer.base.logging.Log;
import org.helioviewer.base.physics.Constants;
import org.helioviewer.gl3d.camera.GL3DCamera;
import org.helioviewer.gl3d.camera.G... | src/jhv-3d/src/org/helioviewer/gl3d/model/image/GL3DImageLayer.java | package org.helioviewer.gl3d.model.image;
import java.awt.Graphics;
import java.awt.Point;
import java.util.ArrayList;
import java.util.List;
import javax.media.opengl.GL;
import org.helioviewer.base.logging.Log;
import org.helioviewer.base.physics.Constants;
import org.helioviewer.gl3d.camera.GL3DCamera;
import org... | Huge optimisation: what is this for anyway?
git-svn-id: 4e353c0944fe8da334633afc35765ef362dec675@1257 b4e469a2-07ce-4b26-9273-4d7d95a670c7
| src/jhv-3d/src/org/helioviewer/gl3d/model/image/GL3DImageLayer.java | Huge optimisation: what is this for anyway? | <ide><path>rc/jhv-3d/src/org/helioviewer/gl3d/model/image/GL3DImageLayer.java
<ide> package org.helioviewer.gl3d.model.image;
<ide>
<del>import java.awt.Graphics;
<ide> import java.awt.Point;
<ide> import java.util.ArrayList;
<ide> import java.util.List;
<ide> this.accellerationShape.markAsChanged();
<ide>... | |
Java | apache-2.0 | 668728f906e434b7c2641b95efd7e18780ddd04f | 0 | ChetnaChaudhari/tez,apache/tez,navis/tez,dongjiaqiang/tez,Parth-Brahmbhatt/tez,bernhardschaefer/tez,guiling/tez,dongjiaqiang/tez,guiling/tez,sidseth/tez,guiling/tez,dongjiaqiang/tez,bernhardschaefer/tez,amirsojoodi/tez,sidseth/tez,apache/incubator-tez,navis/tez,amirsojoodi/tez,Altiscale/tez,Parth-Brahmbhatt/tez,apache/... | /**
* 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... | tez-engine/src/main/java/org/apache/tez/engine/newruntime/LogicalIOProcessorRuntimeTask.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... | TEZ-442. Handle events generated by I/O initialize and close (part of
TEZ-398). (sseth)
| tez-engine/src/main/java/org/apache/tez/engine/newruntime/LogicalIOProcessorRuntimeTask.java | TEZ-442. Handle events generated by I/O initialize and close (part of TEZ-398). (sseth) | <ide><path>ez-engine/src/main/java/org/apache/tez/engine/newruntime/LogicalIOProcessorRuntimeTask.java
<ide> import org.apache.hadoop.security.token.Token;
<ide> import org.apache.tez.dag.api.ProcessorDescriptor;
<ide> import org.apache.tez.dag.api.TezUncheckedException;
<add>import org.apache.tez.dag.records.TezTaskAt... | |
JavaScript | mit | 5ab9df453c8b04904c0345bd67196d8c6b9148ce | 0 | sanity-io/sanity,sanity-io/sanity,sanity-io/sanity,sanity-io/sanity | const path = require('path')
const crypto = require('crypto')
const {parse: parseUrl, format: formatUrl} = require('url')
const fse = require('fs-extra')
const miss = require('mississippi')
const PQueue = require('p-queue')
const {omit} = require('lodash')
const pkg = require('../package.json')
const requestStream = re... | packages/@sanity/export/src/AssetHandler.js | const path = require('path')
const crypto = require('crypto')
const fse = require('fs-extra')
const miss = require('mississippi')
const PQueue = require('p-queue')
const {omit} = require('lodash')
const pkg = require('../package.json')
const requestStream = require('./requestStream')
const debug = require('./debug')
c... | [export] Verify downloaded assets with checksum (#1291)
| packages/@sanity/export/src/AssetHandler.js | [export] Verify downloaded assets with checksum (#1291) | <ide><path>ackages/@sanity/export/src/AssetHandler.js
<ide> const path = require('path')
<ide> const crypto = require('crypto')
<add>const {parse: parseUrl, format: formatUrl} = require('url')
<ide> const fse = require('fs-extra')
<ide> const miss = require('mississippi')
<ide> const PQueue = require('p-queue')
<ide> ... | |
Java | bsd-3-clause | 13d22699d12b124d222cea16636e54c981f9e49b | 0 | dhis2/dhis2-android-datacapture,dhis2/dhis2-android-datacapture | package org.hisp.dhis.mobile.datacapture.ui.views;
import android.content.Context;
import android.text.InputFilter;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.View;
import android.view.ViewGroup;
import android.view.inputmethod.EditorInfo;
import ... | app/src/main/java/org/hisp/dhis/mobile/datacapture/ui/views/AutoCompleteValueEntryView.java | package org.hisp.dhis.mobile.datacapture.ui.views;
import android.content.Context;
import android.text.InputFilter;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.View;
import android.view.ViewGroup;
import android.view.inputmethod.EditorInfo;
import ... | Implementing AutoCompleteValueEntryView
| app/src/main/java/org/hisp/dhis/mobile/datacapture/ui/views/AutoCompleteValueEntryView.java | Implementing AutoCompleteValueEntryView | <ide><path>pp/src/main/java/org/hisp/dhis/mobile/datacapture/ui/views/AutoCompleteValueEntryView.java
<ide> // init auto complete with drop down button
<ide> mAutoCompleteContainer = initAutoCompleteContainer();
<ide> mAutoComplete = initAutoComplete();
<add>
<ide> mShowDropDown = initDr... | |
Java | apache-2.0 | 355787c3a6251b735f0b46305118a2f45164a86f | 0 | javanna/elasticshell | /*
* Licensed to Luca Cavanna (the "Author") under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Elastic Search licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you may... | src/test/java/org/elasticsearch/shell/MessagesProviderTest.java | /*
* Licensed to Luca Cavanna (the "Author") under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Elastic Search licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you may... | improved test
| src/test/java/org/elasticsearch/shell/MessagesProviderTest.java | improved test | <ide><path>rc/test/java/org/elasticsearch/shell/MessagesProviderTest.java
<ide> private void testAllPublicMethodsHaveHelp(Class<?> clazz) {
<ide> for (Method method : clazz.getMethods()) {
<ide> if (!HELP_METHODS_EXCLUDE.contains(method.getName())) {
<del> String help = MessagesPr... | |
Java | mit | f556bef7f324e2df7c58223d328359cdf0f6149e | 0 | Geforce132/SecurityCraft | package net.geforcemods.securitycraft.network;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;
import net.geforcemods.securitycraft.SCContent;
import net.geforcemods.securitycraft.SecurityCraft;
import net.geforcemods.securitycraft.blocks.DisguisableBlock;
import net.geforcemods.securi... | src/main/java/net/geforcemods/securitycraft/network/ClientProxy.java | package net.geforcemods.securitycraft.network;
import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;
import net.geforcemods.securitycraft.SCContent;
import net.geforcemods.securitycraft.SecurityCraft;
import net.geforcemods.securitycraft.blocks.DisguisableBlock;
import net.geforcemods.securi... | actually use the mod bus
| src/main/java/net/geforcemods/securitycraft/network/ClientProxy.java | actually use the mod bus | <ide><path>rc/main/java/net/geforcemods/securitycraft/network/ClientProxy.java
<ide> import net.minecraftforge.fml.client.registry.ClientRegistry;
<ide> import net.minecraftforge.fml.client.registry.RenderingRegistry;
<ide> import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
<add>import net.minecraftforge.fml.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.