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 | 211e8e5d50b2fbfcec02e5265fe007917e18b746 | 0 | brettwooldridge/HikariCP,polpot78/HikariCP,nitincchauhan/HikariCP,ams2990/HikariCP,udayshnk/HikariCP,brettwooldridge/HikariCP | /*
* Copyright (C) 2013, 2014 Brett Wooldridge
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | src/main/java/com/zaxxer/hikari/HikariConfig.java | /*
* Copyright (C) 2013, 2014 Brett Wooldridge
*
* 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... | special treatment for password
| src/main/java/com/zaxxer/hikari/HikariConfig.java | special treatment for password | <ide><path>rc/main/java/com/zaxxer/hikari/HikariConfig.java
<ide> dsProps.setProperty("password", "<masked>");
<ide> value = dsProps;
<ide> }
<del> value = (prop.contains("password") ? "<masked>" : value);
<del> value = (value instanceof String) ? "\"" + v... | |
Java | lgpl-2.1 | c2df3bb103e826dc7aba57d314ffa01ba07e430c | 0 | hal/core,hal/core,hal/core,hal/core,hal/core | /*
* JBoss, Home of Professional Open Source
* Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @author tags. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This copyrighted material is made avail... | gui/src/main/java/org/jboss/as/console/client/shared/homepage/HomepagePresenter.java | /*
* JBoss, Home of Professional Open Source
* Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @author tags. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This copyrighted material is made avail... | Remove domain link from homepage
| gui/src/main/java/org/jboss/as/console/client/shared/homepage/HomepagePresenter.java | Remove domain link from homepage | <ide><path>ui/src/main/java/org/jboss/as/console/client/shared/homepage/HomepagePresenter.java
<ide> Console.CONSTANTS.section_deployment_intro()));
<ide> infoBoxes.add(new InfoBox(NameTokens.ProfileMgmtPresenter,
<ide> Console.CONSTANTS.common_label_configuration(), ... | |
Java | apache-2.0 | d75d5320e5829ca4d0f7f7c5a4b3cfe608f180ac | 0 | fitermay/intellij-community,jagguli/intellij-community,FHannes/intellij-community,michaelgallacher/intellij-community,ivan-fedorov/intellij-community,diorcety/intellij-community,hurricup/intellij-community,muntasirsyed/intellij-community,jagguli/intellij-community,signed/intellij-community,akosyakov/intellij-community,... | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/lang-impl/src/com/intellij/formatting/FormatterImpl.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... | IDEA-54671 Alignment of Call Arguments does not work.
Adopted to AlignmentImpl constructor signature change
| platform/lang-impl/src/com/intellij/formatting/FormatterImpl.java | IDEA-54671 Alignment of Call Arguments does not work. | <ide><path>latform/lang-impl/src/com/intellij/formatting/FormatterImpl.java
<ide> }
<ide>
<ide> public Alignment createAlignment() {
<del> return new AlignmentImpl(AlignmentImpl.Type.NORMAL);
<add> return new AlignmentImpl();
<ide> }
<ide>
<ide> public Alignment createChildAlignment(final Alignment base... | |
Java | apache-2.0 | 134919615cce88c5b906867631972f257d0c32b5 | 0 | ecsec/open-ecard,ecsec/open-ecard,ecsec/open-ecard | /****************************************************************************
* Copyright (C) 2012-2018 ecsec GmbH.
* All rights reserved.
* Contact: ecsec GmbH (info@ecsec.de)
*
* This file is part of the Open eCard App.
*
* GNU General Public License Usage
* This file may be used under the terms of the GNU Ge... | clients/richclient/src/main/java/org/openecard/richclient/RichClient.java | /****************************************************************************
* Copyright (C) 2012-2018 ecsec GmbH.
* All rights reserved.
* Contact: ecsec GmbH (info@ecsec.de)
*
* This file is part of the Open eCard App.
*
* GNU General Public License Usage
* This file may be used under the terms of the GNU Ge... | Print status code of dispatcher registration failures
| clients/richclient/src/main/java/org/openecard/richclient/RichClient.java | Print status code of dispatcher registration failures | <ide><path>lients/richclient/src/main/java/org/openecard/richclient/RichClient.java
<ide> HttpResponse response = exec.execute(req, con, httpCtx);
<ide> HttpUtils.dumpHttpResponse(LOG, response, null);
<ide>
<del> if (response.getStatusLine().getStatusCode() == 204) {
<add> int statusCode = respo... | |
Java | apache-2.0 | 34a7f2529c828ca2149cd150b82020ba93416c96 | 0 | alphafoobar/intellij-community,tmpgit/intellij-community,vvv1559/intellij-community,supersven/intellij-community,xfournet/intellij-community,kool79/intellij-community,idea4bsd/idea4bsd,adedayo/intellij-community,fengbaicanhe/intellij-community,asedunov/intellij-community,lucafavatella/intellij-community,vvv1559/intelli... | /*
* Copyright 2000-2010 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... | plugins/android/src/org/jetbrains/android/dom/converters/PackageClassConverter.java | /*
* Copyright 2000-2010 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... | caching
| plugins/android/src/org/jetbrains/android/dom/converters/PackageClassConverter.java | caching | <ide><path>lugins/android/src/org/jetbrains/android/dom/converters/PackageClassConverter.java
<ide> import com.intellij.openapi.util.Comparing;
<ide> import com.intellij.openapi.util.TextRange;
<ide> import com.intellij.psi.*;
<add>import com.intellij.psi.impl.PsiManagerImpl;
<add>import com.intellij.psi.impl.source.re... | |
JavaScript | bsd-3-clause | 33db16f4e9c1a29c16bf5e8663d65c8f347eeb95 | 0 | Patternslib/Patterns-archive,Patternslib/Patterns-archive,Patternslib/Patterns-archive | define([
"jquery",
"pat-parser",
"pat-registry",
"pat-utils",
"pat-inject"
], function($, Parser, registry, utils, inject) {
var parser = new Parser("modal");
parser.add_argument("class");
var modal = {
name: "modal",
jquery_plugin: true,
// div's are turned int... | src/pat/modal.js | define([
"jquery",
"pat-parser",
"pat-registry",
"pat-utils",
"pat-inject"
], function($, Parser, registry, utils, inject) {
var parser = new Parser("modal");
parser.add_argument("class");
var modal = {
name: "modal",
jquery_plugin: true,
// div's are turned int... | Proxy callbacks to setPosition so that it has correct context.
This is related to the previous modal bugfix.
| src/pat/modal.js | Proxy callbacks to setPosition so that it has correct context. | <ide><path>rc/pat/modal.js
<ide> }
<ide> };
<ide>
<del> $(window).on("resize.pat-modal-position", modal.setPosition);
<add> $(window).on("resize.pat-modal-position", $.proxy(modal.setPosition, modal));
<ide> $(window).on("pat-inject-content-loaded.pat-modal-position", "#pat-modal",
<del> m... | |
Java | apache-2.0 | 8d840810d1ea516cc9150cb8825b0a79568f03cb | 0 | awslabs/aws-dynamodb-encryption-java | /*
* Copyright 2015 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | src/test/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/providers/store/MetaStoreTests.java | /*
* Copyright 2015 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | Fix expected exception on @Test
Fixes an expected exception test for testng.
| src/test/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/providers/store/MetaStoreTests.java | Fix expected exception on @Test | <ide><path>rc/test/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/providers/store/MetaStoreTests.java
<ide> store.getProvider(MATERIAL_NAME, 1000);
<ide> }
<ide>
<del> @Test(expected = IllegalArgumentException.class)
<add> @Test(expectedExceptions = IllegalArgumentException.class)
<id... | |
JavaScript | apache-2.0 | 06ed415699c41763d0c36043369cd4f1cb00fd7f | 0 | mendix/HTMLSnippet,mendix/HTMLSnippet,mendix/HTMLSnippet | /*jslint -W061:false*/
define([
"dojo/_base/declare",
"mxui/widget/_WidgetBase",
"dojo/dom-style",
"dojo/dom-attr",
"dojo/dom-construct",
"dojo/_base/lang",
"dojo/html",
"dijit/layout/LinkPane"
], function (
declare,
_WidgetBase,
domStyle,
domAttr,
domConstruct,
l... | src/HTMLSnippet/widget/HTMLSnippet.js | /*jslint -W061:false*/
define([
"dojo/_base/declare",
"mxui/widget/_WidgetBase",
"dojo/dom-style",
"dojo/dom-attr",
"dojo/dom-construct",
"dojo/_base/lang",
"dojo/html",
"dijit/layout/LinkPane"
], function (declare, _WidgetBase, domStyle, domAttr, domConstruct, lang, html, LinkPane) {
... | wrap Jquery code in its own context
| src/HTMLSnippet/widget/HTMLSnippet.js | wrap Jquery code in its own context | <ide><path>rc/HTMLSnippet/widget/HTMLSnippet.js
<ide> "dojo/_base/lang",
<ide> "dojo/html",
<ide> "dijit/layout/LinkPane"
<del>], function (declare, _WidgetBase, domStyle, domAttr, domConstruct, lang, html, LinkPane) {
<add>], function (
<add> declare,
<add> _WidgetBase,
<add> domStyle,
<add> do... | |
Java | epl-1.0 | 5fa794ea7b1c94127c8dc59c70958d0645b1446f | 0 | codenvy/plugin-datasource,codenvy/plugin-datasource | codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/shared/RequestResultDTO.java | /*
* CODENVY CONFIDENTIAL
* __________________
*
* [2013] - [2014] Codenvy, S.A.
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Codenvy S.A. and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Coden... | Remove unused class
| codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/shared/RequestResultDTO.java | Remove unused class | <ide><path>odenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/shared/RequestResultDTO.java
<del>/*
<del> * CODENVY CONFIDENTIAL
<del> * __________________
<del> *
<del> * [2013] - [2014] Codenvy, S.A.
<del> * All Rights Reserved.
<del> *
<del> * NOTICE: All information contained herein is, and rem... | ||
Java | mit | 27a2df59973bcbd2c03b931c136918251edcac01 | 0 | ZoltanDalmadi/JCardGamesFX | package hu.unideb.inf.JCardGamesFX.klondike;
import hu.unideb.inf.JCardGamesFX.model.Card;
import hu.unideb.inf.JCardGamesFX.model.CardPile;
import hu.unideb.inf.JCardGamesFX.view.CardPileView;
import hu.unideb.inf.JCardGamesFX.view.CardTheme;
import hu.unideb.inf.JCardGamesFX.view.CardView;
import hu.unideb.inf.JCard... | src/main/java/hu/unideb/inf/JCardGamesFX/klondike/KlondikeApp.java | package hu.unideb.inf.JCardGamesFX.klondike;
import hu.unideb.inf.JCardGamesFX.model.Card;
import hu.unideb.inf.JCardGamesFX.model.CardPile;
import hu.unideb.inf.JCardGamesFX.view.CardPileView;
import hu.unideb.inf.JCardGamesFX.view.CardTheme;
import hu.unideb.inf.JCardGamesFX.view.CardView;
import hu.unideb.inf.JCard... | Added extra check before flipping the card
| src/main/java/hu/unideb/inf/JCardGamesFX/klondike/KlondikeApp.java | Added extra check before flipping the card | <ide><path>rc/main/java/hu/unideb/inf/JCardGamesFX/klondike/KlondikeApp.java
<ide> if (!actPileView.isEmpty()) {
<ide> CardView toFlip = actPileView.getTopCardView();
<ide> toFlip.setMouseTransparent(false);
<del> toFlip.flip();
<add> ... | |
Java | mit | 72ee8366d92d14e5bfc254bd7cdeb5810688924c | 0 | BeYkeRYkt/LightAPI | /*
* The MIT License (MIT)
*
* Copyright 2021 Vladimir Mikhailov <beykerykt@gmail.com>
*
* 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 limitati... | bukkit-backward-support/src/main/java/ru/beykerykt/lightapi/LightAPI.java | /*
* The MIT License (MIT)
*
* Copyright 2021 Vladimir Mikhailov <beykerykt@gmail.com>
*
* 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 limitati... | LightAPI: bukkit-backward-support: Update deprecated message
Change-Id: I6397c5e869c5c1eaa261376663bf86e7982cf010
| bukkit-backward-support/src/main/java/ru/beykerykt/lightapi/LightAPI.java | LightAPI: bukkit-backward-support: Update deprecated message | <ide><path>ukkit-backward-support/src/main/java/ru/beykerykt/lightapi/LightAPI.java
<ide> @Deprecated
<ide> public class LightAPI extends JavaPlugin {
<ide>
<add> private static final String DEPRECATED_MSG =
<add> "The package \"ru.beykerykt.lightapi\" is outdated! Switch to the new package \"ru.beykeryk... | |
Java | mit | 31f730c8f3ed7e57b5c82a957c9fa5e95b14fceb | 0 | games647/ChangeSkin | package com.github.games647.changeskin.bukkit.tasks;
import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.ProtocolLibrary;
import com.comphenix.protocol.ProtocolManager;
import com.comphenix.protocol.events.PacketContainer;
import com.comphenix.protocol.reflect.FieldAccessException;
import com.comph... | bukkit/src/main/java/com/github/games647/changeskin/bukkit/tasks/SkinUpdater.java | package com.github.games647.changeskin.bukkit.tasks;
import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.ProtocolLibrary;
import com.comphenix.protocol.ProtocolManager;
import com.comphenix.protocol.events.PacketContainer;
import com.comphenix.protocol.reflect.FieldAccessException;
import com.comph... | Fix compatibility with NCP (Fixes #58)
| bukkit/src/main/java/com/github/games647/changeskin/bukkit/tasks/SkinUpdater.java | Fix compatibility with NCP (Fixes #58) | <ide><path>ukkit/src/main/java/com/github/games647/changeskin/bukkit/tasks/SkinUpdater.java
<ide>
<ide> PacketContainer teleport = protocolManager.createPacket(PacketType.Play.Server.POSITION);
<ide> teleport.getModifier().writeDefaults();
<del> teleport.getDoubles().write(0, 0D);
<del> t... | |
Java | apache-2.0 | error: pathspec 'app/src/main/java/org/apache/taverna/mobile/ui/workflowdetail/WorkflowDetailActivity.java' did not match any file(s) known to git
| 4477d1dd420377e9ad1ab1963e63e4c1e0b8fb3d | 1 | apache/incubator-taverna-mobile,sagar15795/incubator-taverna-mobile,ianwdunlop/incubator-taverna-mobile,apache/incubator-taverna-mobile,sagar15795/incubator-taverna-mobile | package org.apache.taverna.mobile.ui.workflowdetail;
import org.apache.taverna.mobile.R;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
public class WorkflowDetailActivity extends AppCompatActivity {
@Override
protected void onCreate(@... | app/src/main/java/org/apache/taverna/mobile/ui/workflowdetail/WorkflowDetailActivity.java | add workflow detail activity
| app/src/main/java/org/apache/taverna/mobile/ui/workflowdetail/WorkflowDetailActivity.java | add workflow detail activity | <ide><path>pp/src/main/java/org/apache/taverna/mobile/ui/workflowdetail/WorkflowDetailActivity.java
<add>package org.apache.taverna.mobile.ui.workflowdetail;
<add>
<add>
<add>import org.apache.taverna.mobile.R;
<add>
<add>import android.os.Bundle;
<add>import android.support.annotation.Nullable;
<add>import android.sup... | |
Java | mpl-2.0 | 4a02bc7ad83c38238f85b0bb813ad7fc1ec3cf9f | 0 | Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV | package org.helioviewer.jhv.plugins.eveplugin.draw;
import java.awt.Component;
import java.awt.Point;
import java.awt.Rectangle;
import java.util.HashSet;
import org.helioviewer.jhv.base.interval.Interval;
import org.helioviewer.jhv.base.time.JHVDate;
import org.helioviewer.jhv.base.time.TimeUtils;
import org.heliovi... | src/plugins/jhv-eveplugin/src/org/helioviewer/jhv/plugins/eveplugin/draw/DrawController.java | package org.helioviewer.jhv.plugins.eveplugin.draw;
import java.awt.Component;
import java.awt.Point;
import java.awt.Rectangle;
import java.util.HashSet;
import org.helioviewer.jhv.base.interval.Interval;
import org.helioviewer.jhv.base.time.JHVDate;
import org.helioviewer.jhv.base.time.TimeUtils;
import org.heliovi... | move function call
git-svn-id: 4e353c0944fe8da334633afc35765ef362dec675@7308 b4e469a2-07ce-4b26-9273-4d7d95a670c7
| src/plugins/jhv-eveplugin/src/org/helioviewer/jhv/plugins/eveplugin/draw/DrawController.java | move function call | <ide><path>rc/plugins/jhv-eveplugin/src/org/helioviewer/jhv/plugins/eveplugin/draw/DrawController.java
<ide> availableAxis.end = availableInterval.end;
<ide> }
<ide>
<del> fireRedrawRequest();
<ide> for (LineDataSelectorElement el : EVEPlugin.ldsm.getAllLineDataSelectorElements()) {
... | |
Java | agpl-3.0 | f4c765379378bc1fcd0ad704707498f126b485b1 | 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 | c65e9ddc-2e5f-11e5-9284-b827eb9e62be | hello.java | c6591e52-2e5f-11e5-9284-b827eb9e62be | c65e9ddc-2e5f-11e5-9284-b827eb9e62be | hello.java | c65e9ddc-2e5f-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>c6591e52-2e5f-11e5-9284-b827eb9e62be
<add>c65e9ddc-2e5f-11e5-9284-b827eb9e62be | |
Java | mit | bbe3b487f81e61a7a836fbf1bd651010852720fc | 0 | mzmine/mzmine3,mzmine/mzmine3 | /*
* Copyright 2006-2018 The MZmine 2 Development Team
*
* This file is part of MZmine 2.
*
* MZmine 2 is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 2 of the
* License, or (at yo... | src/main/java/net/sf/mzmine/parameters/parametertypes/WindowSettingsParameter.java | /*
* Copyright 2006-2018 The MZmine 2 Development Team
*
* This file is part of MZmine 2.
*
* MZmine 2 is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 2 of the
* License, or (at yo... | Comments | src/main/java/net/sf/mzmine/parameters/parametertypes/WindowSettingsParameter.java | Comments | <ide><path>rc/main/java/net/sf/mzmine/parameters/parametertypes/WindowSettingsParameter.java
<ide> frame.setExtendedState(Frame.MAXIMIZED_HORIZ | Frame.MAXIMIZED_VERT);
<ide> }
<ide>
<add> // when still outside of screen
<add> // e.g. changing from 2 screens to one
<ide> if (!isOnScreen(frame)) {
<... | |
Java | bsd-3-clause | a87227196b1159edbf42dd4a52b4e7ca2789964b | 0 | crbb/sulong,PrinzKatharina/sulong,lxp/sulong,PrinzKatharina/sulong,crbb/sulong,crbb/sulong,lxp/sulong,PrinzKatharina/sulong,lxp/sulong,lxp/sulong,crbb/sulong,PrinzKatharina/sulong | /*
* Copyright (c) 2016, Oracle and/or its affiliates.
*
* 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 ... | projects/com.oracle.truffle.llvm.nodes/src/com/oracle/truffle/llvm/nodes/base/LLVMStackFrameNuller.java | /*
* Copyright (c) 2016, Oracle and/or its affiliates.
*
* 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 ... | Make the stack nuller classes final
| projects/com.oracle.truffle.llvm.nodes/src/com/oracle/truffle/llvm/nodes/base/LLVMStackFrameNuller.java | Make the stack nuller classes final | <ide><path>rojects/com.oracle.truffle.llvm.nodes/src/com/oracle/truffle/llvm/nodes/base/LLVMStackFrameNuller.java
<ide>
<ide> abstract void nullify(VirtualFrame frame, FrameSlot slot);
<ide>
<del> public static class LLVMBooleanNuller extends LLVMStackFrameNuller {
<add> public static final class LLVMBoolea... | |
JavaScript | mit | 7b90adbccfedfa82390eaf19f9f8b13a228fa00b | 0 | jakutis/httpinvoke,fuzeman/httpinvoke,jakutis/httpinvoke,fuzeman/httpinvoke | /* global httpinvoke, url, method, options, cb */
/* global nextTick, mixInPromise, pass, progress, reject, resolve, supportedMethods, isArray, isArrayBufferView, isFormData, isByteArray, _undefined */
/* global setTimeout */
/* global crossDomain */// this one is a hack, because when in nodejs this is not really defin... | src/common/closures.js | /* global httpinvoke, url, method, options, cb */
/* global nextTick, mixInPromise, pass, progress, reject, resolve, supportedMethods, isArray, isArrayBufferView, isFormData, isByteArray, _undefined */
/* global setTimeout */
/* global crossDomain */// this one is a hack, because when in nodejs this is not really defin... | remove unused fixPositiveOpt
| src/common/closures.js | remove unused fixPositiveOpt | <ide><path>rc/common/closures.js
<ide> }
<ide> promise[resolve](res);
<ide> });
<del>var fixPositiveOpt = function(opt) {
<del> if(options[opt] === _undefined) {
<del> options[opt] = 0;
<del> } else if(typeof options[opt] === 'number') {
<del> if(options[opt] < 0) {
<del> return f... | |
Java | apache-2.0 | 56f1cc12aef1b37ec35f8889105ee109f2c8c925 | 0 | darranl/directory-shared | /*
* 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")... | ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/CsnComparator.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")... | fixed for the case where CSN is sent encapsulated in StringValue object
git-svn-id: a98780f44e7643575d86f056c30a4189ca15db44@939626 13f79535-47bb-0310-9956-ffa450edef68
| ldap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/CsnComparator.java | fixed for the case where CSN is sent encapsulated in StringValue object | <ide><path>dap/src/main/java/org/apache/directory/shared/ldap/schema/comparators/CsnComparator.java
<ide>
<ide>
<ide> import org.apache.directory.shared.ldap.csn.Csn;
<add>import org.apache.directory.shared.ldap.entry.StringValue;
<ide> import org.apache.directory.shared.ldap.schema.LdapComparator;
<ide> import org.s... | |
Java | mit | 1c7d52b0e39301f07866701eeac3bc0023a71b59 | 0 | jimmikaelkael/BungeePerms,CodeCrafter47/BungeePerms | package net.alpenblock.bungeeperms;
import java.io.File;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import net.alpenblock.bungeeperms.config.YamlConfiguration;
import net.alpenb... | src/main/java/net/alpenblock/bungeeperms/BungeePerms.java | package net.alpenblock.bungeeperms;
import java.io.File;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import net.alpenblock.bungeeperms.config.YamlConfiguration;
import net.alpenb... | also reload command handling variable fromm config | src/main/java/net/alpenblock/bungeeperms/BungeePerms.java | also reload command handling variable fromm config | <ide><path>rc/main/java/net/alpenblock/bungeeperms/BungeePerms.java
<ide> return true;
<ide> }
<ide>
<add> loadConfig();
<ide> pm.loadConfig();
<ide> pm.loadPerms();
<ide> pm.sendPMAll("reloadall"); | |
JavaScript | mit | 3e5a6fd48c775dbde1639b347efe7653825b2f9c | 0 | camshaft/imago | /**
* Module dependencies
*/
var envs = require('envs');
var Transloadit = require('transloadit');
var proxy = require('simple-http-proxy');
function noop() {}
/**
* Initialize default params
*/
var params = [
['width', null, '1-5000', 'Width of the new image, in pixels'],
['height', null, '1-5000', 'Height... | index.js | /**
* Module dependencies
*/
var envs = require('envs');
var Transloadit = require('transloadit');
var proxy = require('simple-http-proxy');
function noop() {}
/**
* Initialize default params
*/
var params = [
['width', null, '1-5000', 'Width of the new image, in pixels'],
['height', null, '1-5000', 'Height... | need to set resize_strategy
| index.js | need to set resize_strategy | <ide><path>ndex.js
<ide> robot: '/image/resize',
<ide> use: 'import',
<ide> crop: req.query.crop,
<add> resize_strategy: "crop"
<ide> };
<ide>
<ide> outPrevStep = 'crop'; | |
Java | apache-2.0 | 9f741344f003258c4d6f27a5f7b7f9c1825d1dcf | 0 | maduhu/head,maduhu/head,maduhu/head,AArhin/head,AArhin/head,maduhu/head,AArhin/head,AArhin/head,maduhu/head,AArhin/head | package org.mifos.ui.core.controller;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang.time.DateFormatUtils;
import org.mifos.application.admin.servicefacade.PersonnelServiceFacade;
import org.mif... | userInterface/src/main/java/org/mifos/ui/core/controller/ViewLoanAccountDetailsController.java | package org.mifos.ui.core.controller;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang.time.DateFormatUtils;
import org.mifos.application.admin.servicefacade.PersonnelServiceFacade;
import org.mif... | MIFOS-5965: Fixed printing receipt
| userInterface/src/main/java/org/mifos/ui/core/controller/ViewLoanAccountDetailsController.java | MIFOS-5965: Fixed printing receipt | <ide><path>serInterface/src/main/java/org/mifos/ui/core/controller/ViewLoanAccountDetailsController.java
<ide>
<ide> @Controller
<ide> public class ViewLoanAccountDetailsController {
<add>
<add> private static final Integer GROUP_LOAN_PARENT = 1;
<ide>
<ide> @Autowired
<ide> private LoanAccountServiceF... | |
JavaScript | agpl-3.0 | 36d582a960676654c5ca005fc2c462b455e8eeb6 | 0 | khilnani/quickedit,khilnani/quickedit,khilnani/quickedit | define([
'jquery', 'underscore', 'views/base', 'globals/eventbus', 'bootbox', 'modules/cloudstore', 'ace', 'codemirror',
'css!libs/codemirror/codemirror-4.8.0.css', 'add2home', 'css!libs/add2home/add2home.css', 'sha256', 'aes'],
function($, _, BaseView, EventBus, bootbox, CloudStore, ace, CodeMirror) {
"use str... | static/views/container.js | define([
'jquery', 'underscore', 'views/base', 'globals/eventbus', 'bootbox', 'modules/cloudstore', 'ace', 'codemirror',
'add2home', 'css!libs/add2home/add2home.css', 'sha256', 'aes'],
function($, _, BaseView, EventBus, bootbox, CloudStore, ace, CodeMirror) {
"use strict";
console.log("ContainerView.");
... | Update container.js | static/views/container.js | Update container.js | <ide><path>tatic/views/container.js
<ide> define([
<ide> 'jquery', 'underscore', 'views/base', 'globals/eventbus', 'bootbox', 'modules/cloudstore', 'ace', 'codemirror',
<del> 'add2home', 'css!libs/add2home/add2home.css', 'sha256', 'aes'],
<add> 'css!libs/codemirror/codemirror-4.8.0.css', 'add2home', 'css!libs/add... | |
Java | apache-2.0 | 8aa8bb97884607065ec2263d03a37e7ba7f1fd41 | 0 | projectbuendia/buendia,danilogit/buendia,fcruz/buendia,felipsimoes/buendia,FabioFiuza/buendia,TeixeiraRafael/buendia,pedromarins/buendia,luisfdeandrade/buendia,llvasconcellos/buendia,jozadaquebatista/buendia,projectbuendia/buendia,felipsimoes/buendia,christianrafael/buendia,projectbuendia/buendia,TeixeiraRafael/buendia... | package org.openmrs.projectbuendia.webservices.rest;
import org.apache.commons.lang3.StringUtils;
import org.openmrs.*;
import org.openmrs.api.*;
import org.openmrs.api.context.Context;
import org.openmrs.module.webservices.rest.SimpleObject;
import org.openmrs.module.webservices.rest.web.RequestContext;
import org.op... | projectbuendia.openmrs/omod/src/main/java/org/openmrs/projectbuendia/webservices/rest/PatientResource.java | package org.openmrs.projectbuendia.webservices.rest;
import org.apache.commons.lang3.StringUtils;
import org.openmrs.*;
import org.openmrs.api.*;
import org.openmrs.api.context.Context;
import org.openmrs.module.webservices.rest.SimpleObject;
import org.openmrs.module.webservices.rest.web.RequestContext;
import org.op... | Fix new status keys.
| projectbuendia.openmrs/omod/src/main/java/org/openmrs/projectbuendia/webservices/rest/PatientResource.java | Fix new status keys. | <ide><path>rojectbuendia.openmrs/omod/src/main/java/org/openmrs/projectbuendia/webservices/rest/PatientResource.java
<ide> {"CONVALESCENT", "convalescing at ebola facility", "c1349bd7-6f13-11e4-b315-040ccecfdba4"},
<ide> {"READY_FOR_DISCHARGE", "ready for discharge from ebola facility", "e45ef19... | |
Java | apache-2.0 | 0094754a55a31ebf96878613659b3a5011435b76 | 0 | wso2/carbon-uuf,this/carbon-uuf,this/carbon-uuf,Shan1024/carbon-uuf,sajithar/carbon-uuf,Shan1024/carbon-uuf,sajithar/carbon-uuf,wso2/carbon-uuf,wso2/carbon-uuf,Shan1024/carbon-uuf,wso2/carbon-uuf,this/carbon-uuf,Shan1024/carbon-uuf,this/carbon-uuf | /*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) 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
*
* ... | components/uuf-core/src/main/java/org/wso2/carbon/uuf/api/Configuration.java | /*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) 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
*
* ... | removed 'getAsString' method from Configuration class
| components/uuf-core/src/main/java/org/wso2/carbon/uuf/api/Configuration.java | removed 'getAsString' method from Configuration class | <ide><path>omponents/uuf-core/src/main/java/org/wso2/carbon/uuf/api/Configuration.java
<ide> }
<ide> }
<ide>
<del> public String getAsString(String key) {
<del> Object value = super.get(key);
<del> if ((value == null) || (value instanceof String)) {
<del> return (String) value;
... | |
Java | apache-2.0 | 215591de030928e2510550a081491aed1afa424d | 0 | b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,IHTSDO/snow-owl,IHTSDO/snow-owl,b2ihealthcare/snow-owl,IHTSDO/snow-owl,IHTSDO/snow-owl | /*
* Copyright 2011-2015 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | snomed/com.b2international.snowowl.snomed.datastore.server/src/com/b2international/snowowl/snomed/datastore/server/request/SnomedRefSetMemberReadRequest.java | /*
* Copyright 2011-2015 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | SO-1710: fixed references to ComponentNotFoundException | snomed/com.b2international.snowowl.snomed.datastore.server/src/com/b2international/snowowl/snomed/datastore/server/request/SnomedRefSetMemberReadRequest.java | SO-1710: fixed references to ComponentNotFoundException | <ide><path>nomed/com.b2international.snowowl.snomed.datastore.server/src/com/b2international/snowowl/snomed/datastore/server/request/SnomedRefSetMemberReadRequest.java
<ide> package com.b2international.snowowl.snomed.datastore.server.request;
<ide>
<ide> import com.b2international.snowowl.core.domain.BranchContext;
<d... | |
JavaScript | bsd-3-clause | ba457dfb6fe516c51b7c77ebbd25ce00f9662778 | 0 | erpframework/joose-js,erpframework/joose-js,rzel/joose-js,erpframework/joose-js,erpframework/joose-js,rzel/joose-js,rzel/joose-js,rzel/joose-js |
/*
Module("my.namespace", function () {
Class("Test", {
})
})
*/
(function (Class) {
Class("Joose.Module", {
has: {
_name: {
is: "rw"
},
_elements: {
is: "rw"
},
_container: {
is: "rw"
}
},
classMethods: {... | lib/Joose/Module.js |
/*
Module("my.namespace", function () {
Class("Test", {
})
})
*/
(function (Class) {
Class("Joose.Module", {
has: {
_name: {
is: "rw"
},
_elements: {
is: "rw"
},
_container: {
is: "rw"
}
},
classMethods: {... | Remove left over debugging statements | lib/Joose/Module.js | Remove left over debugging statements | <ide><path>ib/Joose/Module.js
<ide> var global = me.globalName(thing.meta.className());
<ide>
<ide> if(destination[global] === thing) { // already there
<del> console.log('whats there is the same thing already');
<ide> return... | |
Java | apache-2.0 | 85076b981bbc9b0c380bd5e3a0c3ea4dad27f0e2 | 0 | rei-yu/sleepiness_android | package com.reiyu.sleepin;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.... | ParseStarterProject/src/main/java/com/reiyu/sleepin/MainActivity.java | package com.reiyu.sleepin;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.... | refactor
| ParseStarterProject/src/main/java/com/reiyu/sleepin/MainActivity.java | refactor | <ide><path>arseStarterProject/src/main/java/com/reiyu/sleepin/MainActivity.java
<ide> }
<ide> }
<ide> }
<del>//
<del>// private void getGroupFlower(int n, ArrayList<String> usernameList) {
<del>// switch (n - 1) {
<del>// case 4:
<del>// getFlowerState(4, user... | |
Java | bsd-3-clause | 07fcde3b73b1c728cb067df1ae41c24cf1668950 | 0 | olafmaas/jmonkeyengine,Georgeto/jmonkeyengine,tr0k/jmonkeyengine,zzuegg/jmonkeyengine,olafmaas/jmonkeyengine,atomixnmc/jmonkeyengine,delftsre/jmonkeyengine,davidB/jmonkeyengine,skapi1992/jmonkeyengine,danteinforno/jmonkeyengine,danteinforno/jmonkeyengine,davidB/jmonkeyengine,mbenson/jmonkeyengine,bsmr-java/jmonkeyengin... | /*
* 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 com.jme3.gde.scenecomposer.tools.shortcuts;
import com.jme3.asset.AssetManager;
import com.jme3.gde.core.sceneexplorer.SceneEx... | sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/tools/shortcuts/DeleteShortcut.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 com.jme3.gde.scenecomposer.tools.shortcuts;
import com.jme3.asset.AssetManager;
import com.jme3.gde.core.sceneexplorer.SceneEx... | SDK SceneComposer : the DeleteShortcut cannot be activated if an other shortcut is already active
| sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/tools/shortcuts/DeleteShortcut.java | SDK SceneComposer : the DeleteShortcut cannot be activated if an other shortcut is already active | <ide><path>dk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/tools/shortcuts/DeleteShortcut.java
<ide> @Override
<ide> public boolean isActivableBy(KeyInputEvent kie) {
<ide> if (kie.getKeyCode() == KeyInput.KEY_X && kie.isPressed()) {
<del> if (Lookup.getDefault().lookup(ShortcutManager.c... | |
Java | mit | b8ea65947199fd3ab70383f426697a5eb18bb9c6 | 0 | BitLimit/Tweaks | package com.bitlimit.Tweaks;
import com.sk89q.worldedit.bukkit.BukkitBiomeType;
import org.bukkit.Bukkit;
import org.bukkit.Server;
import org.bukkit.World;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.BukkitScheduler;
import java.util.HashMap;
import java.uti... | src/main/java/com/bitlimit/Tweaks/Tweaks.java | package com.bitlimit.Tweaks;
import com.sk89q.worldedit.bukkit.BukkitBiomeType;
import org.bukkit.Bukkit;
import org.bukkit.Server;
import org.bukkit.World;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.BukkitScheduler;
import java.util.HashMap;
import java.uti... | Remove superfluous debug broadcast.
| src/main/java/com/bitlimit/Tweaks/Tweaks.java | Remove superfluous debug broadcast. | <ide><path>rc/main/java/com/bitlimit/Tweaks/Tweaks.java
<ide> Double ratio = (Double)worldDefinition.get("reduction");
<ide> int counterAmount = (int)(baseDuration * ratio);
<ide> world.setWeatherDuration(weatherDuration + counterAmount);
<del>
<del> ... | |
JavaScript | mit | 47e059205722af1259d5a1c20dcb5fc83d070786 | 0 | andersonmcook/node-cal | "use strict";
const zellers = require('./zellers.js');
let month = {};
month.generateMonth = function (year, month) {
let months = [ , 'January', 'February', 'March', 'April', 'May', 'June',
'July', 'August', 'September', 'October', 'November', 'December'];
const calendarMonth = new Date(year, mont... | lib/month.js | "use strict";
const zellers = require('./zellers.js');
let month = {};
month.generateMonth = function (year, month) {
let months = [ , 'January', 'February', 'March', 'April', 'May', 'June',
'July', 'August', 'September', 'October', 'November', 'December'];
const calendarMonth = new Date(year, mont... | refactored using repeat()
| lib/month.js | refactored using repeat() | <ide><path>ib/month.js
<ide> const displayYear = new Date(year, month).getFullYear();
<ide> const topLine = `${months[calendarMonth]} ${displayYear}`;
<ide> const spaceCount = parseInt((20 - topLine.length) / 2);
<del> let spaces = "";
<del> (function (spaceCount) {
<del> for (let i = 0; i < spaceCount; i++)... | |
Java | agpl-3.0 | 219fb54a5669322a20c0b92ce0cc1304d3a6e110 | 0 | imCodePartnerAB/imcms,imCodePartnerAB/imcms,imCodePartnerAB/imcms | package imcode.server.document.textdocument;
import java.io.IOException;
import java.io.Serializable;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Generation... | server/src/imcode/server/document/textdocument/ImageDomainObject.java | package imcode.server.document.textdocument;
import com.imcode.imcms.api.I18nLanguage;
import com.imcode.imcms.api.ImageId;
import com.imcode.util.ImageSize;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.NullArgumentException;
import org.apache.commons.lang.builder.EqualsBuilder;
import or... | Issue 7153: Removed invalid import
git-svn-id: b7e9aa1d6cd963481915708f70423d437278b157@10693 bd66a97b-2aff-0310-9095-89ca5cabf5a6
| server/src/imcode/server/document/textdocument/ImageDomainObject.java | Issue 7153: Removed invalid import | <ide><path>erver/src/imcode/server/document/textdocument/ImageDomainObject.java
<ide> package imcode.server.document.textdocument;
<del>
<del>import com.imcode.imcms.api.I18nLanguage;
<del>import com.imcode.imcms.api.ImageId;
<del>import com.imcode.util.ImageSize;
<del>import org.apache.commons.lang.StringUtils;
<del>i... | |
JavaScript | mit | d26c196eb41ef2c8abcd3f3cb43ca7ea81fe1aba | 0 | kenfehling/react-router-nested-history,kenfehling/react-router-nested-history,kenfehling/react-router-nested-history | import React from 'react'
import {
Container, WindowGroup, Window, HistoryMatch
} from 'react-router-nested-history'
import WindowMaster1 from '../components/WindowMaster1'
import WindowMaster2 from '../components/WindowMaster2'
import WindowPage from '../components/WindowPage'
import './Windows.css'
const windowNam... | src/containers/Windows.js | import React from 'react'
import {Container, WindowGroup, Window, HistoryMatch} from 'react-router-nested-history'
import WindowMaster1 from '../components/WindowMaster1'
import WindowMaster2 from '../components/WindowMaster2'
import WindowPage from '../components/WindowPage'
import './Windows.css'
const windowName = ... | Upgraded Webpack
| src/containers/Windows.js | Upgraded Webpack | <ide><path>rc/containers/Windows.js
<ide> import React from 'react'
<del>import {Container, WindowGroup, Window, HistoryMatch} from 'react-router-nested-history'
<add>import {
<add> Container, WindowGroup, Window, HistoryMatch
<add>} from 'react-router-nested-history'
<ide> import WindowMaster1 from '../components/Win... | |
Java | apache-2.0 | b5a6c97c7f0417fa688b5093f86445dfc9dc0cb9 | 0 | joewalnes/idea-community,izonder/intellij-community,fengbaicanhe/intellij-community,diorcety/intellij-community,youdonghai/intellij-community,wreckJ/intellij-community,MER-GROUP/intellij-community,ernestp/consulo,fengbaicanhe/intellij-community,fengbaicanhe/intellij-community,tmpgit/intellij-community,apixandru/intelli... | package com.intellij.codeInsight.completion;
import com.intellij.codeInsight.TailType;
import com.intellij.codeInsight.lookup.LookupItem;
import com.intellij.psi.*;
import com.intellij.psi.filters.*;
import com.intellij.psi.filters.classes.*;
import com.intellij.psi.filters.element.ExcludeDeclaredFilter;
import com.in... | source/com/intellij/codeInsight/completion/JavaCompletionData.java | package com.intellij.codeInsight.completion;
import com.intellij.codeInsight.TailType;
import com.intellij.codeInsight.lookup.LookupItem;
import com.intellij.psi.*;
import com.intellij.psi.filters.*;
import com.intellij.psi.filters.classes.*;
import com.intellij.psi.filters.element.ExcludeDeclaredFilter;
import com.in... | completion data now is public
| source/com/intellij/codeInsight/completion/JavaCompletionData.java | completion data now is public | <ide><path>ource/com/intellij/codeInsight/completion/JavaCompletionData.java
<ide> import com.intellij.psi.filters.position.*;
<ide> import com.intellij.psi.filters.types.TypeCodeFragmentIsVoidEnabledFilter;
<ide>
<del>class JavaCompletionData extends CompletionData{
<add>public class JavaCompletionData extends Comple... | |
JavaScript | unlicense | 715181b27f96a7db6b68ff5a0f963c4fd2e06ed9 | 0 | geraldbaeck/NIUsLittleHelper,geraldbaeck/NIUsLittleHelper |
function cleanName(name) {
if (name) {
name = name.replace(/(\r\n|\n|\r)/gm, '').replace('\t', '');
while (name.includes(' ')) {
name = name.replace(' ', ' ').trim();
}
} else {
name = '-';
}
return name;
}
// extrahiert Mitarbeiterdaten aus dem Link
// eg. <a href="javascript:SEmpFNRI... | src/content_scripts/lib/calendar-lib.js |
function cleanName(name) {
if (name) {
name = name.replace(/(\r\n|\n|\r)/gm, '').replace('\t', '');
while (name.includes(' ')) {
name = name.replace(' ', ' ').trim();
}
} else {
name = '-';
}
return name;
}
// extrahiert Mitarbeiterdaten aus dem Link
// eg. <a href="javascript:SEmpFNRI... | more robust uuid routine
| src/content_scripts/lib/calendar-lib.js | more robust uuid routine | <ide><path>rc/content_scripts/lib/calendar-lib.js
<ide>
<ide> // query url for the UID
<ide> function getUID(url) {
<del> var name = 'EmployeeID';
<del> if (url.includes('EmployeeNumberID')) {
<del> name = 'EmployeeNumberID';
<del> }
<del> var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(url);
<del> ... | |
Java | apache-2.0 | 91b5a9b13444863e2481f1c005b47bfea9d378ec | 0 | emre-aydin/hazelcast,mdogan/hazelcast,emre-aydin/hazelcast,mdogan/hazelcast,mdogan/hazelcast,emre-aydin/hazelcast | /*
* Copyright (c) 2008-2020, 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 ... | hazelcast/src/test/java/com/hazelcast/internal/partition/impl/FrozenPartitionTableTest.java | /*
* Copyright (c) 2008-2020, 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 ... | Ensures FrozenPartitionTableTest waits for partitions update
Before sending partition operation, ensure
partition table is updated on all members
| hazelcast/src/test/java/com/hazelcast/internal/partition/impl/FrozenPartitionTableTest.java | Ensures FrozenPartitionTableTest waits for partitions update | <ide><path>azelcast/src/test/java/com/hazelcast/internal/partition/impl/FrozenPartitionTableTest.java
<ide> hz3.shutdown();
<ide> assertClusterSizeEventually(2, hz1, hz2);
<ide>
<del> newHazelcastInstance(initOrCreateConfig(new Config()),
<add> hz3 = newHazelcastInstance(initOrCreateConfi... | |
Java | apache-2.0 | d376c2a5d8dad8b8faea5206d2b739dc6c6a551d | 0 | PKRoma/stephenerialization,PKRoma/stephenerialization | package com.enragedginger.stephenerialization.preprocessing;
import javax.annotation.processing.*;
import javax.lang.model.SourceVersion;
import javax.lang.model.element.*;
import javax.tools.Diagnostic;
import javax.tools.JavaFileObject;
import java.io.IOException;
import java.io.Writer;
import java.util.Set;
import... | src/main/java/com/enragedginger/stephenerialization/preprocessing/StephenerializableAnnotationProcessor.java | package com.enragedginger.stephenerialization.preprocessing;
import javax.annotation.processing.*;
import javax.lang.model.SourceVersion;
import javax.lang.model.element.*;
import javax.tools.Diagnostic;
import javax.tools.JavaFileObject;
import java.io.IOException;
import java.io.Writer;
import java.util.Set;
import... | Tidied up preprocessor looks and logic.
| src/main/java/com/enragedginger/stephenerialization/preprocessing/StephenerializableAnnotationProcessor.java | Tidied up preprocessor looks and logic. | <ide><path>rc/main/java/com/enragedginger/stephenerialization/preprocessing/StephenerializableAnnotationProcessor.java
<ide> import java.util.Set;
<ide>
<ide> import com.enragedginger.stephenerialization.annotations.*;
<add>import jdk.nashorn.internal.codegen.CompilationException;
<ide>
<ide> /**
<ide> * Processes {... | |
Java | apache-2.0 | 8be7c8c4680fd9bf3f40a54d96cfc92253b019a2 | 0 | asedunov/intellij-community,kdwink/intellij-community,alphafoobar/intellij-community,akosyakov/intellij-community,allotria/intellij-community,fengbaicanhe/intellij-community,muntasirsyed/intellij-community,kdwink/intellij-community,samthor/intellij-community,asedunov/intellij-community,allotria/intellij-community,wreck... | package com.jetbrains.python;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.jetbrains.python.psi.LanguageLevel;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.Set;... | python/psi-api/src/com/jetbrains/python/PyNames.java | package com.jetbrains.python;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import com.jetbrains.python.psi.LanguageLevel;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.util.Set;... | fixed PY-10346 __div__ still highlighted as special method in Python3
| python/psi-api/src/com/jetbrains/python/PyNames.java | fixed PY-10346 __div__ still highlighted as special method in Python3 | <ide><path>ython/psi-api/src/com/jetbrains/python/PyNames.java
<ide> .put("__delitem__", _self_key_descr)
<ide> .put("__delslice__", new BuiltinDescription("(self, i, j)"))
<ide> //_BuiltinMethods.put("__dict__", _only_self_descr);
<del> .put("__div__", _self_other_descr)
<ide> .put("__divmod__", _se... | |
JavaScript | mit | f89f660dee4468b7a8fe88041bd3b9f7b72dacfc | 0 | stefankendall/mysteryproject,stefankendall/mysteryproject | Ext.define('CustomApp', {
extend: 'Rally.app.App',
componentCls: 'app',
padding: '20 20 20 20',
items: [
],
padding: '20 20 20 20',
launch: function() {
Ext.create('Rally.data.wsapi.Store', {
model: 'User',
autoLoad: true,
filters: [
... | js/App.js | Ext.define('CustomApp', {
extend: 'Rally.app.App',
componentCls: 'app',
padding: '20 20 20 20',
items: [
],
padding: '20 20 20 20',
launch: function() {
Ext.create('Rally.data.wsapi.Store', {
model: 'User',
autoLoad: true,
filters: [
... | DirectCHildrenCount filter
| js/App.js | DirectCHildrenCount filter | <ide><path>s/App.js
<ide> property: 'Iteration',
<ide> operation: '=',
<ide> value: ''
<add> },
<add> {
<add> property: 'DirectChildrenCount',
<add> operation: '=',... | |
Java | apache-2.0 | 57313333483bcb9d9d07ee298b48769dca4abd86 | 0 | a5anka/carbon-registry,arunasujith/carbon-registry,prasa7/carbon-registry,prasa7/carbon-registry,daneshk/carbon-registry,madawas/carbon-registry,a5anka/carbon-registry,Rajith90/carbon-registry,denuwanthi/carbon-registry,daneshk/carbon-registry,wso2/carbon-registry,laki88/carbon-registry,malakasilva/carbon-registry,same... | /*
* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/utils/CommonUtil.java | /*
* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | Fixed LC read issue
| components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/utils/CommonUtil.java | Fixed LC read issue | <ide><path>omponents/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/utils/CommonUtil.java
<ide> rxtList = MediaTypesUtils.getResultPaths(registry, CommonConstants.RXT_MEDIA_TYPE);
<ide>
<ide> for (String rxtcontent : rxtList) {
<add> R... | |
JavaScript | mit | d6a365739483e4a177096a3f3dada6abc2c62777 | 0 | why2pac/knex-automigrate | const fs = require('fs')
const helper = require('./index/helper')
module.exports = function (opts) {
return new Promise(function (resolve, reject) {
opts = opts || {}
const knex = require('knex')(opts.config)
// TODO: Migration PK (Y,N)
// TODO: Migration Indexes (Y,N)
// TODO: Migration Unique... | lib/automigrate.js | const fs = require('fs')
const helper = require('./index/helper')
module.exports = function (opts) {
return new Promise(function (resolve, reject) {
opts = opts || {}
const knex = require('knex')(opts.config)
// TODO: Migration PK (Y,N)
// TODO: Migration Indexes (Y,N)
// TODO: Migration Unique... | Support initial rows.
| lib/automigrate.js | Support initial rows. | <ide><path>ib/automigrate.js
<ide> })
<ide> }
<ide>
<del> var migrator = async function (tableName, fn, recursive) {
<add> var migrator = async function (tableName, fn, initRows) {
<ide> var exists = await knex.schema.hasTable(tableName)
<ide>
<ide> if (!exists) {
<ide> })
<ide> ... | |
Java | apache-2.0 | f367d16890fe308c074a955844cb1968576c5c20 | 0 | dbeaver/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,serge-rider/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,Sargul/dbeaver,serge-rider/dbeaver | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2015 Serge Rieder (serge@jkiss.org)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 2)
* as published by the Free Software Foundation.
*
* This program is distr... | plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/maven/MavenArtifactVersion.java | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2015 Serge Rieder (serge@jkiss.org)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 2)
* as published by the Free Software Foundation.
*
* This program is distr... | Resolve fix
Former-commit-id: 49c890ac0ea9793d9d02e29f7c47ca75af4607c8 | plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/maven/MavenArtifactVersion.java | Resolve fix | <ide><path>lugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/maven/MavenArtifactVersion.java
<ide> log.warn("Broken dependency reference: " + groupId + ":" + artifactId);
<ide> continue;
<ide> }
<del> String version = evaluateString(XMLUt... | |
Java | epl-1.0 | b17034333da22030b1796106f68ae80db91ee6ec | 0 | markoer/kura,ctron/kura,ymai/kura,darionct/kura,ctron/kura,MMaiero/kura,gavinying/kura,cdealti/kura,nicolatimeus/kura,MMaiero/kura,rohitdubey12/kura,gavinying/kura,ctron/kura,ymai/kura,markoer/kura,ctron/kura,darionct/kura,MMaiero/kura,ctron/kura,amitjoy/kura,amitjoy/kura,rohitdubey12/kura,nicolatimeus/kura,markoer/kur... | /*******************************************************************************
* Copyright (c) 2011, 2016 Eurotech and/or its affiliates and others
*
* 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... | kura/org.eclipse.kura.core/src/main/java/org/eclipse/kura/core/util/QuickSort.java | /*******************************************************************************
* Copyright (c) 2011, 2016 Eurotech and/or its affiliates
*
* 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 distributi... | Clean up and deprecate QuickSort
* Forward all calls to plain Java methods
* Deprecate class and methods, comment
* Prevent subclassing
Signed-off-by: Jens Reimann <d1bf62d29e711fdf0a5795916341a7b53d204e2a@redhat.com> | kura/org.eclipse.kura.core/src/main/java/org/eclipse/kura/core/util/QuickSort.java | Clean up and deprecate QuickSort | <ide><path>ura/org.eclipse.kura.core/src/main/java/org/eclipse/kura/core/util/QuickSort.java
<ide> /*******************************************************************************
<del> * Copyright (c) 2011, 2016 Eurotech and/or its affiliates
<add> * Copyright (c) 2011, 2016 Eurotech and/or its affiliates and others
<... | |
Java | apache-2.0 | 4097c7e0d1be1c383466ca70c5ec61ca86fa7ce6 | 0 | vauvenal5/pieShare,vauvenal5/pieShare | /*
* 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 org.pieShare.pieTools.pieUtilities.service.security;
import javax.crypto.Cipher;
/**
*
* @author Svetoslav
*/
public inter... | pieUtilities/src/main/java/org/pieShare/pieTools/pieUtilities/service/security/IProviderService.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 org.pieShare.pieTools.pieUtilities.service.security;
/**
*
* @author Svetoslav
*/
public interface IProviderService {
Str... | provider returns Cipher now
| pieUtilities/src/main/java/org/pieShare/pieTools/pieUtilities/service/security/IProviderService.java | provider returns Cipher now | <ide><path>ieUtilities/src/main/java/org/pieShare/pieTools/pieUtilities/service/security/IProviderService.java
<ide> * and open the template in the editor.
<ide> */
<ide> package org.pieShare.pieTools.pieUtilities.service.security;
<add>
<add>import javax.crypto.Cipher;
<ide>
<ide> /**
<ide> *
<ide>
<ide> String ... | |
JavaScript | mit | fb5e00686fa051740ba1a77b17d00f0cd9581e0a | 0 | coe-google-apps-support/Mailman,coe-google-apps-support/Mailman,coe-google-apps-support/Mailman | // TODO Performance improvements in here could be very important.
var EmailService = {
startMergeTemplate: function(template) {
try {
MergeTemplateService.validate(template);
EmailService.validate(template.mergeData.data);
}
catch(e) {
log(e);
throw e;
}
log('Starting me... | src/GAS/services/email-service.js | // TODO Performance improvements in here could be very important.
var EmailService = {
startMergeTemplate: function(template) {
try {
MergeTemplateService.validate(template);
EmailService.validate(template.mergeData.data);
}
catch(e) {
log(e);
throw e;
}
log('Starting me... | Added a requirement for emails to have a to field.
| src/GAS/services/email-service.js | Added a requirement for emails to have a to field. | <ide><path>rc/GAS/services/email-service.js
<ide> },
<ide>
<ide> send: function(to, subject, body, cc, bcc) {
<add> if (to === '' || to == null) {
<add> return;
<add> }
<add>
<ide> var htmlEmail = HtmlService.createTemplateFromFile('email-template');
<ide> htmlEmail.id = Utility.getSpreadsheet()... | |
Java | apache-2.0 | ac3506cfed32d8c57472f7cf4a8d92e2e66193e7 | 0 | Valkryst/VTerminal | package com.valkryst.VTerminal.component;
import com.valkryst.VTerminal.Screen;
import com.valkryst.VTerminal.Tile;
import com.valkryst.VTerminal.palette.ColorPalette;
import lombok.NonNull;
import lombok.Setter;
import lombok.ToString;
import java.awt.*;
import java.util.*;
import java.util.List;
import java.util.co... | src/com/valkryst/VTerminal/component/Layer.java | package com.valkryst.VTerminal.component;
import com.valkryst.VTerminal.Screen;
import com.valkryst.VTerminal.Tile;
import com.valkryst.VTerminal.palette.ColorPalette;
import lombok.NonNull;
import lombok.Setter;
import lombok.ToString;
import java.awt.*;
import java.util.*;
import java.util.List;
import java.util.co... | Removes unnecessary code from the removeComponent function.
Replaces debug printout with null check in the removeComponent function, when resetting tiles.
| src/com/valkryst/VTerminal/component/Layer.java | Removes unnecessary code from the removeComponent function. Replaces debug printout with null check in the removeComponent function, when resetting tiles. | <ide><path>rc/com/valkryst/VTerminal/component/Layer.java
<ide> final Queue<Component> subComponents = new ConcurrentLinkedQueue<>();
<ide> subComponents.add(component);
<ide>
<del> while(subComponents.size() > 0) {
<add> while (subComponents.size() > 0) {
<ide> ... | |
Java | apache-2.0 | 5218cf4c16761a0f8ca9887b543c3bc7fc81b3d6 | 0 | spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework | /*
* Copyright 2002-2022 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | spring-beans/src/main/java/org/springframework/beans/factory/aot/BeanFactoryInitializationAotProcessor.java | /*
* Copyright 2002-2022 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Fix BeanFactoryInitializationAotProcessor javadoc
Update javadoc since BeanRegistrationExcludeFilter is not longer an
exclude signal
See gh-28833
| spring-beans/src/main/java/org/springframework/beans/factory/aot/BeanFactoryInitializationAotProcessor.java | Fix BeanFactoryInitializationAotProcessor javadoc | <ide><path>pring-beans/src/main/java/org/springframework/beans/factory/aot/BeanFactoryInitializationAotProcessor.java
<ide> /**
<ide> * AOT processor that makes bean factory initialization contributions by
<ide> * processing {@link ConfigurableListableBeanFactory} instances.
<del> *
<del> * <p>Note: Beans implementin... | |
Java | apache-2.0 | 92be6262923503f8f5dc9edcf357f3e3bc0fae7d | 0 | MatthewTamlin/Spyglass | package com.matthewtamlin.spyglass.library;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
@Target({ElementType.METHOD, ElementType.FIELD})
public @interface BindBoolean {
int annotationId();
boolean ignoreIfAttributeMissing() default false;
boolean defaultValue() default false;
i... | library/src/main/java/com/matthewtamlin/spyglass/library/BindBoolean.java | package com.matthewtamlin.spyglass.library;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
@Target({ElementType.METHOD, ElementType.FIELD})
public @interface BindBoolean {
int annotationId();
boolean ignoreIfAttributeMissing() default false;
boolean defaultValue() default false;
} | Added default resource ID element
| library/src/main/java/com/matthewtamlin/spyglass/library/BindBoolean.java | Added default resource ID element | <ide><path>ibrary/src/main/java/com/matthewtamlin/spyglass/library/BindBoolean.java
<ide> boolean ignoreIfAttributeMissing() default false;
<ide>
<ide> boolean defaultValue() default false;
<add>
<add> int defaultResourceId() default 0;
<ide> } | |
Java | apache-2.0 | c4b7f04e1879c0b818f59fc0012eb4007f48eeb9 | 0 | subutai-io/base,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai | package io.subutai.core.environment.rest.ui;
import javax.ws.rs.DELETE;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import javax.ws.r... | management/server/core/environment-manager/environment-manager-rest-ui/src/main/java/io/subutai/core/environment/rest/ui/RestService.java | package io.subutai.core.environment.rest.ui;
import javax.ws.rs.DELETE;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import javax.ws.r... | SS-3696 rest-ui fix
| management/server/core/environment-manager/environment-manager-rest-ui/src/main/java/io/subutai/core/environment/rest/ui/RestService.java | SS-3696 rest-ui fix | <ide><path>anagement/server/core/environment-manager/environment-manager-rest-ui/src/main/java/io/subutai/core/environment/rest/ui/RestService.java
<ide>
<ide> @POST
<ide> @Path( "blueprint" )
<del> @Produces( { MediaType.TEXT_PLAIN } )
<add> @Produces( { MediaType.APPLICATION_JSON } )
<ide> public R... | |
Java | apache-2.0 | error: pathspec 'web/src/test/java/uk/ac/ebi/atlas/acceptance/selenium/tests/geod22351/HeatmapTableWithDifferentRegulationsButDefaultQueryParams.java' did not match any file(s) known to git
| 18dbc2ac85c3097aab778921b571e0bb0401f9ba | 1 | gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas | /*
* Copyright 2008-2013 Microarray Informatics Team, EMBL-European Bioinformatics Institute
*
* 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-... | web/src/test/java/uk/ac/ebi/atlas/acceptance/selenium/tests/geod22351/HeatmapTableWithDifferentRegulationsButDefaultQueryParams.java | added selenium test that does assertions on heatmap table content for up, down and up/down regulation
| web/src/test/java/uk/ac/ebi/atlas/acceptance/selenium/tests/geod22351/HeatmapTableWithDifferentRegulationsButDefaultQueryParams.java | added selenium test that does assertions on heatmap table content for up, down and up/down regulation | <ide><path>eb/src/test/java/uk/ac/ebi/atlas/acceptance/selenium/tests/geod22351/HeatmapTableWithDifferentRegulationsButDefaultQueryParams.java
<add>/*
<add> * Copyright 2008-2013 Microarray Informatics Team, EMBL-European Bioinformatics Institute
<add> *
<add> * Licensed under the Apache License, Version 2.0 (the "Lice... | |
Java | apache-2.0 | 4d8b1a5895a379b6a43c3ac22a963b6e06867182 | 0 | Sausageo/jmeter-plugins,Sausageo/jmeter-plugins,Sausageo/jmeter-plugins,Sausageo/jmeter-plugins,ptrd/jmeter-plugins,ptrd/jmeter-plugins,ptrd/jmeter-plugins,Sausageo/jmeter-plugins,ptrd/jmeter-plugins,ptrd/jmeter-plugins | package kg.apc.perfmon.metrics;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
*
* @author undera
*/
public class ExecMetricTest extends TestCase {
public ExecMetricTest(String testName) {
super(testName);
}
public static Test suite() {
... | agent/test/kg/apc/perfmon/metrics/ExecMetricTest.java | package kg.apc.perfmon.metrics;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
*
* @author undera
*/
public class ExecMetricTest extends TestCase {
public ExecMetricTest(String testName) {
super(testName);
}
public static Test suite() {
... | make test windows compatible
| agent/test/kg/apc/perfmon/metrics/ExecMetricTest.java | make test windows compatible | <ide><path>gent/test/kg/apc/perfmon/metrics/ExecMetricTest.java
<ide> public void testGetValue() throws Exception {
<ide> System.out.println("getValue");
<ide> StringBuffer res = new StringBuffer();
<del> ExecMetric instance = new ExecMetric(MetricParams.createFromString("echo:123"));
<add> ... | |
Java | apache-2.0 | def6fbba89864ee1d8d654f4b2ba2a2d3d14a73e | 0 | spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework | /*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java | /*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | ListableBeanFactory.getBeansWithAnnotation does not include null beans
Issue: SPR-17034
| spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java | ListableBeanFactory.getBeansWithAnnotation does not include null beans | <ide><path>pring-beans/src/main/java/org/springframework/beans/factory/support/DefaultListableBeanFactory.java
<ide>
<ide> @Override
<ide> public String[] getBeanNamesForAnnotation(Class<? extends Annotation> annotationType) {
<del> List<String> results = new ArrayList<>();
<add> List<String> result = new ArrayLis... | |
Java | mit | e3ced41fb9b339609f2a9c54f1ada500a520fe20 | 0 | stefanbrausch/hudson-main,stefanbrausch/hudson-main,stefanbrausch/hudson-main,stefanbrausch/hudson-main,stefanbrausch/hudson-main,stefanbrausch/hudson-main,stefanbrausch/hudson-main | /*
* The MIT License
*
* Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without l... | core/src/main/java/hudson/model/Descriptor.java | /*
* The MIT License
*
* Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without l... | @fillUrl should take the public static fromStapler method into account.
git-svn-id: 28f34f9aa52bc55a5ddd5be9e183c5cccadc6ee4@30448 71c3de6d-444a-0410-be80-ed276b4c234a
| core/src/main/java/hudson/model/Descriptor.java | @fillUrl should take the public static fromStapler method into account. | <ide><path>ore/src/main/java/hudson/model/Descriptor.java
<ide> throw new IllegalStateException(String.format("%s doesn't have the %s method for filling a drop-down list", getClass(), methodName));
<ide>
<ide> // build query parameter line by figuring out what should be submitted
<del> List<... | |
Java | apache-2.0 | f729ab6c36e4dd5614abc64bf8880ced5edbf63a | 0 | fkeglevich/Raw-Dumper,fkeglevich/Raw-Dumper,fkeglevich/Raw-Dumper | /*
* Copyright 2017, Flávio Keglevich
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | app/src/main/java/com/fkeglevich/rawdumper/io/async/function/LoadDeviceInfoFunction.java | /*
* Copyright 2017, Flávio Keglevich
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | Easier debugging
| app/src/main/java/com/fkeglevich/rawdumper/io/async/function/LoadDeviceInfoFunction.java | Easier debugging | <ide><path>pp/src/main/java/com/fkeglevich/rawdumper/io/async/function/LoadDeviceInfoFunction.java
<ide> }
<ide> catch (RuntimeException re)
<ide> {
<add> re.printStackTrace();
<ide> Log.e("LoadDeviceInfoFunction", "RuntimeException: " + re.getMessage());
<ide> ... | |
Java | apache-2.0 | 0bb0b6e704d4aeb87415dd9c315dfee3053edfe1 | 0 | appNG/appng,appNG/appng,appNG/appng | /*
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | appng-core/src/main/java/org/appng/core/controller/SessionListener.java | /*
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | APPNG-2193 support http method in MDC | appng-core/src/main/java/org/appng/core/controller/SessionListener.java | APPNG-2193 support http method in MDC | <ide><path>ppng-core/src/main/java/org/appng/core/controller/SessionListener.java
<ide> MDC.put("site", site.getName());
<ide> }
<ide> MDC.put("locale", env.getLocale().toString());
<add> MDC.put("method", httpServletRequest.getMethod());
<ide> MDC.put("timezone", env.getTimeZone().getID());
<ide> MDC... | |
JavaScript | bsd-3-clause | 69a84151a733cbca303b835a923bf897aea1cd32 | 0 | stevenliuit/echarts,gastrodia/echarts,JudeRosario/echarts,logchi/echarts,gspandy/echarts,ecomfe/echarts,lyhiving/echarts,starlkj/echarts,zhaosichao/echarts,kener/echarts,upeng/echarts,xiaoqqchen/echarts,mortonfox/echarts,gaorongchao/echarts,cnbin/echarts,howepeng/echarts,wziyong/echarts,Snister/echarts,ymero/echarts,ga... | /**
* echarts组件:提示框
*
* @desc echarts基于Canvas,纯Javascript图表库,提供直观,生动,可交互,可个性化定制的数据统计图表。
* @author Kener (@Kener-林峰, linzhifeng@baidu.com)
*
*/
define(function (require) {
var Base = require('./base');
// 图形依赖
var LineShape = require('zrender/shape/Line');
var RectangleShape = requ... | src/component/tooltip.js | /**
* echarts组件:提示框
*
* @desc echarts基于Canvas,纯Javascript图表库,提供直观,生动,可交互,可个性化定制的数据统计图表。
* @author Kener (@Kener-林峰, linzhifeng@baidu.com)
*
*/
define(function (require) {
var LineShape = require('zrender/shape/Line');
var RectangleShape = require('zrender/shape/Rectangle');
var rectangleInst... | 组件重构 tooltip
| src/component/tooltip.js | 组件重构 tooltip | <ide><path>rc/component/tooltip.js
<ide> *
<ide> */
<ide> define(function (require) {
<add> var Base = require('./base');
<add>
<add> // 图形依赖
<ide> var LineShape = require('zrender/shape/Line');
<ide> var RectangleShape = require('zrender/shape/Rectangle');
<ide> var rectangleInstance = new Rect... | |
Java | bsd-3-clause | 5620569a8c87b4b50c24d6db783f7e4451de7307 | 0 | bobbylight/RSyntaxTextArea,bobbylight/RSyntaxTextArea | /*
* 10/08/2011
*
* CurlyFoldParser.java - Fold parser for languages with C-style syntax.
*
* This library is distributed under a modified BSD license. See the included
* RSyntaxTextArea.License.txt file for details.
*/
package org.fife.ui.rsyntaxtextarea.folding;
import java.util.ArrayList;
import... | src/main/java/org/fife/ui/rsyntaxtextarea/folding/CurlyFoldParser.java | /*
* 10/08/2011
*
* CurlyFoldParser.java - Fold parser for languages with C-style syntax.
*
* This library is distributed under a modified BSD license. See the included
* RSyntaxTextArea.License.txt file for details.
*/
package org.fife.ui.rsyntaxtextarea.folding;
import java.util.ArrayList;
import... | Fix #116: K&R-styled 'if' statements don't fold correctdly
| src/main/java/org/fife/ui/rsyntaxtextarea/folding/CurlyFoldParser.java | Fix #116: K&R-styled 'if' statements don't fold correctdly | <ide><path>rc/main/java/org/fife/ui/rsyntaxtextarea/folding/CurlyFoldParser.java
<ide> int lastSeenImportLine = -1;
<ide> int importGroupStartOffs = -1;
<ide> int importGroupEndOffs = -1;
<del>
<add> int lastRightCurlyLine = -1;
<add> Fold prevFold = null;
<add>
<ide> try {
<ide>
<ide> for (int line=0; ... | |
Java | epl-1.0 | error: pathspec 'D0519_Evaluate_max_mutation_sites.java' did not match any file(s) known to git
| 856bff719f807d0593c5f5fdebf240acf18b56cb | 1 | breezedu/LossHomozygosity,breezedu/LossHomozygosity,breezedu/LossHomozygosity,breezedu/LossHomozygosity | package coursera_java_duke;
/***********
* Off all the mutation sites (829 on TTN gene), some are not 'rare' enough to be considered;
* So we set the allele-count threshold at 10, then we got 741 qualify allele-counts
* if we set the allele-count threshold at 5, we got 691 qualify allele-counts
* if we set the al... | D0519_Evaluate_max_mutation_sites.java | 0519 mutation sites sampling java
| D0519_Evaluate_max_mutation_sites.java | 0519 mutation sites sampling java | <ide><path>0519_Evaluate_max_mutation_sites.java
<add>package coursera_java_duke;
<add>
<add>
<add>/***********
<add> * Off all the mutation sites (829 on TTN gene), some are not 'rare' enough to be considered;
<add> * So we set the allele-count threshold at 10, then we got 741 qualify allele-counts
<add> * if we set t... | |
Java | apache-2.0 | 3b2e0f53d5dbbea5ec5278fe88a53c277c74dd22 | 0 | davidmoten/geo,davidmoten/geo | package com.github.davidmoten.geo;
import static com.github.davidmoten.grumpy.core.Position.to180;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.github.davidmoten.geo.util.Preconditions;
import com.git... | src/main/java/com/github/davidmoten/geo/GeoHash.java | package com.github.davidmoten.geo;
import static com.github.davidmoten.grumpy.core.Position.to180;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.github.davidmoten.geo.util.Preconditions;
import com.git... | issue #19, remove synchronized keyword and use static holder pattern for singleton creation of height and width values
| src/main/java/com/github/davidmoten/geo/GeoHash.java | issue #19, remove synchronized keyword and use static holder pattern for singleton creation of height and width values | <ide><path>rc/main/java/com/github/davidmoten/geo/GeoHash.java
<ide>
<ide> /**
<ide> * <p>
<del> * Utility functions for <a
<del> * href="http://en.wikipedia.org/wiki/Geohash">geohashing</a>.
<add> * Utility functions for
<add> * <a href="http://en.wikipedia.org/wiki/Geohash">geohashing</a>.
<ide> * </p>
<ide> *
<... | |
Java | mit | d6e23de77d639ab33ffc591dd67a6353083ccc92 | 0 | gmessner/gitlab4j-api | package org.gitlab4j.api;
import java.util.Date;
import java.util.List;
import javax.ws.rs.core.Form;
import javax.ws.rs.core.MultivaluedHashMap;
import org.gitlab4j.api.models.AccessLevel;
import org.gitlab4j.api.utils.ISO8601;
/**
* This class extends the standard JAX-RS Form class to make it fluent.... | src/main/java/org/gitlab4j/api/GitLabApiForm.java | package org.gitlab4j.api;
import java.util.Date;
import java.util.List;
import javax.ws.rs.core.Form;
import javax.ws.rs.core.MultivaluedHashMap;
import org.gitlab4j.api.models.AccessLevel;
import org.gitlab4j.api.utils.ISO8601;
/**
* This class extends the standard JAX-RS Form class to make it fluent.... | Fixed javadoc error.
| src/main/java/org/gitlab4j/api/GitLabApiForm.java | Fixed javadoc error. | <ide><path>rc/main/java/org/gitlab4j/api/GitLabApiForm.java
<ide> * Fluent method for adding AccessLevel query and form parameters to a get() or post() call.
<ide> *
<ide> * @param name the name of the field/attribute to add
<del> * @param date the value of the field/attribute to add
<add> * @par... | |
Java | apache-2.0 | 0625e67d46533d83754e77ffb8f8d1b196806074 | 0 | apache/commons-vfs,ecki/commons-vfs,ecki/commons-vfs,apache/commons-vfs | /*
* 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 ... | commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/local/test/FileNameTests.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 ... | Clean up new test method.
| commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/local/test/FileNameTests.java | Clean up new test method. | <ide><path>ommons-vfs2/src/test/java/org/apache/commons/vfs2/provider/local/test/FileNameTests.java
<ide> */
<ide> @Test
<ide> public void testLocalFile() throws Exception {
<del> final String prefix = new String(new char[] { '\u0074', '\u0065', '\u0074' });
<del> final File f = File.createTe... | |
JavaScript | mit | d8ebde24db4d6e7dccf3d1f87a9d0ea128d8b60f | 0 | leftiness/angular-gulp-browserify-starter,goodbomb/angular-gulp-browserify-starter,agurha/angular-gulp-browserify-starter,parikmaher534/angular-gulp-browserify-starter,leftiness/angular-gulp-browserify-starter,parikmaher534/angular-gulp-browserify-starter,agurha/angular-gulp-browserify-starter,psimyn/angular-gulp-brows... | // Karma configuration
var istanbul = require('browserify-istanbul');
'use strict';
module.exports = function (config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: './',
// frameworks to use
// available frameworks: https:... | karma.conf.js | // Karma configuration
var istanbul = require('browserify-istanbul');
'use strict';
module.exports = function (config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: './',
// frameworks to use
// available frameworks: https:... | Fix 2 spaces -> 4 spaces
| karma.conf.js | Fix 2 spaces -> 4 spaces | <ide><path>arma.conf.js
<ide> browserify: {
<ide> debug: true,
<ide> transform: ['debowerify', 'html2js-browserify', istanbul({
<del> 'ignore': ['**/*.spec.js', '**/libs/**']
<add> 'ignore': ['**/*.spec.js', '**/libs/**']
<ide> })],
<ide>
<ide> ... | |
Java | apache-2.0 | 4a26ebaed7975bfcbc4700f43a381f51afdacc06 | 0 | apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere | /*
* 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 ... | sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/core/datasource/EncryptDataSource.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 ... | getPrimaryKeys()
| sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/core/datasource/EncryptDataSource.java | getPrimaryKeys() | <ide><path>harding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/core/datasource/EncryptDataSource.java
<ide>
<ide> private Collection<String> getPrimaryKeys(final Connection connection, final String tableName) throws SQLException {
<ide> Collection<String> result = ... | |
Java | apache-2.0 | 82aa25adb1765c04294971c3905c5cc9e36ef82f | 0 | krmahadevan/testng,emopers/testng,cbeust/testng,missedone/testng,cbeust/testng,krmahadevan/testng,emopers/testng,emopers/testng,missedone/testng,emopers/testng,krmahadevan/testng,cbeust/testng,krmahadevan/testng,emopers/testng,cbeust/testng,krmahadevan/testng,missedone/testng,missedone/testng,cbeust/testng,missedone/te... | package org.testng.internal;
import org.testng.ITestNGMethod;
import org.testng.collections.Lists;
import org.testng.collections.Maps;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* This class wraps access to beforeGroups ... | src/main/java/org/testng/internal/ConfigurationGroupMethods.java | package org.testng.internal;
import org.testng.ITestNGMethod;
import org.testng.collections.Lists;
import org.testng.collections.Maps;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* This class wraps access to beforeGroups ... | Implement the DCL locking properly.
| src/main/java/org/testng/internal/ConfigurationGroupMethods.java | Implement the DCL locking properly. | <ide><path>rc/main/java/org/testng/internal/ConfigurationGroupMethods.java
<ide> private final ITestNGMethod[] m_allMethods;
<ide>
<ide> /**A map that returns the last method belonging to the given group */
<del> private Map<String, List<ITestNGMethod>> m_afterGroupsMap = null;
<add> private volatile Map<String,... | |
JavaScript | mit | a93fee98561a8f553fbcb4952a2ab533afc26f71 | 0 | u-wave/api-v1 | import Promise from 'bluebird';
import { createCommand } from '../sockets';
import { NotFoundError, PermissionError } from '../errors';
export async function isEmpty(uw) {
return !(await uw.redis.get('booth:historyID'));
}
export async function getBooth(uw) {
const History = uw.model('History');
const history... | src/controllers/booth.js | import Promise from 'bluebird';
import { createCommand } from '../sockets';
import { NotFoundError, PermissionError } from '../errors';
export async function isEmpty(uw) {
return !(await uw.redis.get('booth:historyID'));
}
export async function getBooth(uw) {
const History = uw.model('History');
const history... | booth: Use a Set to store votes, fix occasional duplicates (#159)
| src/controllers/booth.js | booth: Use a Set to store votes, fix occasional duplicates (#159) | <ide><path>rc/controllers/booth.js
<ide> }
<ide>
<ide> const stats = await Promise.props({
<del> upvotes: uw.redis.lrange('booth:upvotes', 0, -1),
<del> downvotes: uw.redis.lrange('booth:downvotes', 0, -1),
<del> favorites: uw.redis.lrange('booth:favorites', 0, -1),
<add> upvotes: uw.redis.smembers('bo... | |
JavaScript | mit | 2bc73cb64cbafb0ca746260f7e1a1a44aaac43a7 | 0 | OpenCollective/opencollective-api,OpenCollective/opencollective-api,OpenCollective/opencollective-api | import { expect } from 'chai';
import { Given, When, Then } from 'cucumber';
import * as libtransactions from '../../../../server/lib/transactions';
import * as store from '../stores';
import * as utils from '../../../utils';
Given('a User {string}', async function (name) {
const { user, userCollective } = await st... | test/features/support/steps/users-and-collectives.js | import { expect } from 'chai';
import { Given, When, Then } from 'cucumber';
import * as libtransactions from '../../../../server/lib/transactions';
import * as store from '../stores';
import * as utils from '../../../utils';
Given('a User {string}', async function (name) {
const { user, userCollective } = await st... | chore(bdd): User is optional for handleDonation step handler
| test/features/support/steps/users-and-collectives.js | chore(bdd): User is optional for handleDonation step handler | <ide><path>est/features/support/steps/users-and-collectives.js
<ide> this.addValue(`platform-fee`, feeStr);
<ide> });
<ide>
<del>async function handleDonation (fromName, value, toName, paymentMethod, userName) {
<add>async function handleDonation (fromName, value, toName, paymentMethod, userName=null) {
<ide> cons... | |
Java | apache-2.0 | a4c49ddb6f172819e80a4e2a96b734eeac66758b | 0 | solomonronald/SalesforceMobileSDK-Android,solomonronald/SalesforceMobileSDK-Android,kchitalia/SalesforceMobileSDK-Android,solomonronald/SalesforceMobileSDK-Android,kchitalia/SalesforceMobileSDK-Android,huminzhi/SalesforceMobileSDK-Android,huminzhi/SalesforceMobileSDK-Android,huminzhi/SalesforceMobileSDK-Android,kchital... | /*
* Copyright (c) 2014-2015, salesforce.com, inc.
* All rights reserved.
* Redistribution and use of this software 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,... | libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/DBOpenHelper.java | /*
* Copyright (c) 2014-2015, salesforce.com, inc.
* All rights reserved.
* Redistribution and use of this software 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,... | Making constructor protected, so application can override DBOpenHelper. This is useful if the application is packing databases with the apk
| libs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/DBOpenHelper.java | Making constructor protected, so application can override DBOpenHelper. This is useful if the application is packing databases with the apk | <ide><path>ibs/SmartStore/src/com/salesforce/androidsdk/smartstore/store/DBOpenHelper.java
<ide> return helper;
<ide> }
<ide>
<del> private DBOpenHelper(Context context, String dbName) {
<add> protected DBOpenHelper(Context context, String dbName) {
<ide> super(context, dbName, null, DB_VERSION, new DBHook());
<i... | |
JavaScript | mit | 20d032a5ed14569f9bb2f91ed33eb5713c47358b | 0 | kolllor33/secure-json-database | "use strict";
var _ = require("lodash"),
fh = require("./Filehandler"),
EventEmitter = require('events')
module.exports = class DB extends EventEmitter {
constructor(args) {
super()
this.db = {}
this.path = args.path
this.key = args.key
this.updateCalls = 0
... | index.js | "use strict";
var _ = require("lodash"),
fh = require("./Filehandler"),
EventEmitter = require('events')
module.exports = class DB extends EventEmitter {
constructor(args) {
super()
this.db = {}
this.path = args.path
this.key = args.key
this.fileHandler = new fh({
... | Performance enhancing
Performance enhancing for large amounts of data putted in the database at once + set event handelers after data has been writen to the file
| index.js | Performance enhancing | <ide><path>ndex.js
<ide> this.db = {}
<ide> this.path = args.path
<ide> this.key = args.key
<add> this.updateCalls = 0
<add> this.previousCallTime = undefined
<add> this.canCall = true
<add> this.canCallTreshold = undefined
<ide> this.fileHandler = new fh({
<i... | |
JavaScript | mit | 3b1541d85d9e17b8ddd76ad19ff34103d3b38de2 | 0 | concord-consortium/codap,concord-consortium/codap,concord-consortium/codap,concord-consortium/codap,concord-consortium/codap | // ==========================================================================
// DG.Debug
//
// Debugging utilities for use in the DG application.
//
// Author: Kirk Swenson
//
// Copyright (c) 2014 by The Concord Consortium, Inc. All rights reserved.
//
// Licensed under the Apach... | apps/dg/alpha/debug.js | // ==========================================================================
// DG.Debug
//
// Debugging utilities for use in the DG application.
//
// Author: Kirk Swenson
//
// Copyright (c) 2014 by The Concord Consortium, Inc. All rights reserved.
//
// Licensed under the Apach... | Convert unconventional use of expressions.
| apps/dg/alpha/debug.js | Convert unconventional use of expressions. | <ide><path>pps/dg/alpha/debug.js
<ide> application: 'CODAP'
<ide> }, metaArgs);
<ide> } catch(ex) {
<del> console && console.log && console.log('Log to server failed: ' + ex);
<add> if (console && console.log) {
<add> console.log('Log to server failed: ... | |
Java | agpl-3.0 | error: pathspec 'src/test/java/com/imcode/imcms/TransactionalWebAppSpringTestConfig.java' did not match any file(s) known to git
| 7d4a91aa16c9a4a6fe0f6e5da5dfbe80e9fbd6bd | 1 | imCodePartnerAB/imcms,imCodePartnerAB/imcms,imCodePartnerAB/imcms | package com.imcode.imcms;
import com.imcode.imcms.config.TestConfig;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfigurat... | src/test/java/com/imcode/imcms/TransactionalWebAppSpringTestConfig.java | IMCMS-300 - New design to superadmin-pages:
- Created class with all frequently used annotations for tests.
| src/test/java/com/imcode/imcms/TransactionalWebAppSpringTestConfig.java | IMCMS-300 - New design to superadmin-pages: - Created class with all frequently used annotations for tests. | <ide><path>rc/test/java/com/imcode/imcms/TransactionalWebAppSpringTestConfig.java
<add>package com.imcode.imcms;
<add>
<add>import com.imcode.imcms.config.TestConfig;
<add>import org.junit.Test;
<add>import org.junit.runner.RunWith;
<add>import org.springframework.test.context.ContextConfiguration;
<add>import org.spri... | |
Java | mit | 3d758f508610a82a242bb95bc1eb3fdb9ee73303 | 0 | raeleus/skin-composer | /*******************************************************************************
* MIT License
*
* Copyright (c) 2022 Raymond Buckley
*
* 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 Softwar... | core/src/com/ray3k/skincomposer/Main.java | /*******************************************************************************
* MIT License
*
* Copyright (c) 2022 Raymond Buckley
*
* 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 Softwar... | Clean up imports.
| core/src/com/ray3k/skincomposer/Main.java | Clean up imports. | <ide><path>ore/src/com/ray3k/skincomposer/Main.java
<ide> import com.badlogic.gdx.Net.HttpMethods;
<ide> import com.badlogic.gdx.Net.HttpRequest;
<ide> import com.badlogic.gdx.files.FileHandle;
<del>import com.badlogic.gdx.graphics.Cursor;
<ide> import com.badlogic.gdx.graphics.GL20;
<ide> import com.badlogic.gdx.graph... | |
Java | mit | b4208c8e5b33da680ff09ed60ce6c6928271f164 | 0 | Mitsugaru/KarmicJail | package com.mitsugaru.karmicjail;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Ma... | KarmicJail/src/com/mitsugaru/karmicjail/JailLogic.java | package com.mitsugaru.karmicjail;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Ma... | Check config node on whether to return inventory or not. | KarmicJail/src/com/mitsugaru/karmicjail/JailLogic.java | Check config node on whether to return inventory or not. | <ide><path>armicJail/src/com/mitsugaru/karmicjail/JailLogic.java
<ide> Player player = plugin.getServer().getPlayer(name);
<ide> if (player != null)
<ide> {
<del> //Return items if any
<del> Map<Integer, ItemStack> items = database.getPlayerItems(name);
<del> for (Map.Entry<Integer, ItemStack> item : items.... | |
Java | mit | 1b48e03b2c4f2cec278c4c906f450905a301407c | 0 | urbanairship/pushy,relayrides/pushy,relayrides/pushy,relayrides/pushy,urbanairship/pushy,urbanairship/pushy | /* Copyright (c) 2013-2016 RelayRides
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publis... | src/main/java/com/relayrides/pushy/apns/ApnsClient.java | /* Copyright (c) 2013-2016 RelayRides
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publis... | Fix passing not specified password for .p12 file
KeyStore.PasswordProtection constructor accepts null,
but the next KeyStore.Builder.newInstance() call doesn't accept protection as null
| src/main/java/com/relayrides/pushy/apns/ApnsClient.java | Fix passing not specified password for .p12 file | <ide><path>rc/main/java/com/relayrides/pushy/apns/ApnsClient.java
<ide> final PrivateKey privateKey;
<ide>
<ide> try {
<del> final KeyStore.PasswordProtection keyStorePassword = (password != null) ? new KeyStore.PasswordProtection(password.toCharArray()) : null;
<add> final KeySto... | |
JavaScript | mit | cde68500748d1a3dc5c41f76a484cddda6638a59 | 0 | Vrturo/Algo-Gem,Vrturo/Algo-Gem,Vrturo/Algo-Gem | // Given a set of distinct integers, nums, return all possible subsets.
// Note:
// Elements in a subset must be in non-descending order.
// The solution set must not contain duplicate subsets.
// For example,
// If nums = [1,2,3], a solution is:
// [
// [3],
// [1],
// [2],
// [1,2,3],
// [1,3],
// [2,3]... | Algorithms/JS/arrays/subSet.js | // Given a set of distinct integers, nums, return all possible subsets.
// Note:
// Elements in a subset must be in non-descending order.
// The solution set must not contain duplicate subsets.
// For example,
// If nums = [1,2,3], a solution is:
// [
// [3],
// [1],
// [2],
// [1,2,3],
// [1,3],
// [2,3]... | add solution
| Algorithms/JS/arrays/subSet.js | add solution | <ide><path>lgorithms/JS/arrays/subSet.js
<ide>
<ide>
<ide> var subsets = function(nums) {
<del> var result = [];
<del> function helper(set, i){
<del> if (nums.length === i){
<del> result.push(set);
<del> return;
<del> }
<del> helper(set, Number(i+1));
<del> help... | |
Java | apache-2.0 | 722dac58cf5a15e79acc428b6b9978d0b0d6e85b | 0 | yahoo/pulsar,nkurihar/pulsar,ArvinDevel/incubator-pulsar,merlimat/pulsar,merlimat/pulsar,jai1/pulsar,ArvinDevel/incubator-pulsar,jai1/pulsar,merlimat/pulsar,nkurihar/pulsar,massakam/pulsar,massakam/pulsar,jai1/pulsar,jai1/pulsar,jai1/pulsar,ArvinDevel/incubator-pulsar,jai1/pulsar,nkurihar/pulsar,yahoo/pulsar,nkurihar/p... | /**
* 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... | pulsar-broker/src/main/java/org/apache/pulsar/broker/service/nonpersistent/NonPersistentTopic.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... | Avoid double executor on non-persistent topic send operation (#2351)
| pulsar-broker/src/main/java/org/apache/pulsar/broker/service/nonpersistent/NonPersistentTopic.java | Avoid double executor on non-persistent topic send operation (#2351) | <ide><path>ulsar-broker/src/main/java/org/apache/pulsar/broker/service/nonpersistent/NonPersistentTopic.java
<ide>
<ide> @Override
<ide> public void publishMessage(ByteBuf data, PublishContext callback) {
<del> AtomicInteger msgDeliveryCount = new AtomicInteger(2);
<add> callback.completed(null, ... | |
Java | apache-2.0 | 97994d6a19cda1e991237e61174b4ea75d0f359f | 0 | Valkryst/VTerminal | package com.valkryst.AsciiPanel;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.paint.Paint;
import lombok.Getter;
public class AsciiString {
/** The characters of the string. */
@Getter private AsciiCharacter[] characters;
/**
* Constructs a new AsciiString of the specified length ... | src/com/valkryst/AsciiPanel/AsciiString.java | package com.valkryst.AsciiPanel;
import javafx.scene.canvas.GraphicsContext;
import javafx.scene.paint.Paint;
import lombok.Getter;
public class AsciiString {
/** The characters of the string. */
@Getter private AsciiCharacter[] characters;
/**
* Constructs a new AsciiString of the specified length ... | Added a way to set all characters of a string to visible or hidden.
| src/com/valkryst/AsciiPanel/AsciiString.java | Added a way to set all characters of a string to visible or hidden. | <ide><path>rc/com/valkryst/AsciiPanel/AsciiString.java
<ide> }
<ide>
<ide> /**
<del> * Sets the background color of all characters to the specified color.
<add> * Sets all characters to either be hidden or visible.
<add> *
<add> * @param isHidden
<add> * Whether or not the character... | |
Java | mit | 8f9d41c181fadbd44866c9bd825efe9409862892 | 0 | yang/sron,yang/sron,yang/sron,yang/sron | package edu.cmu.neuron2;
import java.io.*;
import java.net.*;
import java.util.*;
import java.lang.annotation.*;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.ObjectInputStream;
imp... | edu/cmu/neuron2/NeuRonNode.java | package edu.cmu.neuron2;
import java.io.*;
import java.net.*;
import java.util.*;
import java.lang.annotation.*;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.ObjectInputStream;
imp... | Added logic to see if a node failure has occured
Let's hope this works!!
git-svn-id: 1701df1deb063346cd8c76dc2a7d96d8dbeff991@649 0bd769cf-3f23-0410-95ed-bb08bbc236b7
| edu/cmu/neuron2/NeuRonNode.java | Added logic to see if a node failure has occured | <ide><path>du/cmu/neuron2/NeuRonNode.java
<ide> }
<ide> }
<ide> node.isReachable = true;
<add> node.isDead = false;
<ide>
<ide> ScheduledFuture<?> future = scheduler.schedule(safeRun(new Runnable() {
<ide> public void run() {
<ide> // iterate ove... | |
Java | apache-2.0 | 9a7b91bdc22e4e75a1ca0a12cb4355f4a1d16964 | 0 | ssilvert/keycloak,jpkrohling/keycloak,mhajas/keycloak,ssilvert/keycloak,mposolda/keycloak,srose/keycloak,reneploetz/keycloak,darranl/keycloak,mposolda/keycloak,ahus1/keycloak,mhajas/keycloak,vmuzikar/keycloak,abstractj/keycloak,thomasdarimont/keycloak,thomasdarimont/keycloak,srose/keycloak,pedroigor/keycloak,stianst/ke... | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... | server-spi-private/src/main/java/org/keycloak/broker/provider/util/SimpleHttp.java | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... | KEYCLOAK-14310 Replaced string by constant after review amendment
| server-spi-private/src/main/java/org/keycloak/broker/provider/util/SimpleHttp.java | KEYCLOAK-14310 Replaced string by constant after review amendment | <ide><path>erver-spi-private/src/main/java/org/keycloak/broker/provider/util/SimpleHttp.java
<ide> import org.apache.http.Header;
<ide> import org.apache.http.HeaderIterator;
<ide> import org.apache.http.HttpEntity;
<add>import org.apache.http.HttpHeaders;
<ide> import org.apache.http.HttpResponse;
<ide> import org.apa... | |
Java | mit | error: pathspec 'src/me/christopherdavis/beanstalkc/command/PutJobCommand.java' did not match any file(s) known to git
| e7d608e9a1068737f2b40d4176bbbe04ad3c25f3 | 1 | chrisguitarguy/Beanstalkc,chrisguitarguy/Beanstalkc | // This file is part of me.christopherdavis.beanstalkc
// Copyright: (c) 2014 Christopher Davis <http://christopherdavis.me>
// License: MIT http://opensource.org/licenses/MIT
package me.christopherdavis.beanstalkc;
import java.io.InputStream;
import java.io.OutputStream;
import me.christopherdavis.beanstalkc.Command... | src/me/christopherdavis/beanstalkc/command/PutJobCommand.java | Put job command sample
| src/me/christopherdavis/beanstalkc/command/PutJobCommand.java | Put job command sample | <ide><path>rc/me/christopherdavis/beanstalkc/command/PutJobCommand.java
<add>// This file is part of me.christopherdavis.beanstalkc
<add>// Copyright: (c) 2014 Christopher Davis <http://christopherdavis.me>
<add>// License: MIT http://opensource.org/licenses/MIT
<add>
<add>package me.christopherdavis.beanstalkc;
<add>
... | |
Java | apache-2.0 | 2b5e8de7aea1db94d0c889ec620947f92b554596 | 0 | fady1989/EffectiveJava | package effectiveJava;
import effectiveJava.Timer.IMethod;
import matrixLib.IMatrix;
public class Main {
private static final Sum math = new Sum();
public static void main(String[] args) {
}
public static void useSumClass() {
Timer t = new Timer ();
t.method = new IMethod() {
@Override
public... | src/effectiveJava/Main.java | package effectiveJava;
import effectiveJava.Timer.IMethod;
import matrixLib.IMatrix;
public class Main {
private static final Sum math = new Sum();
public static void main(String[] args) {
// useSumClass();
}
public static void useSumClass() {
Timer t = new Timer ();
t.method = new IMethod() {... | made a change
| src/effectiveJava/Main.java | made a change | <ide><path>rc/effectiveJava/Main.java
<ide>
<ide> public static void main(String[] args) {
<ide>
<del>
<del> // useSumClass();
<ide>
<ide> }
<ide> | |
Java | mit | fbc8d7ca32dbf50dbf50a84eeb5de1bbef2e4391 | 0 | protazy/jenkins,vijayto/jenkins,arcivanov/jenkins,stefanbrausch/hudson-main,evernat/jenkins,gusreiber/jenkins,aduprat/jenkins,petermarcoen/jenkins,dariver/jenkins,svanoort/jenkins,fbelzunc/jenkins,paulmillar/jenkins,Krasnyanskiy/jenkins,ydubreuil/jenkins,viqueen/jenkins,ikedam/jenkins,pantheon-systems/jenkins,duzifang/... | package hudson.tasks.junit;
import hudson.model.AbstractBuild;
import hudson.util.IOException2;
import hudson.*;
import org.apache.tools.ant.DirectoryScanner;
import org.dom4j.DocumentException;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerResponse;
import java.io.File;
import java.io.... | core/src/main/java/hudson/tasks/junit/TestResult.java | package hudson.tasks.junit;
import hudson.model.AbstractBuild;
import hudson.util.IOException2;
import hudson.*;
import org.apache.tools.ant.DirectoryScanner;
import org.dom4j.DocumentException;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerResponse;
import java.io.File;
import java.io.... | adding new lines for better readability.
git-svn-id: 28f34f9aa52bc55a5ddd5be9e183c5cccadc6ee4@4403 71c3de6d-444a-0410-be80-ed276b4c234a
| core/src/main/java/hudson/tasks/junit/TestResult.java | adding new lines for better readability. | <ide><path>ore/src/main/java/hudson/tasks/junit/TestResult.java
<ide> if(localTime < buildTime)
<ide> // build time is in the the future. clock on this slave must be running behind
<ide> throw new AbortException(
<del> "Clock on this slave is out of sync wi... | |
JavaScript | mit | ae5f9b61c4b99e409e7f700e4b27a601468cac1b | 0 | GreenCore/icecat | 'use strict';
const https = require('https');
const parseString = require('xml2js').parseString;
const icecatProduct = require('./product');
/**
*
* @param instance
*/
const openCatalog = function(instance) {
this.icecat = instance || {};
}
/**
* getProduct
* @param lang
* @param GTIN
* @returns {Promise}... | lib/OpenCatalog/service.js | 'use strict';
const https = require('https');
const parseString = require('xml2js').parseString;
const icecatProduct = require('./product');
/**
*
* @param instance
*/
const openCatalog = function (instance) {
this.icecat = instance || {};
}
/**
* getProduct
* @param lang
* @param GTIN
* @returns {Promise... | add #getByProductId method
| lib/OpenCatalog/service.js | add #getByProductId method | <ide><path>ib/OpenCatalog/service.js
<ide> *
<ide> * @param instance
<ide> */
<del>const openCatalog = function (instance) {
<add>const openCatalog = function(instance) {
<ide> this.icecat = instance || {};
<ide> }
<ide>
<ide> * @param GTIN
<ide> * @returns {Promise}
<ide> */
<del>openCatalog.prototype.getPr... | |
Java | apache-2.0 | 694d9a6e6ac61a97c591c3471b5615cbaa07cb51 | 0 | tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki | /*
JSPWiki - a JSP-based WikiWiki clone.
Copyright (C) 2001-2006 Janne Jalkanen (Janne.Jalkanen@iki.fi)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 ... | src/com/ecyrd/jspwiki/event/WikiEventManager.java | /*
JSPWiki - a JSP-based WikiWiki clone.
Copyright (C) 2001-2006 Janne Jalkanen (Janne.Jalkanen@iki.fi)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 ... | Added patch enabling monitoring.
git-svn-id: 6c0206e3b9edd104850923da33ebd73b435d374d@626475 13f79535-47bb-0310-9956-ffa450edef68
| src/com/ecyrd/jspwiki/event/WikiEventManager.java | Added patch enabling monitoring. | <ide><path>rc/com/ecyrd/jspwiki/event/WikiEventManager.java
<ide> {
<ide> private static final Logger log = Logger.getLogger(WikiEventManager.class);
<ide>
<add> /* If true, permits a WikiEventMonitor to be set. */
<add> private static boolean permitMonitor = false;
<add>
<add> /* Optional listener to be ... | |
Java | apache-2.0 | a04a8eb6a091bcedb4593d0f1f9ec3e1a25f5dbc | 0 | BartRobeyns/audit4j-core,audit4j/audit4j-core | src/main/java/org/audit4j/core/DefaultConfigurationFactory.java | /*
* Copyright 2014 Janith Bandara, This source is a part of Audit4j -
* An open-source audit platform for Enterprise java platform.
* http://mechanizedspace.com/audit4j
* http://audit4j.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with... | deleted unwanted file
| src/main/java/org/audit4j/core/DefaultConfigurationFactory.java | deleted unwanted file | <ide><path>rc/main/java/org/audit4j/core/DefaultConfigurationFactory.java
<del>/*
<del> * Copyright 2014 Janith Bandara, This source is a part of Audit4j -
<del> * An open-source audit platform for Enterprise java platform.
<del> * http://mechanizedspace.com/audit4j
<del> * http://audit4j.org
<del> *
<del> * Licensed ... | ||
Java | apache-2.0 | 270ccbe443538e6dc6a548f95399c9b711f306d9 | 0 | csoroiu/untwist,csoroiu/untwist | package ro.sixi.eval.util;
import org.apache.commons.math3.exception.NotStrictlyPositiveException;
import org.apache.commons.math3.random.MersenneTwister;
public class MersenneTwisterPyCompat extends MersenneTwister {
private static final long serialVersionUID = 1L;
public MersenneTwisterPyCompat() {
... | src/main/java/ro/sixi/eval/util/MersenneTwisterPyCompat.java | package ro.sixi.eval.util;
import org.apache.commons.math3.exception.NotStrictlyPositiveException;
import org.apache.commons.math3.random.MersenneTwister;
public class MersenneTwisterPyCompat extends MersenneTwister {
private static final long serialVersionUID = 1L;
public MersenneTwisterPyCompat() {
... | fixed setSeed(long)
| src/main/java/ro/sixi/eval/util/MersenneTwisterPyCompat.java | fixed setSeed(long) | <ide><path>rc/main/java/ro/sixi/eval/util/MersenneTwisterPyCompat.java
<ide> }
<ide>
<ide> public MersenneTwisterPyCompat(int seed) {
<del> super(seed);
<add> this(new int[] { seed });
<ide> }
<ide>
<ide> public MersenneTwisterPyCompat(int[] seed) {
<ide> }
<ide>
<ide> @Override... | |
Java | mit | 308b03e6253bb118ee12262ebe60fa1c4d8adbc7 | 0 | Malfeasant/SwineMeeper | package us.malfeasant.swinemeeper;
import java.util.ArrayList;
import java.util.Collections;
import javafx.application.Application;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.geometry.HPos;
import javafx.geometry.Insets;
import javafx.scene.Scene;
i... | src/us/malfeasant/swinemeeper/GameBoard.java | package us.malfeasant.swinemeeper;
import java.util.ArrayList;
import java.util.Collections;
import javafx.application.Application;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.geometry.HPos;
import javafx.geometry.Insets;
import javafx.scene.Scene;
i... | Minimize pauses timer | src/us/malfeasant/swinemeeper/GameBoard.java | Minimize pauses timer | <ide><path>rc/us/malfeasant/swinemeeper/GameBoard.java
<ide> // this is needed to allow the gameGrid to fill the remaining space when resized
<ide> VBox.setVgrow(gameGrid, Priority.ALWAYS);
<ide> gameGrid.setStyle("-fx-font-size: x-large");
<add>
<add> stage.iconifiedProperty().addListener((prop, then, now) ->... | |
Java | mit | 2e83e167ccfcbbee526b73a432bebb63ea097f99 | 0 | darshanhs90/Java-InterviewPrep,darshanhs90/Java-Coding | package GeeksforGeeksPractice;
/*
* Link : http://www.geeksforgeeks.org/ugly-numbers/
*/
public class _0094UglyNumbers {
public static void main(String[] args) {
System.out.println(findUglyNumberNaive(150));
System.out.println(findUglyNumberDP(150));
}
private static int findUglyNumberDP(int N... | src/GeeksforGeeksPractice/_0094UglyNumbers.java | package GeeksforGeeksPractice;
/*
* Link : http://www.geeksforgeeks.org/ugly-numbers/
*/
public class _0094UglyNumbers {
public static void main(String[] args) {
System.out.println(findUglyNumberNaive(10));
}
private static int findUglyNumberNaive(int i) {
int count=1;
int number=1;
if(i==1)... | ugly number dp completed | src/GeeksforGeeksPractice/_0094UglyNumbers.java | ugly number dp completed | <ide><path>rc/GeeksforGeeksPractice/_0094UglyNumbers.java
<ide> */
<ide> public class _0094UglyNumbers {
<ide> public static void main(String[] args) {
<del> System.out.println(findUglyNumberNaive(10));
<add> System.out.println(findUglyNumberNaive(150));
<add> System.out.println(findUglyNumberDP(150));
<add>
<ad... | |
Java | apache-2.0 | 936c57aeceb73e9fdf6a1315b9b687cb03c4a1b0 | 0 | amasciul/UDPDiscoverer | package fr.masciulli.udpdiscoverer.app;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast... | app/src/main/java/fr/masciulli/udpdiscoverer/app/MainActivity.java | package fr.masciulli.udpdiscoverer.app;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast... | Move method
| app/src/main/java/fr/masciulli/udpdiscoverer/app/MainActivity.java | Move method | <ide><path>pp/src/main/java/fr/masciulli/udpdiscoverer/app/MainActivity.java
<ide> messageField = (EditText) findViewById(R.id.message);
<ide> localPortField = (EditText) findViewById(R.id.local_port);
<ide> remotePortField = (EditText) findViewById(R.id.remote_port);
<del> }
<del>
<del> p... | |
JavaScript | mit | 6d9a9735eeb04182589ff9bd98569288667cb8d8 | 0 | sivakumar-kailasam/ember.js,sly7-7/ember.js,kanongil/ember.js,patricksrobertson/ember.js,jaswilli/ember.js,jasonmit/ember.js,csantero/ember.js,sly7-7/ember.js,asakusuma/ember.js,givanse/ember.js,Serabe/ember.js,tildeio/ember.js,mixonic/ember.js,givanse/ember.js,stefanpenner/ember.js,bekzod/ember.js,mixonic/ember.js,siv... | import { assign } from 'ember-utils';
import { assert, deprecate } from 'ember-debug';
/**
@module ember
@submodule ember-routing
*/
let uuid = 0;
class DSL {
constructor(name, options) {
this.parent = name;
this.enableLoadingSubstates = options && options.enableLoadingSubstates;
this.matches = [];
... | packages/ember-routing/lib/system/dsl.js | import { assign } from 'ember-utils';
import { assert, deprecate } from 'ember-debug';
/**
@module ember
@submodule ember-routing
*/
let uuid = 0;
class DSL {
constructor(name, options) {
this.parent = name;
this.enableLoadingSubstates = options && options.enableLoadingSubstates;
this.matches = [];
... | use flat array in `dsl`
| packages/ember-routing/lib/system/dsl.js | use flat array in `dsl` | <ide><path>ackages/ember-routing/lib/system/dsl.js
<ide>
<ide> if (url === '' || url === '/' || parts[parts.length - 1] === 'index') { this.explicitIndex = true; }
<ide>
<del> this.matches.push([url, name, callback]);
<add> this.matches.push(url, name, callback);
<ide> }
<ide>
<ide> resource(name, opti... | |
Java | apache-2.0 | 62465ada37700d0576e3d39fbf84b2c5d2cb6cf3 | 0 | jaredrummler/AndroidProcesses | /*
* Copyright (C) 2015. Jared Rummler <jared.rummler@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | sample/src/main/java/com/jaredrummler/android/processes/sample/dialogs/ProcessInfoDialog.java | /*
* Copyright (C) 2015. Jared Rummler <jared.rummler@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | add oom_score to process info dialog
| sample/src/main/java/com/jaredrummler/android/processes/sample/dialogs/ProcessInfoDialog.java | add oom_score to process info dialog | <ide><path>ample/src/main/java/com/jaredrummler/android/processes/sample/dialogs/ProcessInfoDialog.java
<ide> }
<ide>
<ide> try {
<add> html.p().strong("OOM SCORE: ").append(process.oom_score()).close();
<add> } catch (IOException e) {
<add> Log.d(TAG, String.format("Error reading /proc/%d/oom_sco... | |
Java | apache-2.0 | 3c692a7e624f4f83950f111d4836fb17df94b92b | 0 | arnost-starosta/midpoint,arnost-starosta/midpoint,arnost-starosta/midpoint,arnost-starosta/midpoint,arnost-starosta/midpoint | /*
* Copyright (c) 2010-2017 Evolveum
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | gui/admin-gui/src/main/java/com/evolveum/midpoint/web/util/MidPointStringResourceLoader.java | /*
* Copyright (c) 2010-2017 Evolveum
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | Fixed bug preventing displaying built-in constraint messages for named constraints.
| gui/admin-gui/src/main/java/com/evolveum/midpoint/web/util/MidPointStringResourceLoader.java | Fixed bug preventing displaying built-in constraint messages for named constraints. | <ide><path>ui/admin-gui/src/main/java/com/evolveum/midpoint/web/util/MidPointStringResourceLoader.java
<ide> locale = Session.exists() ? Session.get().getLocale() : Locale.getDefault();
<ide> }
<ide>
<del> return resourceLoader.translate(key, null, locale, key);
<add> return resourceL... | |
Java | bsd-2-clause | 14cbdb317874f25bb71b3e8c50ba4101d0e153ea | 0 | scifio/scifio | //
// FitsReader.java
//
/*
LOCI Bio-Formats package for reading and converting biological file formats.
Copyright (C) 2005-@year@ Melissa Linkert, Curtis Rueden, Chris Allan,
Eric Kjellman and Brian Loranger.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Library G... | loci/formats/in/FitsReader.java | //
// FitsReader.java
//
/*
LOCI Bio-Formats package for reading and converting biological file formats.
Copyright (C) 2005-@year@ Melissa Linkert, Curtis Rueden, Chris Allan,
Eric Kjellman and Brian Loranger.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Library G... | Flip images vertically.
| loci/formats/in/FitsReader.java | Flip images vertically. | <ide><path>oci/formats/in/FitsReader.java
<ide> }
<ide>
<ide> in.seek(2880 + 2880 * (((count * 80) - 1) / 2880));
<del> in.read(buf);
<add> int line = core.sizeX[0] * FormatTools.getBytesPerPixel(core.pixelType[0]);
<add> for (int y=core.sizeY[0]-1; y>=0; y--) {
<add> in.read(buf, y*line, line);... | |
JavaScript | isc | d78658c7e33751ee0d2862ccd718261ffd4de4f5 | 0 | bmeck/noda-updater | const task = require('generator-runner');
const hyperquest = require('hyperquest');
const concat = require('concat-stream');
const fs = require('fs');
const path = require('path');
const cp = require('child_process');
const semver = require('semver');
const tmp = require('tmp');
const minimatch = require('minimatch');
... | lib/index.js | const task = require('generator-runner');
const hyperquest = require('hyperquest');
const concat = require('concat-stream');
const fs = require('fs');
const path = require('path');
const cp = require('child_process');
const semver = require('semver');
const tmp = require('tmp');
const minimatch = require('minimatch');
... | cleanup, move things to fns
| lib/index.js | cleanup, move things to fns | <ide><path>ib/index.js
<ide> const tmp = require('tmp');
<ide> const minimatch = require('minimatch');
<ide>
<add>/*
<ide> check({
<ide> currentVersion: '1.0.0',
<ide> distUrl: 'https://iojs.org/dist',
<ide> if (err) console.error(`error: ${err.stack}`);
<ide> else console.log(`return: ${ret}`);
<ide> });
<add... | |
Java | unlicense | ba71da87805855bea1f9494a71dbf87993a6b87f | 0 | Arquisoft/censuses_2a | package es.uniovi.asw;
import static org.junit.Assert.*;
import org.junit.BeforeClass;
import org.junit.Test;
import es.uniovi.asw.DBUpdate.factories.Factories;
import es.uniovi.asw.DBUpdate.model.Usuario;
import es.uniovi.asw.DBUpdate.persistence.UsuarioDao;
import es.uniovi.asw.WriteReport.Log;
public class Test... | src/test/java/es/uniovi/asw/TestBD.java | package es.uniovi.asw;
import static org.junit.Assert.*;
import org.junit.BeforeClass;
import org.junit.Test;
import es.uniovi.asw.DBUpdate.factories.Factories;
import es.uniovi.asw.DBUpdate.model.Usuario;
import es.uniovi.asw.DBUpdate.persistence.UsuarioDao;
import es.uniovi.asw.WriteReport.Log;
public class Test... | modificacion dario
| src/test/java/es/uniovi/asw/TestBD.java | modificacion dario | <ide><path>rc/test/java/es/uniovi/asw/TestBD.java
<ide> public static void crearUsuarios(){
<ide>
<ide> user = new Usuario("Dario Suarez","UO230766@uniovi.es","71778298J",25);
<del> user1 = new Usuario("Victor","correo1","53548918L",12);
<del> user2 = new Usuario("Pepe","correo2","83656825Y",30);
<add> user1 =... | |
Java | unlicense | 9040a64dd0dac9daa3233eb52f31e5802917fb71 | 0 | Vexatos/EnderIO,eduardog3000/EnderIO,MrNuggelz/EnderIO,mezz/EnderIO,Vexatos/EnderIO,mmelvin0/EnderIO,D-Inc/EnderIO,Joccob/EnderIO,SleepyTrousers/EnderIO,torteropaid/EnderIO,Samernieve/EnderIO,Quantum64/EnderIO,Joccob/EnderIO,MatthiasMann/EnderIO,HenryLoenwind/EnderIO,eduardog3000/EnderIO | package crazypants.enderio.item.darksteel;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.EntityClientPlayerMP;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.attributes.AttributeModi... | src/main/java/crazypants/enderio/item/darksteel/DarkSteelController.java | package crazypants.enderio.item.darksteel;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.EntityClientPlayerMP;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.attributes.AttributeModi... | Fixed issues when DS leggings with speed upgrade ran out of power.
| src/main/java/crazypants/enderio/item/darksteel/DarkSteelController.java | Fixed issues when DS leggings with speed upgrade ran out of power. | <ide><path>rc/main/java/crazypants/enderio/item/darksteel/DarkSteelController.java
<ide> public void onPlayerTick(TickEvent.PlayerTickEvent event) {
<ide> EntityPlayer player = event.player;
<ide>
<del> //TODO: I am doing this at Phase.START and Phase.END
<del> //boots step height
<del> updateStepHeight... | |
JavaScript | mpl-2.0 | 89af94c8e8179391e44dd4dfa0e6ff50ff80ff39 | 0 | brentan/swift_calcs_client | /* Use the giac_generic class, along with the createGiacElement constructor,
to create many of the basic giac function blocks that don't require special
controls (such as solve does) */
createGiacElement({
name: 'fft',
code: 'fourier transform',
helpText: '<<fourier transform <[DATA]>>>\nComputer the discrete... | src/elements/math_output/giac_generic_constructors.js | /* Use the giac_generic class, along with the createGiacElement constructor,
to create many of the basic giac function blocks that don't require special
controls (such as solve does) */
createGiacElement({
name: 'fft',
code: 'fourier transform',
helpText: '<<fourier transform <[DATA]>>>\nComputer the discrete... | Fir taylor thing again
| src/elements/math_output/giac_generic_constructors.js | Fir taylor thing again | <ide><path>rc/elements/math_output/giac_generic_constructors.js
<ide> "around <<MathQuill {ghost: '0', default: '0' }>>",
<ide> "of order <<MathQuill {ghost: '5', default: '5'}>> <<SelectBox {options: { 0: 'Bidirectional', 1: 'Unidirectional positive', -1: 'Unidirectional negative'}}>>"
<ide> ],
<del> command: "ta... | |
Java | mit | 72dc06b7eb12027bf09a3249aea0aa4d06ee7691 | 0 | chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster | package fi.csc.microarray.client.visualisation.methods.gbrowser.message;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.Time;
import java.util.LinkedList;
i... | src/main/java/fi/csc/microarray/client/visualisation/methods/gbrowser/message/AnnotationsScreen.java | package fi.csc.microarray.client.visualisation.methods.gbrowser.message;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.Time;
import java.util.LinkedList;
i... | cleaned code
| src/main/java/fi/csc/microarray/client/visualisation/methods/gbrowser/message/AnnotationsScreen.java | cleaned code | <ide><path>rc/main/java/fi/csc/microarray/client/visualisation/methods/gbrowser/message/AnnotationsScreen.java
<ide> import fi.csc.microarray.client.tasks.TaskExecutor;
<ide>
<ide> /**
<del> * @author Petri Klemelä
<add> * Screen for downloading annotations files used by the genome browser.
<add> *
<add> * @author Ta... | |
JavaScript | mit | f8cc6c288163f435e3a832bb580f232c37150c9d | 0 | svivian/Pokemon-Showdown,xfix/Pokemon-Showdown,AustinXII/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,urkerab/Pokemon-Showdown,Zarel/Pokemon-Showdown,xfix/Pokemon-Showdown,AustinXII/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,svivian/Pokemon-Showdown,svivian/Pok... | /**
* Matchmaker
* Pokemon Showdown - http://pokemonshowdown.com/
*
* This keeps track of challenges to battle made between users, setting up
* matches between users looking for a battle, and starting new battles.
*
* @License MIT License
*/
'use strict';
/** @type {typeof LadderStoreT} */
const LadderStore =... | server/ladders.js | /**
* Matchmaker
* Pokemon Showdown - http://pokemonshowdown.com/
*
* This keeps track of challenges to battle made between users, setting up
* matches between users looking for a battle, and starting new battles.
*
* @License MIT License
*/
'use strict';
/** @type {typeof LadderStoreT} */
const LadderStore =... | Clarify message for multi-laddering
| server/ladders.js | Clarify message for multi-laddering | <ide><path>erver/ladders.js
<ide>
<ide> const roomid = this.needsToMove(user);
<ide> if (roomid) {
<del> connection.popup(`Error: You need to make a move in <<${roomid}>> before you can look for another battle.`);
<add> connection.popup(`Error: You need to make a move in <<${roomid}>> before you can look for a... | |
JavaScript | mpl-2.0 | 0a5f5eed17073a16882b639d1feb19c1a16df6f6 | 0 | diasdavid/browser-laptop,luixxiul/browser-laptop,diasdavid/browser-laptop,manninglucas/browser-laptop,luixxiul/browser-laptop,timborden/browser-laptop,pmkary/braver,Sh1d0w/browser-laptop,Sh1d0w/browser-laptop,MKuenzi/browser-laptop,dcposch/browser-laptop,luixxiul/browser-laptop,willy-b/browser-laptop,MKuenzi/browser-la... | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
'use strict'
const messages = require('../js/constants/messages')
const electron = require('electron')
const sess... | app/filtering.js | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
'use strict'
const messages = require('../js/constants/messages')
const electron = require('electron')
const sess... | Refactor away results cbArgs
This was never getting set to anything other than '{}'
| app/filtering.js | Refactor away results cbArgs | <ide><path>pp/filtering.js
<ide> }
<ide>
<ide> let results
<del> let cbArgs = {}
<ide> for (let i = 0; i < filteringFns.length; i++) {
<ide> let currentResults = filteringFns[i](details)
<ide> if (currentResults && !module.exports.isResourceEnabled(currentResults.resourceName)) {
<ide> ... | |
Java | apache-2.0 | 8bd0d0ae4f1a4060f4cbecbecb91148cec3ecddd | 0 | robertzak/goodreads-parser | package noorg.bookparsing.domain.types;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* <p>Copyright 2014 Robert J. Zak
*
* <p>Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | src/main/java/noorg/bookparsing/domain/types/ReadState.java | package noorg.bookparsing.domain.types;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* <p>Copyright 2014 Robert J. Zak
*
* <p>Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | Adding On Hold State
I added a new/custom exclusive shelf called On-Hold, so I'm adding this
to the enum as it is/could be a somewhat standard custom shelf. | src/main/java/noorg/bookparsing/domain/types/ReadState.java | Adding On Hold State I added a new/custom exclusive shelf called On-Hold, so I'm adding this to the enum as it is/could be a somewhat standard custom shelf. | <ide><path>rc/main/java/noorg/bookparsing/domain/types/ReadState.java
<ide> *
<ide> */
<ide> public enum ReadState {
<del> ABANDONED, CURRENTLY_READING, READ, TO_READ, UNKNOWN;
<add> ABANDONED, CURRENTLY_READING, ON_HOLD, READ, TO_READ, UNKNOWN;
<ide>
<ide> private static final Logger logger = LoggerFactory.getLog... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.