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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
JavaScript | mit | 1ed1be7deacf3e40905b623c611433b17e1f8dd8 | 0 | warmuuh/yaap | /** @license MIT License (c) copyright 2013 original author or authors */
/**
* @Autowired annotation processor.
*
* Autowires parameters of function calls based on a given or the parameter name.
*
* needs wire to be in the configuration object.
*
*
* Licensed under the MIT License at:
* htt... | yaap/wire/express/plugins/VerbProcessors.js | /** @license MIT License (c) copyright 2013 original author or authors */
/**
* @Autowired annotation processor.
*
* Autowires parameters of function calls based on a given or the parameter name.
*
* needs wire to be in the configuration object.
*
*
* Licensed under the MIT License at:
* htt... | wire/express req res parameter injection
| yaap/wire/express/plugins/VerbProcessors.js | wire/express req res parameter injection | <ide><path>aap/wire/express/plugins/VerbProcessors.js
<ide>
<ide>
<ide> function registerExpressCallback(path, fnExpress, obj, fnDescription, context){
<add>
<ide> path = path || '/' + fnDescription.name; //in case of no-argument annotation, use fnName as endpoint
<ide>
<ide> //prepend basename
<ide>
<id... | |
Java | apache-2.0 | 28e6ea721ac08eba498949cf2be2c06e146664cc | 0 | GabrielBrascher/cloudstack,jcshen007/cloudstack,jcshen007/cloudstack,DaanHoogland/cloudstack,DaanHoogland/cloudstack,wido/cloudstack,wido/cloudstack,wido/cloudstack,wido/cloudstack,DaanHoogland/cloudstack,DaanHoogland/cloudstack,jcshen007/cloudstack,wido/cloudstack,wido/cloudstack,DaanHoogland/cloudstack,DaanHoogland/c... | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | api/src/main/java/org/apache/cloudstack/api/command/admin/user/UpdateUserCmd.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... | UpdateUserCmd: apiSecretKey refers to itself (#2597)
* UpdateUserCmd: apiSecretKey refers to itself
* typo: hasing -> hashing
| api/src/main/java/org/apache/cloudstack/api/command/admin/user/UpdateUserCmd.java | UpdateUserCmd: apiSecretKey refers to itself (#2597) | <ide><path>pi/src/main/java/org/apache/cloudstack/api/command/admin/user/UpdateUserCmd.java
<ide>
<ide> @Parameter(name = ApiConstants.PASSWORD,
<ide> type = CommandType.STRING,
<del> description = "Clear text password (default hashed to SHA256SALT). If you wish to use any other hasing algor... | |
JavaScript | mit | 9e2bfc82a927c45f6f7f988bac85812b15250382 | 0 | BeamNG/ui,BeamNG/ui | $.widget( "beamNG.app", $.ui.dialog, {
options: {
app: null,
persistance: undefined,
active: true,
editMode: false,
refPointOffset : [0, 0],
referencePoint : [0, 0] // [0,0] = upper left, [1,1] = lower right
},
_create : function(){
this.app = this.options.app;
this.appName = this.app.na... | js/app.js | $.widget( "beamNG.app", $.ui.dialog, {
options: {
app: null,
persistance: undefined,
active: true,
editMode: false,
refPointOffset : [0, 0],
referencePoint : [0, 0] // [0,0] = upper left, [1,1] = lower right
},
_create : function(){
this.app = this.options.app;
this.appName = this.app.na... | [improved] apploading, list of apps isn't hardcoded anymore
| js/app.js | [improved] apploading, list of apps isn't hardcoded anymore | <ide><path>s/app.js
<ide> });
<ide>
<ide> $(document).ready(function() {
<del> AppLoader.installedApps = ["Tacho","WheelsDebug", "Debug","NodeBeamDebug","EngineDebug","TorqueCurve","gForcesDebug","SimpleTacho","SimpleSpeedo","SimpleSteering","SimplePedals","SimpleDash","SimpleAGears","SimpleNBDebug","SimpleEngineDebug... | |
Java | apache-2.0 | 603cc8de6aded0fd36802ec06f3bebb96b676a88 | 0 | TKnudsen/ComplexDataObject | package com.github.TKnudsen.ComplexDataObject.data.distanceMatrix;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.github.TKnudsen.ComplexDataObject.model.distanceMeasure.IDistanceMeasure;
/**
* <p>
* Title: DistanceMatrix
* </p>
*
* <... | src/main/java/com/github/TKnudsen/ComplexDataObject/data/distanceMatrix/DistanceMatrix.java | package com.github.TKnudsen.ComplexDataObject.data.distanceMatrix;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.github.TKnudsen.ComplexDataObject.model.distanceMeasure.IDistanceMeasure;
/**
* <p>
* Title: DistanceMatrix
* </p>
*
* <p>
* Description: Stores an... | distance matrix | src/main/java/com/github/TKnudsen/ComplexDataObject/data/distanceMatrix/DistanceMatrix.java | distance matrix | <ide><path>rc/main/java/com/github/TKnudsen/ComplexDataObject/data/distanceMatrix/DistanceMatrix.java
<ide> package com.github.TKnudsen.ComplexDataObject.data.distanceMatrix;
<ide>
<add>import java.util.ArrayList;
<ide> import java.util.HashMap;
<ide> import java.util.List;
<ide> import java.util.Map;
<ide> protected... | |
Java | agpl-3.0 | 7f777a6202ca9eeffde4432a15f7c97531af4496 | 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 | 86ee9ab6-2e60-11e5-9284-b827eb9e62be | hello.java | 86e9196a-2e60-11e5-9284-b827eb9e62be | 86ee9ab6-2e60-11e5-9284-b827eb9e62be | hello.java | 86ee9ab6-2e60-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>86e9196a-2e60-11e5-9284-b827eb9e62be
<add>86ee9ab6-2e60-11e5-9284-b827eb9e62be | |
Java | apache-2.0 | 33f71e1250da5ab6afbd75010472265c22c996e7 | 0 | argv0/cloudstack,cinderella/incubator-cloudstack,jcshen007/cloudstack,DaanHoogland/cloudstack,resmo/cloudstack,jcshen007/cloudstack,resmo/cloudstack,mufaddalq/cloudstack-datera-driver,DaanHoogland/cloudstack,wido/cloudstack,mufaddalq/cloudstack-datera-driver,wido/cloudstack,wido/cloudstack,GabrielBrascher/cloudstack,ci... | /**
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
*
* This software is licensed under the GNU General Public License v3 or later.
*
* It 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, e... | server/src/com/cloud/storage/StorageManagerImpl.java | /**
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
*
* This software is licensed under the GNU General Public License v3 or later.
*
* It 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, e... | bug 7408: returning the source id and source type for vol creation
status 7408: resolved fixed
| server/src/com/cloud/storage/StorageManagerImpl.java | bug 7408: returning the source id and source type for vol creation status 7408: resolved fixed | <ide><path>erver/src/com/cloud/storage/StorageManagerImpl.java
<ide> // _accountMgr.incrementResourceCount(createdVolume.getAccountId(), ResourceType.volume);
<ide> _accountMgr.incrementResourceCount(volume.getAccountId(), ResourceType.volume);
<ide> VolumeVO v... | |
Java | mit | c0872d762eae578e24e5212e08a1958d249f6f89 | 0 | RootServices/otter | package org.rootservices.otter.servlet;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.rootservices.otter.config.OtterAppFactory;
import org.rootservices.otter.controller.entity.DefaultSession;
import org.rootservices.otter.controller.entity.DefaultUser;
import org.rootservices.otter.... | otter/src/main/java/org/rootservices/otter/servlet/OtterEntryServlet.java | package org.rootservices.otter.servlet;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.rootservices.otter.config.OtterAppFactory;
import org.rootservices.otter.controller.entity.DefaultSession;
import org.rootservices.otter.controller.entity.DefaultUser;
import org.rootservices.otter.... | 107: doesn't re init otter when entry servlet is re created.
| otter/src/main/java/org/rootservices/otter/servlet/OtterEntryServlet.java | 107: doesn't re init otter when entry servlet is re created. | <ide><path>tter/src/main/java/org/rootservices/otter/servlet/OtterEntryServlet.java
<ide> */
<ide> public abstract class OtterEntryServlet extends HttpServlet {
<ide> public static final String DESTROYING_SERVLET = "destroying servlet";
<del> protected static Logger logger = LogManager.getLogger(OtterEntryServl... | |
Java | apache-2.0 | b92934bc671ef990d371ccb72fbf474f09a680ad | 0 | apache/logging-log4j2,codescale/logging-log4j2,GFriedrich/logging-log4j2,xnslong/logging-log4j2,GFriedrich/logging-log4j2,GFriedrich/logging-log4j2,apache/logging-log4j2,codescale/logging-log4j2,xnslong/logging-log4j2,apache/logging-log4j2,xnslong/logging-log4j2,codescale/logging-log4j2 | /*
* 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 n... | log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileManager.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 n... | [LOG4J2-1699] Configurable Log File Permissions with
PosixFilePermission. Reformat the new method definePathAttributeView(). | log4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileManager.java | [LOG4J2-1699] Configurable Log File Permissions with PosixFilePermission. Reformat the new method definePathAttributeView(). | <ide><path>og4j-core/src/main/java/org/apache/logging/log4j/core/appender/FileManager.java
<ide> }
<ide>
<ide> protected void definePathAttributeView(final Path path) throws IOException {
<del> if (filePermissions != null || fileOwner != null || fileGroup != null) {
<del> // FileOutputStream may no... | |
Java | mit | 07ffe7e02e23173b5a45dd78c302c1c252d0da2d | 0 | mhogrefe/qbar | package mho.qbar.objects;
import mho.wheels.iterables.IterableUtils;
import mho.wheels.misc.FloatingPointUtils;
import mho.wheels.misc.Readers;
import mho.wheels.ordering.Ordering;
import mho.wheels.structures.Pair;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.math.... | src/main/java/mho/qbar/objects/Interval.java | package mho.qbar.objects;
import mho.wheels.iterables.IterableUtils;
import mho.wheels.misc.FloatingPointUtils;
import mho.wheels.misc.Readers;
import mho.wheels.ordering.Ordering;
import mho.wheels.structures.Pair;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.math.... | added invert and invertHull docs
| src/main/java/mho/qbar/objects/Interval.java | added invert and invertHull docs | <ide><path>rc/main/java/mho/qbar/objects/Interval.java
<ide> }
<ide> }
<ide>
<add> /**
<add> * Returns the closure of the image of {@code this} under multiplicative inversion. In general this is not one
<add> * {@code Interval}, so this method returns a list of disjoint {@code Interval}s whose u... | |
Java | bsd-2-clause | 2ee80d6c16f08d790b7230707f7007f4ff5f0904 | 0 | KronosDesign/runelite,runelite/runelite,Sethtroll/runelite,Sethtroll/runelite,KronosDesign/runelite,abelbriggs1/runelite,l2-/runelite,runelite/runelite,runelite/runelite,abelbriggs1/runelite,abelbriggs1/runelite,l2-/runelite | /*
* Copyright (c) 2018, SomeoneWithAnInternetConnection
* Copyright (c) 2018, Psikoi <https://github.com/psikoi>
* 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 ... | runelite-client/src/main/java/net/runelite/client/plugins/grandexchange/GrandExchangeOfferSlot.java | /*
* Copyright (c) 2018, SomeoneWithAnInternetConnection
* Copyright (c) 2018, Psikoi <https://github.com/psikoi>
* 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 ... | grandexchange: Format 'Price each' value for items in additional information layout
| runelite-client/src/main/java/net/runelite/client/plugins/grandexchange/GrandExchangeOfferSlot.java | grandexchange: Format 'Price each' value for items in additional information layout | <ide><path>unelite-client/src/main/java/net/runelite/client/plugins/grandexchange/GrandExchangeOfferSlot.java
<ide>
<ide> offerInfo.setText(offerState);
<ide>
<del> itemPrice.setText(htmlLabel("Price each: ", newOffer.getPrice() + ""));
<add> itemPrice.setText(htmlLabel("Price each: ", StackFormatter.formatNum... | |
Java | apache-2.0 | 772bb5d6f25035f1e912053685e36a18ed4b6591 | 0 | tmurakami/dexopener,tmurakami/dexopener | package com.github.tmurakami.dexopener;
import android.app.Instrumentation;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.support.annotation.NonNull;
/**
* This is an object that provides the ability to mock final classes and methods.
*/
@SuppressWarnings("WeakerAccess")
... | dexopener/src/main/java/com/github/tmurakami/dexopener/DexOpener.java | package com.github.tmurakami.dexopener;
import android.app.Instrumentation;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.support.annotation.NonNull;
/**
* This is an object that provides the ability to mock final classes and methods.
*/
@SuppressWarnings("WeakerAccess")
... | Remove deprecated methods
| dexopener/src/main/java/com/github/tmurakami/dexopener/DexOpener.java | Remove deprecated methods | <ide><path>exopener/src/main/java/com/github/tmurakami/dexopener/DexOpener.java
<ide> * Note that final classes loaded before calling this cannot be mocked.
<ide> *
<ide> * @param classLoader the class loader
<del> * @deprecated use {@link #installTo(ClassLoader)} instead
<del> */
<del> @Depre... | |
Java | apache-2.0 | 304be2a9eed78281d1252e90a08486235ed51448 | 0 | fnouama/intellij-community,clumsy/intellij-community,wreckJ/intellij-community,samthor/intellij-community,salguarnieri/intellij-community,Lekanich/intellij-community,kdwink/intellij-community,kdwink/intellij-community,retomerz/intellij-community,ThiagoGarciaAlves/intellij-community,ivan-fedorov/intellij-community,signe... | /*
* Copyright 2000-2007 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 agreed ... | plugins/groovy/rt/src/org/jetbrains/groovy/compiler/rt/GroovycRunner.java | /*
* Copyright 2000-2007 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 agreed ... | more diagnostics
| plugins/groovy/rt/src/org/jetbrains/groovy/compiler/rt/GroovycRunner.java | more diagnostics | <ide><path>lugins/groovy/rt/src/org/jetbrains/groovy/compiler/rt/GroovycRunner.java
<ide> final ArrayList list = Collections.list(resources);
<ide> for (Iterator iterator = list.iterator(); iterator.hasNext();) {
<ide> final URL url = (URL)iterator.next();
<del> if ("file".equ... | |
Java | apache-2.0 | 5a75dc18159e7fb3a445159b479a56877218bcd7 | 0 | zawn/cas,zawn/cas,moghaddam/cas,PetrGasparik/cas,joansmith/cas,yisiqi/cas,joansmith/cas,moghaddam/cas,joansmith/cas,PetrGasparik/cas,yisiqi/cas,moghaddam/cas,PetrGasparik/cas,moghaddam/cas,joansmith/cas,zawn/cas,zhoffice/cas,yisiqi/cas,PetrGasparik/cas,yisiqi/cas,zhoffice/cas,zhoffice/cas,zawn/cas,zhoffice/cas | /*
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in c... | cas-server-support-trusted/src/test/java/org/jasig/cas/adaptors/trusted/web/flow/PrincipalFromRequestUserPrincipalNonInteractiveCredentialsActionTests.java | /*
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in c... | working on test cases
| cas-server-support-trusted/src/test/java/org/jasig/cas/adaptors/trusted/web/flow/PrincipalFromRequestUserPrincipalNonInteractiveCredentialsActionTests.java | working on test cases | <ide><path>as-server-support-trusted/src/test/java/org/jasig/cas/adaptors/trusted/web/flow/PrincipalFromRequestUserPrincipalNonInteractiveCredentialsActionTests.java
<ide> import org.jasig.cas.util.UniqueTicketIdGenerator;
<ide> import org.junit.Before;
<ide> import org.junit.Test;
<add>import org.springframework.conte... | |
JavaScript | cc0-1.0 | 38322e1412e37112faa46fd3eec8ece464462bd2 | 0 | badges/shields,badges/shields,badges/shields | 'use strict'
const request = require('request')
const queryString = require('query-string')
const makeBadge = require('../../badge-maker/lib/make-badge')
const { setCacheHeaders } = require('./cache-headers')
const {
Inaccessible,
InvalidResponse,
ShieldsRuntimeError,
} = require('./errors')
const { makeSend } =... | core/base-service/legacy-request-handler.js | 'use strict'
const request = require('request')
const queryString = require('query-string')
const makeBadge = require('../../badge-maker/lib/make-badge')
const { setCacheHeaders } = require('./cache-headers')
const {
Inaccessible,
InvalidResponse,
ShieldsRuntimeError,
} = require('./errors')
const { makeSend } =... | redirect /endpoint with no query params to endpoint docs (#5137)
Co-authored-by: repo-ranger[bot] <4f5691a0f42c9db700937238e633bc238b94b55c@users.noreply.github.com> | core/base-service/legacy-request-handler.js | redirect /endpoint with no query params to endpoint docs (#5137) | <ide><path>ore/base-service/legacy-request-handler.js
<ide> } = handlerOptions
<ide>
<ide> return (queryParams, match, end, ask) => {
<add> /*
<add> This is here for legacy reasons. The badge server and frontend used to live
<add> on two different servers. When we merged them there was a conflict so we
<a... | |
Java | mit | 9fa80fd12570b4752ee8a776857f9a00b9f7ab53 | 0 | paveyry/LyreLand,paveyry/LyreLand | package tonality;
import java.util.Arrays;
import java.util.List;
/**
* Created by olivier on 16/05/16.
*/
public class Chord {
private int _root;
private int _mediant;
private int _dominante;
public Chord (int root, String s) {
_root = root;
_mediant = root + (s.equals("major")? 4 ... | src/tonality/Chord.java | package tonality;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* Created by olivier on 16/05/16.
*/
public class Chord {
private int _root;
private int _mediant;
private int _dominante;
public Chord (int root, String s) {
_r... | tonality: remove useless imports
| src/tonality/Chord.java | tonality: remove useless imports | <ide><path>rc/tonality/Chord.java
<ide> package tonality;
<ide>
<del>import java.lang.reflect.Array;
<del>import java.util.ArrayList;
<ide> import java.util.Arrays;
<ide> import java.util.List;
<ide> | |
Java | mit | 70749ff26a95d4cc5fafad0efa0da2add3ac36c7 | 0 | pickles-dev/SocialSharing-PhoneGap-Plugin,pickles-dev/SocialSharing-PhoneGap-Plugin,pickles-dev/SocialSharing-PhoneGap-Plugin | package nl.xservices.plugins;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.net.Uri;
import android.util.Base64;
import org.apache.... | src/android/nl/xservices/plugins/SocialSharing.java | package nl.xservices.plugins;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.net.Uri;
import android.util.Base64;
import org.apache.... | Not blocking the WebCore thread anymore (issue 34)
| src/android/nl/xservices/plugins/SocialSharing.java | Not blocking the WebCore thread anymore (issue 34) | <ide><path>rc/android/nl/xservices/plugins/SocialSharing.java
<ide> import android.net.Uri;
<ide> import android.util.Base64;
<ide> import org.apache.cordova.CallbackContext;
<add>import org.apache.cordova.CordovaInterface;
<ide> import org.apache.cordova.CordovaPlugin;
<ide> import org.apache.cordova.PluginResult;
<id... | |
Java | apache-2.0 | 90a1374750f3f92749b4876a043a13f9dcc0ced5 | 0 | openzipkin/zipkin-reporter-java,openzipkin/zipkin-reporter-java | /*
* Copyright 2016-2020 The OpenZipkin Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | kafka/src/test/java/zipkin2/reporter/kafka/ITKafkaSender.java | /*
* Copyright 2016-2019 The OpenZipkin Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | license
| kafka/src/test/java/zipkin2/reporter/kafka/ITKafkaSender.java | license | <ide><path>afka/src/test/java/zipkin2/reporter/kafka/ITKafkaSender.java
<ide> /*
<del> * Copyright 2016-2019 The OpenZipkin Authors
<add> * Copyright 2016-2020 The OpenZipkin Authors
<ide> *
<ide> * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
<ide> * in compliance... | |
Java | apache-2.0 | 93d8aac7c4e962da72cf70e3e88142a302ae94d1 | 0 | mosoft521/wicket,aldaris/wicket,AlienQueen/wicket,mosoft521/wicket,AlienQueen/wicket,bitstorm/wicket,dashorst/wicket,freiheit-com/wicket,AlienQueen/wicket,freiheit-com/wicket,bitstorm/wicket,astrapi69/wicket,selckin/wicket,dashorst/wicket,aldaris/wicket,dashorst/wicket,bitstorm/wicket,astrapi69/wicket,apache/wicket,klo... | /*
* 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 ... | wicket-core/src/main/java/org/apache/wicket/core/request/handler/PageAndComponentProvider.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 ... | Fix Javadoc error
(cherry picked from commit f0eb015745d387f8051b12acf051705eea4e31c9)
| wicket-core/src/main/java/org/apache/wicket/core/request/handler/PageAndComponentProvider.java | Fix Javadoc error | <ide><path>icket-core/src/main/java/org/apache/wicket/core/request/handler/PageAndComponentProvider.java
<ide> }
<ide>
<ide> /**
<del> * @see PageProvider#PageProvider(int, Class, Integer)
<add> * @see PageProvider#PageProvider(Integer, Class, Integer)
<ide> *
<ide> * @param pageId
<ide> * @param pageClass | |
Java | agpl-3.0 | error: pathspec 'src/test/java/ca/nrc/cadc/beacon/web/resources/GroupNameServerResourceTest.java' did not match any file(s) known to git
| 5e234fc6d607af715b9de153edb9f05449a37759 | 1 | opencadc/vosui,opencadc/cadc-vosui,canfar/vosui,opencadc/cadc-vosui,opencadc/cadc-vosui,opencadc/vosui,canfar/vosui,hjeeves/cadc-vosui,opencadc/vosui,hjeeves/cadc-vosui,opencadc/vosui,opencadc/cadc-vosui,hjeeves/cadc-vosui,hjeeves/cadc-vosui | package ca.nrc.cadc.beacon.web.resources;
import ca.nrc.cadc.reg.client.RegistryClient;
import ca.nrc.cadc.vos.ContainerNode;
import ca.nrc.cadc.vos.LinkNode;
import ca.nrc.cadc.vos.VOSURI;
import org.json.JSONObject;
import org.junit.Test;
import org.restlet.Request;
import org.restlet.Response;
import org.restlet.da... | src/test/java/ca/nrc/cadc/beacon/web/resources/GroupNameServerResourceTest.java | s2041, t7762 initial commit for browser test
| src/test/java/ca/nrc/cadc/beacon/web/resources/GroupNameServerResourceTest.java | s2041, t7762 initial commit for browser test | <ide><path>rc/test/java/ca/nrc/cadc/beacon/web/resources/GroupNameServerResourceTest.java
<add>package ca.nrc.cadc.beacon.web.resources;
<add>
<add>import ca.nrc.cadc.reg.client.RegistryClient;
<add>import ca.nrc.cadc.vos.ContainerNode;
<add>import ca.nrc.cadc.vos.LinkNode;
<add>import ca.nrc.cadc.vos.VOSURI;
<add>impo... | |
Java | apache-2.0 | decce3a1209efcaf6eebbd9b8680c4343e6ccaee | 0 | kidaa/maven-1,mizdebsk/maven,wangyuesong0/maven,gorcz/maven,wangyuesong/maven,vedmishr/demo1,olamy/maven,trajano/maven,stephenc/maven,apache/maven,rogerchina/maven,aheritier/maven,olamy/maven,pkozelka/maven,ChristianSchulte/maven,aheritier/maven,likaiwalkman/maven,cstamas/maven,atanasenko/maven,ChristianSchulte/maven,w... | package org.apache.maven.model.merge;
/*
* 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 Licens... | maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java | package org.apache.maven.model.merge;
/*
* 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 Licens... | [MNG-5153] ModelMerger omits relativ path
git-svn-id: d3061b52f177ba403f02f0a296a85518da96c313@1156671 13f79535-47bb-0310-9956-ffa450edef68
| maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java | [MNG-5153] ModelMerger omits relativ path | <ide><path>aven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java
<ide> if ( tgt == null )
<ide> {
<ide> tgt = new Parent();
<add> tgt.setRelativePath( null );
<ide> target.setParent( tgt );
<ide> }
<ide> merg... | |
Java | apache-2.0 | 9453cf508bdc6ce3f629ccaffa045a7fe81b859e | 0 | blackducksoftware/hub-common,blackducksoftware/hub-common,blackducksoftware/hub-common | /*******************************************************************************
* Black Duck Software Suite SDK
* Copyright (C) 2016 Black Duck Software, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | src/main/java/com/blackducksoftware/integration/hub/exception/ValidationException.java | /*******************************************************************************
* Black Duck Software Suite SDK
* Copyright (C) 2016 Black Duck Software, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | fixing method names
| src/main/java/com/blackducksoftware/integration/hub/exception/ValidationException.java | fixing method names | <ide><path>rc/main/java/com/blackducksoftware/integration/hub/exception/ValidationException.java
<ide> public class ValidationException extends RuntimeException {
<ide> private static final long serialVersionUID = 9001308081326471943L;
<ide>
<del> private final ValidationExceptionEnum validationMessageType;
<add> pri... | |
Java | apache-2.0 | 74908667d5cbee07aeaafff4343ddcd7556ed8ae | 0 | opensingular/singular-core,opensingular/singular-core,opensingular/singular-core,opensingular/singular-core | /*
* Copyright (c) 2016, Mirante and/or its affiliates. All rights reserved.
* Mirante PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package br.net.mirante.singular.flow.core;
import br.net.mirante.singular.commons.base.SingularException;
import br.net.mirante.singular.flow.core.builder.ITaskDefini... | flow/core/src/main/java/br/net/mirante/singular/flow/core/ProcessInstance.java | /*
* Copyright (c) 2016, Mirante and/or its affiliates. All rights reserved.
* Mirante PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package br.net.mirante.singular.flow.core;
import java.io.Serializable;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.O... | Ajustando persistencia do transição executada
| flow/core/src/main/java/br/net/mirante/singular/flow/core/ProcessInstance.java | Ajustando persistencia do transição executada | <ide><path>low/core/src/main/java/br/net/mirante/singular/flow/core/ProcessInstance.java
<ide>
<ide> package br.net.mirante.singular.flow.core;
<ide>
<del>import java.io.Serializable;
<del>import java.util.Collections;
<del>import java.util.Date;
<del>import java.util.List;
<del>import java.util.Objects;
<del>import ... | |
Java | apache-2.0 | b8507e699eb656d32e0131e688f3a302d4106e98 | 0 | apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4,apache/tomcat | /*
* 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 ... | java/org/apache/jasper/compiler/Generator.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 ... | Fix second part of Comment 8 in https://issues.apache.org/bugzilla/show_bug.cgi?id=47413#c8
Coerce result of composite EL expression (${a}${b}) from String to the expected type.
git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@893001 13f79535-47bb-0310-9956-ffa450edef68
| java/org/apache/jasper/compiler/Generator.java | Fix second part of Comment 8 in https://issues.apache.org/bugzilla/show_bug.cgi?id=47413#c8 Coerce result of composite EL expression (${a}${b}) from String to the expected type. | <ide><path>ava/org/apache/jasper/compiler/Generator.java
<ide> output.append(" + ");
<ide> }
<ide> output.append(quote(tx.substring(mark, i)));
<add> }
<add> if (expectedType != type && !expectedType.isAssignableFrom(type)) {
<add> ... | |
JavaScript | mit | fed94f1ba3327f5645ebd2e733c394baf342e3a8 | 0 | lepovica/WarCluster-AI | function FuzzyTriangleSet(leftOffset, peakPoint, rightOffset) {
return {
_peakPoint : peakPoint,
_leftOffset : leftOffset,
_rightOffset : rightOffset,
calculateDOM : function(value) {
if( ((rightOffset === 0.0) && (peakPoint === value)) || ((leftOffset === 0.0) && (peakPoint === value)) ) {
return 1... | AI/FuzztTriangleSet.js | function TriangleFuzzySet(leftOffset, peakPoint, rightOffset) {
return {
_peakPoint : peakPoint,
_leftOffset : leftOffset,
_rightOffset : rightOffset,
calculateDOM : function(value) {
if( ((rightOffset === 0.0) && (peakPoint === value)) || ((leftOffset === 0.0) && (peakPoint === value)) ) {
return 1... | change name of function in triangle set
| AI/FuzztTriangleSet.js | change name of function in triangle set | <ide><path>I/FuzztTriangleSet.js
<del>function TriangleFuzzySet(leftOffset, peakPoint, rightOffset) {
<add>function FuzzyTriangleSet(leftOffset, peakPoint, rightOffset) {
<ide> return {
<ide> _peakPoint : peakPoint,
<ide> _leftOffset : leftOffset, | |
Java | lgpl-2.1 | 072a83ca27a153e493b40c42a941556bbfc89e70 | 0 | ACS-Community/ACS,csrg-utfsm/acscb,csrg-utfsm/acscb,ACS-Community/ACS,jbarriosc/ACSUFRO,jbarriosc/ACSUFRO,ACS-Community/ACS,csrg-utfsm/acscb,jbarriosc/ACSUFRO,jbarriosc/ACSUFRO,jbarriosc/ACSUFRO,jbarriosc/ACSUFRO,csrg-utfsm/acscb,csrg-utfsm/acscb,ACS-Community/ACS,jbarriosc/ACSUFRO,ACS-Community/ACS,jbarriosc/ACSUFRO,c... | /*
* Created on Aug 29, 2003 by mschilli
*/
package alma.acs.commandcenter.meta;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.omg.PortableServer.POA;
import alma.acs.component.client.ComponentClient;
import alma.acs.component.client.AdvancedComponentClient;
import alma.acs.container.... | LGPL/CommonSoftware/acscommandcenter/src/alma/acs/commandcenter/meta/Firestarter.java | /*
* Created on Aug 29, 2003 by mschilli
*/
package alma.acs.commandcenter.meta;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.omg.PortableServer.POA;
import alma.acs.component.client.AdvancedComponentClient;
import alma.acs.container.ContainerServices;
import alma.acs.container.corba... | reverted method signature of createComponentClient(), so it is backward-compatible with Acs 5.0.3
git-svn-id: afcf11d89342f630bd950d18a70234a9e277d909@56308 523d945c-050c-4681-91ec-863ad3bb968a
| LGPL/CommonSoftware/acscommandcenter/src/alma/acs/commandcenter/meta/Firestarter.java | reverted method signature of createComponentClient(), so it is backward-compatible with Acs 5.0.3 | <ide><path>GPL/CommonSoftware/acscommandcenter/src/alma/acs/commandcenter/meta/Firestarter.java
<ide>
<ide> import org.omg.PortableServer.POA;
<ide>
<add>import alma.acs.component.client.ComponentClient;
<ide> import alma.acs.component.client.AdvancedComponentClient;
<ide> import alma.acs.container.ContainerServices;... | |
Java | apache-2.0 | f7ba27764e8907043040d18c81c41ee057234006 | 0 | chaudharyp/Sunshine | package com.example.android.sunshine.app;
import android.content.Intent;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.format.Time;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import ... | app/src/main/java/com/example/android/sunshine/app/ForecastFragment.java | package com.example.android.sunshine.app;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.format.Time;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
impo... | Launching DetailActivity on list item click.
| app/src/main/java/com/example/android/sunshine/app/ForecastFragment.java | Launching DetailActivity on list item click. | <ide><path>pp/src/main/java/com/example/android/sunshine/app/ForecastFragment.java
<ide> package com.example.android.sunshine.app;
<ide>
<add>import android.content.Intent;
<ide> import android.net.Uri;
<ide> import android.os.AsyncTask;
<ide> import android.os.Bundle;
<ide> public void onItemClick(Adapter... | |
JavaScript | mit | a92fa0267f6f07a4785090d7d9fce009ac2d59f9 | 0 | WheatonCS/Lexos,WheatonCS/Lexos,WheatonCS/Lexos | $(function(){
// Create the manage table
initialize_manage_table("#manage-table", true);
// Create the context menu hide callbacks
$(window).on("mousedown resize", hide_context_menu);
$("#main-section").on("scroll", hide_context_menu);
// Create the context menu button callbacks
$("#previ... | lexos/static/js/manage.js | $(function(){
// Create the manage table
initialize_manage_table("#manage-table", true);
// Create the context menu hide callbacks
$(window).on("mousedown resize", hide_context_menu);
$("#main-section").on("scroll", hide_context_menu);
// Create the context menu button callbacks
$("#previ... | removed a bit
| lexos/static/js/manage.js | removed a bit | <ide><path>exos/static/js/manage.js
<ide> position: "bottom"
<ide> },
<ide> {
<del> element: "#active-documents-footer",
<del> intro: `By clicking Active Documents in any page, you can quickly
<del> access a popup where you can toggle documents in-page.`,
<de... | |
JavaScript | apache-2.0 | 4a6022cd8459b06eec86a676861e2552a3d708e6 | 0 | SmartDeveloperHub/sdh-framework | /*
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
This file is part of the Smart Developer Hub Project:
http://www.smartdeveloperhub.org/
Center for Open Middleware
http://www.centeropenmiddleware.com/
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | framework.js | /*
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
This file is part of the Smart Developer Hub Project:
http://www.smartdeveloperhub.org/
Center for Open Middleware
http://www.centeropenmiddleware.com/
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-... | [Framework] Added aggr to the hasheable parameters of the resource
| framework.js | [Framework] Added aggr to the hasheable parameters of the resource | <ide><path>ramework.js
<ide>
<ide>
<ide> var resourceHash = function resourceHash(resourceId, requestParams){
<del>
<add> //TODO: loadResourcesInfo should set the list of hasheable parameters
<ide> var str = resourceId;
<ide> var hasheable = "";
<ide> for(var i in _resourcesInfo[re... | |
Java | apache-2.0 | 9b3a5095ac8184a8eb2c769ea2e8e97bce044627 | 0 | vrozov/incubator-apex-core,vrozov/apex-core,deepak-narkhede/apex-core,sandeshh/incubator-apex-core,tushargosavi/apex-core,deepak-narkhede/apex-core,tweise/apex-core,andyperlitch/incubator-apex-core,brightchen/incubator-apex-core,brightchen/apex-core,PramodSSImmaneni/incubator-apex-core,brightchen/apex-core,tushargosavi... | /*
* Copyright (c) 2012-2013 DataTorrent, Inc.
* All Rights Reserved.
*/
package com.datatorrent.stram;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.InetSocketAddress;
import java.net.URI;
i... | engine/src/main/java/com/datatorrent/stram/StramAppMasterService.java | /*
* Copyright (c) 2012-2013 DataTorrent, Inc.
* All Rights Reserved.
*/
package com.datatorrent.stram;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.InetSocketAddress;
import java.net.URI;
i... | Fix for getting up-to-date remaining license memory in the cluster even when there are no plan updates. Workaround for CDH reporting incorrect available cluster resources.
| engine/src/main/java/com/datatorrent/stram/StramAppMasterService.java | Fix for getting up-to-date remaining license memory in the cluster even when there are no plan updates. Workaround for CDH reporting incorrect available cluster resources. | <ide><path>ngine/src/main/java/com/datatorrent/stram/StramAppMasterService.java
<ide> AllocateResponse amResp = sendContainerAskToRM(containerRequests, releasedContainers);
<ide> releasedContainers.clear();
<ide>
<del> int availableMemory = Math.min(amResp.getAvailableResources().getMemory(), availabl... | |
Java | apache-2.0 | aaa308145a2359a8af706939485a366b3df4c4c4 | 0 | kanpol/omni-note | package it.feio.android.omninotes.models;
import it.feio.android.omninotes.R;
import android.widget.LinearLayout.LayoutParams;
import de.keyboardsurfer.android.widget.crouton.Configuration;
import de.keyboardsurfer.android.widget.crouton.Style;
public class ONStyle {
public static final int DURATION_INFINITE = -1;
pu... | src/it/feio/android/omninotes/models/ONStyle.java | package it.feio.android.omninotes.models;
import it.feio.android.omninotes.R;
import android.widget.LinearLayout.LayoutParams;
import de.keyboardsurfer.android.widget.crouton.Configuration;
import de.keyboardsurfer.android.widget.crouton.Style;
public class ONStyle {
public static final int DURATION_INFINITE = -1;
pu... | Shortened crouton timings | src/it/feio/android/omninotes/models/ONStyle.java | Shortened crouton timings | <ide><path>rc/it/feio/android/omninotes/models/ONStyle.java
<ide> public static final int ConfirmGreen = R.color.confirm;
<ide> public static final int InfoYellow = R.color.info;
<ide>
<del>private static final int DURATION_SHORT = 1300;
<del>private static final int DURATION_MEDIUM = 2100;
<del>private static final ... | |
Java | apache-2.0 | 3e9d93631f58fdfe665209afa1a241a0091d8a73 | 0 | romartin/kie-wb-common,droolsjbpm/kie-wb-common,ederign/kie-wb-common,porcelli-forks/kie-wb-common,cristianonicolai/kie-wb-common,romartin/kie-wb-common,scandihealth/kie-wb-common,porcelli-forks/kie-wb-common,manstis/kie-wb-common,ederign/kie-wb-common,porcelli-forks/kie-wb-common,scandihealth/kie-wb-common,dgutierr/ki... | package org.kie.workbench.common.screens.projecteditor.client.menu;
import java.util.ArrayList;
import java.util.List;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.event.Observes;
import javax.inject.Inject;
import org.guvnor.common.services.project.context.ProjectContext;
import org.guv... | kie-wb-common-screens/kie-wb-common-project-editor/kie-wb-common-project-editor-client/src/main/java/org/kie/workbench/common/screens/projecteditor/client/menu/ProjectMenu.java | package org.kie.workbench.common.screens.projecteditor.client.menu;
import java.util.ArrayList;
import java.util.List;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.event.Observes;
import javax.inject.Inject;
import org.guvnor.common.services.project.context.ProjectContext;
import org.guv... | Project structure screen renamed to repositoryStructureScreen
| kie-wb-common-screens/kie-wb-common-project-editor/kie-wb-common-project-editor-client/src/main/java/org/kie/workbench/common/screens/projecteditor/client/menu/ProjectMenu.java | Project structure screen renamed to repositoryStructureScreen | <ide><path>ie-wb-common-screens/kie-wb-common-project-editor/kie-wb-common-project-editor-client/src/main/java/org/kie/workbench/common/screens/projecteditor/client/menu/ProjectMenu.java
<ide> new Command() {
<ide> @Override
<ide> public void execute() {
<del> ... | |
Java | epl-1.0 | 6f93421211874b61ad8f2d9883756805b48089b1 | 0 | blizzy78/egit,paulvi/egit,collaborative-modeling/egit,SmithAndr/egit,collaborative-modeling/egit,wdliu/egit,paulvi/egit,wdliu/egit,SmithAndr/egit | /*******************************************************************************
* Copyright (C) 2011, 2012 Bernard Leach <leachbj@bouncycastle.org> 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 accom... | org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java | /*******************************************************************************
* Copyright (C) 2011, 2012 Bernard Leach <leachbj@bouncycastle.org> 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 accom... | [stagingView] Add Show In support for unstaged/staged files
Bug: 363567
Change-Id: I00bf92b16dcf3887d0596c87a386830770b68e28
| org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java | [stagingView] Add Show In support for unstaged/staged files | <ide><path>rg.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/staging/StagingView.java
<ide> import org.eclipse.ui.menus.CommandContributionItem;
<ide> import org.eclipse.ui.menus.CommandContributionItemParameter;
<ide> import org.eclipse.ui.operations.UndoRedoActionGroup;
<add>import org.eclipse.ui.part.IShowInSource... | |
JavaScript | mit | cae3c833b4fa5c249e2f188e3abe8196872eedf2 | 0 | mAiNiNfEcTiOn/lighthouse-ci-poc | metrics.js | // Copyright 2016 Google Inc. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE
'use strict';
module.exports = {
prepareData
};
function prepareData(res) {
const audits = res.audits;
const resSW = audits['service-worker'];
const resFMP = audits['first-meaningful-paint'];
... | Removes the metrics.js file which is not used anymore (though we might use it in the future if necessary)
| metrics.js | Removes the metrics.js file which is not used anymore (though we might use it in the future if necessary) | <ide><path>etrics.js
<del>// Copyright 2016 Google Inc. All Rights Reserved.
<del>// Licensed under the Apache License, Version 2.0. See LICENSE
<del>'use strict';
<del>
<del>module.exports = {
<del> prepareData
<del>};
<del>
<del>function prepareData(res) {
<del> const audits = res.audits;
<del>
<del> const resSW =... | ||
Java | lgpl-2.1 | c89f14b74e2ba22e59b636d8f63dc4c9100b616c | 0 | serrapos/opencms-core,gallardo/opencms-core,alkacon/opencms-core,serrapos/opencms-core,sbonoc/opencms-core,serrapos/opencms-core,ggiudetti/opencms-core,ggiudetti/opencms-core,ggiudetti/opencms-core,serrapos/opencms-core,sbonoc/opencms-core,mediaworx/opencms-core,it-tavis/opencms-core,victos/opencms-core,ggiudetti/openc... | /*
* File : $Source: /alkacon/cvs/opencms/test/org/opencms/importexport/TestCmsImportExportNonexistentUser.java,v $
* Date : $Date: 2005/04/27 14:25:16 $
* Version: $Revision: 1.3 $
*
* This library is part of OpenCms -
* the Open Source Content Mananagement System
*
* Copyright (C) 2002 - 2004 Alkacon Soft... | test/org/opencms/importexport/TestCmsImportExportNonexistentUser.java | /*
* File : $Source: /alkacon/cvs/opencms/test/org/opencms/importexport/TestCmsImportExportNonexistentUser.java,v $
* Date : $Date: 2005/04/27 14:20:19 $
* Version: $Revision: 1.2 $
*
* This library is part of OpenCms -
* the Open Source Content Mananagement System
*
* Copyright (C) 2002 - 2004 Alkacon Soft... | Exported zip archive gets re-imported again.
| test/org/opencms/importexport/TestCmsImportExportNonexistentUser.java | Exported zip archive gets re-imported again. | <ide><path>est/org/opencms/importexport/TestCmsImportExportNonexistentUser.java
<ide> /*
<ide> * File : $Source: /alkacon/cvs/opencms/test/org/opencms/importexport/TestCmsImportExportNonexistentUser.java,v $
<del> * Date : $Date: 2005/04/27 14:20:19 $
<del> * Version: $Revision: 1.2 $
<add> * Date : $Date: 2005/... | |
Java | agpl-3.0 | 88e2105beae650970a9f056bcc212de09873a74f | 0 | Silverpeas/Silverpeas-Components,ebonnet/Silverpeas-Components,auroreallibe/Silverpeas-Components,mmoqui/Silverpeas-Components,ebonnet/Silverpeas-Components,SilverTeamWork/Silverpeas-Components,Silverpeas/Silverpeas-Components,mmoqui/Silverpeas-Components,mmoqui/Silverpeas-Components,SilverTeamWork/Silverpeas-Component... | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* As a specia... | scheduleevent/scheduleevent-war/src/main/java/com/silverpeas/scheduleevent/control/ScheduleEventSessionController.java | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* As a specia... | improve fix
| scheduleevent/scheduleevent-war/src/main/java/com/silverpeas/scheduleevent/control/ScheduleEventSessionController.java | improve fix | <ide><path>cheduleevent/scheduleevent-war/src/main/java/com/silverpeas/scheduleevent/control/ScheduleEventSessionController.java
<ide> }
<ide>
<ide> public String initSelectUsersPanel() {
<del> if (getCurrentScheduleEvent().getAuthor() == Integer.parseInt(getUserId())) {
<add> if (isUserOwnerOfEvent(getCurre... | |
Java | bsd-3-clause | 37a1467e224f7ea78224e70fc1b4a286f09e501b | 0 | ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus,ValentinMinder/pocketcampus | package org.pocketcampus.plugin.freeroom.data;
import static org.pocketcampus.platform.launcher.server.PCServerConfig.PC_SRV_CONFIG;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection... | plugin/freeroom/plugin.freeroom.server/src/org/pocketcampus/plugin/freeroom/data/FetchOccupancyDataJSON.java | package org.pocketcampus.plugin.freeroom.data;
import static org.pocketcampus.platform.launcher.server.PCServerConfig.PC_SRV_CONFIG;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection... | [freeroom.server] Slightly changed of returned value in the process of fetching and extracting occupancies
| plugin/freeroom/plugin.freeroom.server/src/org/pocketcampus/plugin/freeroom/data/FetchOccupancyDataJSON.java | [freeroom.server] Slightly changed of returned value in the process of fetching and extracting occupancies | <ide><path>lugin/freeroom/plugin.freeroom.server/src/org/pocketcampus/plugin/freeroom/data/FetchOccupancyDataJSON.java
<ide> try {
<ide> JSONArray sourceArray = new JSONArray(jsonSource);
<ide> int lengthSourceArray = sourceArray.length();
<del> int count = 0;
<add> int countRoom = 0;
<add>
<ide> for ... | |
JavaScript | agpl-3.0 | f36d91336aba740086b5aadfffc95a6661a53144 | 0 | grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana,grafana/grafana | define([
'angular',
'underscore',
'jquery'
],
function (angular, _, $) {
'use strict';
// This function needs $inject annotations, update below
// when changing arguments to this function
function PanelBaseCtrl($scope, $rootScope, $timeout) {
var menu = [
{
text: 'Edit',
config... | src/app/controllers/panelBaseCtrl.js | define([
'angular',
'underscore',
'jquery'
],
function (angular, _, $) {
'use strict';
function PanelBaseCtrl($scope, $rootScope, $timeout) {
var menu = [
{
text: 'Edit',
configModal: "app/partials/paneleditor.html",
condition: !$scope.panelMeta.fullscreenEdit
},
... | Fixes #289, PanelBaseCtrl needs to specify inject dependency annotations as it doesnt follow regular angular controller syntax, ngmin grunt task misses it
| src/app/controllers/panelBaseCtrl.js | Fixes #289, PanelBaseCtrl needs to specify inject dependency annotations as it doesnt follow regular angular controller syntax, ngmin grunt task misses it | <ide><path>rc/app/controllers/panelBaseCtrl.js
<ide> function (angular, _, $) {
<ide> 'use strict';
<ide>
<add> // This function needs $inject annotations, update below
<add> // when changing arguments to this function
<ide> function PanelBaseCtrl($scope, $rootScope, $timeout) {
<ide>
<ide> var menu = [
<id... | |
Java | apache-2.0 | 45a524f54d98310dda9124e4a8534a9f15d2d99a | 0 | gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa | /**
* EBI Microarray Informatics Team (c) 2007-2008
*/
package uk.ac.ebi.ae3.indexbuilder;
import org.apache.commons.cli2.Argument;
import org.apache.commons.cli2.CommandLine;
import org.apache.commons.cli2.Group;
import org.apache.commons.cli2.builder.ArgumentBuilder;
import org.apache.commons.cli2.builder.DefaultO... | indexbuilder/src/main/java/uk/ac/ebi/ae3/indexbuilder/App.java | /**
* EBI Microarray Informatics Team (c) 2007-2008
*/
package uk.ac.ebi.ae3.indexbuilder;
import org.apache.commons.cli2.Argument;
import org.apache.commons.cli2.CommandLine;
import org.apache.commons.cli2.Group;
import org.apache.commons.cli2.builder.ArgumentBuilder;
import org.apache.commons.cli2.builder.DefaultO... | Build expt index if none is specified on command line
git-svn-id: e91e1122b8e4d8f297534355a8810ed6b723f824@5782 2913f559-6b04-0410-9a09-c530ee9f5186
| indexbuilder/src/main/java/uk/ac/ebi/ae3/indexbuilder/App.java | Build expt index if none is specified on command line | <ide><path>ndexbuilder/src/main/java/uk/ac/ebi/ae3/indexbuilder/App.java
<ide> buildGene = true;
<ide> }
<ide> }
<add>
<add> if(!buildGene && !buildExpt)
<add> buildExpt = true;
<add>
<ide> return true;
<ide> }
<ide> | |
Java | mit | fc6cd58bdee2f99885c7406e4510bfadca137fa8 | 0 | InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service | package org.innovateuk.ifs.finance.controller;
import org.innovateuk.ifs.MockMvcTest;
import org.innovateuk.ifs.finance.resource.cost.FinanceRowType;
import org.innovateuk.ifs.finance.resource.totals.FinanceCostTotalResource;
import org.innovateuk.ifs.finance.resource.totals.FinanceType;
import org.innovateuk.ifs.fina... | ifs-data-layer/ifs-finance-data-service/src/test/java/org/innovateuk/ifs/finance/controller/CostTotalControllerTest.java | package org.innovateuk.ifs.finance.controller;
import org.innovateuk.ifs.MockMvcTest;
import org.innovateuk.ifs.finance.resource.cost.FinanceRowType;
import org.innovateuk.ifs.finance.resource.totals.FinanceCostTotalResource;
import org.innovateuk.ifs.finance.resource.totals.FinanceType;
import org.innovateuk.ifs.fina... | [IFS-10220] fix
| ifs-data-layer/ifs-finance-data-service/src/test/java/org/innovateuk/ifs/finance/controller/CostTotalControllerTest.java | [IFS-10220] fix | <ide><path>fs-data-layer/ifs-finance-data-service/src/test/java/org/innovateuk/ifs/finance/controller/CostTotalControllerTest.java
<ide> import static org.assertj.core.api.Assertions.assertThat;
<ide> import static org.innovateuk.ifs.LambdaMatcher.createLambdaMatcher;
<ide> import static org.innovateuk.ifs.commons.serv... | |
Java | bsd-3-clause | 04ac4b47dbdd59a2e54b46796284a92e2cc3d4c8 | 0 | NCIP/caadapter,NCIP/caadapter,NCIP/caadapter | package gov.nih.nci.cbiit.cdms.formula.gui.view;
import java.awt.Graphics;
import java.awt.Point;
import gov.nih.nci.cbiit.cdms.formula.core.BaseMeta;
import gov.nih.nci.cbiit.cdms.formula.core.FormulaMeta;
import gov.nih.nci.cbiit.cdms.formula.core.OperationType;
import javax.swing.JComponent;
import javax.... | software/cdms/src/gov/nih/nci/cbiit/cdms/formula/gui/view/FormulaPanel.java | package gov.nih.nci.cbiit.cdms.formula.gui.view;
import java.awt.Graphics;
import java.awt.Point;
import gov.nih.nci.cbiit.cdms.formula.core.BaseMeta;
import gov.nih.nci.cbiit.cdms.formula.core.FormulaMeta;
import gov.nih.nci.cbiit.cdms.formula.core.OperationType;
import javax.swing.JComponent;
import javax.... | set divisor and dividend at the same middle horizontal position
SVN-Revision: 3057
| software/cdms/src/gov/nih/nci/cbiit/cdms/formula/gui/view/FormulaPanel.java | set divisor and dividend at the same middle horizontal position | <ide><path>oftware/cdms/src/gov/nih/nci/cbiit/cdms/formula/gui/view/FormulaPanel.java
<ide> if (view.getTerm().getOperation()==OperationType.DIVISION)
<ide> drawDivider(view,x0+view.getX(), y0+view.getY()+view.getFirtTermView().getHeight(), g);
<ide> else if (view.getTerm().getOperation()==OperationType.SQUARERO... | |
JavaScript | mit | da71a85fa748ea0a1cd7aa8f6723bedadee8871c | 0 | xseano/xQube,xseano/xQube,xseano/xQube | var ip = "ws://127.0.0.1:8080";
var obj = this;
const id = getRandomInt(1, 65355);
var sceneObjId = id + "SceneObj";
const cameraHeight = 55; // Controls FOV on Cube in context of the plane
const cameraAngle = 72; // Controls Angle at which camera points towards cube
function SceneObj(id) {
this.id = id;
this.s... | html/resources/js/main.js | var ip = "ws://127.0.0.1:8080";
var obj = this;
var id = getRandomInt(1, 65355);
var sceneObjId = id + "SceneObj";
const cameraHeight = 55; // Controls FOV on Cube in context of the plane
const cameraAngle = 72; // Controls Angle at which camera points towards cube
function SceneObj() {
this.socket = new WebSocke... | Started loading scene
| html/resources/js/main.js | Started loading scene | <ide><path>tml/resources/js/main.js
<ide> var ip = "ws://127.0.0.1:8080";
<ide>
<ide> var obj = this;
<del>var id = getRandomInt(1, 65355);
<add>const id = getRandomInt(1, 65355);
<ide> var sceneObjId = id + "SceneObj";
<ide> const cameraHeight = 55; // Controls FOV on Cube in context of the plane
<ide> const cameraAn... | |
Java | apache-2.0 | acb21089ea11ac13c522d7616eec3f9aa5bccc1a | 0 | googleapis/java-pubsub,googleapis/java-pubsub,googleapis/java-pubsub | /*
* Copyright 2016 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java | /*
* Copyright 2016 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | PubSub: refactor alarm setup into a single method (#5008)
Moving some alarm setup logic from `publish()` and some logic from `setupDurationBasedPublishAlarm` into a new method called `setupAlarm` | google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java | PubSub: refactor alarm setup into a single method (#5008) | <ide><path>oogle-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/Publisher.java
<ide> }
<ide> }
<ide> // Setup the next duration based delivery alarm if there are messages batched.
<del> if (!messagesBatch.isEmpty()) {
<del> setupDurationBasedPublishAlarm();
<del> } else if (c... | |
Java | lgpl-2.1 | e7c6c9a922068c0dc225555fb71bf5de52079883 | 0 | justincc/intermine,Arabidopsis-Information-Portal/intermine,elsiklab/intermine,kimrutherford/intermine,drhee/toxoMine,joshkh/intermine,joshkh/intermine,justincc/intermine,elsiklab/intermine,kimrutherford/intermine,zebrafishmine/intermine,justincc/intermine,kimrutherford/intermine,kimrutherford/intermine,JoeCarlson/inte... | package org.intermine.api.query.codegen;
/*
* Copyright (C) 2002-2010 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/l... | intermine/api/main/src/org/intermine/api/query/codegen/WebserviceJavaCodeGenerator.java | package org.intermine.api.query.codegen;
/*
* Copyright (C) 2002-2010 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/l... | Web service API - changed isEmpty() for string to a real empty string as Bruiser gave a error
| intermine/api/main/src/org/intermine/api/query/codegen/WebserviceJavaCodeGenerator.java | Web service API - changed isEmpty() for string to a real empty string as Bruiser gave a error | <ide><path>ntermine/api/main/src/org/intermine/api/query/codegen/WebserviceJavaCodeGenerator.java
<ide> import org.intermine.util.TypeUtil;
<ide>
<ide> /**
<add> * This Class generates source code of web service client for path query and template query
<ide> *
<ide> * @author Fengyuan Hu
<ide> *
<ide> ... | |
Java | apache-2.0 | 5953acc6a64ff7355b5cb830b9fc22f28364953f | 0 | dpocock/camel,CandleCandle/camel,johnpoth/camel,aaronwalker/camel,snadakuduru/camel,edigrid/camel,Thopap/camel,scranton/camel,salikjan/camel,davidkarlsen/camel,lowwool/camel,duro1/camel,ge0ffrey/camel,isururanawaka/camel,partis/camel,jkorab/camel,rmarting/camel,jlpedrosa/camel,tkopczynski/camel,noelo/camel,tdiesler/cam... | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | components/camel-irc/src/test/java/org/apache/camel/component/irc/IrcRouteTest.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... | Disabled test that requries online and manual testing.
git-svn-id: 11f3c9e1d08a13a4be44fe98a6d63a9c00f6ab23@820901 13f79535-47bb-0310-9956-ffa450edef68
| components/camel-irc/src/test/java/org/apache/camel/component/irc/IrcRouteTest.java | Disabled test that requries online and manual testing. | <ide><path>omponents/camel-irc/src/test/java/org/apache/camel/component/irc/IrcRouteTest.java
<ide> import org.apache.camel.builder.RouteBuilder;
<ide> import org.apache.camel.component.mock.MockEndpoint;
<ide> import org.apache.camel.test.junit4.CamelTestSupport;
<add>import org.junit.Ignore;
<ide> import org.junit.Te... | |
Java | apache-2.0 | 23d80b3c71065571c5c6ca458626fd681326dc2c | 0 | chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq | /**
*
* Copyright 2005-2006 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java | /**
*
* Copyright 2005-2006 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | List the unique id of the broker when it's started and stopped.
git-svn-id: 7f3df76e74c7ad56904d6048df705810748eb1a6@391821 13f79535-47bb-0310-9956-ffa450edef68
| activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java | List the unique id of the broker when it's started and stopped. | <ide><path>ctivemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
<ide> import org.apache.activemq.broker.jmx.ProxyConnectorView;
<ide> import org.apache.activemq.broker.region.RegionBroker;
<ide> import org.apache.activemq.broker.region.policy.PolicyMap;
<add>import org.apache.activemq.command.Broker... | |
Java | apache-2.0 | c83301aef9db302be74480701197c3c0d12eb637 | 0 | cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x | /*
* Copyright 2002-2006 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | src/org/springframework/aop/config/AopNamespaceUtils.java | /*
* Copyright 2002-2006 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | catch Throwable instead of just ClassNotFoundException; consistent exception handling
git-svn-id: b619a0c99665f88f1afe72824344cefe9a1c8c90@11843 fd5a2b45-1f63-4059-99e9-3c7cb7fd75c8
| src/org/springframework/aop/config/AopNamespaceUtils.java | catch Throwable instead of just ClassNotFoundException; consistent exception handling | <ide><path>rc/org/springframework/aop/config/AopNamespaceUtils.java
<ide>
<ide> public static void registerAtAspectJAutoProxyCreatorIfNecessary(ParserContext parserContext, Object sourceElement) {
<ide> Class cls = getAspectJAutoProxyCreatorClassIfPossible();
<del> if (cls == null) {
<del> throw new IllegalState... | |
Java | mit | ae2f0b5b8a581d0d555e496b37908b9787856b3f | 0 | zhangtdavid/SimCity | package city.tests.mock;
import utilities.LoggedEvent;
import city.Application.BANK_SERVICE;
import city.Application.TRANSACTION_TYPE;
import city.MockRole;
import city.interfaces.BankCustomer;
import city.roles.BankTellerRole;
public class MockBankCustomer extends MockRole implements BankCustomer {
public MockBan... | src/city/tests/mock/MockBankCustomer.java | package city.tests.mock;
import utilities.LoggedEvent;
import city.MockRole;
import city.interfaces.BankCustomer;
import city.roles.BankTellerRole;
public class MockBankCustomer extends MockRole implements BankCustomer {
public MockBankCustomer() {
// TODO Auto-generated method stub
}
@Override
public voi... | updated mockbankcustomer to reflect changes in interface
| src/city/tests/mock/MockBankCustomer.java | updated mockbankcustomer to reflect changes in interface | <ide><path>rc/city/tests/mock/MockBankCustomer.java
<ide> package city.tests.mock;
<ide>
<ide> import utilities.LoggedEvent;
<add>import city.Application.BANK_SERVICE;
<add>import city.Application.TRANSACTION_TYPE;
<ide> import city.MockRole;
<ide> import city.interfaces.BankCustomer;
<ide> import city.roles.BankTelle... | |
Java | apache-2.0 | 23a39263d4b7af5a79d05f8320b34b28632c2330 | 0 | sjwall/MaterialTapTargetPrompt | /*
* Copyright (C) 2017 Samuel Wall
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | library/src/main/java/uk/co/samuelwall/materialtaptargetprompt/RectanglePromptBackground.java | /*
* Copyright (C) 2017 Samuel Wall
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Added setter for rectangle prompt background corner radius
| library/src/main/java/uk/co/samuelwall/materialtaptargetprompt/RectanglePromptBackground.java | Added setter for rectangle prompt background corner radius | <ide><path>ibrary/src/main/java/uk/co/samuelwall/materialtaptargetprompt/RectanglePromptBackground.java
<ide> private RectF mBounds, mBaseBounds;
<ide> private Paint mPaint;
<ide> private int mBaseColourAlpha;
<del> private float rx = 40, ry = 40;
<add> private float mRx, mRy;
<ide>
<ide> public ... | |
JavaScript | mit | 0f248edd214f1c552bd9b0d2f3cc3636d9d42956 | 0 | t3b/t3b_template,t3b/t3b_template,t3b/t3b_template,t3b/t3b_template,t3b/t3b_template | /**
* Grunt-Replace
* @description Replace inline patterns with variables.
* @docs https://npmjs.org/package/grunt-replace
*/
var config = require("../Config"),
deployStrings = {
requireJSLibSourceFile: config.JavaScripts.paths.devDir + "/" + config.JavaScripts.requireJS.libSourceFile + ".js",
requireJsAttrib... | Build/Grunt-Options/replace.js | /**
* Grunt-Replace
* @description Replace inline patterns with variables.
* @docs https://npmjs.org/package/grunt-replace
*/
var config = require("../Config"),
deployStrings = {
requireJSLibSourceFile: config.JavaScripts.paths.devDir + "/" + config.JavaScripts.requireJS.libSourceFile + ".js",
requireJsAttrib... | [TASK] Make sure the placeholder strings in the styleguide template gets replaced on 'grunt:init'
| Build/Grunt-Options/replace.js | [TASK] Make sure the placeholder strings in the styleguide template gets replaced on 'grunt:init' | <ide><path>uild/Grunt-Options/replace.js
<ide> "ext_tables.php",
<ide> "Configuration/**/*.ts",
<ide> "Configuration/**/*.txt",
<add> "Documentation/Private/Template/index.html",
<ide> config.paths.private + "/Elements/**/*.html",
<ide> config.paths.private + "/Layouts/**/*.html",
<ide> confi... | |
Java | apache-2.0 | d4626b4d1825b60ef02c0da9c45cd483d1d98f49 | 0 | lukmajercak/hadoop,wwjiang007/hadoop,plusplusjiajia/hadoop,lukmajercak/hadoop,JingchengDu/hadoop,plusplusjiajia/hadoop,wwjiang007/hadoop,wwjiang007/hadoop,xiao-chen/hadoop,ucare-uchicago/hadoop,apache/hadoop,wwjiang007/hadoop,steveloughran/hadoop,apache/hadoop,lukmajercak/hadoop,littlezhou/hadoop,littlezhou/hadoop,mapr... | /**
* 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... | hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/Quota.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... | HDFS-13967. HDFS Router Quota Class Review. Contributed by BELUGA BEHR.
| hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/Quota.java | HDFS-13967. HDFS Router Quota Class Review. Contributed by BELUGA BEHR. | <ide><path>adoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/Quota.java
<ide> package org.apache.hadoop.hdfs.server.federation.router;
<ide>
<ide> import java.io.IOException;
<del>import java.util.HashMap;
<del>import java.util.LinkedList;
<add>import java.util.ArrayList;... | |
JavaScript | mit | dcfb5b63d9a6e7fc91fde454687322c213c7b16f | 0 | phetsims/graphing-quadratics,phetsims/graphing-quadratics,phetsims/graphing-quadratics | // Copyright 2018, University of Colorado Boulder
/**
* Tool that displays the (x,y) coordinates of a point on the graph.
* If it's sufficiently close to a quadratic, it will snap to the quadratic.
*
* @author Andrea Lin
* @author Chris Malley (PixelZoom, Inc.)
*/
define( require => {
'use strict';
// modul... | js/common/view/PointToolNode.js | // Copyright 2018, University of Colorado Boulder
/**
* Tool that displays the (x,y) coordinates of a point on the graph.
* If it's sufficiently close to a quadratic, it will snap to the quadratic.
*
* @author Andrea Lin
* @author Chris Malley (PixelZoom, Inc.)
*/
define( require => {
'use strict';
// modul... | fix graphContentsVisible name
Signed-off-by: Chris Malley <74b2712074b149d140079dbd7e875955d192e617@pixelzoom.com>
| js/common/view/PointToolNode.js | fix graphContentsVisible name | <ide><path>s/common/view/PointToolNode.js
<ide> super( options );
<ide>
<ide> Property.multilink( [ pointTool.locationProperty, pointTool.onQuadraticProperty, graphContentsVisibleProperty ],
<del> ( location, onQuadratic, curvesVisible ) => {
<add> ( location, onQuadratic, graphContentsVisibl... | |
Java | apache-2.0 | f3744f29bd8b92de83d792903f99ca80a3622070 | 0 | dain/presto,dain/presto,losipiuk/presto,martint/presto,hgschmie/presto,martint/presto,ebyhr/presto,smartnews/presto,11xor6/presto,11xor6/presto,electrum/presto,losipiuk/presto,hgschmie/presto,electrum/presto,ebyhr/presto,ebyhr/presto,losipiuk/presto,erichwang/presto,losipiuk/presto,erichwang/presto,dain/presto,smartnew... | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | presto-main/src/main/java/io/prestosql/operator/StreamingAggregationOperator.java | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Improve StreamingAggregationOperator invariant comment
| presto-main/src/main/java/io/prestosql/operator/StreamingAggregationOperator.java | Improve StreamingAggregationOperator invariant comment | <ide><path>resto-main/src/main/java/io/prestosql/operator/StreamingAggregationOperator.java
<ide> }
<ide>
<ide> // flush remaining output pages before requesting next input page
<add> // invariant: queued output pages are produced from argument `inputPage`
<ide> if (!outp... | |
Java | lgpl-2.1 | 22f77fe99162c6543e18a91bfe5505c4abc467b0 | 0 | zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform | /*
*
* * Copyright 2014, Red Hat, Inc. and individual contributors as indicated by the
* * @author tags. See the copyright.txt file in the distribution for a full
* * listing of individual contributors.
* *
* * This is free software; you can redistribute it and/or modify it under the
* * terms of the GNU L... | zanata-war/src/main/java/org/zanata/action/VersionHome.java | /*
*
* * Copyright 2014, Red Hat, Inc. and individual contributors as indicated by the
* * @author tags. See the copyright.txt file in the distribution for a full
* * listing of individual contributors.
* *
* * This is free software; you can redistribute it and/or modify it under the
* * terms of the GNU L... | fix checkstyle
| zanata-war/src/main/java/org/zanata/action/VersionHome.java | fix checkstyle | <ide><path>anata-war/src/main/java/org/zanata/action/VersionHome.java
<ide> msgs.get("jsf.LocaleAlias.NoAliasesToRemove"));
<ide> } else if (removed.size() == 1) {
<ide> facesMessages.addGlobal(FacesMessage.SEVERITY_INFO,
<del> msgs.format("jsf.LocaleAlias.AliasRem... | |
Java | apache-2.0 | 93720cc7ddfa20928229a6dc62e258cf19965323 | 0 | openengsb/openengsb,openengsb/openengsb,openengsb/openengsb,openengsb/openengsb,openengsb/openengsb,openengsb/openengsb | /**
* Licensed to the Austrian Association for Software Tool Integration (AASTI)
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. The AASTI licenses this file to you under the Apache License,
* Version 2... | connector/filewatcher/src/main/java/org/openengsb/connector/virtual/filewatcher/internal/CSVParser.java | /**
* Licensed to the Austrian Association for Software Tool Integration (AASTI)
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. The AASTI licenses this file to you under the Apache License,
* Version 2... | [OPENENGSB-3375] handle OpenEngSBModel-properties correctly in CSV-parser
| connector/filewatcher/src/main/java/org/openengsb/connector/virtual/filewatcher/internal/CSVParser.java | [OPENENGSB-3375] handle OpenEngSBModel-properties correctly in CSV-parser | <ide><path>onnector/filewatcher/src/main/java/org/openengsb/connector/virtual/filewatcher/internal/CSVParser.java
<ide> import java.util.List;
<ide>
<ide> import org.openengsb.connector.virtual.filewatcher.FileSerializer;
<add>import org.openengsb.core.api.model.OpenEngSBModelEntry;
<ide>
<add>import com.fasterxml.ja... | |
Java | mpl-2.0 | 8258a4d5abdc4166714091fb6fad5805d8773bfc | 0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core | /*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: InstallData.java,v $
*
* $Revision: 1.2 $
*
* last change: $Author: rt $ $Date: 2007-07-03 11:48:43 $
*
* The Contents of this file are made available s... | javainstaller2/src/JavaSetup/org/openoffice/setup/InstallData.java | package org.openoffice.setup;
import org.openoffice.setup.SetupData.PackageDescription;
import org.openoffice.setup.Util.SystemManager;
import java.io.File;
import java.util.HashMap;
import java.util.Vector;
public class InstallData
{
public static final String ACTION_TYPICAL = "ActionTypical";
public stati... | INTEGRATION: CWS native87 (1.1.10); FILE MERGED
2007/06/28 15:01:30 is 1.1.10.2: #i78444# earlier check for uid file to avoid race condition
2007/04/24 10:09:18 is 1.1.10.1: #i65425# adding header
| javainstaller2/src/JavaSetup/org/openoffice/setup/InstallData.java | INTEGRATION: CWS native87 (1.1.10); FILE MERGED 2007/06/28 15:01:30 is 1.1.10.2: #i78444# earlier check for uid file to avoid race condition 2007/04/24 10:09:18 is 1.1.10.1: #i65425# adding header | <ide><path>avainstaller2/src/JavaSetup/org/openoffice/setup/InstallData.java
<add>/*************************************************************************
<add> *
<add> * OpenOffice.org - a multi-platform office productivity suite
<add> *
<add> * $RCSfile: InstallData.java,v $
<add> *
<add> * $Revision: 1.2 $
<add... | |
Java | unlicense | 9a902278b77849f0e4daf5c4dd0f3953ba001718 | 0 | ZP4RKER/jitters-bot | package me.zp4rker.discord.jitters.util;
import me.zp4rker.discord.core.logger.ZLogger;
import me.zp4rker.discord.jitters.Jitters;
import me.zp4rker.discord.core.exception.ExceptionHandler;
import net.dv8tion.jda.core.entities.TextChannel;
import org.json.JSONArray;
import org.json.JSONObject;
import java.io.*;
impor... | src/main/java/me/zp4rker/discord/jitters/util/UpcomingEpisode.java | package me.zp4rker.discord.jitters.util;
import me.zp4rker.discord.core.logger.ZLogger;
import me.zp4rker.discord.jitters.Jitters;
import me.zp4rker.discord.core.exception.ExceptionHandler;
import net.dv8tion.jda.core.entities.TextChannel;
import org.json.JSONArray;
import org.json.JSONObject;
import java.io.*;
impor... | Updated timezone
| src/main/java/me/zp4rker/discord/jitters/util/UpcomingEpisode.java | Updated timezone | <ide><path>rc/main/java/me/zp4rker/discord/jitters/util/UpcomingEpisode.java
<ide> int hour = Integer.parseInt(time[0]);
<ide> int minute = Integer.parseInt(time[1]);
<ide>
<del> return ZonedDateTime.of(LocalDateTime.of(year, month, day, hour, minute), ZoneId.of("GMT")).toInstant();
<add> ... | |
Java | mit | 87dfbedb4b419bcf566ae9ab3912e51908273b90 | 0 | v1v/jenkins,viqueen/jenkins,DanielWeber/jenkins,daniel-beck/jenkins,oleg-nenashev/jenkins,daniel-beck/jenkins,daniel-beck/jenkins,viqueen/jenkins,daniel-beck/jenkins,Vlatombe/jenkins,Jochen-A-Fuerbacher/jenkins,ikedam/jenkins,ikedam/jenkins,jenkinsci/jenkins,daniel-beck/jenkins,Jochen-A-Fuerbacher/jenkins,MarkEWaite/je... | /*
* The MIT License
*
* Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi,
* Erik Ramfelt, Koichi Fujikawa, Red Hat, Inc., Seiji Sogabe,
* Stephen Connolly, Tom Huybrechts, Yahoo! Inc., Alan Harder, CloudBees, Inc.,
* Yahoo!, Inc.
*
* Permission is hereby granted, free of charge, to any person... | core/src/main/java/jenkins/model/Jenkins.java | /*
* The MIT License
*
* Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi,
* Erik Ramfelt, Koichi Fujikawa, Red Hat, Inc., Seiji Sogabe,
* Stephen Connolly, Tom Huybrechts, Yahoo! Inc., Alan Harder, CloudBees, Inc.,
* Yahoo!, Inc.
*
* Permission is hereby granted, free of charge, to any person... | Behave robustly in the face of errors from AdministrativeMonitor.isActivated.
| core/src/main/java/jenkins/model/Jenkins.java | Behave robustly in the face of errors from AdministrativeMonitor.isActivated. | <ide><path>ore/src/main/java/jenkins/model/Jenkins.java
<ide> * @since 2.64
<ide> */
<ide> public List<AdministrativeMonitor> getActiveAdministrativeMonitors() {
<del> return administrativeMonitors.stream().filter(m -> m.isEnabled() && m.isActivated()).collect(Collectors.toList());
<add> ret... | |
Java | apache-2.0 | 80a34cf6b5671126f2f1e95efea852343be0dcea | 0 | dalmirdasilva/dom-distiller,dalmirdasilva/dom-distiller,dalmirdasilva/dom-distiller,dalmirdasilva/dom-distiller,dalmirdasilva/dom-distiller | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package com.dom_distiller.client;
import com.dom_distiller.proto.DomDistillerProtos.TimingEntry;
import com.dom_distiller.proto.DomDistillerProtos.Timing... | src/com/dom_distiller/client/LogUtil.java | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package com.dom_distiller.client;
import com.dom_distiller.proto.DomDistillerProtos.TimingEntry;
import com.dom_distiller.proto.DomDistillerProtos.Timing... | Change LogUtil.LOG_BUILDER to a String
A StringBuilder is implemented simply as an object with a javascript
string field. With a statically initialized StringBuilder a static
initializer method is created and called at the callsite of every
function in the class. Since LogUtil is used so broadly, this static
initializ... | src/com/dom_distiller/client/LogUtil.java | Change LogUtil.LOG_BUILDER to a String | <ide><path>rc/com/dom_distiller/client/LogUtil.java
<ide> import com.dom_distiller.proto.DomDistillerProtos.TimingInfo;
<ide>
<ide> public class LogUtil {
<del>
<add> // All static fields in this class should be primitives or Strings. Otherwise, a costly (because
<add> // it is called many, many times) static in... | |
Java | mit | 7cb6f4895d290e8f555cb5ce8bd11024975e8ba6 | 0 | sake/bouncycastle-java |
package java.security;
import java.io.IOException;
import java.security.spec.AlgorithmParameterSpec;
import java.security.spec.InvalidParameterSpecException;
public class AlgorithmParameters extends Object
{
private AlgorithmParametersSpi spi;
private Provider provider;
private String algorithm;
pro... | jdk1.1/java/security/AlgorithmParameters.java |
package java.security;
import java.io.IOException;
import java.security.spec.AlgorithmParameterSpec;
import java.security.spec.InvalidParameterSpecException;
public class AlgorithmParameters extends Object
{
private AlgorithmParametersSpi spi;
private Provider provider;
private String algorithm;
pro... | fixed getInstance()
| jdk1.1/java/security/AlgorithmParameters.java | fixed getInstance() | <ide><path>dk1.1/java/security/AlgorithmParameters.java
<ide> return spi.engineGetEncoded(format);
<ide> }
<ide>
<del> public static AlgorithmParameters getInstance(String algorithm)
<del> throws NoSuchAlgorithmException
<add> public static AlgorithmParameterGenerator getInstance(String algorithm)... | |
Java | apache-2.0 | 23ca683fc0c1b218a35a84a4c42d822e954e7e08 | 0 | Stratio/stratio-connector-mongodb,Stratio/stratio-connector-mongodb | /*
* Licensed to STRATIO (C) under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. The STRATIO (C) licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file ... | connector-mongodb-core/src/main/java/com/stratio/connector/mongodb/core/engine/MongoMetadataEngine.java | /*
* Licensed to STRATIO (C) under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. The STRATIO (C) licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file ... | imports reorganized: meta => crossdata
| connector-mongodb-core/src/main/java/com/stratio/connector/mongodb/core/engine/MongoMetadataEngine.java | imports reorganized: meta => crossdata | <ide><path>onnector-mongodb-core/src/main/java/com/stratio/connector/mongodb/core/engine/MongoMetadataEngine.java
<ide> @Override
<ide> protected void createCatalog(CatalogMetadata catalogMetadata, Connection<MongoClient> connection)
<ide> throws ExecutionException, UnsupportedException {
<d... | |
Java | apache-2.0 | 7773367e4fb4366cfb0404928d34f53473c771cb | 0 | lovemomia/momia,lovemomia/momia,lovemomia/service,lovemomia/service | package cn.momia.service.feed.web.ctrl;
import cn.momia.api.feed.dto.FeedDto;
import cn.momia.api.feed.dto.FeedTopicDto;
import cn.momia.api.product.ProductServiceApi;
import cn.momia.api.product.dto.ProductDto;
import cn.momia.api.user.dto.ParticipantDto;
import cn.momia.common.api.http.MomiaHttpResponse;
import cn.m... | feed/service-feed/src/main/java/cn/momia/service/feed/web/ctrl/FeedController.java | package cn.momia.service.feed.web.ctrl;
import cn.momia.api.feed.dto.FeedDto;
import cn.momia.api.feed.dto.FeedTopicDto;
import cn.momia.api.product.ProductServiceApi;
import cn.momia.api.product.dto.ProductDto;
import cn.momia.api.user.dto.ParticipantDto;
import cn.momia.common.api.http.MomiaHttpResponse;
import cn.m... | utoken为空返回 TOKEN_EXPIRED
| feed/service-feed/src/main/java/cn/momia/service/feed/web/ctrl/FeedController.java | utoken为空返回 TOKEN_EXPIRED | <ide><path>eed/service-feed/src/main/java/cn/momia/service/feed/web/ctrl/FeedController.java
<ide> @RequestMapping(value = "/follow", method = RequestMethod.POST)
<ide> public MomiaHttpResponse follow(@RequestParam(value = "uid") long userId, @RequestParam(value = "fuid") long followedId) {
<ide> if (!f... | |
Java | apache-2.0 | 39fca00e05fa160efaa2feed627879c0ed4abc94 | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.messages.impl;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.extensions.ExtensionNo... | platform/core-api/src/com/intellij/util/messages/impl/MessageBusImpl.java | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.messages.impl;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.extensions.ExtensionNo... | MessageBusImpl: reduce the invocation counts of postMessage/pumpMessages for JIT-friendliness (IDEA-233084)
GitOrigin-RevId: e596ace8b532686c961def1688fc92abd649adba | platform/core-api/src/com/intellij/util/messages/impl/MessageBusImpl.java | MessageBusImpl: reduce the invocation counts of postMessage/pumpMessages for JIT-friendliness (IDEA-233084) | <ide><path>latform/core-api/src/com/intellij/util/messages/impl/MessageBusImpl.java
<ide> }
<ide> }
<ide>
<del> private void postMessage(@NotNull Message message) {
<del> checkNotDisposed();
<del> List<MessageBusConnectionImpl> topicSubscribers = getTopicSubscribers(message.getTopic());
<del> if (topic... | |
JavaScript | isc | 79b1cf1468cb66c713d9410d9231f72b124de548 | 0 | AntonKhorev/crnx-ode-properties,AntonKhorev/crnx-ode-properties | 'use strict'
const TheadLayout=require('./thead-layout')
const data=require('./data')
$(function(){
$('.crnx-ode-properties').each(function(){
const $container=$(this)
const dag={}, idag={}
const selectedNodes={}
for (let id in data) {
selectedNodes[id]=true
dag[id]=data[id].parents
idag[id]={}
}
... | src/main.js | 'use strict'
const TheadLayout=require('./thead-layout')
const data=require('./data')
$(function(){
$('.crnx-ode-properties').each(function(){
const $container=$(this)
const dag={}, idag={}
const selectedNodes={}
for (let id in data) {
selectedNodes[id]=true
dag[id]=data[id].parents
idag[id]={}
}
... | allow only one child/parent menu to be opened
| src/main.js | allow only one child/parent menu to be opened | <ide><path>rc/main.js
<ide> return $button
<ide> }
<ide> const writeTable=()=>{
<add> let $attachedMenu, $attachedToButton, attachedDirection, attachTimeoutId
<ide> const deleteNode=id=>{
<ide> delete selectedNodes[id]
<ide> theadLayout=new TheadLayout(dag,selectedNodes)
<ide> const keyCodeSpace... | |
Java | mit | 06678924c332dcf40f9f5a03ae5f98fc122f1969 | 0 | Innovimax-SARL/mix-them | package innovimax.mixthem.operation;
import innovimax.mixthem.MixException;
import java.util.List;
interface ILineOperation extends IOperation {
/**
* Processes operation and set new result in the LineResult parameter.
* @param lineRange The range of lines to mix
* @param result The previous operation result
... | src/main/java/innovimax/mixthem/operation/ILineOperation.java | package innovimax.mixthem.operation;
import innovimax.mixthem.MixException;
import java.util.List;
interface ILineOperation extends IOperation {
/**
* Processes operation and set new result in the LineResult parameter.
* @param lineRange The range of lines to mix
* @param result The previous operation result
... | Update ILineOperation.java | src/main/java/innovimax/mixthem/operation/ILineOperation.java | Update ILineOperation.java | <ide><path>rc/main/java/innovimax/mixthem/operation/ILineOperation.java
<ide> */
<ide> void process(List<String> lineRange, LineResult result) throws MixException;
<ide> /**
<del> * Is mixing oparation is possible on line range?
<add> * Is mixing operation is possible on line range?
<ide> * @param lineRange Th... | |
Java | apache-2.0 | 407d46b5671674c4b0c5ad49a6885b616763e27a | 0 | NativeScript/android-upload-service,NativeScript/android-upload-service,alexbbb/android-upload-service,alexbbb/android-upload-service,gotev/android-upload-service,gotev/android-upload-service,NativeScript/android-upload-service | package net.gotev.uploadservice.ftp;
import android.content.Intent;
import net.gotev.uploadservice.Logger;
import net.gotev.uploadservice.UploadFile;
import net.gotev.uploadservice.UploadService;
import net.gotev.uploadservice.UploadTask;
import org.apache.commons.net.ftp.FTP;
import org.apache.commons.net.ftp.FTPCl... | uploadservice-ftp/src/main/java/net/gotev/uploadservice/ftp/FTPUploadTask.java | package net.gotev.uploadservice.ftp;
import android.content.Intent;
import net.gotev.uploadservice.Logger;
import net.gotev.uploadservice.UploadFile;
import net.gotev.uploadservice.UploadService;
import net.gotev.uploadservice.UploadTask;
import org.apache.commons.net.ftp.FTP;
import org.apache.commons.net.ftp.FTPCl... | #192 enable FTP UTF-8 auto detection
| uploadservice-ftp/src/main/java/net/gotev/uploadservice/ftp/FTPUploadTask.java | #192 enable FTP UTF-8 auto detection | <ide><path>ploadservice-ftp/src/main/java/net/gotev/uploadservice/ftp/FTPUploadTask.java
<ide> ftpClient.setCopyStreamListener(this);
<ide> ftpClient.setDefaultTimeout(ftpParams.getConnectTimeout());
<ide> ftpClient.setConnectTimeout(ftpParams.getConnectTimeout());
<add> f... | |
Java | apache-2.0 | 0dff2ef46b953c3549170679dd186d4312d77ebb | 0 | sankarh/hive,lirui-apache/hive,sankarh/hive,alanfgates/hive,nishantmonu51/hive,vergilchiu/hive,alanfgates/hive,jcamachor/hive,lirui-apache/hive,vergilchiu/hive,nishantmonu51/hive,vineetgarg02/hive,alanfgates/hive,jcamachor/hive,vergilchiu/hive,vineetgarg02/hive,anishek/hive,anishek/hive,anishek/hive,vineetgarg02/hive,v... | /**
* 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... | ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezJobMonitor.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... | HIVE-10129: LLAP: Fix ordering of execution modes
git-svn-id: 5b3ec70fd98a55cad8bf91b276c6694e6bfee275@1669722 13f79535-47bb-0310-9956-ffa450edef68
| ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezJobMonitor.java | HIVE-10129: LLAP: Fix ordering of execution modes | <ide><path>l/src/java/org/apache/hadoop/hive/ql/exec/tez/TezJobMonitor.java
<ide> String mode = "container";
<ide> BaseWork work = workMap.get(name);
<ide> if (work != null) {
<del> if (work.getLlapMode()) {
<add> // uber > llap > container
<add> if (work.getUberMode()) {
<add> mode = ... | |
JavaScript | mit | 5532f65f7bb902135e418e31c3a4205f76c968f4 | 0 | Kashomon/gpub,Kashomon/gpub,Kashomon/gpub | /**
* Default options for GPub API.
*/
gpub.defaultOptions = {
/**
* Array of SGF (strings). No default is specified here: Must be explicitly
* passed in every time.
*/
// sgfs: [],
/**
* The format of the 'book' output that is produced by GPub.
* See gpub.outputFormat.
*/
outputFormat: 'LA... | src/api/options.js | /**
* Default options for GPub API.
*/
gpub.defaultOptions = {
/**
* Array of SGF (strings). No default is specified here: Must be explicitly
* passed in every time.
*/
// sgfs: [],
/**
* The format of the 'book' output that is produced by GPub.
* See gpub.outputFormat.
*/
outputFormat: 'LA... | Note about fontsize.
| src/api/options.js | Note about fontsize. | <ide><path>rc/api/options.js
<ide> ////////////////////////////
<ide>
<ide> /** Size of the gnos font */
<add> // TODO(kashomon): Make this diagram-agnostic.
<ide> gnosFontSize: '12',
<ide>
<ide> /** | |
JavaScript | mit | 2e196c9b614431f973e0e6d4a8b0e2478c047ee7 | 0 | ezfe/tellraw,ezfe/tellraw,ezfe/tellraw | var chars = [1,2,3,4,5,6,7,8,9,0,'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'];
var matchLength = 0;
var version = 3;
var tos_version = 1;
var notice = {
"s... | js/tellraw.js | var chars = [1,2,3,4,5,6,7,8,9,0,'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'];
var matchLength = 0;
var version = 3;
var tos_version = 1;
var notice = {
"s... | Started removing more translation stuff for rewrite
#12
| js/tellraw.js | Started removing more translation stuff for rewrite | <ide><path>s/tellraw.js
<ide> var upButton;
<ide> var extraTextFormat = 'raw';
<ide> var lang = {"status":"init"};
<del>var translationStrings;
<ide> var currentEdit;
<ide> var hasAlertedTranslationObjects = false;
<ide> var webLangRelations;
<ide> goToByScroll('exporter');
<ide> refreshLanguage();
<ide> });
<del>... | |
Java | mpl-2.0 | b9d7eaed85224ad37e601c5012e9431f3eb057a9 | 0 | jonalmeida/focus-android,ekager/focus-android,ekager/focus-android,jonalmeida/focus-android,jonalmeida/focus-android,ekager/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,ekager/focus-android,ekager/focus-android,mozilla-mobile/focus-android,jonalmeida/focus-android,mozilla-mobile/focus-android... | /* -*- Mode: Java; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: nil; -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.focus.activity;... | app/src/main/java/org/mozilla/focus/activity/MainActivity.java | /* -*- Mode: Java; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: nil; -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.focus.activity;... | No Issue - Disables Sentry
| app/src/main/java/org/mozilla/focus/activity/MainActivity.java | No Issue - Disables Sentry | <ide><path>pp/src/main/java/org/mozilla/focus/activity/MainActivity.java
<ide> import org.mozilla.focus.session.Session;
<ide> import org.mozilla.focus.session.SessionManager;
<ide> import org.mozilla.focus.session.ui.SessionsSheetFragment;
<del>import org.mozilla.focus.telemetry.SentryWrapper;
<ide> import org.mozilla... | |
Java | apache-2.0 | 4d8b85fa78677eddba7c765c94e9ffcfdda6de1d | 0 | candyam5522/eureka,candyam5522/eureka,jsons/eureka,candyam5522/eureka | package edu.emory.cci.aiw.cvrg.eureka.services.config;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import javax.servlet.ServletContextEvent... | eureka-services/src/main/java/edu/emory/cci/aiw/cvrg/eureka/services/config/ConfigListener.java | package edu.emory.cci.aiw.cvrg.eureka.services.config;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import javax.servlet.ServletContextEvent... | Made the executorService field private and final.
| eureka-services/src/main/java/edu/emory/cci/aiw/cvrg/eureka/services/config/ConfigListener.java | Made the executorService field private and final. | <ide><path>ureka-services/src/main/java/edu/emory/cci/aiw/cvrg/eureka/services/config/ConfigListener.java
<ide> /**
<ide> * A timer scheduler to run the job update task.
<ide> */
<del> ScheduledExecutorService executorService = Executors
<add> private final ScheduledExecutorService executorService = Executors
<ide... | |
Java | apache-2.0 | e0a505a87431307ea352fc6e6f31c3df28fde9dd | 0 | asterd/BootsFaces-OSP,mtvweb/BootsFaces-OSP,chongma/BootsFaces-OSP,TheCoder4eu/BootsFaces-OSP,jepsar/BootsFaces-OSP,jepsar/BootsFaces-OSP,chongma/BootsFaces-OSP,TheCoder4eu/BootsFaces-OSP,asterd/BootsFaces-OSP,mtvweb/BootsFaces-OSP | /**
* Copyright 2014 Riccardo Massera (TheCoder4.Eu)
*
* This file is part of BootsFaces.
*
* BootsFaces is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, ... | src/net/bootsfaces/component/InputText.java | /**
* Copyright 2014 Riccardo Massera (TheCoder4.Eu)
*
* This file is part of BootsFaces.
*
* BootsFaces is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, ... | Fix Issue #8 | src/net/bootsfaces/component/InputText.java | Fix Issue #8 | <ide><path>rc/net/bootsfaces/component/InputText.java
<ide> package net.bootsfaces.component;
<ide>
<ide> import java.io.IOException;
<add>import java.util.List;
<ide> import java.util.Map;
<add>import java.util.Set;
<add>
<ide> import javax.faces.application.ResourceDependencies;
<ide> import javax.faces.application.... | |
Java | apache-2.0 | 5faa820737d54464b8fad8f2a8db3c57f66d84ef | 0 | DagensNyheter/helios,DagensNyheter/helios,skinzer/helios,stewnorriss/helios,molindo/helios,stewnorriss/helios,mbruggmann/helios,skinzer/helios,gtonic/helios,udomsak/helios,dflemstr/helios,spotify/helios,mavenraven/helios,kidaa/helios,mbruggmann/helios,molindo/helios,kidaa/helios,gtonic/helios,mattnworb/helios,mavenrave... | /*
* Copyright (c) 2014 Spotify AB.
*
* 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,... | helios-tools/src/main/java/com/spotify/helios/cli/command/HostListCommand.java | /*
* Copyright (c) 2014 Spotify AB.
*
* 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,... | cli: hosts: print docker version
| helios-tools/src/main/java/com/spotify/helios/cli/command/HostListCommand.java | cli: hosts: print docker version | <ide><path>elios-tools/src/main/java/com/spotify/helios/cli/command/HostListCommand.java
<ide> import com.spotify.helios.cli.Table;
<ide> import com.spotify.helios.client.HeliosClient;
<ide> import com.spotify.helios.common.Json;
<add>import com.spotify.helios.common.descriptors.DockerVersion;
<ide> import com.spotify.... | |
Java | apache-2.0 | error: pathspec 'android/AndroidUtilDump/src/couk/doridori/android/lib/io/ConnectivityReceiver.java' did not match any file(s) known to git
| 8cdd143186b680ee3222eb12fb6f7e2af8417357 | 1 | abdyer/AndroidUtilDump | package couk.doridori.android.lib.io;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
/**
* A receiver for checking network status changes.
*
* User:... | android/AndroidUtilDump/src/couk/doridori/android/lib/io/ConnectivityReceiver.java | Connection receiver added
| android/AndroidUtilDump/src/couk/doridori/android/lib/io/ConnectivityReceiver.java | Connection receiver added | <ide><path>ndroid/AndroidUtilDump/src/couk/doridori/android/lib/io/ConnectivityReceiver.java
<add>package couk.doridori.android.lib.io;
<add>
<add>import android.content.BroadcastReceiver;
<add>import android.content.Context;
<add>import android.content.Intent;
<add>import android.content.IntentFilter;
<add>import andr... | |
Java | apache-2.0 | 94d8f543575e2ff42d69e66578c6e7afe4c4448c | 0 | JunkerStudio/StatLogic,JunkerStudio/StatLogic | /**
* Copyright 2014 Peter "Felix" Nguyen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | src/pfnguyen/statlogic/gui/TTestPanel.java | /**
* Copyright 2014 Peter "Felix" Nguyen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | Refactored JButton. Added functionality to "Import Data" button.
| src/pfnguyen/statlogic/gui/TTestPanel.java | Refactored JButton. Added functionality to "Import Data" button. | <ide><path>rc/pfnguyen/statlogic/gui/TTestPanel.java
<ide> private JLabel jlblTestValue = new JLabel("Test Value");
<ide> private JTextField jtfTestValue = new JTextField(8);
<ide> private JTextField jtfAlpha = new JTextField(4);
<del> private JButton jbtCalculate = new JButton("Calculate");
<add> pri... | |
Java | bsd-3-clause | 343abf4861c34711c25963ae763fd4c80b316699 | 0 | joakimeriksson/mspsim,ransford/mspsim,ransford/mspsim,joakimeriksson/mspsim,contiki-os/mspsim,contiki-os/mspsim,nfi/mspsim,mspsim/mspsim,fvdnabee/mspsim,fvdnabee/mspsim,cmorty/mspsim,cmorty/mspsim,nfi/mspsim,mspsim/mspsim | /**
* Copyright (c) 2007, Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
* not... | se/sics/mspsim/core/MSP430Constants.java | /**
* Copyright (c) 2007, Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
* not... | added REGISTER_NAMES
git-svn-id: b6c13a3f01c183418960c1e4d1e6a42a97ce9376@172 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
| se/sics/mspsim/core/MSP430Constants.java | added REGISTER_NAMES | <ide><path>e/sics/mspsim/core/MSP430Constants.java
<ide>
<ide> public interface MSP430Constants {
<ide>
<del> public static final String VERSION = "0.85 jag ha";
<add> public static final String VERSION = "0.85";
<ide>
<ide> public static final int CLK_ACLK = 1;
<ide> public static final int CLK_SMCLK = 2;
<... | |
Java | apache-2.0 | 67e2008c0ee6878e6a95a361e41d02734fba4ad1 | 0 | apache/beam,apache/beam,apache/beam,apache/beam,apache/beam,apache/beam,apache/beam,apache/beam,apache/beam,apache/beam,apache/beam | /*
* 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 ... | sdks/java/io/common/src/test/java/org/apache/beam/sdk/io/common/DatabaseTestHelper.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 ... | Add retry to test connections (#23757)
* Move connection setup logic for JDBCIO WriteFn to @startBundle to limit parallel calls to datasource.getConnection()
* move connection setup logic back to processElement.
Put a retry into the DatabaseTestHelper
* run spotless
* use fluent backoff instead of manual imp... | sdks/java/io/common/src/test/java/org/apache/beam/sdk/io/common/DatabaseTestHelper.java | Add retry to test connections (#23757) | <ide><path>dks/java/io/common/src/test/java/org/apache/beam/sdk/io/common/DatabaseTestHelper.java
<ide> import java.util.Optional;
<ide> import java.util.stream.Collectors;
<ide> import javax.sql.DataSource;
<add>import org.apache.beam.sdk.util.BackOff;
<add>import org.apache.beam.sdk.util.BackOffUtils;
<add>import org... | |
JavaScript | apache-2.0 | 3613fbb09a29ee6e81a9d0eac306b5b625dea2de | 0 | jiayinjx/angularjs-portal,UW-Madison-DoIT/angularjs-portal,nblair/angularjs-portal,apetro/angularjs-portal,apetro/angularjs-portal,UW-Madison-DoIT/angularjs-portal,nblair/angularjs-portal,jiayinjx/angularjs-portal,nblair/angularjs-portal,UW-Madison-DoIT/angularjs-portal,paulerickson/angularjs-portal,jiayinjx/angularjs-... | 'use strict';
(function() {
var app = angular.module('portal.main.controllers', []);
app.controller('MainController', [ '$http', 'miscService', function($http, miscService) {
miscService.pushPageview();
var store = this;
store.data = [];
$http.get('/portal/api/layoutDoc?tab=UW Bucky Home').then(... | js/main/main-controllers.js | 'use strict';
(function() {
var app = angular.module('portal.main.controllers', []);
app.controller('MainController', [ '$http', 'miscService', function($http, miscService) {
miscService.pushPageview();
var store = this;
store.data = [];
$http.get('/portal/api/layoutDoc?tab=UW Bucky Home').then(... | minor merge fix
| js/main/main-controllers.js | minor merge fix | <ide><path>s/main/main-controllers.js
<ide>
<ide> app.controller('HeaderController', [ '$scope', function($scope) {
<ide> $scope.showSearch = false;
<del> }])
<add> }]);
<ide>
<ide>
<ide> | |
Java | mit | d58a2b88c09f7e84dac8ed90eae1867d0118865f | 0 | Valakor/CS201-Coursework,brandonsbarber/CS201-Course-Work | package cs201.gui.transit;
import java.awt.Color;
import java.awt.Graphics2D;
import cs201.agents.transit.VehicleAgent;
import cs201.agents.transit.BusAgent;
import cs201.gui.CityPanel;
public class BusGui extends VehicleGui
{
public BusGui(VehicleAgent vehicle,CityPanel city, int x, int y)
{
super(vehicle,city,... | src/cs201/gui/transit/BusGui.java | package cs201.gui.transit;
import java.awt.Color;
import java.awt.Graphics2D;
import cs201.agents.transit.VehicleAgent;
import cs201.agents.transit.BusAgent;
import cs201.gui.CityPanel;
public class BusGui extends VehicleGui
{
public BusGui(VehicleAgent vehicle,CityPanel city, int x, int y)
{
super(vehicle,city,... | Fixed BusGui so that passenger count displays within box
| src/cs201/gui/transit/BusGui.java | Fixed BusGui so that passenger count displays within box | <ide><path>rc/cs201/gui/transit/BusGui.java
<ide> g.setColor(Color.BLACK);
<ide> g.drawString(""+getVehicle().getClass(),getX(),getY());
<ide>
<del> g.drawString(""+((BusAgent)getVehicle()).getNumPassengers(),getX()+CityPanel.GRID_SIZE,getY()+CityPanel.GRID_SIZE);
<add> g.drawString(""+((BusAgent)getVehicle())... | |
JavaScript | apache-2.0 | 567963ba24d5ee230eb760cfff8a14cd00f90182 | 0 | stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib | 'use strict';
// MODULES //
var isNonNegativeInteger = require( '@stdlib/math/base/utils/is-nonnegative-integer' );
var betainc = require( '@stdlib/math/base/special/betainc' );
var isnan = require( '@stdlib/math/base/utils/is-nan' );
var floor = require( '@stdlib/math/base/special/floor' );
var PINF = require( '@std... | lib/node_modules/@stdlib/math/base/dist/binomial/cdf/lib/cdf.js | 'use strict';
// MODULES //
var isNonNegativeInteger = require( '@stdlib/math/base/utils/is-nonnegative-integer' );
var betainc = require( '@stdlib/math/base/special/betainc' );
var isnan = require( '@stdlib/math/base/utils/is-nan' );
var floor = require( '@stdlib/math/base/special/floor' );
var PINF = require( '@std... | Add decimal
| lib/node_modules/@stdlib/math/base/dist/binomial/cdf/lib/cdf.js | Add decimal | <ide><path>ib/node_modules/@stdlib/math/base/dist/binomial/cdf/lib/cdf.js
<ide> if ( x >= n ) {
<ide> return 1.0;
<ide> }
<del> x = floor( x + 1e-7 );
<add> x = floor( x + 1.0e-7 );
<ide> return betainc( p, x + 1.0, n - x, true, true );
<ide> } // end FUNCTION cdf()
<ide> | |
Java | apache-2.0 | 5357d9ed88fbc6608e67b8870d9a1910dbf25e50 | 0 | darshanasbg/identity-inbound-auth-oauth,chirankavinda123/identity-inbound-auth-oauth,darshanasbg/identity-inbound-auth-oauth,chirankavinda123/identity-inbound-auth-oauth,IsuraD/identity-inbound-auth-oauth,wso2-extensions/identity-inbound-auth-oauth,IsuraD/identity-inbound-auth-oauth,wso2-extensions/identity-inbound-aut... | /*
* Copyright (c) 2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... | components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/dao/SQLQueries.java | /*
* Copyright (c) 2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... | IDENTITY-5552: Error while getting the oath2 open-id access token with oracle db
| components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/dao/SQLQueries.java | IDENTITY-5552: Error while getting the oath2 open-id access token with oracle db | <ide><path>omponents/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/dao/SQLQueries.java
<ide> + "SUBJECT_IDENTIFIER FROM (SELECT TOKEN_ID, CONSUMER_KEY, AUTHZ_USER, IDN_OAUTH2_ACCESS_TOKEN.TENANT_ID AS TENANT_ID, "
<ide> + "IDN_OAUTH2_ACCESS_TOKEN.US... | |
Java | lgpl-2.1 | 0848e2b0b78789a988e424e818acfba0048f044d | 0 | pbondoer/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-velocity/src/main/java/org/xwiki/rendering/internal/macro/velocity/VelocityMacro.java | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | [misc] Fix typo
| xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-velocity/src/main/java/org/xwiki/rendering/internal/macro/velocity/VelocityMacro.java | [misc] Fix typo | <ide><path>wiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-velocity/src/main/java/org/xwiki/rendering/internal/macro/velocity/VelocityMacro.java
<ide> try {
<ide> filter = getComponentManager().getInstance(VelocityMacroFilter.class, ... | |
Java | apache-2.0 | a95ca717eb45aae68f5e5f62d542d63151cc972a | 0 | pushyamig/sakai,duke-compsci290-spring2016/sakai,kingmook/sakai,frasese/sakai,udayg/sakai,rodriguezdevera/sakai,pushyamig/sakai,hackbuteer59/sakai,duke-compsci290-spring2016/sakai,wfuedu/sakai,colczr/sakai,ktakacs/sakai,clhedrick/sakai,wfuedu/sakai,zqian/sakai,whumph/sakai,udayg/sakai,Fudan-University/sakai,lorenamgUMU... | /**********************************************************************************
* $URL: https://source.sakaiproject.org/svn/sam/trunk/component/src/java/org/sakaiproject/tool/assessment/integration/helper/integrated/SectionAwareServiceHelperImpl.java $
* $Id: SectionAwareServiceHelperImpl.java 9273 2006-05-10 22:... | samigo/samigo-services/src/java/org/sakaiproject/tool/assessment/integration/helper/integrated/SectionAwareServiceHelperImpl.java | /**********************************************************************************
* $URL: https://source.sakaiproject.org/svn/sam/trunk/component/src/java/org/sakaiproject/tool/assessment/integration/helper/integrated/SectionAwareServiceHelperImpl.java $
* $Id: SectionAwareServiceHelperImpl.java 9273 2006-05-10 22:... | SAM-1472 Scores page load times excessive for large sites with assessments released to groups - adding rewrite of fix based on a dayton patch concept
git-svn-id: 574bb14f304dbe16c01253ed6697ea749724087f@103545 66ffb92e-73f9-0310-93c1-f5514f145a0a
| samigo/samigo-services/src/java/org/sakaiproject/tool/assessment/integration/helper/integrated/SectionAwareServiceHelperImpl.java | SAM-1472 Scores page load times excessive for large sites with assessments released to groups - adding rewrite of fix based on a dayton patch concept | <ide><path>amigo/samigo-services/src/java/org/sakaiproject/tool/assessment/integration/helper/integrated/SectionAwareServiceHelperImpl.java
<ide> import org.apache.commons.logging.Log;
<ide> import org.apache.commons.logging.LogFactory;
<ide>
<del>import org.sakaiproject.authz.cover.SecurityService;
<ide> import org.s... | |
Java | apache-2.0 | 35c270eb5de2c1a30efd7790371bbae30e9f1acb | 0 | mittop/vaadin,oalles/vaadin,udayinfy/vaadin,mittop/vaadin,sitexa/vaadin,magi42/vaadin,synes/vaadin,kironapublic/vaadin,carrchang/vaadin,sitexa/vaadin,Darsstar/framework,shahrzadmn/vaadin,magi42/vaadin,Darsstar/framework,travisfw/vaadin,travisfw/vaadin,oalles/vaadin,fireflyc/vaadin,Flamenco/vaadin,fireflyc/vaadin,sitexa... | /*
* Copyright 2000-2013 Vaadin Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | server/src/com/vaadin/ui/Button.java | /*
* Copyright 2000-2013 Vaadin Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | Resource constructors for Button (#13446)
Change-Id: I9e8409660f38e35c01adde69158c34e85cff3c43
| server/src/com/vaadin/ui/Button.java | Resource constructors for Button (#13446) | <ide><path>erver/src/com/vaadin/ui/Button.java
<ide> }
<ide>
<ide> /**
<add> * Creates a new push button with the given icon.
<add> *
<add> * @param icon
<add> * the icon
<add> */
<add> public Button(Resource icon) {
<add> this();
<add> setIcon(icon);
<add> }... | |
JavaScript | agpl-3.0 | 5c519d2f3eebffc87dd6903751eba23b5492e5bd | 0 | matsuu/mwEmbed,safarijv/mwEmbed,kaltura/mwEmbed,omridevk/mwEmbed,alexmilk/mwEmbed,vladm3/mwEmbed,safarijv/mwEmbed,slash851/mwEmbed,alexmilk/mwEmbed,bordar/mwEmbed,safarijv/mwEmbed,omridevk/mwEmbed,slash851/mwEmbed,bordar/mwEmbed,kaltura/mwEmbed,SVSG/mwEmbed,SVSG/mwEmbed,slash851/mwEmbed,joanpuigsanz/mwEmbed,vladm3/mwEm... | // Add a jQuery plugin for pretty kaltura docs
(function( $ ){
$.fn.prettyKalturaConfig = function( pluginName, flashVars, flashvarCallback ){
var manifestData = {};
return this.each(function() {
/**
* Init
*/
// Setup _this pointer
var _this = this;
// setup master id for ( this ... | docs/js/jquery.prettyKalturaConfig.js | // Add a jQuery plugin for pretty kaltura docs
(function( $ ){
$.fn.prettyKalturaConfig = function( pluginName, flashVars, flashvarCallback ){
var manifestData = {};
return this.each(function() {
/**
* Init
*/
// Setup _this pointer
var _this = this;
// setup master id for ( this ... | adds support for settings tab | docs/js/jquery.prettyKalturaConfig.js | adds support for settings tab | <ide><path>ocs/js/jquery.prettyKalturaConfig.js
<ide> )
<ide> }
<ide>
<del> /**
<del> * outputs the settings file
<del> */
<del> function getSettings(){
<del>
<del> }
<del>
<ide>
<ide> // build the list of basevars
<ide> var baseVarsList = '';
<ide> )
<ide> )
<ide> ... | |
Java | mpl-2.0 | d3953f3b17efd07fe5c59a25cdd9664f9bd9b2bb | 0 | amagdenko/oiosaml.java,amagdenko/oiosaml.java,amagdenko/oiosaml.java,amagdenko/oiosaml.java | /*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain
* a copy of the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an
* "... | trust/trunk/src/dk/itst/oiosaml/trust/OIOSoapEnvelope.java | /*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this
* file except in compliance with the License. You may obtain
* a copy of the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an
* "... | remove import
| trust/trunk/src/dk/itst/oiosaml/trust/OIOSoapEnvelope.java | remove import | <ide><path>rust/trunk/src/dk/itst/oiosaml/trust/OIOSoapEnvelope.java
<ide>
<ide> import java.security.InvalidAlgorithmParameterException;
<ide> import java.security.NoSuchAlgorithmException;
<del>import java.security.Provider;
<ide> import java.security.PublicKey;
<ide> import java.util.ArrayList;
<ide> import java.ut... | |
Java | mit | e96a6b7db74b231aa566959bbcd8f063392a56b9 | 0 | k0kubun/githubranking,k0kubun/github-ranking,k0kubun/githubranking,k0kubun/githubranking,k0kubun/github-ranking,k0kubun/githubranking,k0kubun/github-ranking,k0kubun/githubranking,k0kubun/github-ranking,k0kubun/github-ranking | package com.github.k0kubun.github_ranking.repository.dao;
import com.github.k0kubun.github_ranking.model.User;
import java.util.List;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.skife.jdbi.v2.StatementContext;
import org.skife.jdbi.v2.sqlobject.Bind;
import org.skife.jdbi.v2.sqlobject.SqlQuer... | worker/src/main/java/com/github/k0kubun/github_ranking/repository/dao/UserDao.java | package com.github.k0kubun.github_ranking.repository.dao;
import com.github.k0kubun.github_ranking.model.User;
import java.util.List;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.skife.jdbi.v2.StatementContext;
import org.skife.jdbi.v2.sqlobject.Bind;
import org.skife.jdbi.v2.sqlobject.SqlQuer... | Fix user ranking object mapper
| worker/src/main/java/com/github/k0kubun/github_ranking/repository/dao/UserDao.java | Fix user ranking object mapper | <ide><path>orker/src/main/java/com/github/k0kubun/github_ranking/repository/dao/UserDao.java
<ide> long updateStars(@Bind("id") Integer id, @Bind("stargazersCount") Integer stargazersCount);
<ide>
<ide> @SqlQuery("select id, login, type, stargazers_count from users where type = 'User' order by stargazers_count... | |
JavaScript | mit | ec6b5ef58a35fac695a6087f4dfee50c71e84ebd | 0 | yuanchuan/css-doodle | import { cache_image, is_safari } from './utils/index';
const NS = 'http://www.w3.org/2000/svg';
const NSXLink = 'http://www.w3.org/1999/xlink';
export function create_svg_url(svg, id) {
let encoded = encodeURIComponent(svg) + (id ? `#${ id }` : '');
return `url("data:image/svg+xml;utf8,${ encoded }")`;
}
export... | src/svg.js | import { cache_image, is_safari } from './utils/index';
const NS = 'http://www.w3.org/2000/svg';
export function create_svg_url(svg, id) {
let encoded = encodeURIComponent(svg) + (id ? `#${ id }` : '');
return `url("data:image/svg+xml;utf8,${ encoded }")`;
}
export function normalize_svg(input) {
const xmlns =... | Add `xlink` namespace declaration
| src/svg.js | Add `xlink` namespace declaration | <ide><path>rc/svg.js
<ide> import { cache_image, is_safari } from './utils/index';
<ide>
<ide> const NS = 'http://www.w3.org/2000/svg';
<add>const NSXLink = 'http://www.w3.org/1999/xlink';
<ide>
<ide> export function create_svg_url(svg, id) {
<ide> let encoded = encodeURIComponent(svg) + (id ? `#${ id }` : '');
<id... | |
Java | apache-2.0 | 47b3242ae2711f0feb23e50fbbf40113fc6872f0 | 0 | webanno/webanno,webanno/webanno,webanno/webanno,webanno/webanno | /*******************************************************************************
* Copyright 2015
* Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | webanno-brat/src/main/java/de/tudarmstadt/ukp/clarin/webanno/brat/annotation/component/AnnotationDetailEditorPanel.java | /*******************************************************************************
* Copyright 2015
* Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | Unable to change Layer while annotating, if the feature type is String
(without tagset) #243
Probably, comment line 1330 thru 1333 with constraints to work -- NOT
TESTED | webanno-brat/src/main/java/de/tudarmstadt/ukp/clarin/webanno/brat/annotation/component/AnnotationDetailEditorPanel.java | Unable to change Layer while annotating, if the feature type is String (without tagset) #243 Probably, comment line 1330 thru 1333 with constraints to work -- NOT TESTED | <ide><path>ebanno-brat/src/main/java/de/tudarmstadt/ukp/clarin/webanno/brat/annotation/component/AnnotationDetailEditorPanel.java
<ide> import de.tudarmstadt.ukp.clarin.webanno.model.SourceDocumentState;
<ide> import de.tudarmstadt.ukp.clarin.webanno.model.Tag;
<ide> import de.tudarmstadt.ukp.clarin.webanno.model.TagSe... | |
Java | apache-2.0 | e187a3ea28412e0bef3b13f09fb355cd6d3c0107 | 0 | apache/felix-dev,apache/felix-dev,apache/felix-dev,apache/felix-dev | /*
* 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 ... | framework/src/main/java/org/apache/felix/framework/util/SecureAction.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 ... | FELIX-6430: fix usage of unsave (#80)
| framework/src/main/java/org/apache/felix/framework/util/SecureAction.java | FELIX-6430: fix usage of unsave (#80) | <ide><path>ramework/src/main/java/org/apache/felix/framework/util/SecureAction.java
<ide> */
<ide> package org.apache.felix.framework.util;
<ide>
<del>import java.io.*;
<del>import java.lang.reflect.*;
<add>import java.io.ByteArrayOutputStream;
<add>import java.io.File;
<add>import java.io.FileInputStream;
<add>impor... | |
Java | apache-2.0 | error: pathspec 'src/org/ensembl/healthcheck/testcase/eg_core/SchemaPatchesApplied.java' did not match any file(s) known to git
| b3a8ecbba4ece3809ebb3071669aa7b9507ee5b7 | 1 | Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck,thomasmaurel/ensj-healthcheck,thomasmaurel/ensj-healthcheck,Ensembl/ensj-healthcheck,thomasmaurel/ensj-healthcheck,thomasmaurel/ensj-healthcheck,Ensembl/ensj-healthcheck | package org.ensembl.healthcheck.testcase.eg_core;
import java.sql.Connection;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.ensembl.healthcheck.DatabaseRegistryEntry;
import org.ensembl.healthcheck.DatabaseServer;
import org.ensembl.healthcheck.ReportManager;
import org.ensembl.healthchec... | src/org/ensembl/healthcheck/testcase/eg_core/SchemaPatchesApplied.java | New healthcheck to check for missing schema patches
| src/org/ensembl/healthcheck/testcase/eg_core/SchemaPatchesApplied.java | New healthcheck to check for missing schema patches | <ide><path>rc/org/ensembl/healthcheck/testcase/eg_core/SchemaPatchesApplied.java
<add>package org.ensembl.healthcheck.testcase.eg_core;
<add>
<add>import java.sql.Connection;
<add>import java.util.regex.Matcher;
<add>import java.util.regex.Pattern;
<add>
<add>import org.ensembl.healthcheck.DatabaseRegistryEntry;
<add>i... | |
JavaScript | mit | 0c5a603db3b615cabfc36bd66b70608361ff40b4 | 0 | Ellisande/kanbonsai,Ellisande/kanbonsai |
/* Services */
(function(services){
services.factory('socket', function ($rootScope, $location) {
'use strict';
var socket;
var registeredEvents = [];
var connect = function(){
if(!socket){
socket = io.connect('http://'+$location.host()+':5000');
}
};
connect... | app/js/services.js |
/* Services */
(function(services){
services.factory('socket', function ($rootScope, $location) {
'use strict';
var socket;
var registeredEvents = [];
var connect = function(){
if(!socket){
socket = io.connect('http://'+$location.host()+':5000');
}
};
connect... | Fix JSLint errors.
| app/js/services.js | Fix JSLint errors. | <ide><path>pp/js/services.js
<ide> emit: emitWrapper,
<ide> cleanup: cleanup
<ide> };
<del> })
<add> });
<ide>
<ide> services.factory('mtgDetails', function (){
<ide> return {
<ide>
<ide> var currentTimeout = {};
<ide> var startTimeout = function(){
<del> if(duration.asS... | |
Java | agpl-3.0 | e7d8a83beb3f2c79b55c35ae9e6486a1c08db6c6 | 0 | RapidInfoSys/Rapid,RapidInfoSys/Rapid,RapidInfoSys/Rapid,RapidInfoSys/Rapid | /*
Copyright (C) 2022 - Gareth Edwards / Rapid Information Systems
gareth.edwards@rapid-is.co.uk
This file is part of the Rapid Application Platform
Rapid is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation... | src/com/rapid/server/Designer.java | /*
Copyright (C) 2022 - Gareth Edwards / Rapid Information Systems
gareth.edwards@rapid-is.co.uk
This file is part of the Rapid Application Platform
Rapid is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation... | App user copy only for Rapid security adapter | src/com/rapid/server/Designer.java | App user copy only for Rapid security adapter | <ide><path>rc/com/rapid/server/Designer.java
<ide>
<ide> // app details
<ide> if ("summary".equals(actionName) || "detail".equals(actionName)) {
<del>
<add>
<ide> int statusId = application.getStatus();
<ide> String status = statusId == 0 ? "In development" : statusId == 1 ? "Live... | |
JavaScript | bsd-3-clause | e4e4745ec527808b162fad5a17f529c6be6c3c43 | 0 | beagleterm/beagle-term,beagleterm/beagle-term | // Copyright (c) 2016, Sungguk Lim. Please see the AUTHORS file for details.
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
function DrawUi() {}
DrawUi.prototype = {
ShowSettingsDialog: function() {
$('#settingsModal').modal('show');
... | app/js/draw_ui.js | // Copyright (c) 2016, Sungguk Lim. Please see the AUTHORS file for details.
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
function DrawUi() {}
DrawUi.prototype = {
ShowSettingsDialog: function() {
$('#settingsModal').modal('show');
... | fix wrong function name
| app/js/draw_ui.js | fix wrong function name | <ide><path>pp/js/draw_ui.js
<ide> */
<ide> OnHtermReady: function() {
<ide> $('.modal-footer button').focus();
<del> this.registerCloseBtnEvent_();
<add> this.registerConnectBtnEvent_();
<ide> },
<ide>
<ide> /**
<ide> * @private
<ide> */
<del> registerCloseBtnEvent_: function() {
<add> regis... | |
JavaScript | mit | 7b26add64d9675b8aa5b63dbbde17f54863fec12 | 0 | Bottr-js/Bottr | jest.unmock('../lib/event-emitter')
var EventEmitter = require('../lib/event-emitter')
test('should register listener', () => {
var emitter = new EventEmitter()
var handler = jest.fn()
emitter.addListener('event', handler)
expect(emitter.listeners).toEqual([
{
eventName: 'event',
handler: han... | __tests__/event-emitter.js | jest.unmock('../lib/event-emitter')
var EventEmitter = require('../lib/event-emitter')
test('should register listener', () => {
var emitter = new EventEmitter()
var handler = jest.fn()
emitter.addListener('event', handler)
expect(emitter.listeners).toEqual([
{
eventName: 'event',
handler: han... | All passes.
| __tests__/event-emitter.js | All passes. | <ide><path>_tests__/event-emitter.js
<ide> emitter.fallback('event', handler)
<ide> expect(emitter.fallbacks['event']).toEqual(handler)
<ide> });
<del>
<del>// EventEmitter.prototype.emit = function(eventName) {
<del>// var event = new Event(eventName, eventListeners, args)
<del>// event.next(function(eventName... | |
Java | apache-2.0 | 6e6e7dc86b90b02de68f9701372118c96f042e9b | 0 | dbeaver/dbeaver,dbeaver/dbeaver,dbeaver/dbeaver,serge-rider/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,Sargul/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,serge-rider/dbeaver | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2020 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licen... | plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/data/DBDAttributeBinding.java | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2020 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licen... | toString
Former-commit-id: 6c4b1dbc198e0b088afb15a544f67b06b91cc366 | plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/data/DBDAttributeBinding.java | toString | <ide><path>lugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/data/DBDAttributeBinding.java
<ide>
<ide> @Override
<ide> public String toString() {
<del> return getName() + " [" + getOrdinalPosition() + "]";
<add> DBDAttributeBinding parentAttr = getParentObject();
<add> if (parentA... | |
JavaScript | mit | ccddc082d51d05b85d8d5fe8f562ec99def3f9cc | 0 | tantalor/graphjs | if (typeof(require) !== 'undefined') {
// commonjs
var assert = require("assert");
try {
var narwhal = require('narwhal');
} catch (e) {}
if (narwhal) {
var tests = {};
exports.test = function (name, fn) {
tests['test '+name] = fn;
};
exports.ok = function (value, name) {
... | test-qunit.js | if (typeof(require) !== 'undefined') {
// commonjs
var assert = require("assert");
try {
var narwhal = require('narwhal');
} catch (e) {}
if (narwhal) {
var tests = {};
exports.test = function (name, fn) {
tests['test '+name] = fn;
};
exports.ok = function (value, name) {
... | clear tests for narwhal
| test-qunit.js | clear tests for narwhal | <ide><path>est-qunit.js
<ide> for (var test in tests) {
<ide> local_exports[test] = tests[test]
<ide> }
<add> tests = {};
<ide> };
<ide> } else {
<ide> // node, ringo | |
JavaScript | mit | 43ef7fc814fef32676addac94d08fa09ff6fd13f | 0 | tsherif/scenejs,tsherif/scenejs | /**
* @class Display compiled from a {@link SceneJS.Scene}, providing methods to render and pick.
* @private
*
* <p>A Display is a container of {@link SceneJS_Object}s which are created (or updated) by a depth-first
* <b>compilation traversal</b> of a {@link SceneJS.Scene}.</b>
*
* <h2>Rendering Pipeline</h2>
*... | src/core/display/display.js | /**
* @class Display compiled from a {@link SceneJS.Scene}, providing methods to render and pick.
* @private
*
* <p>A Display is a container of {@link SceneJS_Object}s which are created (or updated) by a depth-first
* <b>compilation traversal</b> of a {@link SceneJS.Scene}.</b>
*
* <h2>Rendering Pipeline</h2>
*... | Re-implement fixes to opaqueonly rendering
| src/core/display/display.js | Re-implement fixes to opaqueonly rendering | <ide><path>rc/core/display/display.js
<ide> return hit;
<ide> };
<ide>
<del>SceneJS_Display.prototype.readPixels = function (entries, size) {
<add>SceneJS_Display.prototype.readPixels = function (entries, size, opaqueOnly) {
<ide>
<ide> if (!this._readPixelBuf) {
<ide> this._readPixelBuf = new SceneJS... | |
Java | apache-2.0 | e14a1ff958f08ebc2a7061c2868e31e075ed2274 | 0 | yuanxxx/UltimateRecyclerView,sw926/UltimateRecyclerView,muyi126/UltimateRecyclerView,flyou/UltimateRecyclerView,JerryloveEmily/UltimateRecyclerView,freeman0211/UltimateRecyclerView,qingsong-xu/UltimateRecyclerView,Darin726/UltimateRecyclerView,marcoaros/UltimateRecyclerView,yizw/UltimateRecyclerView,YuzurihaInori/Ultim... | package com.marshalchen.ultimaterecyclerview.demo;
import android.graphics.Color;
import android.graphics.Point;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.R... | UltimateRecyclerView/app/src/main/java/com/marshalchen/ultimaterecyclerview/demo/TestAdvancedAdmobActivity.java | package com.marshalchen.ultimaterecyclerview.demo;
import android.graphics.Color;
import android.graphics.Point;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.R... | more explaination
| UltimateRecyclerView/app/src/main/java/com/marshalchen/ultimaterecyclerview/demo/TestAdvancedAdmobActivity.java | more explaination | <ide><path>ltimateRecyclerView/app/src/main/java/com/marshalchen/ultimaterecyclerview/demo/TestAdvancedAdmobActivity.java
<ide> public void onClick(View v) {
<ide> /**
<ide> * example 2 implementation enhancement of list view
<add> * without advertisement c... | |
Java | apache-2.0 | dce6bc1554ea648e6910ce2b80417a647c422397 | 0 | Thotep/libgdx,sjosegarcia/libgdx,nrallakis/libgdx,saltares/libgdx,samskivert/libgdx,snovak/libgdx,Deftwun/libgdx,Gliby/libgdx,curtiszimmerman/libgdx,MovingBlocks/libgdx,TheAks999/libgdx,toloudis/libgdx,FyiurAmron/libgdx,alex-dorokhov/libgdx,Zomby2D/libgdx,ryoenji/libgdx,luischavez/libgdx,EsikAntony/libgdx,thepullman/li... | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* 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:... | gdx/src/com/badlogic/gdx/scenes/scene2d/ui/Window.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* 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:... | Window, added keepWithinParent.
| gdx/src/com/badlogic/gdx/scenes/scene2d/ui/Window.java | Window, added keepWithinParent. | <ide><path>dx/src/com/badlogic/gdx/scenes/scene2d/ui/Window.java
<ide>
<ide> package com.badlogic.gdx.scenes.scene2d.ui;
<ide>
<del>import com.badlogic.gdx.Gdx;
<ide> import com.badlogic.gdx.graphics.Color;
<ide> import com.badlogic.gdx.graphics.g2d.BitmapFont;
<ide> import com.badlogic.gdx.graphics.g2d.BitmapFont.Te... | |
JavaScript | mit | 13e4a7256f2a327a10bbdd781dbef1cbd10e9f75 | 0 | Sawtaytoes/Flic-Controller,Sawtaytoes/Flic-Controller | // Global Dir Hack
global.baseDir = `${__dirname}/`
// Load Config settings
const dir = require(`${global.baseDir}/global-dirs`)
const flicClient = require(`${dir.services}setup-flic-client`)
const setupServer = require(`${dir.server}setup-server`)
const startServer = require(`${dir.server}start-server`)
// Load Midd... | index.js | // Global Dir Hack
global.baseDir = `${__dirname}/`
// Load Config settings
const dir = require(`${global.baseDir}/global-dirs`)
const lifxConfig = require(`${dir.services}setup-lifx-config`)
const lifxClient = require(`${dir.services}setup-lifx-client`)
const setupServer = require(`${dir.server}setup-server`)
const s... | Removed LIFX Controller middleware
| index.js | Removed LIFX Controller middleware | <ide><path>ndex.js
<ide>
<ide> // Load Config settings
<ide> const dir = require(`${global.baseDir}/global-dirs`)
<del>const lifxConfig = require(`${dir.services}setup-lifx-config`)
<del>const lifxClient = require(`${dir.services}setup-lifx-client`)
<add>const flicClient = require(`${dir.services}setup-flic-client`)
<... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.