lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
mit
52c4f5054c9788f89740c2be6de2854dc738e6d7
0
anthraxx/intellij-awesome-console
package awesome.console; import awesome.console.config.AwesomeConsoleConfig; import awesome.console.match.FileLinkMatch; import awesome.console.match.URLLinkMatch; import com.intellij.execution.filters.Filter; import com.intellij.execution.filters.HyperlinkInfo; import com.intellij.execution.filters.HyperlinkInfoFacto...
src/awesome/console/AwesomeLinkFilter.java
package awesome.console; import awesome.console.config.AwesomeConsoleConfig; import awesome.console.match.FileLinkMatch; import awesome.console.match.URLLinkMatch; import com.intellij.execution.filters.Filter; import com.intellij.execution.filters.HyperlinkInfo; import com.intellij.execution.filters.HyperlinkInfoFacto...
match: added support to match 'column' literal in file pattern
src/awesome/console/AwesomeLinkFilter.java
match: added support to match 'column' literal in file pattern
<ide><path>rc/awesome/console/AwesomeLinkFilter.java <ide> <ide> public class AwesomeLinkFilter implements Filter { <ide> private static final Pattern FILE_PATTERN = Pattern.compile( <del> "(?<link>(?<path>(\\.|~)?(?:[a-zA-Z]:\\\\|/)?[a-zA-Z0-9_][a-zA-Z0-9/\\-_.\\\\]*\\.[a-zA-Z0-9\\-_.]+)" + <del> "(?:(?::|, line...
Java
apache-2.0
15fc931de6ff2ef872b6103b15d3aeac1fe13b29
0
mattyb149/pentaho-kettle,mkambol/pentaho-kettle,ccaspanello/pentaho-kettle,drndos/pentaho-kettle,lgrill-pentaho/pentaho-kettle,rmansoor/pentaho-kettle,dkincade/pentaho-kettle,SergeyTravin/pentaho-kettle,airy-ict/pentaho-kettle,lgrill-pentaho/pentaho-kettle,pymjer/pentaho-kettle,DFieldFL/pentaho-kettle,zlcnju/kettle,air...
/* Copyright (c) 2007 Pentaho Corporation. All rights reserved. * This software was developed by Pentaho Corporation and is provided under the terms * of the GNU Lesser General Public License, Version 2.1. You may not use * this file except in compliance with the license. If you need a copy of the license, ...
src/org/pentaho/di/trans/steps/excelinput/ExcelInputMeta.java
/* Copyright (c) 2007 Pentaho Corporation. All rights reserved. * This software was developed by Pentaho Corporation and is provided under the terms * of the GNU Lesser General Public License, Version 2.1. You may not use * this file except in compliance with the license. If you need a copy of the license, ...
PDI-2577 : Problems with the resource exporter - two steps don't raplace the file name appropriately when exported git-svn-id: 51b39fcfd0d3a6ea7caa15377cad4af13b9d2664@13315 5fb7f6ec-07c1-534a-b4ca-9155e429e800
src/org/pentaho/di/trans/steps/excelinput/ExcelInputMeta.java
PDI-2577 : Problems with the resource exporter - two steps don't raplace the file name appropriately when exported
<ide><path>rc/org/pentaho/di/trans/steps/excelinput/ExcelInputMeta.java <ide> import org.pentaho.di.repository.ObjectId; <ide> import org.pentaho.di.resource.ResourceDefinition; <ide> import org.pentaho.di.resource.ResourceNamingInterface; <add>import org.pentaho.di.resource.ResourceNamingInterface.FileNamingType; <ide...
Java
mit
014ad96168f978b1f62360cafeefa8378188e59a
0
ildarisaev/srclib-antlr-1,alexsaveliev/srclib-basic,ildarisaev/srclib-antlr-1,alexsaveliev/srclib-basic
package com.sourcegraph.toolchain.php; import com.sourcegraph.toolchain.core.PathUtil; import com.sourcegraph.toolchain.core.objects.Def; import com.sourcegraph.toolchain.core.objects.DefKey; import com.sourcegraph.toolchain.language.*; import com.sourcegraph.toolchain.php.antlr4.PHPLexer; import com.sourcegrap...
toolchain-php/src/main/java/com/sourcegraph/toolchain/php/LanguageImpl.java
package com.sourcegraph.toolchain.php; import com.sourcegraph.toolchain.core.PathUtil; import com.sourcegraph.toolchain.core.objects.Def; import com.sourcegraph.toolchain.core.objects.DefKey; import com.sourcegraph.toolchain.language.*; import com.sourcegraph.toolchain.php.antlr4.PHPLexer; import com.sourcegrap...
Fixed NPE for non-composer PHP projects
toolchain-php/src/main/java/com/sourcegraph/toolchain/php/LanguageImpl.java
Fixed NPE for non-composer PHP projects
<ide><path>oolchain-php/src/main/java/com/sourcegraph/toolchain/php/LanguageImpl.java <ide> import com.sourcegraph.toolchain.php.composer.ComposerConfiguration; <ide> import com.sourcegraph.toolchain.php.composer.schema.Autoload; <ide> import com.sourcegraph.toolchain.php.composer.schema.ComposerSchemaJson; <del>import...
JavaScript
mit
8aadb426f074368d65a6c4ba69525bf768990d2c
0
jean79/yested,HughG/yested,HughG/yested,jean79/yested,HughG/yested,jean79/yested
(function (Kotlin) { 'use strict'; var _ = Kotlin.defineRootPackage(null, /** @lends _ */ { net: Kotlin.definePackage(null, /** @lends _.net */ { yested: Kotlin.definePackage(function () { this.DURATION_huuymz$ = 200; this.SLIDE_DURATION_ip8yfn$ = _.net.yested.DURATION_huuymz$ * 2; }...
demo-site/js/Yested.js
(function (Kotlin) { 'use strict'; var _ = Kotlin.defineRootPackage(null, /** @lends _ */ { net: Kotlin.definePackage(null, /** @lends _.net */ { yested: Kotlin.definePackage(null, /** @lends _.net.yested */ { AjaxRequest: Kotlin.createClass(null, function (url, type, data, contentType, dataType, ...
updated demo site
demo-site/js/Yested.js
updated demo site
<ide><path>emo-site/js/Yested.js <ide> 'use strict'; <ide> var _ = Kotlin.defineRootPackage(null, /** @lends _ */ { <ide> net: Kotlin.definePackage(null, /** @lends _.net */ { <del> yested: Kotlin.definePackage(null, /** @lends _.net.yested */ { <add> yested: Kotlin.definePackage(function () { <add> ...
JavaScript
apache-2.0
8765f2289038f93c6a918b80b204722a56616f8f
0
tyler-travis/openstorefront,Jedwondle/openstorefront,skycow/openstorefront,jbottel/openstorefront,jbottel/openstorefront,tyler-travis/openstorefront,Razaltan/openstorefront,skycow/openstorefront,tyler-travis/openstorefront,Jedwondle/openstorefront,Razaltan/openstorefront,skycow/openstorefront,Jedwondle/openstorefront,t...
/* * Copyright 2014 Space Dynamics Laboratory - Utah State University Research 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...
client/openstorefront/app/scripts/common-min/data2.js
/* * Copyright 2014 Space Dynamics Laboratory - Utah State University Research 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...
Added the correct scores for the JView component.
client/openstorefront/app/scripts/common-min/data2.js
Added the correct scores for the JView component.
<ide><path>lient/openstorefront/app/scripts/common-min/data2.js <ide> } ], <ide> "evaluationSections" : [ { <ide> "name" : "Discoverable", <del> "score" : 3 <add> "score" : 2 <ide> }, { <ide> "name" : "Accessible", <ide> "score" : 2 <ide> }, { <ide> "name" : "Documentat...
Java
apache-2.0
error: pathspec 'Yamba/src/com/symantec/yamba/TimelineFragment.java' did not match any file(s) known to git
0b51798a697d5507e7fd8c6f66ea0f658fef3b65
1
thenewcircle/class-3272,thenewcircle/class-3272,thenewcircle/class-3272
package com.symantec.yamba; import android.app.ListFragment; import android.os.Bundle; public class TimelineFragment extends ListFragment { @Override public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); getActivity().getContentResolver().query(StatusContract.C...
Yamba/src/com/symantec/yamba/TimelineFragment.java
Added basic TimelineFragment
Yamba/src/com/symantec/yamba/TimelineFragment.java
Added basic TimelineFragment
<ide><path>amba/src/com/symantec/yamba/TimelineFragment.java <add>package com.symantec.yamba; <add> <add>import android.app.ListFragment; <add>import android.os.Bundle; <add> <add>public class TimelineFragment extends ListFragment { <add> <add> @Override <add> public void onActivityCreated(Bundle savedInstanceState) { ...
JavaScript
mit
ddaaab4c5e4dc928d7971d19a476f262df1f97e7
0
tpoikela/battles,tpoikela/battles,tpoikela/battles,tpoikela/battles,tpoikela/battles
/* eslint comma-dangle: 0 */ // Thanks to www.fantasynamegenerators.com for some tips const Names = {}; const RG = require('../src/rg'); const Random = require('../src/random'); const RNG = Random.getRNG(); // There are two kinds of names: // 1. Generic ones such as Dungeon, City, Town, Vault etc. // 2. Unique ones...
client/data/name-gen.js
/* eslint comma-dangle: 0 */ // Thanks to www.fantasynamegenerators.com for some tips const Names = {}; const RG = require('../src/rg.js'); const RNG = RG.Random.getRNG(); // There are two kinds of names: // 1. Generic ones such as Dungeon, City, Town, Vault etc. // 2. Unique ones such as Everhold or Ebonfell. /* ...
Added getActorName() for testing quest generation with random names.
client/data/name-gen.js
Added getActorName() for testing quest generation with random names.
<ide><path>lient/data/name-gen.js <ide> // Thanks to www.fantasynamegenerators.com for some tips <ide> <ide> const Names = {}; <del>const RG = require('../src/rg.js'); <add>const RG = require('../src/rg'); <add>const Random = require('../src/random'); <ide> <del>const RNG = RG.Random.getRNG(); <add>const RNG = Random...
Java
mit
7b48e385a917a66f860a44a19d8d9614dc2d702f
0
mmohan01/ReFactory,mmohan01/ReFactory
package refactorings; import java.util.ArrayList; import recoder.CrossReferenceServiceConfiguration; import recoder.abstraction.ClassType; import recoder.abstraction.Field; import recoder.abstraction.Package; import recoder.abstraction.PrimitiveType; import recoder.abstraction.Type; import recoder.bytecode....
src/refactorings/Refactoring.java
package refactorings; import java.util.ArrayList; import recoder.CrossReferenceServiceConfiguration; import recoder.abstraction.ClassType; import recoder.abstraction.Field; import recoder.abstraction.Package; import recoder.abstraction.PrimitiveType; import recoder.abstraction.Type; import recoder.bytecode....
Added files via upload
src/refactorings/Refactoring.java
Added files via upload
<ide><path>rc/refactorings/Refactoring.java <ide> { <ide> if (p instanceof Problem) <ide> { <del> System.out.println("\nPROBLEM REPORT: "); <add> System.out.println("\r\nPROBLEM REPORT: "); <ide> System.err.println(p.toString()); <ide> } <ide> else
Java
apache-2.0
2106c0a6bc98e0b0da0dbda747e7085f21341304
0
serge-rider/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,dbeaver/dbeaver,serge-rider/dbeaver
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/license...
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/task/TaskConfigurationWizardPageTask.java
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/license...
#2372 Remove redundant settings deserialize Former-commit-id: 245789317f63b7b57a6987249d1f8a542c04b63f
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/task/TaskConfigurationWizardPageTask.java
#2372 Remove redundant settings deserialize
<ide><path>lugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/task/TaskConfigurationWizardPageTask.java <ide> } <ide> <ide> public TaskConfigurationWizard getTaskWizard() throws DBException { <add> if (!(getWizard() instanceof TaskConfigurationWizardStub)) { <add> // We already ha...
Java
unlicense
d329b4be9831b06e6162eaf4e92829e579bf35e9
0
michaelsavich/NotificationCenter
package net.michaelsavich.notification; import java.util.Map; import java.util.HashMap; import java.util.Set; import java.util.HashSet; /** * NotificationCenter objects register {@link NotificationObserver NotificationObservers} * to be notified when a certain {@link Notification} is posted. */ public abstract cla...
src/net.michaelsavich.notification/net/michaelsavich/notification/NotificationCenter.java
package net.michaelsavich.notification; import java.util.Map; import java.util.HashMap; import java.util.Set; import java.util.HashSet; /** * NotificationCenter objects register {@link NotificationObserver NotificationObservers} * to be notified when a certain {@link Notification} is posted. */ public abstract cla...
Implement primaryAsync
src/net.michaelsavich.notification/net/michaelsavich/notification/NotificationCenter.java
Implement primaryAsync
<ide><path>rc/net.michaelsavich.notification/net/michaelsavich/notification/NotificationCenter.java <ide> * @return An instance of a concrete NotificationCenter subclass. <ide> */ <ide> public static NotificationCenter primaryAsync() { <del> throw new UnsupportedOperationException("Unimplemented method!"); <add> ...
Java
apache-2.0
3ae3a796680561ddc1bf6bd2e49dd27df8743969
0
billho/symphony,billho/symphony,billho/symphony
/* * Symphony - A modern community (forum/SNS/blog) platform written in Java. * Copyright (C) 2012-2018, b3log.org & hacpai.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
src/main/java/org/b3log/symphony/processor/advice/PermissionCheck.java
/* * Symphony - A modern community (forum/SNS/blog) platform written in Java. * Copyright (C) 2012-2018, b3log.org & hacpai.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either ver...
:bug: Fix #622
src/main/java/org/b3log/symphony/processor/advice/PermissionCheck.java
:bug: Fix #622
<ide><path>rc/main/java/org/b3log/symphony/processor/advice/PermissionCheck.java <ide> import org.json.JSONObject; <ide> <ide> import javax.servlet.http.HttpServletRequest; <add>import javax.servlet.http.HttpServletResponse; <ide> import java.lang.reflect.Method; <ide> import java.util.*; <ide> <ide> * Permission ch...
JavaScript
mit
5942e80209c31ff5a04d8e02cc3663b6ab6278fc
0
deividmarques/locawebstyle,deividmarques/locawebstyle,diegoeis/locawebstyle,EveraldoReis/locawebstyle,MaizerGomes/locawebstyle,locaweb/locawebstyle,locaweb/locawebstyle,EveraldoReis/locawebstyle,MaizerGomes/locawebstyle,diegoeis/locawebstyle,EveraldoReis/locawebstyle,MaizerGomes/locawebstyle,deividmarques/locawebstyle,...
var locastyle = locastyle || {}; locastyle.steps = (function() { 'use strict'; var config = { selectors: { moduleActive: '.ls-actived [data-ls-module="steps"]', nav: '.ls-steps-nav', button: '.ls-steps-btn', container: '.ls-steps-content', parent: '.ls-steps', moduleVisible...
source/assets/javascripts/locastyle/_steps.js
var locastyle = locastyle || {}; locastyle.steps = (function() { 'use strict'; var config = { selectors: { moduleActive: '.ls-actived [data-ls-module="steps"]', nav: '.ls-steps-nav', button: '.ls-steps-btn', container: '.ls-steps-content', parent: '.ls-steps', moduleVisible...
add missing radix param
source/assets/javascripts/locastyle/_steps.js
add missing radix param
<ide><path>ource/assets/javascripts/locastyle/_steps.js <ide> <ide> $(window).scroll(function() { <ide> if ($(window).scrollTop() > offset.top ) { <del> var $scroll = parseInt($(window).scrollTop() - $heightNav); <add> var $scroll = parseInt($(window).scrollTop() - $heightNav, 10); <ide> <ide> ...
JavaScript
mit
678d543743889a8f545de6e482be80eabea37469
0
delphiactual/DIM,bhollis/DIM,DestinyItemManager/DIM,delphiactual/DIM,DestinyItemManager/DIM,DestinyItemManager/DIM,chrisfried/DIM,delphiactual/DIM,bhollis/DIM,chrisfried/DIM,chrisfried/DIM,bhollis/DIM,DestinyItemManager/DIM,chrisfried/DIM,bhollis/DIM,delphiactual/DIM
const webpack = require('webpack'); const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const CopyWebpackPlugin = require('copy-webpack-plugin'); const CleanWebpackPlugin = require('clean-webpack-plugin'); const WorkboxPlugin = require('workbox-webpack-plugin'); const WebpackNotifie...
config/webpack.js
const webpack = require('webpack'); const path = require('path'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const CopyWebpackPlugin = require('copy-webpack-plugin'); const CleanWebpackPlugin = require('clean-webpack-plugin'); const WorkboxPlugin = require('workbox-webpack-plugin'); const WebpackNotifie...
Clean up webpack
config/webpack.js
Clean up webpack
<ide><path>onfig/webpack.js <ide> chunkFilename: '[id]-[contenthash:6].js' <ide> }, <ide> <del> stats: 'errors-only', <add> stats: 'minimal', <ide> <ide> devtool: 'source-map', <ide> <ide> }, <ide> <ide> optimization: { <add> // We always want the chunk name, otherwise it's just num...
Java
lgpl-2.1
ed21c7955181a6066fdae2cd7a873a6fe06073b9
0
alisdev/dss,esig/dss,zsoltii/dss,openlimit-signcubes/dss,zsoltii/dss,alisdev/dss,openlimit-signcubes/dss,esig/dss
/** * DSS - Digital Signature Services * Copyright (C) 2015 European Commission, provided under the CEF programme * * This file is part of the "DSS - Digital Signature Services" project. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
dss-spi/src/main/java/eu/europa/esig/dss/x509/OCSPToken.java
/** * DSS - Digital Signature Services * Copyright (C) 2015 European Commission, provided under the CEF programme * * This file is part of the "DSS - Digital Signature Services" project. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
Fix reason value in case of OCSPToken
dss-spi/src/main/java/eu/europa/esig/dss/x509/OCSPToken.java
Fix reason value in case of OCSPToken
<ide><path>ss-spi/src/main/java/eu/europa/esig/dss/x509/OCSPToken.java <ide> import eu.europa.esig.dss.DSSRevocationUtils; <ide> import eu.europa.esig.dss.DSSUtils; <ide> import eu.europa.esig.dss.SignatureAlgorithm; <add>import eu.europa.esig.dss.x509.crl.CRLReasonEnum; <ide> <ide> /** <ide> * OCSP Signed Token whic...
Java
apache-2.0
77ef59898798c15ba81bd65aceff938a2d921875
0
tuijldert/jitsi,ringdna/jitsi,dkcreinoso/jitsi,Metaswitch/jitsi,gpolitis/jitsi,dkcreinoso/jitsi,pplatek/jitsi,ibauersachs/jitsi,martin7890/jitsi,damencho/jitsi,tuijldert/jitsi,tuijldert/jitsi,Metaswitch/jitsi,dkcreinoso/jitsi,HelioGuilherme66/jitsi,mckayclarey/jitsi,pplatek/jitsi,procandi/jitsi,laborautonomo/jitsi,tuij...
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.systray.jdic; import java.awt.event.*; import java.util.*; import java.util.Timer; import javax.swing.*; import net.ja...
src/net/java/sip/communicator/impl/systray/jdic/SystrayServiceJdicImpl.java
/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.systray.jdic; import java.awt.event.*; import java.util.*; import javax.swing.*; import net.java.sip.communicator.impl...
group systray messages when they are coming too fast
src/net/java/sip/communicator/impl/systray/jdic/SystrayServiceJdicImpl.java
group systray messages when they are coming too fast
<ide><path>rc/net/java/sip/communicator/impl/systray/jdic/SystrayServiceJdicImpl.java <ide> <ide> import java.awt.event.*; <ide> import java.util.*; <add>import java.util.Timer; <ide> <ide> import javax.swing.*; <ide> <ide> import net.java.sip.communicator.util.*; <ide> <ide> import org.jdesktop.jdic.tray.*; <del>i...
Java
agpl-3.0
5934fea712ad3f717dc1c8c061347c9aee8b4fef
0
deerwalk/voltdb,simonzhangsm/voltdb,kumarrus/voltdb,wolffcm/voltdb,migue/voltdb,wolffcm/voltdb,migue/voltdb,wolffcm/voltdb,flybird119/voltdb,paulmartel/voltdb,VoltDB/voltdb,ingted/voltdb,VoltDB/voltdb,migue/voltdb,kumarrus/voltdb,VoltDB/voltdb,ingted/voltdb,creative-quant/voltdb,migue/voltdb,simonzhangsm/voltdb,wolffcm...
/* This file is part of VoltDB. * Copyright (C) 2008-2014 VoltDB Inc. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to...
tests/frontend/org/voltdb/regressionsuites/TestStatisticsSuite.java
/* This file is part of VoltDB. * Copyright (C) 2008-2014 VoltDB Inc. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to...
Tweak TestStatistics suite diagnostics, readability, and resilience to a recurring LiveClients race condition.
tests/frontend/org/voltdb/regressionsuites/TestStatisticsSuite.java
Tweak TestStatistics suite diagnostics, readability, and resilience to a recurring LiveClients race condition.
<ide><path>ests/frontend/org/voltdb/regressionsuites/TestStatisticsSuite.java <ide> <ide> public class TestStatisticsSuite extends SaveRestoreBase { <ide> <del> private static int SITES = 2; <del> private static int HOSTS = 3; <del> private static int KFACTOR = MiscUtils.isPro() ? 1 : 0; <del> private sta...
JavaScript
mit
426c22e4093b8b90dc7f025c9edf749d5eed5a9e
0
ssbc/muxrpc
var pull = require('pull-stream') // wrap pull streams around packet-stream's weird streams. function once (fn) { var done = false return function (err, val) { if(done) return done = true fn(err, val) } } module.exports = function (weird, done) { var buffer = [], ended = false, waiting done = o...
pull-weird.js
var pull = require('pull-stream') // wrap pull streams around packet-stream's weird streams. module.exports = function (weird, done) { var buffer = [], ended = false, waiting done = done || function () {} weird.read = function (data, end) { ended = ended || end if(waiting) { var cb = waiting ...
end both parts of a uniplex stream correctly
pull-weird.js
end both parts of a uniplex stream correctly
<ide><path>ull-weird.js <ide> var pull = require('pull-stream') <ide> // wrap pull streams around packet-stream's weird streams. <add> <add>function once (fn) { <add> var done = false <add> return function (err, val) { <add> if(done) return <add> done = true <add> fn(err, val) <add> } <add>} <ide> <ide> mo...
Java
epl-1.0
d009fe7f827170d599c6b4463fbf2a84583fe308
0
css-iter/cs-studio,ESSICS/cs-studio,ControlSystemStudio/cs-studio,css-iter/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,css-iter/cs-studio,css-iter/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,E...
package org.csstudio.trends.databrowser.ui; import java.util.ArrayList; import java.util.Timer; import java.util.TimerTask; import org.csstudio.platform.data.ITimestamp; import org.csstudio.platform.data.TimestampFactory; import org.csstudio.platform.model.IArchiveDataSource; import org.csstudio.trends.databrowser.Me...
applications/plugins/org.csstudio.trends.databrowser2/src/org/csstudio/trends/databrowser/ui/Controller.java
package org.csstudio.trends.databrowser.ui; import java.util.ArrayList; import java.util.Timer; import java.util.TimerTask; import org.csstudio.platform.data.ITimestamp; import org.csstudio.platform.data.TimestampFactory; import org.csstudio.platform.model.IArchiveDataSource; import org.csstudio.trends.databrowser.Me...
Delete-with-undo didn't work for 'hidden' items
applications/plugins/org.csstudio.trends.databrowser2/src/org/csstudio/trends/databrowser/ui/Controller.java
Delete-with-undo didn't work for 'hidden' items
<ide><path>pplications/plugins/org.csstudio.trends.databrowser2/src/org/csstudio/trends/databrowser/ui/Controller.java <ide> <ide> public void itemAdded(final ModelItem item) <ide> { <del> plot.addTrace(item); <add> if (item.isVisible()) <add> pl...
Java
apache-2.0
865a67e82d490500043c31cf2a6318c75368c762
0
WilliamZapata/alluxio,maobaolong/alluxio,maboelhassan/alluxio,wwjiang007/alluxio,Alluxio/alluxio,apc999/alluxio,maobaolong/alluxio,yuluo-ding/alluxio,Alluxio/alluxio,wwjiang007/alluxio,ChangerYoung/alluxio,jsimsa/alluxio,madanadit/alluxio,apc999/alluxio,maboelhassan/alluxio,ChangerYoung/alluxio,jsimsa/alluxio,Reidddddd...
/* * Licensed to the University of California, Berkeley 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 no...
clients/unshaded/src/main/java/tachyon/client/file/FileOutStream.java
/* * Licensed to the University of California, Berkeley 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 no...
Improve error propagation in FileOutStream
clients/unshaded/src/main/java/tachyon/client/file/FileOutStream.java
Improve error propagation in FileOutStream
<ide><path>lients/unshaded/src/main/java/tachyon/client/file/FileOutStream.java <ide> FileInfo fileInfo = client.getFileInfo(mFileId); <ide> mUfsPath = fileInfo.getUfsPath(); <ide> } catch (TachyonException e) { <del> throw new IOException(e.getMessage()); <add> throw new IOException(e); <ide>...
JavaScript
mit
7c12951bbb5337e40dc350b9bdc1c1fac8575692
0
evanlucas/paycoin-electron,jwrb/paycoin-electron,jwrb/paycoin-electron,ligerzero459/paycoin-electron,ligerzero459/paycoin-electron,evanlucas/paycoin-electron
var BrowserWindow = require('browser-window') , path = require('path') var name = 'Paycoin' var index = 'file://' + path.join(__dirname, 'views', 'index.html') var app = require('app') app.on('ready', setup) app.on('window-all-closed', function() { if (process.platform !== 'darwin') { app.quit() } }) var m...
index.js
var BrowserWindow = require('browser-window') , path = require('path') var name = 'Paycoin' var index = 'file://' + path.join(__dirname, 'views', 'index.html') var app = require('app') app.on('ready', setup) app.on('window-all-closed', function() { if (process.platform !== 'darwin') { app.quit() } }) var m...
prevent the window title from changing
index.js
prevent the window title from changing
<ide><path>ndex.js <ide> mainWindow.on('closed', function() { <ide> mainWindow = null <ide> }) <add> <add> mainWindow.on('page-title-updated', function(e) { <add> e.preventDefault() <add> }) <ide> }
Java
apache-2.0
511db17bb330988db13220bf4625cd6221d35503
0
Polidea/RxAndroidBle,mzgreen/RxAndroidBle,Polidea/RxAndroidBle,Polidea/RxAndroidBle,mzgreen/RxAndroidBle
package com.polidea.bleplayground; import android.support.v4.app.Fragment; import android.os.Bundle; import android.support.v4.util.Pair; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.polidea.rxandroidble.RxBleClientImpl; import com.pol...
app/src/main/java/com/polidea/bleplayground/MainActivityFragment.java
package com.polidea.bleplayground; import android.support.v4.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; /** * A placeholder fragment containing a simple view. */ public class MainActivityFragment extends Fragment { public...
Added examble usage of the library.
app/src/main/java/com/polidea/bleplayground/MainActivityFragment.java
Added examble usage of the library.
<ide><path>pp/src/main/java/com/polidea/bleplayground/MainActivityFragment.java <ide> <ide> import android.support.v4.app.Fragment; <ide> import android.os.Bundle; <add>import android.support.v4.util.Pair; <add>import android.util.Log; <ide> import android.view.LayoutInflater; <ide> import android.view.View; <ide> imp...
Java
apache-2.0
6bbc0a2b50d76351e46d1294fca9621dee8a679a
0
mars137/Insight-project,mars137/Insight-project,mars137/Insight-project
/** * Autogenerated by Avro * * DO NOT EDIT DIRECTLY */ package avro.Message; import org.apache.avro.specific.SpecificData; import org.apache.avro.message.BinaryMessageEncoder; import org.apache.avro.message.BinaryMessageDecoder; import org.apache.avro.message.SchemaStore; @SuppressWarnings("all") @org.apache.avr...
kafka-streams-application/src/main/java/avro/Message/Propensity.java
/** * Autogenerated by Avro * * DO NOT EDIT DIRECTLY */ package avro.Message; import org.apache.avro.specific.SpecificData; import org.apache.avro.message.BinaryMessageEncoder; import org.apache.avro.message.BinaryMessageDecoder; import org.apache.avro.message.SchemaStore; @SuppressWarnings("all") @org.apache.avr...
Updated Avro java class - corresponding Propensity schema
kafka-streams-application/src/main/java/avro/Message/Propensity.java
Updated Avro java class - corresponding Propensity schema
<ide><path>afka-streams-application/src/main/java/avro/Message/Propensity.java <ide> @SuppressWarnings("all") <ide> @org.apache.avro.specific.AvroGenerated <ide> public class Propensity extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord { <del> private static final l...
Java
apache-2.0
195dd8112b4a3e3d752de85ec38e7549a0e4a17c
0
dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android
package org.commcare.android.framework; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.SharedPreferences; import android.os.Build; import android.os.Bundle; import android.support.v4.app.FragmentActivi...
app/src/org/commcare/android/framework/CommCareActivity.java
package org.commcare.android.framework; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.SharedPreferences; import android.os.Build; import android.os.Bundle; import android.support.v4.app.FragmentActivi...
Move 'activityPaused' from onCreate to onResume
app/src/org/commcare/android/framework/CommCareActivity.java
Move 'activityPaused' from onCreate to onResume
<ide><path>pp/src/org/commcare/android/framework/CommCareActivity.java <ide> @TargetApi(14) <ide> protected void onCreate(Bundle savedInstanceState) { <ide> super.onCreate(savedInstanceState); <del> activityPaused = false; <ide> <ide> if (showDialogIdOnResume > 0 && !shouldDismissDialog)...
Java
agpl-3.0
585e60d712d61e29d600dd38e142269d6e3a46b3
0
KinshipSoftware/KinOathKinshipArchiver,PeterWithers/temp-to-delete1,KinshipSoftware/KinOathKinshipArchiver,PeterWithers/temp-to-delete1
src/main/java/nl/mpi/kinnate/svg/GraphPlacementHandler.java
package nl.mpi.kinnate.svg; import nl.mpi.kinnate.kindata.EntityData; import org.w3c.dom.Element; /** * Document : GraphPlacementHandler * Created on : May 30, 2011, 4:43:45 PM * Author : Peter Withers */ public class GraphPlacementHandler { public void placeAllNodes(GraphPanel graphPanel, EntityDat...
Removed redundant classes.
src/main/java/nl/mpi/kinnate/svg/GraphPlacementHandler.java
Removed redundant classes.
<ide><path>rc/main/java/nl/mpi/kinnate/svg/GraphPlacementHandler.java <del>package nl.mpi.kinnate.svg; <del> <del>import nl.mpi.kinnate.kindata.EntityData; <del>import org.w3c.dom.Element; <del> <del>/** <del> * Document : GraphPlacementHandler <del> * Created on : May 30, 2011, 4:43:45 PM <del> * Author : Pet...
Java
apache-2.0
f6823259cb22b4c34ae8e44719284c3dbf3a31e0
0
ibinti/intellij-community,wreckJ/intellij-community,ol-loginov/intellij-community,hurricup/intellij-community,diorcety/intellij-community,allotria/intellij-community,mglukhikh/intellij-community,vvv1559/intellij-community,fitermay/intellij-community,kdwink/intellij-community,asedunov/intellij-community,allotria/intelli...
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/XBreakpointManagerImpl.java
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
IDEA-65205 Clicking on exception breakpoint mark should switch this breakpoint off instead of creating new line breakpoint
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/XBreakpointManagerImpl.java
IDEA-65205 Clicking on exception breakpoint mark should switch this breakpoint off instead of creating new line breakpoint
<ide><path>latform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/XBreakpointManagerImpl.java <ide> } <ide> <ide> private void doRemoveBreakpoint(XBreakpoint<?> breakpoint) { <del> XBreakpointType type = breakpoint.getType(); <del> XBreakpointBase<?,?,?> breakpointBase = (XBreakpointBase<?,?,?>)b...
Java
apache-2.0
eb18ac8742cbb135ac1e3cfae1af159bf518879f
0
google/conscrypt,google/conscrypt,google/conscrypt,google/conscrypt,google/conscrypt,google/conscrypt
/* * 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...
luni/src/main/java/org/apache/harmony/xnet/provider/jsse/CipherSuite.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...
Change Harmony CipherSuite to use JSSE names Change text names of Harmony CipherSuite's (used by SSLEngine and some places with OpenSSL code) to match JSSE names. luni/src/main/java/org/apache/harmony/xnet/provider/jsse/CipherSuite.java Added StandardName constant for SSL_NULL_WITH_NULL_NULL support/src/test/java...
luni/src/main/java/org/apache/harmony/xnet/provider/jsse/CipherSuite.java
Change Harmony CipherSuite to use JSSE names
<ide><path>uni/src/main/java/org/apache/harmony/xnet/provider/jsse/CipherSuite.java <ide> static byte[] code_TLS_DH_anon_WITH_3DES_EDE_CBC_SHA = { 0x00, 0x1B }; <ide> <ide> static CipherSuite TLS_NULL_WITH_NULL_NULL = new CipherSuite( <del> "TLS_NULL_WITH_NULL_NULL", true, 0, null, null, <add> ...
Java
apache-2.0
50148187731de0a7e8bc1da3ebe7bdba5fabd766
0
samgurtman/LeanSecurity
import leansecurity.acl.exception.LacksPermissionException; import leansecurity.acl.exception.LacksRoleException; import leansecurity.acl.exception.NotLogggedInException; import leansecurity.aspects.SecurityEvaluator; import leansecurity.filters.SecurityFilter; import org.junit.Assert; import org.junit.Before; import o...
core/src/test/java/EvaluatorTests.java
import leansecurity.acl.exception.LacksPermissionException; import leansecurity.acl.exception.LacksRoleException; import leansecurity.acl.exception.NotLogggedInException; import leansecurity.aspects.SecurityEvaluator; import leansecurity.filters.SecurityFilter; import org.junit.Assert; import org.junit.Before; import o...
LS-2 Renamed file
core/src/test/java/EvaluatorTests.java
LS-2
<ide><path>ore/src/test/java/EvaluatorTests.java <ide> import static org.junit.Assert.fail; <ide> <ide> /** <del> * Created by sam on 12/06/16. <add> * tests for security evaluator <ide> */ <ide> public class EvaluatorTests { <ide> private InMemoryUserStore userStore = new InMemoryUserStore();
Java
apache-2.0
e4cb163be2dc6cf6bd417acd62d3cc4e74f7473b
0
Apache9/netty,tbrooks8/netty,skyao/netty,s-gheldd/netty,mcobrien/netty,ngocdaothanh/netty,bryce-anderson/netty,kiril-me/netty,s-gheldd/netty,Apache9/netty,skyao/netty,KatsuraKKKK/netty,netty/netty,NiteshKant/netty,Techcable/netty,jchambers/netty,Apache9/netty,maliqq/netty,SinaTadayon/netty,mikkokar/netty,artgon/netty,j...
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
transport/src/main/java/io/netty/channel/ChannelPipeline.java
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
Fix javadoc link
transport/src/main/java/io/netty/channel/ChannelPipeline.java
Fix javadoc link
<ide><path>ransport/src/main/java/io/netty/channel/ChannelPipeline.java <ide> ChannelPipeline fireChannelRead(Object msg); <ide> <ide> /** <del> * Triggers an {@link ChannelInboundHandler#channelWritabilityChanged(ChannelHandlerContext)} <add> * Triggers an {@link ChannelInboundHandler#channelReadCompl...
Java
apache-2.0
097e14b0ff5beb1a3ac354f82f82cce7970e341c
0
apache/jmeter,apache/jmeter,ham1/jmeter,benbenw/jmeter,ham1/jmeter,apache/jmeter,apache/jmeter,etnetera/jmeter,ham1/jmeter,etnetera/jmeter,benbenw/jmeter,ham1/jmeter,etnetera/jmeter,benbenw/jmeter,ham1/jmeter,apache/jmeter,etnetera/jmeter,benbenw/jmeter,etnetera/jmeter
/* * 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 ...
src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.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 ...
Ensure getContentLength() uses same encoding as will be used later Set a default for the response content-type in case one is not provided in the response git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@703669 13f79535-47bb-0310-9956-ffa450edef68 Former-commit-id: 46069a4346e94e46225192bec2836662d19...
src/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java
Ensure getContentLength() uses same encoding as will be used later Set a default for the response content-type in case one is not provided in the response
<ide><path>rc/protocol/http/org/apache/jmeter/protocol/http/sampler/SoapSampler.java <ide> import java.io.IOException; <ide> import java.io.InputStream; <ide> import java.io.OutputStream; <del>import java.io.PrintWriter; <add>import java.io.UnsupportedEncodingException; <ide> import java.net.MalformedURLException; <ide...
JavaScript
mit
e514383b1e4b142ba5e47818ce76420456673552
0
pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS,pH7Software/pH7-Social-Dating-CMS
/* * Author: Pierre-Henry Soria <ph7software@gmail.com> * Copyright: (c) 2012-2018, Pierre-Henry Soria. All Rights Reserved. * License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. */ function showField(sName, mShow) { if ($('#' + sName).css("dis...
templates/themes/base/js/global.js
/* * Author: Pierre-Henry Soria <ph7software@gmail.com> * Copyright: (c) 2012-2018, Pierre-Henry Soria. All Rights Reserved. * License: GNU General Public License; See PH7.LICENSE.txt and PH7.COPYRIGHT.txt in the root directory. */ function showField(sName, mShow) { if ($('#' + sName).css("dis...
[ES6][global.js] Improve file; Indentation; Use const/let
templates/themes/base/js/global.js
[ES6][global.js] Improve file; Indentation; Use const/let
<ide><path>emplates/themes/base/js/global.js <ide> } <ide> } <ide> <del>var $goBox = (function () { <add>const $goBox = (function () { <ide> // Video Popup (video tag) <ide> $("a[data-popup=video]").colorbox({ <ide> speed: 500, <ide> <ide> $('a[title],img[title],abbr[title]').each(function () { <i...
JavaScript
mit
error: pathspec 'league.js' did not match any file(s) known to git
096ec9205c8a199960d9e9f8d97ef72ba96b3fa7
1
sama2/Viridian-Pokemon-Showdown,sama2/Viridian-Pokemon-Showdown
//Viridian League const leagueDataFile = './config/league.json'; var fs = require('fs'); function defaultData() { var data = {}; data['main'] = { leader: '', desc: 'Liga Viridian', htmlDesc: 'placeholder', winners: {}, medalImage: 'http://i1224.photobucket.com/albums/ee376/DarkythePro/Liga-Viridian_zpsaf...
league.js
Add Viridian League Data
league.js
Add Viridian League Data
<ide><path>eague.js <add>//Viridian League <add> <add>const leagueDataFile = './config/league.json'; <add> <add>var fs = require('fs'); <add> <add>function defaultData() { <add> var data = {}; <add> data['main'] = { <add> leader: '', <add> desc: 'Liga Viridian', <add> htmlDesc: 'placeholder', <add> winners: {}, <ad...
Java
mit
dc3303ec670dbf456bb458795513e225a9efa2cf
0
OreCruncher/DynamicSurroundings,OreCruncher/DynamicSurroundings
/* * This file is part of Dynamic Surroundings, licensed under the MIT License (MIT). * * Copyright (c) OreCruncher * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restrictio...
src/main/java/org/blockartistry/mod/DynSurround/scripts/json/ConfigurationScript.java
/* * This file is part of Dynamic Surroundings, licensed under the MIT License (MIT). * * Copyright (c) OreCruncher * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restrictio...
Init forge dictionary acoustics before block specific
src/main/java/org/blockartistry/mod/DynSurround/scripts/json/ConfigurationScript.java
Init forge dictionary acoustics before block specific
<ide><path>rc/main/java/org/blockartistry/mod/DynSurround/scripts/json/ConfigurationScript.java <ide> blocks.register(block); <ide> <ide> final FootstepsRegistry footsteps = RegistryManager.get(RegistryType.FOOTSTEPS); <del> for (final Entry<String, String> entry : script.footsteps.entrySet()) { <del> foot...
Java
agpl-3.0
008d18e6f6acb65d99c6c87ae8e82a531e526a6c
0
bluestreak01/questdb,bluestreak01/questdb,bluestreak01/questdb,bluestreak01/questdb,bluestreak01/questdb
/* * Copyright (c) 2014. Vlad Ilyushchenko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
nfsdb-core/src/main/java/com/nfsdb/journal/net/SecureByteChannel.java
/* * Copyright (c) 2014. Vlad Ilyushchenko * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
debugging hanging ssl test
nfsdb-core/src/main/java/com/nfsdb/journal/net/SecureByteChannel.java
debugging hanging ssl test
<ide><path>fsdb-core/src/main/java/com/nfsdb/journal/net/SecureByteChannel.java <ide> private final ByteBuffer inBuf; <ide> private final ByteBuffer outBuf; <ide> private final int sslDataLimit; <add> private final boolean client; <ide> private boolean inData = false; <ide> private SSLEngineResul...
Java
apache-2.0
095192797204d0b0fd6b47855395a89ffeb5916e
0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
package io.quarkus.hibernate.search.orm.elasticsearch.test.configuration; import static org.assertj.core.api.Assertions.assertThat; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension;...
extensions/hibernate-search-orm-elasticsearch/deployment/src/test/java/io/quarkus/hibernate/search/orm/elasticsearch/test/configuration/ConfigEnabledFalseAndActiveTrueTest.java
package io.quarkus.hibernate.search.orm.elasticsearch.test.configuration; import static org.assertj.core.api.Assertions.assertThat; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension;...
Fix incomplete assertion in ConfigEnabledFalseAndActiveTrueTest
extensions/hibernate-search-orm-elasticsearch/deployment/src/test/java/io/quarkus/hibernate/search/orm/elasticsearch/test/configuration/ConfigEnabledFalseAndActiveTrueTest.java
Fix incomplete assertion in ConfigEnabledFalseAndActiveTrueTest
<ide><path>xtensions/hibernate-search-orm-elasticsearch/deployment/src/test/java/io/quarkus/hibernate/search/orm/elasticsearch/test/configuration/ConfigEnabledFalseAndActiveTrueTest.java <ide> .overrideConfigKey("quarkus.hibernate-search-orm.active", "true") <ide> .assertException(throwable -> a...
JavaScript
mit
f5268342250e40b0e144b677ef4e17ed16409277
0
ColorfulCakeChen/query-submit-canvas,ColorfulCakeChen/query-submit-canvas
export { Base, To, Params }; // import * as ParamDesc from "./ParamDesc.js"; // import * as ValueDesc from "./ValueDesc.js"; // import * as ValueRange from "./ValueRange.js"; /** * A base class for extracting and keeping weights. It composes of a Float32Array and a shape. It can * be used as CNN (depthwise, pointwi...
CNN/Unpacker/Weights.js
export { Base, To, Params }; // import * as ParamDesc from "./ParamDesc.js"; // import * as ValueDesc from "./ValueDesc.js"; // import * as ValueRange from "./ValueRange.js"; /** * A base class for extracting and keeping weights. It composes of a Float32Array and a shape. It can * be used as CNN (depthwise, pointwi...
Update Weights.js
CNN/Unpacker/Weights.js
Update Weights.js
<ide><path>NN/Unpacker/Weights.js <ide> */ <ide> class To { <ide> <del>//!!! (2021/03/14) become SameRange. <del>// /** @return {any} Return the input value directly. */ <del>// static Same( v ) { <del>// return v; <del>// } <del> <ide> /** @return {number} Return the absolute value of the trucated value ...
Java
lgpl-2.1
c2f696c3fd4a3e6f7b85a80c927660dbb7cceba8
0
deegree/deegree3,deegree/deegree3,deegree/deegree3,deegree/deegree3,deegree/deegree3
//$HeadURL$ /*---------------------------------------------------------------------------- This file is part of deegree, http://deegree.org/ Copyright (C) 2001-2009 by: Department of Geography, University of Bonn and lat/lon GmbH This library is free software; you can redistribute it and/or modify it under the ...
deegree-services/src/main/java/org/deegree/services/wms/controller/capabilities/Capabilities111XMLAdapter.java
//$HeadURL$ /*---------------------------------------------------------------------------- This file is part of deegree, http://deegree.org/ Copyright (C) 2001-2009 by: Department of Geography, University of Bonn and lat/lon GmbH This library is free software; you can redistribute it and/or modify it under the ...
Fixed namespace binding issues.
deegree-services/src/main/java/org/deegree/services/wms/controller/capabilities/Capabilities111XMLAdapter.java
Fixed namespace binding issues.
<ide><path>eegree-services/src/main/java/org/deegree/services/wms/controller/capabilities/Capabilities111XMLAdapter.java <ide> writer.writeDTD( "<!DOCTYPE WMT_MS_Capabilities SYSTEM \"" + dtdrequest <ide> + "\" [<!ELEMENT VendorSpecificCapabilities EMPTY>]>\n" ); <ide> writer.wr...
Java
apache-2.0
2ae8b7f2b784f31d26112d824427707a56cde181
0
majorseitan/dataverse,majorseitan/dataverse,quarian/dataverse,jacksonokuhn/dataverse,JayanthyChengan/dataverse,majorseitan/dataverse,leeper/dataverse-1,ekoi/DANS-DVN-4.6.1,leeper/dataverse-1,leeper/dataverse-1,majorseitan/dataverse,quarian/dataverse,JayanthyChengan/dataverse,majorseitan/dataverse,jacksonokuhn/dataverse...
package edu.harvard.iq.dataverse.util; import edu.harvard.iq.dataverse.authorization.groups.impl.ipaddress.ip.IpAddress; import java.util.logging.Level; import java.util.logging.Logger; import javax.faces.application.FacesMessage; import javax.faces.context.ExternalContext; import javax.faces.context.FacesContext; imp...
src/main/java/edu/harvard/iq/dataverse/util/JsfHelper.java
package edu.harvard.iq.dataverse.util; import edu.harvard.iq.dataverse.authorization.groups.impl.ipaddress.ip.IpAddress; import java.util.logging.Level; import java.util.logging.Logger; import javax.faces.application.FacesMessage; import javax.faces.context.ExternalContext; import javax.faces.context.FacesContext; imp...
re added addSuccessMessage
src/main/java/edu/harvard/iq/dataverse/util/JsfHelper.java
re added addSuccessMessage
<ide><path>rc/main/java/edu/harvard/iq/dataverse/util/JsfHelper.java <ide> private static final Logger logger = Logger.getLogger(JsfHelper.class.getName()); <ide> <ide> public static final JsfHelper JH = new JsfHelper(); <add> <add> public static void addSuccessMessage(String message) { <add> Fa...
Java
agpl-3.0
5d9f852abd397a8e7e94494c364fecefc68ac74e
0
jounnie/sportchef,jounnie/sportchef
package ch.sportchef.server.services; import org.junit.Assert; import org.junit.Test; import javax.management.ServiceNotFoundException; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Modifier; import static org.junit.Assert.assertTrue; public class...
src/test/java/ch/sportchef/server/services/ServiceRegistryShould.java
package ch.sportchef.server.services; import org.junit.Assert; import org.junit.Test; import javax.management.ServiceNotFoundException; public class ServiceRegistryShould { private static class TestService implements Service { } @Test(expected = NullPointerException.class) public void registerS...
#72 Coverage decreased due to missing contructor test
src/test/java/ch/sportchef/server/services/ServiceRegistryShould.java
#72 Coverage decreased due to missing contructor test
<ide><path>rc/test/java/ch/sportchef/server/services/ServiceRegistryShould.java <ide> import org.junit.Test; <ide> <ide> import javax.management.ServiceNotFoundException; <add>import java.lang.reflect.Constructor; <add>import java.lang.reflect.InvocationTargetException; <add>import java.lang.reflect.Modifier; <add> <a...
Java
apache-2.0
8c848043af68feef88865a5b5251fe3d442c5410
0
fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode
package com.fishercoder.solutions; /** * 278. First Bad Version * * You are a product manager and currently leading a team to develop a new product. * Unfortunately, the latest version of your product fails the quality check. * Since each version is developed based on the previous version, all the versions after ...
src/main/java/com/fishercoder/solutions/_278.java
package com.fishercoder.solutions; /**You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality check. Since each version is developed based on the previous version, all the versions after a bad version are also bad. Suppose y...
refactor 278
src/main/java/com/fishercoder/solutions/_278.java
refactor 278
<ide><path>rc/main/java/com/fishercoder/solutions/_278.java <ide> package com.fishercoder.solutions; <ide> <del>/**You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality check. Since each version is developed based on the pre...
Java
unlicense
error: pathspec 'test/models/GameRoomTests.java' did not match any file(s) known to git
88d1bac78739012f7faa94814b2099a292462330
1
MaciejSzaflik/CharadesAndStuff,MaciejSzaflik/CharadesAndStuff,MaciejSzaflik/CharadesAndStuff
package test.models; import org.junit.Assert; import org.junit.Test; import models.Gamer; import models.Room; import java.util.Date; import java.util.List; import java.util.ArrayList; import play.test.*; import static play.test.Helpers.*; public class GameRoomTests { @Test public void GameRoomTests_AddRoom...
test/models/GameRoomTests.java
Added Simple Model test
test/models/GameRoomTests.java
Added Simple Model test
<ide><path>est/models/GameRoomTests.java <add>package test.models; <add> <add>import org.junit.Assert; <add>import org.junit.Test; <add> <add>import models.Gamer; <add>import models.Room; <add> <add>import java.util.Date; <add>import java.util.List; <add>import java.util.ArrayList; <add> <add>import play.test.*; <add>i...
Java
apache-2.0
ac3707553d777e3a412cd0b2af73ad071ea028ff
0
firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk
// Copyright 2018 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 in ...
firebase-dynamic-links/src/main/java/com/google/firebase/dynamiclinks/internal/ShortDynamicLinkImpl.java
// Copyright 2018 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 in ...
Fix FDL issue. (#1284)
firebase-dynamic-links/src/main/java/com/google/firebase/dynamiclinks/internal/ShortDynamicLinkImpl.java
Fix FDL issue. (#1284)
<ide><path>irebase-dynamic-links/src/main/java/com/google/firebase/dynamiclinks/internal/ShortDynamicLinkImpl.java <ide> @Param(id = 3) List<WarningImpl> warnings) { <ide> this.shortLink = shortLink; <ide> this.previewLink = previewLink; <del> this.warnings = warnings == null ? Collections.<>emptyList(...
Java
apache-2.0
error: pathspec 'core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/query/InQueryTest.java' did not match any file(s) known to git
067dc955352faa61aa512f1f3ff3a2420ca1a39b
1
vladmihalcea/high-performance-java-persistence,vladmihalcea/high-performance-java-persistence
package com.vladmihalcea.book.hpjp.hibernate.query; import com.vladmihalcea.book.hpjp.util.AbstractTest; import com.vladmihalcea.book.hpjp.util.providers.Database; import org.junit.Test; import javax.persistence.*; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Properties...
core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/query/InQueryTest.java
Add in clause parameter padding
core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/query/InQueryTest.java
Add in clause parameter padding
<ide><path>ore/src/test/java/com/vladmihalcea/book/hpjp/hibernate/query/InQueryTest.java <add>package com.vladmihalcea.book.hpjp.hibernate.query; <add> <add>import com.vladmihalcea.book.hpjp.util.AbstractTest; <add>import com.vladmihalcea.book.hpjp.util.providers.Database; <add>import org.junit.Test; <add> <add>import ...
Java
apache-2.0
e3112ebfa5ff07486c2acff721f81181d7e036a0
0
fengbaicanhe/intellij-community,youdonghai/intellij-community,semonte/intellij-community,ernestp/consulo,mglukhikh/intellij-community,asedunov/intellij-community,kdwink/intellij-community,kool79/intellij-community,samthor/intellij-community,wreckJ/intellij-community,robovm/robovm-studio,asedunov/intellij-community,vvv1...
/* * Copyright 2000-2005 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
plugins/svn4idea/src/org/jetbrains/idea/svn/SvnApplicationSettings.java
/* * Copyright 2000-2005 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
SVN: application settings NPE
plugins/svn4idea/src/org/jetbrains/idea/svn/SvnApplicationSettings.java
SVN: application settings NPE
<ide><path>lugins/svn4idea/src/org/jetbrains/idea/svn/SvnApplicationSettings.java <ide> writeCredentials(); <ide> } <ide> myConfigurationBean.myTypedURLs.clear(); <del> myConfigurationBean.myTypedURLs.addAll(myLimitedStringsList.getList()); <add> myConfigurationBean.myTypedURLs.addAll(getTypedList()...
Java
apache-2.0
7ec18dd06685cfcfa91af57d5772199cd2766a7a
0
cyenyxe/eva-pipeline,EBIvariation/eva-pipeline,jmmut/eva-pipeline,jmmut/eva-pipeline,jmmut/eva-pipeline,EBIvariation/eva-pipeline,cyenyxe/eva-pipeline,cyenyxe/eva-pipeline
/* * Copyright 2015-2017 EMBL - European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
src/main/java/uk/ac/ebi/eva/pipeline/jobs/DropStudyJob.java
/* * Copyright 2015-2017 EMBL - European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
removed wrong validator in DropStudyJob
src/main/java/uk/ac/ebi/eva/pipeline/jobs/DropStudyJob.java
removed wrong validator in DropStudyJob
<ide><path>rc/main/java/uk/ac/ebi/eva/pipeline/jobs/DropStudyJob.java <ide> import org.springframework.context.annotation.Scope; <ide> <ide> import uk.ac.ebi.eva.pipeline.jobs.steps.DropSingleStudyVariantsStep; <del>import uk.ac.ebi.eva.pipeline.parameters.validation.job.AggregatedVcfJobParametersValidator; <ide> <id...
JavaScript
apache-2.0
fb6038a3b93bb7a1326198e8950bbff3a448514f
0
serverboards/serverboards,serverboards/serverboards,serverboards/serverboards,serverboards/serverboards,serverboards/serverboards
import React from 'react' function Item({s}){ return ( <a key={s.id} className={`item ${s.active ? "active" : ""}`} onClick={s.onClick} title={s.description} > {s.label} {s.icon ? ( <i className={`ui icon ${s.icon}`}/> ) : null} </a> ) } clas...
frontend/app/js/components/tabbar.js
import React from 'react' function Item({s}){ return ( <a key={s.id} className={`item ${s.active ? "active" : ""}`} onClick={s.onClick} title={s.description} > {s.label} {s.icon ? ( <i className={`ui icon ${s.icon}`}/> ) : null} </a> ) } clas...
Improved reflow
frontend/app/js/components/tabbar.js
Improved reflow
<ide><path>rontend/app/js/components/tabbar.js <ide> $(window).off('.tabbar') <ide> } <ide> reflow(){ <del> console.log("reflow") <ide> const tabbar = this.refs.tabbar <del> if (tabbar.clientWidth < tabbar.scrollWidth){ <del> const visible_items = this.state.visible_items-1 <del> if (visible...
JavaScript
agpl-3.0
c31af4540ada5dc8c90a9d1b67ece08e6bf26f07
0
Rello/audioplayer,Rello/audioplayer
OC.L10N.register( "audioplayer", { "Welcome to" : "欢迎", "Audio Player" : "Audio Player", "Add new tracks to library" : "搜索音频", "Scan for new audio files" : "搜索新的音频", "New or updated audio files available" : "新的或更新的音频文件可用", "Help" : "帮助", "Sort playlist" : "播放清单排序", "Rename playlist" : "重新命名播放清单", "Dele...
l10n/zh_CN.js
OC.L10N.register( "audioplayer", { "Welcome to" : "欢迎", "Audio Player" : "Audio Player", "Add new tracks to library" : "搜索音频", "Scan for new audio files" : "搜索新的音频", "New or updated audio files available" : "New or updated audio files available", "Help" : "帮助", "Sort playlist" : "播放清单排序", "Rename playli...
Update zh_CN.js
l10n/zh_CN.js
Update zh_CN.js
<ide><path>10n/zh_CN.js <ide> "Audio Player" : "Audio Player", <ide> "Add new tracks to library" : "搜索音频", <ide> "Scan for new audio files" : "搜索新的音频", <del> "New or updated audio files available" : "New or updated audio files available", <add> "New or updated audio files available" : "新的或更新的音频文件可用", <ide> "Help" :...
JavaScript
agpl-3.0
45f5dbb57190390a00ae191c255e55fe7b7b2ec8
0
CircuitCoder/ConsoleiT-Frontend,CircuitCoder/ConsoleiT-Frontend,CircuitCoder/ConsoleiT-Frontend,CircuitCoder/ConsoleiT-Frontend
'use strict'; var readFileSync = require('fs').readFileSync; var gulp = require('gulp'); var concat = require('gulp-concat'); var connect = require('gulp-connect'); var cssmin = require('gulp-cssmin'); var del = require('del'); var gulpif = require('gulp-if'); var htmlmin = require('gulp-htmlmin'); var inlineNg2Temp...
gulpfile.js
'use strict'; var readFileSync = require('fs').readFileSync; var gulp = require('gulp'); var concat = require('gulp-concat'); var connect = require('gulp-connect'); var cssmin = require('gulp-cssmin'); var del = require('del'); var gulpif = require('gulp-if'); var htmlmin = require('gulp-htmlmin'); var inlineNg2Temp...
Added shims for ie
gulpfile.js
Added shims for ie
<ide><path>ulpfile.js <ide> 'lib/fix.js', <ide> 'lib/md5.js', <ide> 'lib/material.min.js', <add> 'node_modules/angular2/es6/dev/src/testing/shims_for_IE.js', <ide> 'node_modules/marked/marked.min.js', <ide> 'node_modules/es6-shim/es6-shim.js', <ide> 'node_modules/systemjs/dist/system-polyfills.js',
Java
epl-1.0
4b0628bc93dad575b003e5cdaeb308b5778805da
0
ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,ControlSystemStudio/cs-studio,css-iter/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,css-iter/cs-studio,ESSICS/cs...
/******************************************************************************* * Copyright (c) 2013 Oak Ridge National Laboratory. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, a...
applications/plugins/org.csstudio.simplepv.utilitypv/src/org/csstudio/simplepv/utilitypv/UtilityPV.java
/******************************************************************************* * Copyright (c) 2013 Oak Ridge National Laboratory. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, a...
o.c.simplepv.utilitypv: Adapt to VType API change
applications/plugins/org.csstudio.simplepv.utilitypv/src/org/csstudio/simplepv/utilitypv/UtilityPV.java
o.c.simplepv.utilitypv: Adapt to VType API change
<ide><path>pplications/plugins/org.csstudio.simplepv.utilitypv/src/org/csstudio/simplepv/utilitypv/UtilityPV.java <ide> import org.csstudio.utility.pv.PVFactory; <ide> import org.csstudio.utility.pv.PVListener; <ide> import org.eclipse.osgi.util.NLS; <add>import org.epics.util.array.ArrayDouble; <ide> import org.epics....
JavaScript
mit
8d919f8352aee15258b23d3bf2c7934933d573fc
0
AdamBrodzinski/RedScript,AdamBrodzinski/RedScript
/** * RedScript compiler * Copyright(c) 2013 Adam Brodzinski <adambrodzinski@gmail.com> * MIT Licensed */ var transform = require('./transform'); /** Export compile function * Takes a multi line string and splits each line into array lines. * Each line is processed and transformed if it matches the criteria. *...
lib/compile.js
/** * RedScript compiler * Copyright(c) 2013 Adam Brodzinski <adambrodzinski@gmail.com> * MIT Licensed */ var transform = require('./transform'); /** Export compile function * Takes a multi line string and splits each line into array lines. * Each line is processed and transformed if it matches the criteria. *...
Adds support for elsif statements
lib/compile.js
Adds support for elsif statements
<ide><path>ib/compile.js <ide> if (line.trim() === 'default') return 'default:'; <ide> // else it's prob something else like `def default` <ide> else return $0; <add> }); <add> <add> <add> /** <add> * Replaces an `elsif` with `} else if () {` <add> * @param {...
JavaScript
mit
7524017d76c79da78d05b8b4fac5c2609d4ac555
0
Rishabh570/flickrphotofeed,Rishabh570/flickrphotofeed
var processing = false; // JavaScript source code $(document).ready(function () { $('form').submit(function (evt) { evt.preventDefault(); var searchTerm = $('#input').val(); // AJAX Starts var flickrAPI = "https://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?"; var animal = searchT...
js/scripts.js
var processing = false; // JavaScript source code $(document).ready(function () { $('form').submit(function (evt) { evt.preventDefault(); var searchTerm = $('#input').val(); // AJAX Starts var flickrAPI = "https://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?"; var animal = searchT...
Update scripts.js to include AJAX refresh.
js/scripts.js
Update scripts.js to include AJAX refresh.
<ide><path>s/scripts.js <ide> <ide> }) //end submit <ide> <del> <ide> // Fire AJAX every time page reaches 70% of height ########################################## <ide> $(document).scroll(function(e){ <ide> var searchTerm = $('#input').val(); <ide> if (processing) { <ide> return false...
Java
mit
8b51b2d7f24d8f03de0d0c9e8bf1bf9802eb786d
0
archansel/TimeSense
package com.gwk.timesense.rule; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import static org.junit.Assert.*; /*** * Unit test for TSRule class. * * @author Anselmus KA Kurniawan * @version 0.1 */ p...
TimeSenseExample/timesense/src/test/java/com/gwk/timesense/rule/TSRuleUnitTest.java
package com.gwk.timesense.rule; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import static org.junit.Assert.*; /*** * Unit test for TSRule class. * * @author Anselmus KA Kurniawan * @version 0.1 */ p...
Update TSRule unit test, add test message
TimeSenseExample/timesense/src/test/java/com/gwk/timesense/rule/TSRuleUnitTest.java
Update TSRule unit test, add test message
<ide><path>imeSenseExample/timesense/src/test/java/com/gwk/timesense/rule/TSRuleUnitTest.java <ide> private Calendar calendar; <ide> <ide> private static SimpleDateFormat formatter = new SimpleDateFormat("dd MMM yyyy HH:mm:ss"); <del> private static boolean assertEqualDates(Date date1, Date date2) { <add> ...
Java
mpl-2.0
604a003c184698aa5cea685d14719affa33f19b4
0
vinayvenu/openmrs-core,Negatu/openmrs-core,kckc/openmrs-core,chethandeshpande/openmrs-core,WANeves/openmrs-core,lbl52001/openmrs-core,alexwind26/openmrs-core,naraink/openmrs-core,michaelhofer/openmrs-core,maany/openmrs-core,nilusi/Legacy-UI,andyvand/OpenMRS,Bhamni/openmrs-core,prisamuel/openmrs-core,jamesfeshner/openmr...
/** * The contents of this file are subject to the OpenMRS Public License * Version 1.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://license.openmrs.org * * Software distributed under the License is distributed on an "AS...
web/src/main/java/org/openmrs/web/controller/visit/VisitListController.java
/** * The contents of this file are subject to the OpenMRS Public License * Version 1.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://license.openmrs.org * * Software distributed under the License is distributed on an "AS...
IN PROGRESS - issue TRUNK-422: Edit / View of previous forms should merge into a single interface paradigm https://tickets.openmrs.org/browse/TRUNK-422 git-svn-id: ce3478dfdc990238714fcdf4fc6855b7489218cf@24814 5bac5841-c719-aa4e-b3fe-cce5062f897a
web/src/main/java/org/openmrs/web/controller/visit/VisitListController.java
IN PROGRESS - issue TRUNK-422: Edit / View of previous forms should merge into a single interface paradigm https://tickets.openmrs.org/browse/TRUNK-422
<ide><path>eb/src/main/java/org/openmrs/web/controller/visit/VisitListController.java <ide> @SuppressWarnings("unchecked") <ide> Map<Form, String> formToViewUrlMap = (Map<Form, String>) model.get("formToViewUrlMap"); <ide> <add> @SuppressWarnings("unchecked") <add> Map<Form, String> formToEditUrlMap = (Map<For...
JavaScript
mit
1a1f9afda62792d7acc8e00674a1a486496c462e
0
reelyactive/barnowl
/** * Copyright reelyActive 2014-2015 * We believe in an open Internet of Things */ var util = require('util'); var events = require('events'); var reelPacket = require('../../decoders/protocols/reelpacket'); var identifier = require('../../common/util/identifier'); /** * ReelManager Class * Manages the compos...
lib/core/reelmanager/reelmanager.js
/** * Copyright reelyActive 2014 * We believe in an open Internet of Things */ var util = require('util'); var events = require('events'); var reelPacket = require('../../decoders/protocols/reelpacket'); var identifier = require('../../common/util/identifier'); /** * ReelManager Class * Manages the composition...
Determine reelceiver IDs from announce rather than statistics packets (faster)
lib/core/reelmanager/reelmanager.js
Determine reelceiver IDs from announce rather than statistics packets (faster)
<ide><path>ib/core/reelmanager/reelmanager.js <ide> /** <del> * Copyright reelyActive 2014 <add> * Copyright reelyActive 2014-2015 <ide> * We believe in an open Internet of Things <ide> */ <ide> <ide> * @param {Packet} packet The ReelceiverStatistics packet. <ide> */ <ide> function handleReelceiverStatistics(insta...
Java
apache-2.0
b4786a5ac5942fe8e0222d2289b279a32d45cdb0
0
consulo/consulo-java,consulo/consulo-java,consulo/consulo-java,consulo/consulo-java
java-impl/src/com/intellij/platform/templates/SystemFileProcessor.java
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
compilation fixed
java-impl/src/com/intellij/platform/templates/SystemFileProcessor.java
compilation fixed
<ide><path>ava-impl/src/com/intellij/platform/templates/SystemFileProcessor.java <del>/* <del> * Copyright 2000-2013 JetBrains s.r.o. <del> * <del> * Licensed under the Apache License, Version 2.0 (the "License"); <del> * you may not use this file except in compliance with the License. <del> * You may obtain a copy of ...
Java
apache-2.0
d52ab5d1bc04be6d92064bfffb4c4cf18a0b3d5a
0
werval/werval,werval/werval,werval/werval,werval/werval
/* * Copyright (c) 2013 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 appli...
org.qiweb/org.qiweb.api/src/main/java/org/qiweb/api/controllers/ClasspathResources.java
/* * Copyright (c) 2013 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 appli...
ClasspathResources: fix trailing slash handling
org.qiweb/org.qiweb.api/src/main/java/org/qiweb/api/controllers/ClasspathResources.java
ClasspathResources: fix trailing slash handling
<ide><path>rg.qiweb/org.qiweb.api/src/main/java/org/qiweb/api/controllers/ClasspathResources.java <ide> private static final Logger LOG = LoggerFactory.getLogger( ClasspathResources.class ); <ide> // No need for heading slash as we ask a ClassLoader instance for Resources <ide> // Would have been needed if ...
Java
apache-2.0
0a4bb26b0c8af592bb58f938d9a19467834dd55e
0
apache/clerezza,apache/clerezza
/* * 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 ...
parent/rdf.storage.externalizer/src/main/java/org/apache/clerezza/rdf/storage/externalizer/ExternalizingMGraph.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 ...
CLEREZZA-454: rdf.storage.externalizer max allowed subdirectories reduced git-svn-id: 38b6077511a9281ad6e07629729fbb76b9a63fb8@1078710 13f79535-47bb-0310-9956-ffa450edef68
parent/rdf.storage.externalizer/src/main/java/org/apache/clerezza/rdf/storage/externalizer/ExternalizingMGraph.java
CLEREZZA-454: rdf.storage.externalizer max allowed subdirectories reduced
<ide><path>arent/rdf.storage.externalizer/src/main/java/org/apache/clerezza/rdf/storage/externalizer/ExternalizingMGraph.java <ide> } <ide> <ide> private File getStoringFile(String base16Hash) { <del> File dir1 = new File(dataDir, base16Hash.substring(0, 4)); <del> File dir2 = new File(dir1, base16Hash.substring(4...
JavaScript
mit
d2fea2310ab0e4873eddfb24da4c424d376383f6
0
hold-the-door-game/Prototypes,hold-the-door-game/Prototypes
import React from 'react'; import bind from 'react-autobind'; class Walker extends React.Component { constructor(props) { super(props); bind(this); this.walker = {}; this.loadAnimations(); this.initializeSprite(); } componentDidMount() { const app = this.props.app; app.stage.addChild...
src/Game/Prototype01/walker.js
import React from 'react'; import bind from 'react-autobind'; class Walker extends React.Component { constructor(props) { super(props); bind(this); this.walker = {}; this.loadAnimations(); this.initializeSprite(); } componentDidMount() { const app = this.props.app; app.stage.addChild...
Starts animation at random frame to make it feel more natural
src/Game/Prototype01/walker.js
Starts animation at random frame to make it feel more natural
<ide><path>rc/Game/Prototype01/walker.js <ide> this.walker.animationSpeed = 0.1; <ide> this.walker.scale.x = 3; <ide> this.walker.scale.y = 3; <del> this.walker.play(); <add> <add> const randomFrame = Math.floor(Math.random() * 6); <add> this.walker.gotoAndPlay(randomFrame); <ide> app.stage.add...
Java
apache-2.0
ac80e99b00b2a758a0ef604bc68d149b96b58d04
0
beckchr/musicmount
/* * Copyright 2013-2014 Odysseus Software GmbH * * 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 l...
ui/src/main/java/org/musicmount/fx/FXBuildController.java
/* * Copyright 2013-2014 Odysseus Software GmbH * * 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 l...
don't make "Full" option a preference
ui/src/main/java/org/musicmount/fx/FXBuildController.java
don't make "Full" option a preference
<ide><path>i/src/main/java/org/musicmount/fx/FXBuildController.java <ide> private static final String STATUS_NO_RELATIVE_MUSIC_PATH = "Cannot calculate relative music path, custom path path required"; <ide> <ide> private static final Preferences PREFERENCES = Preferences.userNodeForPackage(FXBuildController.class); ...
Java
mit
ec025c8dfbfc30e0e7adbf829f6d02a1407a9da2
0
jbosboom/streamjit,jbosboom/streamjit
package edu.mit.streamjit.impl.distributed.node; import java.io.IOException; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; imp...
src/edu/mit/streamjit/impl/distributed/node/BlobsManagerImpl.java
package edu.mit.streamjit.impl.distributed.node; import java.io.IOException; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; imp...
Changes due to previous restructure Inner classes are changed to access outer class's instance variables and methods.
src/edu/mit/streamjit/impl/distributed/node/BlobsManagerImpl.java
Changes due to previous restructure
<ide><path>rc/edu/mit/streamjit/impl/distributed/node/BlobsManagerImpl.java <ide> this.streamNode = streamNode; <ide> this.conProvider = conProvider; <ide> <del> this.cmdProcessor = new CommandProcessorImpl(streamNode); <del> this.drainProcessor = new CTRLRDrainProcessorImpl(streamNode); <add> this.cmdProcessor...
Java
apache-2.0
e96f5fc10270d977a3efedba1eb1aeb1c5ef1680
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-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.diff.util; import com.intellij.application.options.CodeStyle; import com.intellij.codeInsight.daemon.OutsidersPsiFileSupport; import com.intellij.diff.*; imp...
platform/diff-impl/src/com/intellij/diff/util/DiffUtil.java
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.diff.util; import com.intellij.application.options.CodeStyle; import com.intellij.codeInsight.daemon.OutsidersPsiFileSupport; import com.intellij.diff.*; imp...
IDEA-215972 diff: use codestyle for specific language in diff editors GitOrigin-RevId: b3d815ad12a8a2296c098b6258934e0126332f23
platform/diff-impl/src/com/intellij/diff/util/DiffUtil.java
IDEA-215972 diff: use codestyle for specific language in diff editors
<ide><path>latform/diff-impl/src/com/intellij/diff/util/DiffUtil.java <ide> import com.intellij.openapi.editor.highlighter.EditorHighlighterFactory; <ide> import com.intellij.openapi.editor.markup.TextAttributes; <ide> import com.intellij.openapi.fileEditor.FileDocumentManager; <add>import com.intellij.openapi.fileEdit...
Java
bsd-2-clause
034b26cb5896ee67738a10e3750e052d8ceb168c
0
TehSAUCE/imagej,TehSAUCE/imagej,biovoxxel/imagej,biovoxxel/imagej,TehSAUCE/imagej,biovoxxel/imagej
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2013 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
ui/swing/updater/src/main/java/imagej/updater/gui/SitesDialog.java
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2013 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
Updater (Swing) Sites Dialog: change the real upload information When an update site listed in http://fiji.sc/List_of_update_sites was active, by mistake, we used a copy of the locally-listed update site in the dialog. As a consequence, only that copy's upload information was updated, not the information that would ge...
ui/swing/updater/src/main/java/imagej/updater/gui/SitesDialog.java
Updater (Swing) Sites Dialog: change the real upload information
<ide><path>i/swing/updater/src/main/java/imagej/updater/gui/SitesDialog.java <ide> sites.add(site); <ide> } else { <ide> final UpdateSite listed = sites.get(index.intValue()); <del> listed.setActive(true); <del> listed.setName(site.getName()); <del> listed.setHost(site.getHost()); <del> listed.se...
JavaScript
agpl-3.0
81443adc70736597c17f1f8ed7dfeeb377c9c9f9
0
pombredanne/paperpile,pombredanne/paperpile,jondo/paperpile,pombredanne/paperpile,jondo/paperpile,pombredanne/paperpile,pombredanne/paperpile,jondo/paperpile,jondo/paperpile,jondo/paperpile
/* Copyright 2009, 2010 Paperpile This file is part of Paperpile Paperpile 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 ver...
catalyst/root/js/import/plugins/DB.js
/* Copyright 2009, 2010 Paperpile This file is part of Paperpile Paperpile 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 ver...
Create 'Add to Library' menu for library gridpanel toolbar. Closes #854.
catalyst/root/js/import/plugins/DB.js
Create 'Add to Library' menu for library gridpanel toolbar. Closes #854.
<ide><path>atalyst/root/js/import/plugins/DB.js <ide> this.limit = Paperpile.main.globalSettings['pager_limit'] || 25; <ide> <ide> this.actions['NEW'] = new Ext.Action({ <del> text: 'New', <add> text: 'Insert Manually', <ide> iconCls: 'pp-icon-add', <ide> handler: function() { <ide> ...
JavaScript
mit
706423fd6e3ca9ba65a7266cf883076b5bfbe367
0
kapouer/window-page,kapouer/window-page
function WindowPage() { var inst = window.Page; if (inst) { // because using instanceof requires reference to the same WindowPage if (inst.name == "WindowPage") return inst; } this.name = "WindowPage"; var QueryString = require('query-string'); this.parse = function(str) { var loc = this.location ? this.l...
index.js
function WindowPage() { var inst = window.Page; if (inst) { // because using instanceof requires reference to the same WindowPage if (inst.name == "WindowPage") return inst; } this.name = "WindowPage"; var QueryString = require('query-string'); this.parse = function(str) { var obj = new URL(str, document....
Fixing things again...
index.js
Fixing things again...
<ide><path>ndex.js <ide> var QueryString = require('query-string'); <ide> <ide> this.parse = function(str) { <del> var obj = new URL(str, document.location); <add> var loc = this.location ? this.location.toString() : document.location.toString(); <add> var obj = new URL(str || "", loc); <ide> obj.query = QueryS...
Java
apache-2.0
190ccc4b1a60883c685e54938a7c8199d67e1ddc
0
zangsir/ANNIS,thomaskrause/ANNIS,pixeldrama/ANNIS,amir-zeldes/ANNIS,amir-zeldes/ANNIS,zangsir/ANNIS,thomaskrause/ANNIS,amir-zeldes/ANNIS,thomaskrause/ANNIS,pixeldrama/ANNIS,pixeldrama/ANNIS,pixeldrama/ANNIS,amir-zeldes/ANNIS,zangsir/ANNIS,korpling/ANNIS,korpling/ANNIS,zangsir/ANNIS,thomaskrause/ANNIS,amir-zeldes/ANNIS,...
/* * Copyright 2009 Collaborative Research Centre SFB 632 * * 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...
Annis-web/src/main/java/annis/frontend/servlets/CitationServlet.java
/* * Copyright 2009 Collaborative Research Centre SFB 632 * * 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...
- fixing Citation, redirect must be directly to search.html if no information should be lost
Annis-web/src/main/java/annis/frontend/servlets/CitationServlet.java
- fixing Citation, redirect must be directly to search.html if no information should be lost
<ide><path>nnis-web/src/main/java/annis/frontend/servlets/CitationServlet.java <ide> citationCookie.setPath("/"); <ide> response.addCookie(citationCookie); <ide> } <del> response.sendRedirect(getServletContext().getContextPath()); <add> response.sendRedirect(getServletContext().getContextPath() + "/search.htm...
Java
mit
21b06009a755ef8a6d689401e0fdc2805538cd66
0
Abestanis/APython,Abestanis/APython,Abestanis/APython
package com.apython.python.pythonhost; /* * Handles the Python installation and Python modules. * * Created by Sebastian on 16.06.2015. */ import android.annotation.SuppressLint; import android.content.Context; import android.os.Build; import android.util.Log; import com.apython.python.pythonhost.interpreter.Pyt...
app/src/main/java/com/apython/python/pythonhost/PackageManager.java
package com.apython.python.pythonhost; /* * Handles the Python installation and Python modules. * * Created by Sebastian on 16.06.2015. */ import android.annotation.SuppressLint; import android.content.Context; import android.os.Build; import android.util.Log; import com.apython.python.pythonhost.interpreter.Pyt...
Fix crash during loading of additional dynamic libraries Some of these libraries depend on others to be loaded. The dynamic linker on the Api 19 emulator could load the libraries in the same directory, but the one on the Api 18 emulator does not seem to be able to do so.
app/src/main/java/com/apython/python/pythonhost/PackageManager.java
Fix crash during loading of additional dynamic libraries
<ide><path>pp/src/main/java/com/apython/python/pythonhost/PackageManager.java <ide> */ <ide> @SuppressLint("UnsafeDynamicallyLoadedCode") <ide> public static void loadAdditionalLibraries(Context context) { <del> for (File additionalLibrary : getAdditionalLibraries(context)) { <del> System...
Java
apache-2.0
37836f07fb13681b4557f7e66c07337fb221e079
0
OmniKryptec/OmniKryptec-Engine
/* * Copyright 2017 - 2019 Roman Borris (pcfreak9000), Paul Hagedorn (Panzer1119) * * 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/...
src/main/java/de/omnikryptec/libapi/exposed/input/KeyboardHandler.java
/* * Copyright 2017 - 2019 Roman Borris (pcfreak9000), Paul Hagedorn (Panzer1119) * * 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/...
Edited KeyboardHandler.java Signed-off-by: Paul Hagedorn <228d65e9a155cd2da1c33334ef44d794c88aa75c@gmail.com>
src/main/java/de/omnikryptec/libapi/exposed/input/KeyboardHandler.java
Edited KeyboardHandler.java
<ide><path>rc/main/java/de/omnikryptec/libapi/exposed/input/KeyboardHandler.java <ide> <ide> package de.omnikryptec.libapi.exposed.input; <ide> <del>import java.util.Arrays; <del>import java.util.concurrent.atomic.AtomicReference; <del> <del>import org.lwjgl.glfw.GLFW; <del>import org.lwjgl.glfw.GLFWKeyCallback; <del...
Java
apache-2.0
25814d341d0278348b74a92679148145fc943d58
0
adairtaosy/spring-security,diegofernandes/spring-security,dsyer/spring-security,pwheel/spring-security,mdeinum/spring-security,forestqqqq/spring-security,tekul/spring-security,pwheel/spring-security,rwinch/spring-security,panchenko/spring-security,Xcorpio/spring-security,adairtaosy/spring-security,Peter32/spring-securi...
/* Copyright 2004, 2005, 2006 Acegi Technology Pty Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
core/src/main/java/org/springframework/security/ui/logout/SecurityContextLogoutHandler.java
/* Copyright 2004, 2005, 2006 Acegi Technology Pty Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
Tidying.
core/src/main/java/org/springframework/security/ui/logout/SecurityContextLogoutHandler.java
Tidying.
<ide><path>ore/src/main/java/org/springframework/security/ui/logout/SecurityContextLogoutHandler.java <ide> * @version $Id$ <ide> */ <ide> public class SecurityContextLogoutHandler implements LogoutHandler { <add> private boolean invalidateHttpSession = true; <add> <ide> //~ Methods ===========================...
Java
bsd-3-clause
2b75959b07620f76c83c735377edd0d31b9baa23
0
Clunker5/tregmine-2.0,Clunker5/tregmine-2.0
package info.tregmine.commands; import static org.bukkit.ChatColor.AQUA; import static org.bukkit.ChatColor.RED; import static org.bukkit.ChatColor.YELLOW; import java.util.List; import org.bukkit.Chunk; import org.bukkit.Location; import org.bukkit.World; import info.tregmine.Tregmine; import info.tregmine.api.Tre...
src/info/tregmine/commands/HomeCommand.java
package info.tregmine.commands; import static org.bukkit.ChatColor.AQUA; import static org.bukkit.ChatColor.RED; import static org.bukkit.ChatColor.YELLOW; import java.util.List; import org.bukkit.Chunk; import org.bukkit.Location; import org.bukkit.World; import info.tregmine.Tregmine; import info.tregmine.api.Tre...
Removed reference of UUIDFetcher
src/info/tregmine/commands/HomeCommand.java
Removed reference of UUIDFetcher
<ide><path>rc/info/tregmine/commands/HomeCommand.java <ide> <ide> import info.tregmine.Tregmine; <ide> import info.tregmine.api.TregminePlayer; <del>import info.tregmine.api.UUIDFetcher; <ide> import info.tregmine.database.DAOException; <ide> import info.tregmine.database.IContext; <ide> import info.tregmine.database....
JavaScript
mit
7d7ff04fd26f0159ccae9c8528391389834c57d6
0
leungwensen/xmind-sdk-node,leungwensen/xmind-sdk-node
/* jshint undef: true, unused: true, node: true */ /* global require, describe, it */ var assert = require('assert'); //var path = require('path'), //resolve = path.resolve; var xmind = require('../../index'), Workbook = xmind.Workbook; describe('Workbook', function () { it('creating with first sheet na...
test/mocha/workbook.spec.js
/* jshint undef: true, unused: true, node: true */ /* global require, describe, it */ var assert = require('assert'); //var path = require('path'), //resolve = path.resolve; var xmind = require('../../index'), Workbook = xmind.Workbook; describe('Workbook', function () { it('creating with first sheet na...
check data structure
test/mocha/workbook.spec.js
check data structure
<ide><path>est/mocha/workbook.spec.js <ide> describe('Workbook', function () { <ide> it('creating with first sheet name and root topic name', function () { <ide> assert.doesNotThrow(function() { <del> new Workbook({ <add> console.log(new Workbook({ <ide> firstSheetName:...
Java
mit
9018d628185eac8fa105f72c18cb797032728c4e
0
chengtalent/ethereumj,loxal/FreeEthereum,loxal/ethereumj,loxal/FreeEthereum,caxqueiroz/ethereumj,loxal/FreeEthereum
package org.ethereum.config; import com.typesafe.config.*; import org.junit.Assert; import org.junit.Test; import java.io.File; import java.util.List; import java.util.Map; /** * Created by Anton Nashatyrev on 13.07.2015. */ public class ConfigTest { @Test public void simpleTest() { Config config ...
ethereumj-core/src/test/java/org/ethereum/config/ConfigTest.java
package org.ethereum.config; import com.typesafe.config.*; import org.junit.Assert; import org.junit.Test; import java.io.File; import java.util.List; import java.util.Map; /** * Created by Anton Nashatyrev on 13.07.2015. */ public class ConfigTest { @Test public void simpleTest() { Config config ...
Comment test assertion which may fail due to unpredictable tests order
ethereumj-core/src/test/java/org/ethereum/config/ConfigTest.java
Comment test assertion which may fail due to unpredictable tests order
<ide><path>thereumj-core/src/test/java/org/ethereum/config/ConfigTest.java <ide> public void fallbackTest() { <ide> System.setProperty("blocks.loader", "bla-bla"); <ide> Config config = ConfigFactory.load("ethereumj.conf"); <del> Assert.assertEquals("bla-bla", config.getString("blocks.loader"...
JavaScript
mit
830928b6aa95b50d5ab24b677bca4c56a0403047
0
aheckmann/mongoose-long
// mongoose-long module.exports = exports = function NumberLong (mongoose) { var Schema = mongoose.Schema , SchemaType = mongoose.SchemaType , Types = mongoose.Types , mongo = mongoose.mongo; /** * Long constructor * * @inherits SchemaType * @param {String} key * @param {Object} [option...
lib/index.js
// mongoose-long module.exports = exports = function NumberLong (mongoose) { var Schema = mongoose.Schema , SchemaType = mongoose.SchemaType , Types = mongoose.Types , mongo = mongoose.mongo; /** * Long constructor * * @inherits SchemaType * @param {String} key * @param {Object} [option...
[NEW] #castForQuery().
lib/index.js
[NEW] #castForQuery().
<ide><path>ib/index.js <ide> throw new SchemaType.CastError('Long', val) <ide> } <ide> <add>/*! <add> * ignore <add> */ <add> <add>function handleSingle (val) { <add> return this.cast(val) <add>} <add> <add>function handleArray (val) { <add> var self = this; <add> return val.map( function (m) { <add> retur...
Java
mit
78f0aa7d9ef0f2fcb1c52af6cb3679ff7ff98759
0
bitcoin-solutions/multibit-hd,akonring/multibit-hd-modified,oscarguindzberg/multibit-hd,akonring/multibit-hd-modified,oscarguindzberg/multibit-hd,bitcoin-solutions/multibit-hd,akonring/multibit-hd-modified,oscarguindzberg/multibit-hd,bitcoin-solutions/multibit-hd
package org.multibit.hd.ui.views; import com.google.common.base.Optional; import com.google.common.eventbus.Subscribe; import net.miginfocom.swing.MigLayout; import org.multibit.hd.core.api.MessageKey; import org.multibit.hd.core.config.BitcoinConfiguration; import org.multibit.hd.core.config.Configurations; import or...
mbhd-swing/src/main/java/org/multibit/hd/ui/views/HeaderView.java
package org.multibit.hd.ui.views; import com.google.common.base.Optional; import com.google.common.eventbus.Subscribe; import net.miginfocom.swing.MigLayout; import org.multibit.hd.core.api.MessageKey; import org.multibit.hd.core.config.BitcoinConfiguration; import org.multibit.hd.core.config.Configurations; import or...
Fixed the alert presentation
mbhd-swing/src/main/java/org/multibit/hd/ui/views/HeaderView.java
Fixed the alert presentation
<ide><path>bhd-swing/src/main/java/org/multibit/hd/ui/views/HeaderView.java <ide> <ide> // Create the content panel <ide> contentPanel = Panels.newPanel(new MigLayout( <del> "insets 15 8,hidemode 1", // Layout <add> "insets 15 8,hidemode 1,fillx", // Layout <ide> "[]", // Columns <ide> "[...
Java
mit
09e534d29a4b078ff375f15a58f750974ac1c628
0
auth0/Lock.Android,auth0/Lock.Android
/* * PasswordlessFormView.java * * Copyright (c) 2016 Auth0 (http://auth0.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the r...
lock/src/main/java/com/auth0/android/lock/views/PasswordlessFormView.java
/* * PasswordlessFormView.java * * Copyright (c) 2016 Auth0 (http://auth0.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the r...
refactor getter logic
lock/src/main/java/com/auth0/android/lock/views/PasswordlessFormView.java
refactor getter logic
<ide><path>ock/src/main/java/com/auth0/android/lock/views/PasswordlessFormView.java <ide> if (waitingForCode) { <ide> return new PasswordlessLoginEvent(choosenMode, submittedEmailOrNumber, getInputText()); <ide> } else { <del> return new PasswordlessLoginEvent(choosenMode, getInpu...
Java
apache-2.0
b24b4d5416cd84481db062fbf86fac6d6d48ff9e
0
mcculls/maven-plugins,hazendaz/maven-plugins,rkorpachyov/maven-plugins,hazendaz/maven-plugins,hazendaz/maven-plugins,apache/maven-plugins,apache/maven-plugins,hazendaz/maven-plugins,apache/maven-plugins,lennartj/maven-plugins,lennartj/maven-plugins,hazendaz/maven-plugins,HubSpot/maven-plugins,HubSpot/maven-plugins,rkor...
package org.apache.maven.plugins.war; /* * 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-war-plugin/src/main/java/org/apache/maven/plugins/war/WarMojo.java
package org.apache.maven.plugins.war; /* * 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...
[MWAR-373] Make finalName readonly parameter o Made finalName readonly and remove the property. git-svn-id: 6038db50b076e48c7926ed71fd94f8e91be2fbc9@1740688 13f79535-47bb-0310-9956-ffa450edef68
maven-war-plugin/src/main/java/org/apache/maven/plugins/war/WarMojo.java
[MWAR-373] Make finalName readonly parameter o Made finalName readonly and remove the property.
<ide><path>aven-war-plugin/src/main/java/org/apache/maven/plugins/war/WarMojo.java <ide> /** <ide> * The name of the generated WAR. <ide> */ <del> @Parameter( defaultValue = "${project.build.finalName}", property = "war.warName", required = true ) <add> @Parameter( defaultValue = "${project.build.fi...
Java
apache-2.0
8c5ab966365f62698a6108e6730d530b17ef1c13
0
Talend/components,Talend/components
// ============================================================================ // // Copyright (C) 2006-2017 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
components/components-processing/processing-definition/src/main/java/org/talend/components/processing/filterrow/FilterRowProperties.java
// ============================================================================ // // Copyright (C) 2006-2017 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
bug(TFD-840): force the output link order on FilterRow. (#603)
components/components-processing/processing-definition/src/main/java/org/talend/components/processing/filterrow/FilterRowProperties.java
bug(TFD-840): force the output link order on FilterRow. (#603)
<ide><path>omponents/components-processing/processing-definition/src/main/java/org/talend/components/processing/filterrow/FilterRowProperties.java <ide> package org.talend.components.processing.filterrow; <ide> <ide> import java.util.HashSet; <add>import java.util.LinkedHashSet; <ide> import java.util.Set; <ide> <ide...
Java
mit
4a64cb3337bdd467f465c856f9fec1e63259bb39
0
TinusTinus/snakesolver
package nl.mvdr.snake.solver; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Optional; import java.util.Set; import java.util.function.Supplier; import java.util.stream.Collectors; import java.util.stream.Stream; import nl.mvdr.snake.model.Snake; import nl.mvdr.snak...
nl/mvdr/snake/solver/LimitedBruteForceSolver.java
package nl.mvdr.snake.solver; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Optional; import java.util.Set; import java.util.function.Supplier; import java.util.stream.Collectors; import java.util.stream.Stream; import nl.mvdr.snake.model.Snake; import nl.mvdr.snak...
Comments / logging.
nl/mvdr/snake/solver/LimitedBruteForceSolver.java
Comments / logging.
<ide><path>l/mvdr/snake/solver/LimitedBruteForceSolver.java <ide> private static final Comparator<Snake> SCORE_COMPARATOR = (left, right) -> Integer.compare(left.getScore(), right.getScore()); <ide> <ide> /** Maximum number of intermediate results. */ <del> private static final int MAX_INTERMEDIATE_RESU...
Java
apache-2.0
error: pathspec 'jsimpledb-coreapi/src/test/java/org/jsimpledb/core/DeleteCascadeTest.java' did not match any file(s) known to git
f3283dffdabc0e4cbe3b95f380e8aa9d6b62ecc9
1
archiecobbs/jsimpledb,permazen/permazen,archiecobbs/jsimpledb,archiecobbs/jsimpledb,permazen/permazen,permazen/permazen
/* * Copyright (C) 2015 Archie L. Cobbs. All rights reserved. */ package org.jsimpledb.core; import java.io.ByteArrayInputStream; import org.jsimpledb.kv.simple.SimpleKVDatabase; import org.jsimpledb.schema.SchemaModel; import org.testng.Assert; import org.testng.annotations.Test; public class DeleteCascadeTest ...
jsimpledb-coreapi/src/test/java/org/jsimpledb/core/DeleteCascadeTest.java
Add simple unit test for delete cascade.
jsimpledb-coreapi/src/test/java/org/jsimpledb/core/DeleteCascadeTest.java
Add simple unit test for delete cascade.
<ide><path>simpledb-coreapi/src/test/java/org/jsimpledb/core/DeleteCascadeTest.java <add> <add>/* <add> * Copyright (C) 2015 Archie L. Cobbs. All rights reserved. <add> */ <add> <add>package org.jsimpledb.core; <add> <add>import java.io.ByteArrayInputStream; <add> <add>import org.jsimpledb.kv.simple.SimpleKVDatabase; <...
Java
apache-2.0
7291031a46d2d280c3e9b70c2c48793828e7e6b0
0
apache/directory-server,drankye/directory-server,drankye/directory-server,apache/directory-server
/* * 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 * "Lic...
interceptors/authn/src/main/java/org/apache/directory/server/core/authn/DelegatingAuthenticator.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 * "Lic...
Fixed the check for the delegateBaseDN git-svn-id: 90776817adfbd895fc5cfa90f675377e0a62e745@1675229 13f79535-47bb-0310-9956-ffa450edef68
interceptors/authn/src/main/java/org/apache/directory/server/core/authn/DelegatingAuthenticator.java
Fixed the check for the delegateBaseDN
<ide><path>nterceptors/authn/src/main/java/org/apache/directory/server/core/authn/DelegatingAuthenticator.java <ide> // First, check that the Bind DN is under the delegateBaseDn <ide> Dn bindDn = bindContext.getDn(); <ide> <del> if ( ( delegateBaseDn != null ) && ( !bindDn.isDescendantOf( delega...
JavaScript
mit
e58e039a58b7f953f6818d9dee65a5e6804ec1c0
0
anutron/art-widgets,cloudera/art-widgets
/* --- description: Creates a SplitView instances for all elements that have the css class .splitview (and children with .left_col and .right_col). provides: [Behavior.SplitView] requires: [Behavior/Behavior, Widgets/ART.SplitView, More/Element.Delegation] script: Behavior.SplitView.js ... */ (function(){ Behavior.a...
Source/Behaviors/Behavior.SplitView.js
/* --- description: Creates a SplitView instances for all elements that have the css class .splitview (and children with .left_col and .right_col). provides: [Behavior.SplitView] requires: [Behavior/Behavior, Widgets/ART.SplitView, More/Element.Delegation] script: Behavior.SplitView.js ... */ (function(){ Behavior.a...
Add initial check and set for splitview toggle toggle-shown and toggle-hidden elements
Source/Behaviors/Behavior.SplitView.js
Add initial check and set for splitview toggle toggle-shown and toggle-hidden elements
<ide><path>ource/Behaviors/Behavior.SplitView.js <ide> splitview.resizer.delay(1); <ide> } <ide> }.bind(this); <add> splitview.element.getElements('[data-splitview-toggle]').each(function(toggle){ <add> manageToggleState(splitview, toggle); <add> }); <ide> ...
Java
epl-1.0
c4614009d562621b82d5df1c2a2600555d44da77
0
junit-team/junit-lambda,sbrannen/junit-lambda
/* * Copyright 2015-2018 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v2.0 which * accompanies this distribution and is available at * * http://www.eclipse.org/legal/epl-v20.html */ packag...
junit-jupiter-engine/src/main/java/org/junit/jupiter/engine/extension/EnabledIfCondition.java
/* * Copyright 2015-2018 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v2.0 which * accompanies this distribution and is available at * * http://www.eclipse.org/legal/epl-v20.html */ packag...
Unpolish the unnecessary polishing ;-)
junit-jupiter-engine/src/main/java/org/junit/jupiter/engine/extension/EnabledIfCondition.java
Unpolish the unnecessary polishing ;-)
<ide><path>unit-jupiter-engine/src/main/java/org/junit/jupiter/engine/extension/EnabledIfCondition.java <ide> boolean enabled; <ide> <ide> if (result instanceof Boolean) { <del> enabled = ((Boolean) result).booleanValue(); <add> enabled = (Boolean) result; <ide> } <ide> else { <ide> enabled = Boolean.pa...
Java
apache-2.0
23c67334c81333a45f1f8cd903853bc29889b8c5
0
Frameworkium/frameworkium,robertgates55/frameworkium,robertgates55/frameworkium-core,Frameworkium/frameworkium-core
package com.frameworkium.capture; import java.net.InetAddress; import java.net.URL; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.openqa.selenium.OutputType; import org.openqa.selenium.TakesScreenshot; import org.openqa.selenium.WebDriver; import org.openqa.selenium.re...
src/test/java/com/frameworkium/capture/ScreenshotCapture.java
package com.frameworkium.capture; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.openqa.selenium.OutputType; import org.openqa.selenium.TakesScreenshot; import org.openqa.selenium.WebDriver; import org.openqa.selenium.remote.RemoteWebDriver; import com.frameworkium.capt...
Attempted to implement get node address.
src/test/java/com/frameworkium/capture/ScreenshotCapture.java
Attempted to implement get node address.
<ide><path>rc/test/java/com/frameworkium/capture/ScreenshotCapture.java <ide> package com.frameworkium.capture; <add> <add>import java.net.InetAddress; <add>import java.net.URL; <ide> <ide> import org.apache.logging.log4j.LogManager; <ide> import org.apache.logging.log4j.Logger; <ide> private String executionID; <...
Java
mit
4cc496fd044bd92ebf852c575b0dcb85f30bea69
0
danleavitt0/todomvc,robwilde/todomvc,AngelValdes/todomvc,dylanham/todomvc,ZusOR/todomvc,lorgiorepo/todomvc,PolarBearAndrew/todomvc,weivea/todomvc,troopjs-university/todomvc,kaidokert/todomvc,glizer/todomvc,troopjs-university/todomvc,bdylanwalker/todomvc,altmind/todomvc,bsoe003/todomvc,Duc-Ngo-CSSE/todomvc,Qwenbo/todomv...
package com.todo.client; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.InputElement; import com.google.gwt.dom.client.SpanElement; import com.google.gwt.dom.client.Style.Display; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt...
architecture-examples/gwt/src/com/todo/client/ToDoView.java
package com.todo.client; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.InputElement; import com.google.gwt.dom.client.SpanElement; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.googl...
gwt - improvement: use setDisplay()
architecture-examples/gwt/src/com/todo/client/ToDoView.java
gwt - improvement: use setDisplay()
<ide><path>rchitecture-examples/gwt/src/com/todo/client/ToDoView.java <ide> import com.google.gwt.dom.client.Element; <ide> import com.google.gwt.dom.client.InputElement; <ide> import com.google.gwt.dom.client.SpanElement; <add>import com.google.gwt.dom.client.Style.Display; <ide> import com.google.gwt.event.dom.client...
JavaScript
apache-2.0
17939dc2c5d9d248179e546a1b2f48fa2b1d8995
0
fusepoolP3/p3-silk,fusepoolP3/p3-silk,fusepoolP3/p3-silk
var aggregatecounter = 0; var transformcounter = 0; var comparecounter = 0; var sourcecounter = 0; var targetcounter = 0; var transformations = new Object(); var comparators = new Object(); var aggregators = new Object(); var sources = new Array(); var targets = new Array(); var interlinkId = ""; var...
silk2/silk-workbench/silk-workbench-webapp/src/main/webapp/static/js/editor.js
var aggregatecounter = 0; var transformcounter = 0; var comparecounter = 0; var sourcecounter = 0; var targetcounter = 0; var transformations = new Object(); var comparators = new Object(); var aggregators = new Object(); var sources = new Array(); var targets = new Array(); var interlinkId = ""; var...
fixes position of new dropped boxes
silk2/silk-workbench/silk-workbench-webapp/src/main/webapp/static/js/editor.js
fixes position of new dropped boxes
<ide><path>ilk2/silk-workbench/silk-workbench-webapp/src/main/webapp/static/js/editor.js <ide> targetcounter = targetcounter + 1; <ide> } <ide> <del> /* todo: correct box position after dropping <del> var left = 100; <del> var top = 100; <del> //$(number).attr("style","lef...
Java
mit
eb679d9b75e80dbd3ddcd346524af783cedd4a2e
0
emacslisp/Java,emacslisp/Java,emacslisp/Java,emacslisp/Java
package com.dw.notepad2; import java.awt.BorderLayout; import java.awt.Color; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.*; import java.util.*; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.SwingUtilities; public class Notepad2 ext...
JavaMain/src/com/dw/notepad2/Notepad2.java
package com.dw.notepad2; import java.awt.BorderLayout; import java.awt.Color; import java.io.*; import java.util.*; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.SwingUtilities; public class Notepad2 extends JPanel { protected static Properties properties; private stati...
add windows close listener
JavaMain/src/com/dw/notepad2/Notepad2.java
add windows close listener
<ide><path>avaMain/src/com/dw/notepad2/Notepad2.java <ide> <ide> import java.awt.BorderLayout; <ide> import java.awt.Color; <add>import java.awt.event.WindowAdapter; <add>import java.awt.event.WindowEvent; <ide> import java.io.*; <ide> import java.util.*; <ide> <ide> private static ResourceBundle resources; <ide> p...
Java
apache-2.0
998ad3fe676c6a9cfc10f0c38e99787664331211
0
waans11/incubator-asterixdb,kisskys/incubator-asterixdb,sjaco002/incubator-asterixdb,ty1er/incubator-asterixdb,apache/incubator-asterixdb,apache/incubator-asterixdb,sjaco002/incubator-asterixdb,heriram/incubator-asterixdb,amoudi87/asterixdb,ecarm002/incubator-asterixdb,waans11/incubator-asterixdb,kisskys/incubator-aste...
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
asterix-app/src/test/java/edu/uci/ics/asterix/test/runtime/ExecutionTest.java
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
remove debugging code
asterix-app/src/test/java/edu/uci/ics/asterix/test/runtime/ExecutionTest.java
remove debugging code
<ide><path>sterix-app/src/test/java/edu/uci/ics/asterix/test/runtime/ExecutionTest.java <ide> private static final Logger LOGGER = Logger.getLogger(ExecutionTest.class.getName()); <ide> <ide> private static final String PATH_ACTUAL = "rttest" + File.separator; <del> private static final String PATH_BASE = S...
Java
apache-2.0
ab385b7848e89ee2bed2078ad174a10fb4fa1145
0
wwjiang007/alluxio,EvilMcJerkface/alluxio,riversand963/alluxio,aaudiber/alluxio,riversand963/alluxio,calvinjia/tachyon,PasaLab/tachyon,maboelhassan/alluxio,maobaolong/alluxio,EvilMcJerkface/alluxio,Alluxio/alluxio,maobaolong/alluxio,bf8086/alluxio,carsonwang/tachyon,Reidddddd/mo-alluxio,Reidddddd/alluxio,madanadit/allu...
/** * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package tachyon.thrift; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; import org.apache.th...
core/src/main/java/tachyon/thrift/MasterService.java
/** * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package tachyon.thrift; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme; import org.apache.th...
remove unused FileDoesNotException for getFileStatus - thrift change
core/src/main/java/tachyon/thrift/MasterService.java
remove unused FileDoesNotException for getFileStatus - thrift change
<ide><path>ore/src/main/java/tachyon/thrift/MasterService.java <ide> */ <ide> public NetAddress user_getWorker(boolean random, String host) throws NoWorkerException, org.apache.thrift.TException; <ide> <del> public ClientFileInfo getFileStatus(int fileId, String path) throws FileDoesNotExistException, Inva...
Java
mpl-2.0
f5dce4ed9774671d4c4fa91def7473476f1acaa2
0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: PrologueCtrl.java,v $ * $Revision: 1.8 $ * * ...
javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/PrologueCtrl.java
/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: PrologueCtrl.java,v $ * $Revision: 1.7 $ * * ...
INTEGRATION: CWS native179 (1.7.20); FILE MERGED 2008/07/31 15:12:17 is 1.7.20.1: #i91489# improved solaris language preselection process
javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/PrologueCtrl.java
INTEGRATION: CWS native179 (1.7.20); FILE MERGED 2008/07/31 15:12:17 is 1.7.20.1: #i91489# improved solaris language preselection process
<ide><path>avainstaller2/src/JavaSetup/org/openoffice/setup/Controller/PrologueCtrl.java <ide> * OpenOffice.org - a multi-platform office productivity suite <ide> * <ide> * $RCSfile: PrologueCtrl.java,v $ <del> * $Revision: 1.7 $ <add> * $Revision: 1.8 $ <ide> * <ide> * This file is part of OpenOffice.org. <ide> ...
JavaScript
mit
a493e5a4d1571491dfd4b5c834b22019e021d49d
0
coderaiser/cloudcmd,coderaiser/cloudcmd
'use strict'; /* global DOM */ const { Dialog, Images, } = DOM; const forEachKey = require('for-each-key/legacy'); const wraptile = require('wraptile/legacy'); const format = require('./format'); module.exports = (options) => (emitter) => { const { operation, callback, noContinu...
client/modules/operation/set-listeners.js
'use strict'; /* global DOM */ const { Dialog, Images, } = DOM; const forEachKey = require('for-each-key/legacy'); const wraptile = require('wraptile/legacy'); const format = require('./format'); module.exports = (options) => (emitter) => { const { operation, callback, noContinu...
fix(set-listeners) can not continue first error operation error
client/modules/operation/set-listeners.js
fix(set-listeners) can not continue first error operation error
<ide><path>lient/modules/operation/set-listeners.js <ide> <ide> const [cancel] = await Dialog.confirm(error + '\n Continue?'); <ide> <del> if (!cancel) <del> emitter.continue(); <add> if (!done && !cancel) <add> return emitter.con...
Java
apache-2.0
5b957c86f82d1a5477174632369f12768b7c7abc
0
zzhui1988/zxing,mig1098/zxing,graug/zxing,wangjun/zxing,ChanJLee/zxing,todotobe1/zxing,ChristingKim/zxing,sunil1989/zxing,irfanah/zxing,jianwoo/zxing,SriramRamesh/zxing,ikenneth/zxing,geeklain/zxing,easycold/zxing,huihui4045/zxing,HiWong/zxing,reidwooten99/zxing,Kabele/zxing,JasOXIII/zxing,kyosho81/zxing,ForeverLucky/z...
/* * Copyright (C) 2012 ZXing 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 agr...
android/src/com/google/zxing/client/android/camera/open/OpenCameraInterface.java
/* * Copyright (C) 2012 ZXing 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 agr...
Added overload: open(cameraId)
android/src/com/google/zxing/client/android/camera/open/OpenCameraInterface.java
Added overload: open(cameraId)
<ide><path>ndroid/src/com/google/zxing/client/android/camera/open/OpenCameraInterface.java <ide> private OpenCameraInterface() { <ide> } <ide> <add> <add> /** <add> * Opens the requested camera with {@link Camera#open(int)}, if one exists. <add> * <add> * @param cameraId camera ID of the camera to use <ad...
JavaScript
mit
e795562d5599171ad7595e54ff3622ddd563501b
0
aarontract/leaflet-search,timophey/leaflet-search,kyroskoh/leaflet-search,ajvol/leaflet-search,johan--/leaflet-search,stefanocudini/leaflet-search,ajvol/leaflet-search,MuellerMatthew/leaflet-search,johan--/leaflet-search,aarontract/leaflet-search,cityhubla/leaflet-search,MuellerMatthew/leaflet-search,kyroskoh/leaflet-s...
/* * Leaflet Search Control 1.3.5 * http://labs.easyblog.it/maps/leaflet-search * * https://github.com/stefanocudini/leaflet-search * https://bitbucket.org/zakis_/leaflet-search * * Copyright 2013, Stefano Cudini - stefano.cudini@gmail.com * Licensed under the MIT license. */ (function() {//closure for hide Se...
leaflet-search.js
/* * Leaflet Search Control 1.3.5 * http://labs.easyblog.it/maps/leaflet-search * * https://github.com/stefanocudini/leaflet-search * https://bitbucket.org/zakis_/leaflet-search * * Copyright 2013, Stefano Cudini - stefano.cudini@gmail.com * Licensed under the MIT license. */ (function() {//closure for hide Se...
passed loc in _createTip
leaflet-search.js
passed loc in _createTip
<ide><path>eaflet-search.js <ide> return tool; <ide> }, <ide> <del> _createTip: function(text) { <add> _createTip: function(text, loc) { <ide> var tip; <ide> <ide> if(this.options.callTip) <del> tip = this.options.callTip.call(this, text); //custom tip content <add> tip = this.options.callTip.apply(this,...
JavaScript
mit
59b5701fcb58f0a0fbc7adea5f6db0f23f0dd2a9
0
angular/material,isaaclyman/material,dmitriz/material,gmoothart/material,gkalpak/material,jelbourn/material,marekmicek/material,Frank3K/material,jelbourn/material,isaaclyman/material,Todd-Werelius/material,dmitriz/material,vertazzar/material,HipsterZipster/material,graingert/material,hodeyp/material,DevVersion/material...
/** * @ngdoc module * @name material.components.sidenav * * @description * A Sidenav QP component. */ angular .module('material.components.sidenav', [ 'material.core', 'material.components.backdrop' ]) .factory('$mdSidenav', SidenavService ) .directive('mdSidenav', SidenavDirective) .directive('...
src/components/sidenav/sidenav.js
/** * @ngdoc module * @name material.components.sidenav * * @description * A Sidenav QP component. */ angular .module('material.components.sidenav', [ 'material.core', 'material.components.backdrop' ]) .factory('$mdSidenav', SidenavService ) .directive('mdSidenav', SidenavDirective) .directive('...
md-sidenav fix for documentation is-open -> md-is-open Closes #6846
src/components/sidenav/sidenav.js
md-sidenav fix for documentation
<ide><path>rc/components/sidenav/sidenav.js <ide> * @param {string=} md-component-id componentId to use with $mdSidenav service. <ide> * @param {expression=} md-is-locked-open When this expression evalutes to true, <ide> * the sidenav 'locks open': it falls into the content's flow instead <del> * of appearing over i...
Java
epl-1.0
e624008b02da7d86c99176b00d16c560e20a7e47
0
bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs,bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs,bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs
/******************************************************************************* * Copyright (c) 2005, 2009 SAP. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 * which accompanie...
jpa/eclipselink.jpa.wdf.test/src/org/eclipse/persistence/testing/tests/wdf/jpa1/entitymanager/TestRefresh.java
/******************************************************************************* * Copyright (c) 2005, 2009 SAP. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 * which accompanie...
bug 311868 - fix test TestRefresh.testRefreshDeleted to conform with spec Former-commit-id: 22ce29395a9d2cecf9370d2666b771ec99d28690
jpa/eclipselink.jpa.wdf.test/src/org/eclipse/persistence/testing/tests/wdf/jpa1/entitymanager/TestRefresh.java
bug 311868 - fix test TestRefresh.testRefreshDeleted to conform with spec
<ide><path>pa/eclipselink.jpa.wdf.test/src/org/eclipse/persistence/testing/tests/wdf/jpa1/entitymanager/TestRefresh.java <ide> package org.eclipse.persistence.testing.tests.wdf.jpa1.entitymanager; <ide> <ide> import java.sql.Connection; <add> <ide> import java.sql.Date; <ide> import java.sql.PreparedStatement; <ide> i...
Java
apache-2.0
6144ff22db545921b7523f2b3ca813cc3be70c2c
0
gdi-by/downloadclient,gdi-by/downloadclient,gdi-by/downloadclient,Intevation/downloadclient,JuergenWeichand/downloadclient,JuergenWeichand/downloadclient,gdi-by/downloadclient,JuergenWeichand/downloadclient,JuergenWeichand/downloadclient,Intevation/downloadclient,Intevation/downloadclient,Intevation/downloadclient
/* * DownloadClient Geodateninfrastruktur Bayern * * (c) 2016 GSt. GDI-BY (gdi.bayern.de) * * 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/LICE...
src/main/java/de/bayern/gdi/gui/Controller.java
/* * DownloadClient Geodateninfrastruktur Bayern * * (c) 2016 GSt. GDI-BY (gdi.bayern.de) * * 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/LICE...
resetting statusbar and auth status when changing service
src/main/java/de/bayern/gdi/gui/Controller.java
resetting statusbar and auth status when changing service
<ide><path>rc/main/java/de/bayern/gdi/gui/Controller.java <ide> servicePW.setDisable(false); <ide> } <ide> <add> private void unsetAuth() { <add> setStatusTextUI( <add> I18n.format("status.calling-service")); <add> serviceAuthe...
Java
lgpl-2.1
85ed2d8de41cba8db6a93b8273d5acb6bfdafe7d
0
gallardo/opencms-core,gallardo/opencms-core,alkacon/opencms-core,gallardo/opencms-core,alkacon/opencms-core,alkacon/opencms-core,alkacon/opencms-core,gallardo/opencms-core
/* * File : $Source$ * Date : $Date$ * Version: $Revision$ * * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (C) 2002 - 2009 Alkacon Software (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it und...
src/org/opencms/search/solr/CmsSolrIndex.java
/* * File : $Source$ * Date : $Date$ * Version: $Revision$ * * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (C) 2002 - 2009 Alkacon Software (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it und...
Solr: Fixed issue with highlighting not correctly returned.
src/org/opencms/search/solr/CmsSolrIndex.java
Solr: Fixed issue with highlighting not correctly returned.
<ide><path>rc/org/opencms/search/solr/CmsSolrIndex.java <ide> for (String filteredId : filteredResultIds) { <ide> highlighting.remove(filteredId); <ide> } <del> checkQueryResponse.getResponse().add("highlighting", highlighting); <add> Nam...
Java
mit
63e48ae86517eaa4b15dd5950babd68f4680ed46
0
wangyikai/jenkins,mcanthony/jenkins,Krasnyanskiy/jenkins,tastatur/jenkins,MadsNielsen/jtemp,liorhson/jenkins,lvotypko/jenkins2,sathiya-mit/jenkins,shahharsh/jenkins,hemantojhaa/jenkins,dbroady1/jenkins,duzifang/my-jenkins,synopsys-arc-oss/jenkins,amruthsoft9/Jenkis,jpbriend/jenkins,chbiel/jenkins,wuwen5/jenkins,khmarba...
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Eric Lefevre-Ardant, Erik Ramfelt, Michael B. Donohue * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * i...
core/src/main/java/hudson/FilePath.java
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Eric Lefevre-Ardant, Erik Ramfelt, Michael B. Donohue * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * i...
improved the diagnosability. git-svn-id: 28f34f9aa52bc55a5ddd5be9e183c5cccadc6ee4@23882 71c3de6d-444a-0410-be80-ed276b4c234a
core/src/main/java/hudson/FilePath.java
improved the diagnosability.
<ide><path>ore/src/main/java/hudson/FilePath.java <ide> * Copies this file to the specified target. <ide> */ <ide> public void copyTo(FilePath target) throws IOException, InterruptedException { <del> OutputStream out = target.write(); <ide> try { <del> copyTo(out); <del> }...
Java
apache-2.0
9846c430440bad882e5633377cc0bc47d40b5b3b
0
nuwand/carbon-apimgt,ruks/carbon-apimgt,fazlan-nazeem/carbon-apimgt,tharindu1st/carbon-apimgt,harsha89/carbon-apimgt,bhathiya/carbon-apimgt,uvindra/carbon-apimgt,sanjeewa-malalgoda/carbon-apimgt,chamilaadhi/carbon-apimgt,tharikaGitHub/carbon-apimgt,jaadds/carbon-apimgt,wso2/carbon-apimgt,jaadds/carbon-apimgt,pubudu538/...
/* * Copyright (c) 2019 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/l...
components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/impl/SearchApiServiceImpl.java
/* * Copyright (c) 2019 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/l...
Fix pagination issue and doc: filtered search issue
components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/impl/SearchApiServiceImpl.java
Fix pagination issue and doc: filtered search issue
<ide><path>omponents/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1/src/main/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/impl/SearchApiServiceImpl.java <ide> <ide> import java.util.ArrayList; <ide> import java.util.Collection; <add>import java.util.HashMap; <ide> import java.util.List; <ide> import java.uti...
Java
lgpl-2.1
464f09b1ea75ac7ed733d9c29049e710a655cc7e
0
zsoltii/dss,alisdev/dss,esig/dss,openlimit-signcubes/dss,zsoltii/dss,esig/dss,alisdev/dss,openlimit-signcubes/dss
/** * DSS - Digital Signature Services * Copyright (C) 2015 European Commission, provided under the CEF programme * * This file is part of the "DSS - Digital Signature Services" project. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
dss-xades/src/main/java/eu/europa/esig/dss/xades/validation/XPointerResourceResolver.java
/** * DSS - Digital Signature Services * Copyright (C) 2015 European Commission, provided under the CEF programme * * This file is part of the "DSS - Digital Signature Services" project. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
Avoid NPE
dss-xades/src/main/java/eu/europa/esig/dss/xades/validation/XPointerResourceResolver.java
Avoid NPE
<ide><path>ss-xades/src/main/java/eu/europa/esig/dss/xades/validation/XPointerResourceResolver.java <ide> <ide> @Override <ide> public boolean engineCanResolveURI(final ResourceResolverContext context) { <del> <add> boolean xPointerQuery = false; <add> String uri = "?"; <ide> final Attr uriAttr = context.attr; <...
JavaScript
mit
17be319e0400862284dd69158fdecf9e8e819936
0
mjmlio/gulp-mjml
var through = require ('through2') var mjmlDefaultEngine = require ('mjml') var gutil = require ('gulp-util') var GulpError = gutil.PluginError var NAME = 'MJML' module.exports = function mjml (mjmlEngine, options) { if(!mjmlEngine) { mjmlEngine = mjmlDefaultEngine } if (options === undefined) { options...
src/index.js
var through = require ('through2') var mjmlDefaultEngine = require ('mjml') var gutil = require ('gulp-util') var GulpError = gutil.PluginError var NAME = 'MJML' module.exports = function mjml (mjmlEngine, options) { if(mjmlEngine === undefined) { mjmlEngine = mjmlDefaultEngine } if (options === undefined) ...
Allow mjmlEngine to be null It looks better when we want to pass options but no mjmlEngine ``` mjml(null, {}) // :) mjml(undefined, {}) // :( ```
src/index.js
Allow mjmlEngine to be null
<ide><path>rc/index.js <ide> var NAME = 'MJML' <ide> <ide> module.exports = function mjml (mjmlEngine, options) { <del> if(mjmlEngine === undefined) { <add> if(!mjmlEngine) { <ide> mjmlEngine = mjmlDefaultEngine <ide> } <ide> if (options === undefined) {
Java
apache-2.0
error: pathspec 'src/main/java/tech/sirwellington/alchemy/annotations/designs/patterns/StatePattern.java' did not match any file(s) known to git
2705e9b31dd5930d1a021ca4c811736d9a29e353
1
SirWellington/alchemy-annotations
/* * Copyright 2015 SirWellington Tech. * * 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/main/java/tech/sirwellington/alchemy/annotations/designs/patterns/StatePattern.java
Adding StatePattern + New Design Pattern, “@StatePattern”
src/main/java/tech/sirwellington/alchemy/annotations/designs/patterns/StatePattern.java
Adding StatePattern
<ide><path>rc/main/java/tech/sirwellington/alchemy/annotations/designs/patterns/StatePattern.java <add>/* <add> * Copyright 2015 SirWellington Tech. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <add> * You may ob...
Java
apache-2.0
55f6b18d85121941fa08f60d4220e8d86bb55db3
0
cosmocode/cosmocode-rendering
/** * Copyright 2010 CosmoCode GmbH * * 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...
src/test/java/de/cosmocode/rendering/DefaultMappingTest.java
/** * Copyright 2010 CosmoCode GmbH * * 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...
added 2 more tests
src/test/java/de/cosmocode/rendering/DefaultMappingTest.java
added 2 more tests
<ide><path>rc/test/java/de/cosmocode/rendering/DefaultMappingTest.java <ide> import java.util.AbstractCollection; <ide> import java.util.AbstractList; <ide> import java.util.ArrayList; <add>import java.util.Arrays; <ide> import java.util.Collection; <add>import java.util.EnumSet; <ide> import java.util.Iterator; <ide> ...