lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
JavaScript | mit | 88a9eeab2bf792f3830167ab2b2328e72878ee72 | 0 | Baptouuuu/Sy,Baptouuuu/Sy | namespace('Sy.Validator.Constraint');
/**
* Date constraint validator
*
* @package Sy
* @subpackage Validator
* @class
* @extends {Sy.Validator.AbstractConstraintValidator}
*/
Sy.Validator.Constraint.DateValidator = function () {
Sy.Validator.AbstractConstraintValidator.call(this);
};
Sy.Validator.Constrai... | src/Validator/Constraint/DateValidator.js | namespace('Sy.Validator.Constraint');
/**
* Date constraint validator
*
* @package Sy
* @subpackage Validator
* @class
* @extends {Sy.Validator.AbstractConstraintValidator}
*/
Sy.Validator.Constraint.DateValidator = function () {
Sy.Validator.AbstractConstraintValidator.call(this);
};
Sy.Validator.Constrai... | #15 fixed an error causing a valid date string to be flagged as violation
| src/Validator/Constraint/DateValidator.js | #15 fixed an error causing a valid date string to be flagged as violation | <ide><path>rc/Validator/Constraint/DateValidator.js
<ide> throw new TypeError('Invalid constraint');
<ide> }
<ide>
<del> if (typeof value === 'string' && (new Date(value)).toDateString() === 'Invalid Date') {
<del> this.context.addViolation(constraint.getMessage())... | |
JavaScript | mit | 3cc89b4157bc33579292e49148c289a7d2003129 | 0 | AdapTeach/code-assessments | module.exports = {
dbUrl: 'mongodb://Charl:af8c5c494622afb87fb241b5a513fc1d@ds039277.mongolab.com:39277/codeassessments',
dbRoot : 'admin',
dbPassword :'KAPDyGr4G2Rp',
crossOrigin: '',
port: process.env.OPENSHIFT_NODEJS_PORT || 8080,
address : process.env.OPENSHIFT_NODEJS_IP || "127.0.0.1"
}; | config/env/production.js | module.exports = {
dbUrl: 'mongodb://Charl:mongolab4tw@ds039277.mongolab.com:39277/codeassessments',
dbRoot : 'admin',
dbPassword :'KAPDyGr4G2Rp',
crossOrigin: '',
port: process.env.OPENSHIFT_NODEJS_PORT || 8080,
address : process.env.OPENSHIFT_NODEJS_IP || "127.0.0.1"
}; | deployment fixes
| config/env/production.js | deployment fixes | <ide><path>onfig/env/production.js
<ide> module.exports = {
<del> dbUrl: 'mongodb://Charl:mongolab4tw@ds039277.mongolab.com:39277/codeassessments',
<add> dbUrl: 'mongodb://Charl:af8c5c494622afb87fb241b5a513fc1d@ds039277.mongolab.com:39277/codeassessments',
<ide> dbRoot : 'admin',
<ide> dbPassword :'KAPDyG... | |
Java | apache-2.0 | error: pathspec 'com/planet_ink/coffee_mud/Commands/GenPortal.java' did not match any file(s) known to git
| f2eb5d8bc3a4b76eb52a2451c63f9cf2c76b15d4 | 1 | bozimmerman/CoffeeMud,MaxRau/CoffeeMud,sfunk1x/CoffeeMud,MaxRau/CoffeeMud,oriontribunal/CoffeeMud,oriontribunal/CoffeeMud,Tycheo/coffeemud,bozimmerman/CoffeeMud,oriontribunal/CoffeeMud,Tycheo/coffeemud,sfunk1x/CoffeeMud,Tycheo/coffeemud,bozimmerman/CoffeeMud,MaxRau/CoffeeMud,sfunk1x/CoffeeMud,MaxRau/CoffeeMud,bozimmerm... | package com.planet_ink.coffee_mud.Commands;
public class GenPortal
{
}
| com/planet_ink/coffee_mud/Commands/GenPortal.java |
git-svn-id: svn://192.168.1.10/public/CoffeeMud@3539 0d6f1817-ed0e-0410-87c9-987e46238f29
| com/planet_ink/coffee_mud/Commands/GenPortal.java | <ide><path>om/planet_ink/coffee_mud/Commands/GenPortal.java
<add>package com.planet_ink.coffee_mud.Commands;
<add>
<add>public class GenPortal
<add>{
<add>} | ||
Java | bsd-3-clause | a0bca5ff529ebf9af4ce631880c85e3b365254d0 | 0 | knopflerfish/knopflerfish.org,knopflerfish/knopflerfish.org,knopflerfish/knopflerfish.org | /*
* Copyright (c) 2008-2010, KNOPFLERFISH project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this ... | osgi/framework/src/org/knopflerfish/framework/permissions/ConditionalPermissionInfoImpl.java | /*
* Copyright (c) 2008-2010, KNOPFLERFISH project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this ... | fix for bug when using names for encoded policies | osgi/framework/src/org/knopflerfish/framework/permissions/ConditionalPermissionInfoImpl.java | fix for bug when using names for encoded policies | <ide><path>sgi/framework/src/org/knopflerfish/framework/permissions/ConditionalPermissionInfoImpl.java
<ide> pos = PermUtil.endOfString(eca, pos, eca.length);
<ide> if (pos != -1) {
<ide> StringBuffer buf = new StringBuffer();
<del> PermUtil.unquote(eca, pos, buf);
<add> pos = PermUtil... | |
JavaScript | mit | f2e87c56af691fc01fab09d301d92b0b5e572e2f | 0 | ADI-Labs/calendar-web,ADI-Labs/calendar-web | "use strict";
var path = require("path");
var assetsPath = path.resolve("src/assets");
var srcPath = path.resolve("src");
var HtmlWebpackPlugin = require("html-webpack-plugin");
var autoprefixer = require("autoprefixer");
var webpack = require("webpack");
module.exports = {
debug: true,
devtool: "#source-map",
... | webpack.config/webpack.config.dev.js | "use strict";
var path = require("path");
var assetsPath = path.resolve("src/assets");
var srcPath = path.resolve("src");
var HtmlWebpackPlugin = require("html-webpack-plugin");
var autoprefixer = require("autoprefixer");
var webpack = require("webpack");
module.exports = {
debug: true,
devtool: "#source-map",
... | Update webpack.config.dev.js | webpack.config/webpack.config.dev.js | Update webpack.config.dev.js | <ide><path>ebpack.config/webpack.config.dev.js
<ide> filename: "[name].bundle.js",
<ide> path: path.resolve("dist"),
<ide> pathinfo: true,
<del> publicPath: "/",
<del> // sourceMapFilename must be named 'index' for sourcemapping to work. fucking stupid.
<del> sourceMapFilename: "index.js.map"
<add>... | |
Java | apache-2.0 | bf5cca52a439b20cd8e009a2d2ad63bef8282eac | 0 | abstractj/keycloak,mposolda/keycloak,mposolda/keycloak,raehalme/keycloak,pedroigor/keycloak,hmlnarik/keycloak,keycloak/keycloak,thomasdarimont/keycloak,reneploetz/keycloak,ahus1/keycloak,jpkrohling/keycloak,jpkrohling/keycloak,darranl/keycloak,raehalme/keycloak,keycloak/keycloak,ahus1/keycloak,jpkrohling/keycloak,vmuzi... | /*
* Copyright 2017 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... | testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/GoogleLoginPage.java | /*
* Copyright 2017 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... | KEYCLOAK-11675 Fix unstable Google Social Login test
| testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/GoogleLoginPage.java | KEYCLOAK-11675 Fix unstable Google Social Login test | <ide><path>estsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/social/GoogleLoginPage.java
<ide> import java.util.List;
<ide>
<ide> import static org.keycloak.testsuite.util.UIUtils.clickLink;
<del>import static org.keycloak.testsuite.util.UIUtils.performOperationWithPageReload;
<ide>... | |
Java | mit | db9369617e351e547d1a6bd28967842f8929e1c5 | 0 | paramaggarwal/react-native-youtube,inProgress-team/react-native-youtube,paramaggarwal/react-native-youtube,inProgress-team/react-native-youtube,inProgress-team/react-native-youtube | package com.inprogress.reactnativeyoutube;
import android.support.annotation.Nullable;
import com.facebook.infer.annotation.Assertions;
import com.facebook.react.common.MapBuilder;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.uimanager.SimpleV... | android/src/main/java/com/inprogress/reactnativeyoutube/YouTubeManager.java | package com.inprogress.reactnativeyoutube;
import android.support.annotation.Nullable;
import com.facebook.infer.annotation.Assertions;
import com.facebook.react.common.MapBuilder;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.uimanager.SimpleV... | reset v1 branch from upstream
| android/src/main/java/com/inprogress/reactnativeyoutube/YouTubeManager.java | reset v1 branch from upstream | <ide><path>ndroid/src/main/java/com/inprogress/reactnativeyoutube/YouTubeManager.java
<ide> );
<ide> }
<ide>
<del>
<ide> public int getVideosIndex(YouTubeView view) {
<ide> return view.getVideosIndex();
<ide> } | |
JavaScript | mpl-2.0 | 99a1b40b6b44211941699b00262b106b51ba725a | 0 | kumar303/web-ext,rpl/web-ext,mozilla/web-ext,kumar303/web-ext,mozilla/web-ext,rpl/web-ext | /* @flow */
import path from 'path';
import {readFileSync} from 'fs';
import camelCase from 'camelcase';
import git from 'git-rev-sync';
import yargs from 'yargs';
import defaultCommands from './cmd';
import {UsageError} from './errors';
import {createLogger, consoleStream as defaultLogStream} from './util/logger';
i... | src/program.js | /* @flow */
import path from 'path';
import {readFileSync} from 'fs';
import camelCase from 'camelcase';
import git from 'git-rev-sync';
import yargs from 'yargs';
import defaultCommands from './cmd';
import {UsageError} from './errors';
import {createLogger, consoleStream as defaultLogStream} from './util/logger';
i... | feat: Added --no-input option to disable standard input (#1044)
| src/program.js | feat: Added --no-input option to disable standard input (#1044) | <ide><path>rc/program.js
<ide> requiresArg: true,
<ide> type: 'array',
<ide> },
<add> 'no-input': {
<add> describe: 'Disable all features that require standard input',
<add> type: 'boolean',
<add> },
<ide> });
<ide>
<ide> program | |
Java | apache-2.0 | 5c8ed288b772fef4183971d59b3d2bced6d94404 | 0 | collinprice/titanium_mobile,benbahrenburg/titanium_mobile,taoger/titanium_mobile,benbahrenburg/titanium_mobile,falkolab/titanium_mobile,AngelkPetkov/titanium_mobile,formalin14/titanium_mobile,perdona/titanium_mobile,AngelkPetkov/titanium_mobile,ashcoding/titanium_mobile,FokkeZB/titanium_mobile,bhatfield/titanium_mobile... | /**
* Appcelerator Titanium Mobile
* Copyright (c) 2014 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
package ti.modules.titanium.network;
import javax.net.ssl.X509KeyManager;
import java... | android/modules/network/src/java/ti/modules/titanium/network/SecurityManagerProtocol.java | /**
* Appcelerator Titanium Mobile
* Copyright (c) 2014 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
package ti.modules.titanium.network;
import javax.net.ssl.X509KeyManager;
import java... | [TIMOB-16857] Typo
| android/modules/network/src/java/ti/modules/titanium/network/SecurityManagerProtocol.java | [TIMOB-16857] Typo | <ide><path>ndroid/modules/network/src/java/ti/modules/titanium/network/SecurityManagerProtocol.java
<ide> public X509TrustManager[] getTrustManagers(Uri uri);
<ide>
<ide> /**
<del> * Reurns the X509KeyManager array for the SSL Context.
<add> * Returns the X509KeyManager array for the SSL Context.
<ide> * @param... | |
Java | lgpl-2.1 | ed208677be58388176fd168bdf84c1f74456250e | 0 | MinecraftForge/ForgeGradle,MinecraftForge/ForgeGradle | /*
* ForgeGradle
* Copyright (C) 2018 Forge Development LLC
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ver... | src/common/java/net/minecraftforge/gradle/common/util/runs/IntellijRunGenerator.java | /*
* ForgeGradle
* Copyright (C) 2018 Forge Development LLC
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ver... | Fix IntelliJ run configurations for multiprojects built with IntelliJ (#851)
| src/common/java/net/minecraftforge/gradle/common/util/runs/IntellijRunGenerator.java | Fix IntelliJ run configurations for multiprojects built with IntelliJ (#851) | <ide><path>rc/common/java/net/minecraftforge/gradle/common/util/runs/IntellijRunGenerator.java
<ide> import org.gradle.api.Project;
<ide> import org.gradle.api.plugins.JavaPluginExtension;
<ide> import org.gradle.api.tasks.SourceSet;
<del>import org.gradle.api.tasks.SourceSetContainer;
<ide> import org.gradle.plugins.i... | |
Java | apache-2.0 | afb2250201ea359959864c491f6857c27a8a31d6 | 0 | ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf | /*
* $Log: Wsdl.java,v $
* Revision 1.17 2012-10-11 09:10:43 m00f069
* To lower case on targetAddress destination (QUEUE -> queue)
*
* Revision 1.16 2012/10/10 09:43:53 Jaco de Groot <jaco.de.groot@ibissource.org>
* Added comment on ESB_SOAP_JMS
*
* Revision 1.15 2012/10/04 11:28:57 Jaco de Groot <jaco.de... | JavaSource/nl/nn/adapterframework/soap/Wsdl.java | /*
* $Log: Wsdl.java,v $
* Revision 1.16 2012-10-10 09:43:53 m00f069
* Added comment on ESB_SOAP_JMS
*
* Revision 1.15 2012/10/04 11:28:57 Jaco de Groot <jaco.de.groot@ibissource.org>
* Fixed ESB Soap namespace
* Added location (url) of WSDL generation to the WSDL documentation
* Show warning add the bottom... | To lower case on targetAddress destination (QUEUE -> queue)
| JavaSource/nl/nn/adapterframework/soap/Wsdl.java | To lower case on targetAddress destination (QUEUE -> queue) | <ide><path>avaSource/nl/nn/adapterframework/soap/Wsdl.java
<ide> /*
<ide> * $Log: Wsdl.java,v $
<del> * Revision 1.16 2012-10-10 09:43:53 m00f069
<add> * Revision 1.17 2012-10-11 09:10:43 m00f069
<add> * To lower case on targetAddress destination (QUEUE -> queue)
<add> *
<add> * Revision 1.16 2012/10/10 09:43:53 ... | |
Java | mit | 23feb819c2e2778f60e8a7a8096b92d4086ff3ea | 0 | jenkinsci/job-import-plugin,jenkinsci/job-import-plugin | /*
* The MIT License
*
* Copyright (c) 2011, Jesse Farinacci
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use,... | src/main/java/org/jenkins/ci/plugins/jobimport/RemoteJobUtils.java | /*
* The MIT License
*
* Copyright (c) 2011, Jesse Farinacci
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use,... | copy and paste error
| src/main/java/org/jenkins/ci/plugins/jobimport/RemoteJobUtils.java | copy and paste error | <ide><path>rc/main/java/org/jenkins/ci/plugins/jobimport/RemoteJobUtils.java
<ide> XPATH_EXPRESSION_FREE_STYLE_PROJECT_URL = XPathUtils.compile("/freeStyleProject/url");
<ide> XPATH_EXPRESSION_HUDSON_JOB_URL = XPathUtils.compile("/hudson/job/url");
<ide> XPATH_EXPRESSION_LIST_VIEW_JOB_URL = XPathUtils... | |
Java | mit | 6d5a1031154d81d19f42abba20b6e93868f3e521 | 0 | copygirl/AdvHealthOptions | package net.mcft.copy.aho.config;
import java.io.File;
import net.mcft.copy.core.copycore;
import net.mcft.copy.core.config.Config;
import net.mcft.copy.core.config.setting.BooleanSetting;
import net.mcft.copy.core.config.setting.DoubleSetting;
import net.mcft.copy.core.config.setting.EnumSetting;
import net.mcft.cop... | src/net/mcft/copy/aho/config/AHOWorldConfig.java | package net.mcft.copy.aho.config;
import java.io.File;
import net.mcft.copy.core.config.Config;
import net.mcft.copy.core.config.setting.BooleanSetting;
import net.mcft.copy.core.config.setting.DoubleSetting;
import net.mcft.copy.core.config.setting.EnumSetting;
import net.mcft.copy.core.config.setting.IntegerSetting... | Fix AHOWorldConfig tripping up getActiveModId
| src/net/mcft/copy/aho/config/AHOWorldConfig.java | Fix AHOWorldConfig tripping up getActiveModId | <ide><path>rc/net/mcft/copy/aho/config/AHOWorldConfig.java
<ide>
<ide> import java.io.File;
<ide>
<add>import net.mcft.copy.core.copycore;
<ide> import net.mcft.copy.core.config.Config;
<ide> import net.mcft.copy.core.config.setting.BooleanSetting;
<ide> import net.mcft.copy.core.config.setting.DoubleSetting;
<ide> ... | |
Java | apache-2.0 | 8960a20e89d61899ae40b7849ad4abfd50c4f8f7 | 0 | jaychang0917/SimpleRecyclerView,jaychang0917/SimpleRecyclerView | package com.jaychang.srv;
import android.content.Context;
import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import android.view.View;
import android.view.ViewGroup;
public abstract class SimpleCell<T, VH extends SimpleViewHolder> {
public interface OnCellClickListener<T> {
... | library/src/main/java/com/jaychang/srv/SimpleCell.java | package com.jaychang.srv;
import android.content.Context;
import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.View;
import android.view.ViewGroup;
public abstract class SimpleCell<T, VH extends SimpleViewHolder> {
p... | Revise kotlin compatibility issue
| library/src/main/java/com/jaychang/srv/SimpleCell.java | Revise kotlin compatibility issue | <ide><path>ibrary/src/main/java/com/jaychang/srv/SimpleCell.java
<ide> import android.content.Context;
<ide> import android.support.annotation.LayoutRes;
<ide> import android.support.annotation.NonNull;
<del>import android.support.annotation.Nullable;
<ide> import android.view.View;
<ide> import android.view.ViewGroup;... | |
Java | epl-1.0 | 43716fd65ec8665167dfc5db7d07f09212c24783 | 0 | jsight/windup,OndraZizka/windup,windup/windup,jsight/windup,OndraZizka/windup,windup/windup,Maarc/windup,windup/windup,johnsteele/windup,Maarc/windup,OndraZizka/windup,OndraZizka/windup,Maarc/windup,johnsteele/windup,jsight/windup,windup/windup,johnsteele/windup,Maarc/windup,johnsteele/windup,jsight/windup | package org.jboss.windup.rules.apps.java.scan.provider;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.IdentityHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
i... | rules-java/api/src/main/java/org/jboss/windup/rules/apps/java/scan/provider/AnalyzeJavaFilesRuleProvider.java | package org.jboss.windup.rules.apps.java.scan.provider;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.IdentityHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
i... | Move some code to a method | rules-java/api/src/main/java/org/jboss/windup/rules/apps/java/scan/provider/AnalyzeJavaFilesRuleProvider.java | Move some code to a method | <ide><path>ules-java/api/src/main/java/org/jboss/windup/rules/apps/java/scan/provider/AnalyzeJavaFilesRuleProvider.java
<ide>
<ide> LOG.log(Level.INFO, "Analyzing {0} Java source files.", allSourceFiles.size());
<ide>
<del> Set<String> libraryPaths = new HashSet<>();
<del>
<del> ... | |
JavaScript | agpl-3.0 | 282b02b8e4856b6e572f7b081b0f8661ce1efe01 | 0 | firewalla/firewalla,firewalla/firewalla,MelvinTo/firewalla,firewalla/firewalla,MelvinTo/firewalla,MelvinTo/firewalla,MelvinTo/firewalla,firewalla/firewalla,firewalla/firewalla,MelvinTo/firewalla | /* Copyright 2016 Firewalla LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* ... | net2/FlowTool.js | /* Copyright 2016 Firewalla LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* ... | use flows.recent to store host recent download/uploads
| net2/FlowTool.js | use flows.recent to store host recent download/uploads | <ide><path>et2/FlowTool.js
<ide> json.flows = {};
<ide> }
<ide>
<del> json.flows.time = [];
<add> json.flows.recent = [];
<ide>
<ide> let promises = listip.map((ip) => {
<ide> return this.getRecentOutgoingConnections(ip)
<ide> .then((flows) => {
<del> Array.prototype.push.ap... | |
JavaScript | bsd-3-clause | 5e8604febedbbdae9a7cec343d8ffafed8284f82 | 0 | rgbkrk/nteract,nteract/nteract,nteract/composition,jdfreder/nteract,rgbkrk/nteract,rgbkrk/nteract,nteract/nteract,jdfreder/nteract,rgbkrk/nteract,nteract/nteract,nteract/nteract,rgbkrk/nteract,jdfreder/nteract,nteract/composition,nteract/composition,nteract/nteract,jdfreder/nteract | /* @flow */
import { Observable } from "rxjs/Observable";
import { of } from "rxjs/observable/of";
import { empty } from "rxjs/observable/empty";
import { merge } from "rxjs/observable/merge";
import { from } from "rxjs/observable/from";
import { createKernelRef } from "../state/refs";
import { createMessage, childOf... | packages/core/src/epics/kernel-lifecycle.js | /* @flow */
import { Observable } from "rxjs/Observable";
import { of } from "rxjs/observable/of";
import { empty } from "rxjs/observable/empty";
import { merge } from "rxjs/observable/merge";
import { from } from "rxjs/observable/from";
import { createKernelRef } from "../state/refs";
import { createMessage, childOf... | refer to old kernel by name in restart epic
| packages/core/src/epics/kernel-lifecycle.js | refer to old kernel by name in restart epic | <ide><path>ackages/core/src/epics/kernel-lifecycle.js
<ide> ofType(actionTypes.RESTART_KERNEL),
<ide> concatMap((action: RestartKernel) => {
<ide> const state = store.getState();
<del> const kernel = selectors.currentKernel(state);
<add>
<add> const oldKernelRef = action.payload.kernelRef;
<add>... | |
Java | mit | 6b614be92f4aa1f0b3e603722ebe74187f945f34 | 0 | ngageoint/geopackage-core-java | package mil.nga.geopackage.extension.contents;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import mil.nga.geopackage.GeoPackageCore;
import mil.nga.geopackage.GeoPackageException;
import m... | src/main/java/mil/nga/geopackage/extension/contents/ContentsIdExtension.java | package mil.nga.geopackage.extension.contents;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import mil.nga.geopackage.GeoPackageCore;
import mil.nga.geopackage.GeoPackageException;
import m... | contents id extension count method
| src/main/java/mil/nga/geopackage/extension/contents/ContentsIdExtension.java | contents id extension count method | <ide><path>rc/main/java/mil/nga/geopackage/extension/contents/ContentsIdExtension.java
<ide> + geoPackage.getName(), e);
<ide> }
<ide> return contentsIds;
<add> }
<add>
<add> /**
<add> * Get the count of contents ids
<add> *
<add> * @return count
<add> * @since 3.1.1
<add> */
<add> public long count() ... | |
Java | apache-2.0 | 431a5e98c29131e20c33a997e09c36c6fc84953a | 0 | saego/RepositBasic,saego/RepositBasic | import java.io.*;
/**
Created by ${Ruslan} on 16.01.17.
*/
class WorkChat {
void chatting(File fileAnswers, File logs, InputStream input) throws IOException {
BufferedReader bufferedReader;
long []positions;
int n = 0, rowsQuantity =0;
try(RandomAccessFile rafr00 ... | Chat/src/main/java/WorkChat.java | import java.io.*;
/**
Created by ${Ruslan} on 16.01.17.
*/
class WorkChat {
void chatting(File fileAnswers, File logs, InputStream input) throws IOException {
BufferedReader bufferedReader;
int []positions;
int n = 0, rowsQuantity =0;
try(RandomAccessFile rafr00 =... | 19/17 15/29 chat don't know what to do
| Chat/src/main/java/WorkChat.java | 19/17 15/29 chat don't know what to do | <ide><path>hat/src/main/java/WorkChat.java
<ide>
<ide> void chatting(File fileAnswers, File logs, InputStream input) throws IOException {
<ide> BufferedReader bufferedReader;
<del> int []positions;
<add> long []positions;
<ide> int n = 0, rowsQuantity =0;
<ide> ... | |
Java | apache-2.0 | c6e14425f07fdb37e4babb530953eadbefb03c8e | 0 | adrcotfas/Goodtime | package com.apps.adrcotfas.goodtime.Settings;
import android.content.Context;
import android.content.res.TypedArray;
import android.os.Parcel;
import android.os.Parcelable;
import android.text.InputFilter;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.util.Log;
import android.view.Key... | app/src/main/java/com/apps/adrcotfas/goodtime/Settings/ProperSeekBarPreference.java | package com.apps.adrcotfas.goodtime.Settings;
import android.content.Context;
import android.content.res.TypedArray;
import android.os.Parcel;
import android.os.Parcelable;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.util.Log;
import android.view.KeyEvent;
import android.view.View;
... | fix possible crash
| app/src/main/java/com/apps/adrcotfas/goodtime/Settings/ProperSeekBarPreference.java | fix possible crash | <ide><path>pp/src/main/java/com/apps/adrcotfas/goodtime/Settings/ProperSeekBarPreference.java
<ide> import android.content.res.TypedArray;
<ide> import android.os.Parcel;
<ide> import android.os.Parcelable;
<add>import android.text.InputFilter;
<ide> import android.text.TextUtils;
<ide> import android.util.AttributeSet... | |
Java | lgpl-2.1 | 7069ae51f339c7c21539b43653a77d055374bbe8 | 0 | schernolyas/hibernate-ogm,DavideD/hibernate-ogm-cassandra,tempbottle/hibernate-ogm,schernolyas/hibernate-ogm,ZJaffee/hibernate-ogm,gunnarmorling/hibernate-ogm,DavideD/hibernate-ogm,Sanne/hibernate-ogm,DavideD/hibernate-ogm-contrib,uugaa/hibernate-ogm,DavideD/hibernate-ogm,DavideD/hibernate-ogm,mp911de/hibernate-ogm,mp9... | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* JBoss, Home of Professional Open Source
* Copyright 2010-2011 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of indivi... | hibernate-ogm-core/src/test/java/org/hibernate/ogm/test/simpleentity/OgmTestCase.java | /*
* Hibernate, Relational Persistence for Idiomatic Java
*
* JBoss, Home of Professional Open Source
* Copyright 2010-2011 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @authors tag. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of indivi... | OGM-300 Re-creating session factory in OgmTestCase if it has been disposed in earlier tests
| hibernate-ogm-core/src/test/java/org/hibernate/ogm/test/simpleentity/OgmTestCase.java | OGM-300 Re-creating session factory in OgmTestCase if it has been disposed in earlier tests | <ide><path>ibernate-ogm-core/src/test/java/org/hibernate/ogm/test/simpleentity/OgmTestCase.java
<ide> protected SessionFactory sessions;
<ide> private Session session;
<ide>
<add> @Override
<ide> @Before
<ide> public void setUp() throws Exception {
<ide> if ( cfg == null || lastTestClass != getClass() ) {
<ide> ... | |
Java | mit | ce16d943ca42a760a1e306994d0645bec9d4fd82 | 0 | phenoscape/Phenex,phenoscape/Phenex | package org.phenoscape.bridge;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.util.HashSet;
import java.util.Set;
import org.obd.model.CompositionalDescription;
import org.obd.model.Graph;
import org.obd.model.LinkState... | src/org/phenoscape/bridge/ZfinObdBridge.java | package org.phenoscape.bridge;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.util.HashSet;
import java.util.Set;
import org.obd.model.CompositionalDescription;
import org.obd.model.Graph;
import org.obd.model.LinkState... | Added a new method to normalize all ZFIN identifiers so the ZFIN: prefix is always present
| src/org/phenoscape/bridge/ZfinObdBridge.java | Added a new method to normalize all ZFIN identifiers so the ZFIN: prefix is always present | <ide><path>rc/org/phenoscape/bridge/ZfinObdBridge.java
<ide> import org.obd.model.CompositionalDescription;
<ide> import org.obd.model.Graph;
<ide> import org.obd.model.LinkStatement;
<del>import org.obd.model.LiteralStatement;
<ide> import org.obd.model.Node;
<ide> import org.obd.model.CompositionalDescription.Predica... | |
Java | apache-2.0 | b7e8352ea46720da6d835f484de8f0d0efae7311 | 0 | apache/jackrabbit-oak,amit-jain/jackrabbit-oak,anchela/jackrabbit-oak,mreutegg/jackrabbit-oak,apache/jackrabbit-oak,trekawek/jackrabbit-oak,mreutegg/jackrabbit-oak,apache/jackrabbit-oak,amit-jain/jackrabbit-oak,amit-jain/jackrabbit-oak,amit-jain/jackrabbit-oak,anchela/jackrabbit-oak,mreutegg/jackrabbit-oak,amit-jain/ja... | /*
* 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 ... | oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserProviderImpl.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 ... | OAK-259: Issues in o.a.j.oak.security.user.UserProviderImpl
thanks Chetan Mehrotra for the patch
git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1374992 13f79535-47bb-0310-9956-ffa450edef68
| oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserProviderImpl.java | OAK-259: Issues in o.a.j.oak.security.user.UserProviderImpl thanks Chetan Mehrotra for the patch | <ide><path>ak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserProviderImpl.java
<ide> import java.util.List;
<ide> import java.util.Map;
<ide> import java.util.Set;
<add>
<ide> import javax.annotation.Nullable;
<ide> import javax.jcr.PropertyType;
<ide> import javax.jcr.RepositoryException;
<ide> ... | |
Java | bsd-3-clause | da2cfd65d77689750f33c8a9887faafb860384e3 | 0 | rwth-acis/LAS2peer,rwth-acis/LAS2peer | package i5.las2peer.classLoaders.libraries;
import org.junit.Assert;
import org.junit.Test;
import i5.las2peer.classLoaders.helpers.LibraryDependency;
import i5.las2peer.classLoaders.helpers.LibraryIdentifier;
public class LoadedNetworkLibraryTest {
@Test
public void testXMLandBack() {
try {
LibraryIdentifie... | src/test/java/i5/las2peer/classLoaders/libraries/LoadedNetworkLibraryTest.java | package i5.las2peer.classLoaders.libraries;
import org.junit.Assert;
import org.junit.Test;
import i5.las2peer.classLoaders.helpers.LibraryIdentifier;
public class LoadedNetworkLibraryTest {
@Test
public void testXMLandBack() {
try {
LibraryIdentifier libId = new LibraryIdentifier("testlib", "4.2.1");
Loa... | improve LoadedNetworkLibraryTest | src/test/java/i5/las2peer/classLoaders/libraries/LoadedNetworkLibraryTest.java | improve LoadedNetworkLibraryTest | <ide><path>rc/test/java/i5/las2peer/classLoaders/libraries/LoadedNetworkLibraryTest.java
<ide> import org.junit.Assert;
<ide> import org.junit.Test;
<ide>
<add>import i5.las2peer.classLoaders.helpers.LibraryDependency;
<ide> import i5.las2peer.classLoaders.helpers.LibraryIdentifier;
<ide>
<ide> public class LoadedNet... | |
Java | mit | aa8af7c59f6ebacffde89eee4b8a49f9f22ac15a | 0 | yDelouis/selfoss-android | package fr.ydelouis.selfoss.adapter;
import android.app.Activity;
import android.app.Fragment;
import android.content.Context;
import android.support.v13.app.FragmentPagerAdapter;
import org.androidannotations.annotations.AfterInject;
import org.androidannotations.annotations.Background;
import org.androidannotations... | app/src/main/java/fr/ydelouis/selfoss/adapter/ArticlePagerAdapter.java | package fr.ydelouis.selfoss.adapter;
import android.app.Activity;
import android.app.Fragment;
import android.content.Context;
import android.support.v13.app.FragmentPagerAdapter;
import org.androidannotations.annotations.AfterInject;
import org.androidannotations.annotations.Background;
import org.androidannotations... | Fix NPE in ArticlePagerAdapter
| app/src/main/java/fr/ydelouis/selfoss/adapter/ArticlePagerAdapter.java | Fix NPE in ArticlePagerAdapter | <ide><path>pp/src/main/java/fr/ydelouis/selfoss/adapter/ArticlePagerAdapter.java
<ide>
<ide> @Override
<ide> public void onNewLoaded(List<Article> newArticles) {
<del> articles.addAll(0, newArticles);
<add> if (newArticles != null) {
<add> articles.addAll(0, newArticles);
<add> }
<ide> }
<ide>
<ide> public i... | |
Java | apache-2.0 | 0c43e59ea81b975dfb36530da41b72f41d2f3106 | 0 | pkdevbox/spring-social-github,cpitman/spring-social-auth0,pkdevbox/spring-social-github,spring-projects/spring-social-github,cpitman/spring-social-auth0,spring-projects/spring-social-github | /*
* Copyright 2011 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 applica... | spring-social-github/src/main/java/org/springframework/social/github/api/impl/GitHubTemplate.java | /*
* Copyright 2011 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 applica... | refactored base OAuth2 api template to allow specification of OAuth2Version by subclasses, removed dead ApiTemplate code
| spring-social-github/src/main/java/org/springframework/social/github/api/impl/GitHubTemplate.java | refactored base OAuth2 api template to allow specification of OAuth2Version by subclasses, removed dead ApiTemplate code | <ide><path>pring-social-github/src/main/java/org/springframework/social/github/api/impl/GitHubTemplate.java
<ide> import org.springframework.social.github.api.GitHubApi;
<ide> import org.springframework.social.github.api.GitHubUserProfile;
<ide> import org.springframework.social.oauth2.AbstractOAuth2ApiTemplate;
<add>i... | |
Java | mit | 5c722cba589e83b0c2df3eba0902a3e46d4117d9 | 0 | hres/cfg-task-service,hres/cfg-task-service,hres/cfg-task-service | package ca.gc.ip346.classification.resource;
import static com.google.common.net.HttpHeaders.ACCEPT;
import static com.google.common.net.HttpHeaders.ACCESS_CONTROL_ALLOW_HEADERS;
import static com.google.common.net.HttpHeaders.ACCESS_CONTROL_ALLOW_METHODS;
import static com.google.common.net.HttpHeaders.ACCESS_CONTROL... | src/main/java/ca/gc/ip346/classification/resource/FoodsResource.java | package ca.gc.ip346.classification.resource;
import static com.google.common.net.HttpHeaders.ACCEPT;
import static com.google.common.net.HttpHeaders.ACCESS_CONTROL_ALLOW_HEADERS;
import static com.google.common.net.HttpHeaders.ACCESS_CONTROL_ALLOW_METHODS;
import static com.google.common.net.HttpHeaders.ACCESS_CONTROL... | Removed client properties in particular FOLLOW_REDIRECTS
| src/main/java/ca/gc/ip346/classification/resource/FoodsResource.java | Removed client properties in particular FOLLOW_REDIRECTS | <ide><path>rc/main/java/ca/gc/ip346/classification/resource/FoodsResource.java
<ide> } catch(KeyManagementException kme) {
<ide> }
<ide>
<del> Response response =
<del> ClientBuilder
<add> Response response = ClientBuilder
<ide> .newBuilder()
<ide> .sslContext(sslcontext)
<ide> .build()
<ide> .targ... | |
JavaScript | mit | 9260cf778bd7311e0339b3622bd69eeb3253c5d5 | 0 | xcv58/atom-autohide-tree-view,modulexcite/atom-autohide-tree-view,olmokramer/atom-autohide-tree-view | 'use babel';
import SubAtom from 'sub-atom';
// some generic functions
function logError(error) {
console.error(error.message);
}
function getConfig(key, ns = 'autohide-tree-view') {
return atom.config.get(`${ns}.${key}`);
}
function setConfig(key, value, ns = 'autohide-tree-view') {
atom.config.set(`${ns}.${k... | lib/autohide-tree-view.js | 'use babel';
import SubAtom from 'sub-atom';
// some generic functions
function logError(error) {
console.error(error.message);
}
function getConfig(key, ns = 'autohide-tree-view') {
return atom.config.get(`${ns}.${key}`);
}
function setConfig(key, value, ns = 'autohide-tree-view') {
atom.config.set(`${ns}.${k... | fix issue where show/hide delay were could be ignored
| lib/autohide-tree-view.js | fix issue where show/hide delay were could be ignored | <ide><path>ib/autohide-tree-view.js
<ide>
<ide> function enable() {
<ide> if(enabled) return;
<add> enabled = true;
<ide> disposables = new SubAtom();
<ide> // wait until the tree view package is activated
<ide> atom.packages.activatePackage('tree-view').then(function(treeViewPkg) {
<ide> return update(tr... | |
Java | apache-2.0 | 81bcd3c45ba102b7fdfc6f50873a22b4f5038b0f | 0 | stelar7/L4J8 | package no.stelar7.api.l4j8.basic.constants.types;
import java.util.Optional;
import java.util.stream.Stream;
public enum LeaguePositionType implements CodedEnum
{
/**
* MASTER+ rank gets this for some reason?
*/
APEX,
/**
* Top lane
*/
TOP,
/**
* Jungle
*/
JUNGLE... | src/main/java/no/stelar7/api/l4j8/basic/constants/types/LeaguePositionType.java | package no.stelar7.api.l4j8.basic.constants.types;
import java.util.Optional;
import java.util.stream.Stream;
public enum LeaguePositionType implements CodedEnum
{
/**
* Top lane
*/
TOP,
/**
* Jungle
*/
JUNGLE,
/**
* Mid lane
*/
MIDDLE,
/**
* Bottom lane
... | Add missing params to league position
| src/main/java/no/stelar7/api/l4j8/basic/constants/types/LeaguePositionType.java | Add missing params to league position | <ide><path>rc/main/java/no/stelar7/api/l4j8/basic/constants/types/LeaguePositionType.java
<ide>
<ide> public enum LeaguePositionType implements CodedEnum
<ide> {
<add> /**
<add> * MASTER+ rank gets this for some reason?
<add> */
<add> APEX,
<ide> /**
<ide> * Top lane
<ide> */
<ide> /**
... | |
Java | apache-2.0 | 973c76e4f29df4f8d8c817de5271b0711a721ef4 | 0 | cristianonicolai/guvnor,yurloc/guvnor,mswiderski/guvnor,wmedvede/guvnor,mbiarnes/guvnor,psiroky/guvnor,etirelli/guvnor,etirelli/guvnor,hxf0801/guvnor,adrielparedes/guvnor,wmedvede/guvnor,adrielparedes/guvnor,adrielparedes/guvnor,nmirasch/guvnor,nmirasch/guvnor,cristianonicolai/guvnor,porcelli-forks/guvnor,nmirasch/guvn... | /*
* Copyright 2011 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | guvnor-webapp/src/main/java/org/drools/guvnor/client/decisiontable/widget/VerticalDecisionTableHeaderWidget.java | /*
* Copyright 2011 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | fix analys column resizing bug
| guvnor-webapp/src/main/java/org/drools/guvnor/client/decisiontable/widget/VerticalDecisionTableHeaderWidget.java | fix analys column resizing bug | <ide><path>uvnor-webapp/src/main/java/org/drools/guvnor/client/decisiontable/widget/VerticalDecisionTableHeaderWidget.java
<ide> // Row 3 (Fact Fields)
<ide> if ( multiRowColumnOffset != -1 ) {
<ide> colOffsetIndex = resizeColumnIndex - multiRowColumnOffset;
<del> if ( colOffsetIn... | |
JavaScript | mit | error: pathspec 'role.wallbuilder.js' did not match any file(s) known to git
| a9db7e7bc1a4aec929326628f36dcfbeb369e82f | 1 | Ditchbuster/screeps | /*
* Module code goes here. Use 'module.exports' to export things:
* module.exports.thing = 'a thing';
*
* You can import it from another modules like this:
* var mod = require('role.wallbuilder');
* mod.thing == 'a thing'; // true
*/
var roleWallRepairer = {
/** @param {Creep} creep **/
run: function(... | role.wallbuilder.js | add creep to just build walls
copied file from repairer
| role.wallbuilder.js | add creep to just build walls | <ide><path>ole.wallbuilder.js
<add>/*
<add> * Module code goes here. Use 'module.exports' to export things:
<add> * module.exports.thing = 'a thing';
<add> *
<add> * You can import it from another modules like this:
<add> * var mod = require('role.wallbuilder');
<add> * mod.thing == 'a thing'; // true
<add> */
<add>
<a... | |
JavaScript | mit | f55838926f725776966220c457a136b46d0bb88c | 0 | Salesflare/hapi-plugin-mysql | 'use strict';
var MySQL = require('mysql');
var Hoek = require('hoek');
var pool = null;
var useTransactions = false;
var _rollback = function (server, connection, callback) {
connection.rollback(function () {
if (process.env.NODE_ENV !== 'prod' || process.argv[2] !== 'prod') server.log(['hapi-plugin-mysql', 'dat... | lib/index.js | 'use strict';
var MySQL = require('mysql');
var Hoek = require('hoek');
var pool = null;
var useTransactions = false;
var _rollback = function (server, connection, callback) {
connection.rollback(function () {
if (process.env.NODE_ENV !== 'prod' || process.argv[2] !== 'prod') server.log(['hapi-plugin-mysql', 'dat... | add connction on preAuth instead of preHandler to allow usage of the
connection for auth
| lib/index.js | add connction on preAuth instead of preHandler to allow usage of the connection for auth | <ide><path>ib/index.js
<ide> });
<ide>
<ide> // add data to request object
<del> server.ext('onPreHandler', function (request, reply) {
<add> server.ext('onPreAuth', function (request, reply) {
<ide> Hoek.assert(pool, 'No mysql pool found');
<ide>
<ide> pool.getConnection(function (err, connection) ... | |
JavaScript | agpl-3.0 | 04fe18d6414f0f6fec8c05b514b9c7494728bff3 | 0 | nextcloud/spreed,nextcloud/spreed,nextcloud/spreed | /** @global console */
(function(OCA, OC, $) {
'use strict';
OCA.Talk = OCA.Talk || {};
OCA.Talk.Signaling = {
Base: {},
Internal: {},
Standalone: {},
/**
* Loads the signaling settings.
*
* The signaling settings are set in the DOM element in which
* "createConnection" expects to find them; if the... | js/signaling.js | /** @global console */
(function(OCA, OC, $) {
'use strict';
OCA.Talk = OCA.Talk || {};
OCA.Talk.Signaling = {
Base: {},
Internal: {},
Standalone: {},
/**
* Loads the signaling settings.
*
* The signaling settings are set in the DOM element in which
* "createConnection" expects to find them; if the... | Rename "pending_sync" private property to "_pendingSyncRooms"
Signed-off-by: Daniel Calviño Sánchez <bd7629e975cc0e00ea7cda4ab6a120f2ee42ac1b@gmail.com>
| js/signaling.js | Rename "pending_sync" private property to "_pendingSyncRooms" | <ide><path>s/signaling.js
<ide> };
<ide>
<ide> OCA.Talk.Signaling.Standalone.prototype.syncRooms = function() {
<del> if (this.pending_sync) {
<add> if (this._pendingSyncRooms) {
<ide> // A sync request is already in progress, don't start another one.
<del> return this.pending_sync;
<add> return this._pendi... | |
Java | apache-2.0 | e0c7aaa00977e1b990991276346978848530b403 | 0 | apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena | /**
* 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... | jena-arq/src/main/java/org/apache/jena/riot/writer/JsonLDWriter.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... | toJsonLDJavaAPI: name and order of params changed | jena-arq/src/main/java/org/apache/jena/riot/writer/JsonLDWriter.java | toJsonLDJavaAPI: name and order of params changed | <ide><path>ena-arq/src/main/java/org/apache/jena/riot/writer/JsonLDWriter.java
<ide> * provides methods to set the values of these different Symbols that are used in controlling the writing of JSON-LD.
<ide> *
<ide> * Note that this class also provides a static method to convert jena RDF data to the corresponding o... | |
Java | apache-2.0 | 03438ca534deaf170a2a2c80323b29f7036a147b | 0 | chasehd/openwayback,JesseWeinstein/openwayback,chasehd/openwayback,kris-sigur/openwayback,ukwa/openwayback,ukwa/openwayback,SpiralsSeminaire/openwayback,bitzl/openwayback,nlnwa/openwayback,SpiralsSeminaire/openwayback,MohammedElsayyed/openwayback,kris-sigur/openwayback,bitzl/openwayback,bitzl/openwayback,chasehd/openwa... | package org.archive.wayback.resourceindex;
import static java.nio.file.StandardWatchEventKinds.ENTRY_CREATE;
import static java.nio.file.StandardWatchEventKinds.ENTRY_DELETE;
import static com.sun.nio.file.SensitivityWatchEventModifier.HIGH;
import static java.nio.file.FileVisitResult.CONTINUE;
import static jav... | wayback-core/src/main/java/org/archive/wayback/resourceindex/WatchedCDXSource.java | package org.archive.wayback.resourceindex;
import static java.nio.file.StandardWatchEventKinds.ENTRY_CREATE;
import static java.nio.file.StandardWatchEventKinds.ENTRY_DELETE;
import static java.nio.file.FileVisitResult.CONTINUE;
import static java.nio.file.FileVisitResult.SKIP_SUBTREE;
import java.io.IOExcepti... | Fix for WatchedCDXSource on Mac.
| wayback-core/src/main/java/org/archive/wayback/resourceindex/WatchedCDXSource.java | Fix for WatchedCDXSource on Mac. | <ide><path>ayback-core/src/main/java/org/archive/wayback/resourceindex/WatchedCDXSource.java
<ide>
<ide> import static java.nio.file.StandardWatchEventKinds.ENTRY_CREATE;
<ide> import static java.nio.file.StandardWatchEventKinds.ENTRY_DELETE;
<add>import static com.sun.nio.file.SensitivityWatchEventModifier.HIGH;
<ide... | |
Java | mit | 1736e79861a2b17923e0b4e5b35ffccd729b3026 | 0 | jhy/jsoup,offa/jsoup,jhy/jsoup,offa/jsoup | package org.jsoup.nodes;
import org.jsoup.Jsoup;
import org.jsoup.parser.Parser;
import javax.annotation.Nullable;
import java.io.IOException;
/**
A comment node.
@author Jonathan Hedley, jonathan@hedley.net */
public class Comment extends LeafNode {
/**
Create a new comment node.
@param data The co... | src/main/java/org/jsoup/nodes/Comment.java | package org.jsoup.nodes;
import org.jsoup.Jsoup;
import org.jsoup.parser.Parser;
import javax.annotation.Nullable;
import java.io.IOException;
/**
A comment node.
@author Jonathan Hedley, jonathan@hedley.net */
public class Comment extends LeafNode {
/**
Create a new comment node.
@param data The co... | Javadoc typo
| src/main/java/org/jsoup/nodes/Comment.java | Javadoc typo | <ide><path>rc/main/java/org/jsoup/nodes/Comment.java
<ide> }
<ide>
<ide> /**
<del> * Attempt to cast this comment to an XML Declaration note.
<add> * Attempt to cast this comment to an XML Declaration node.
<ide> * @return an XML declaration if it could be parsed as one, null otherwise.
<ide> ... | |
Java | apache-2.0 | 7f937d41ee2e99e6ea34033398781fc201f29cca | 0 | signed/intellij-community,allotria/intellij-community,salguarnieri/intellij-community,apixandru/intellij-community,signed/intellij-community,mglukhikh/intellij-community,suncycheng/intellij-community,apixandru/intellij-community,xfournet/intellij-community,ThiagoGarciaAlves/intellij-community,semonte/intellij-community... | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | python/src/com/jetbrains/python/inspections/PyMissingTypeHintsInspection.java | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Suggest to add hints only if there is something to add
| python/src/com/jetbrains/python/inspections/PyMissingTypeHintsInspection.java | Suggest to add hints only if there is something to add | <ide><path>ython/src/com/jetbrains/python/inspections/PyMissingTypeHintsInspection.java
<ide> if (flag) {
<ide> ASTNode nameNode = function.getNameNode();
<ide> if (nameNode != null) {
<del> holder.registerProblem(nameNode.getPsi(),
<add> holder.registerProbl... | |
JavaScript | mit | d8de916a61e6931d4c85f109b44e682484b6b04f | 0 | ExpoSEJS/ExpoSE,ExpoSEJS/ExpoSE,ExpoSEJS/ExpoSE | /* Copyright (c) Royal Holloway, University of London | Contact Blake Loring (blake@parsed.uk), Duncan Mitchell (Duncan.Mitchell.2015@rhul.ac.uk), or Johannes Kinder (johannes.kinder@rhul.ac.uk) for details or support | LICENSE.md for license details */
"use strict";
import ObjectHelper from './Utilities/ObjectHelper'... | Analyser/src/FunctionModels.js | /* Copyright (c) Royal Holloway, University of London | Contact Blake Loring (blake@parsed.uk), Duncan Mitchell (Duncan.Mitchell.2015@rhul.ac.uk), or Johannes Kinder (johannes.kinder@rhul.ac.uk) for details or support | LICENSE.md for license details */
"use strict";
import ObjectHelper from './Utilities/ObjectHelper'... | Count regular expressions
| Analyser/src/FunctionModels.js | Count regular expressions | <ide><path>nalyser/src/FunctionModels.js
<ide> }
<ide>
<ide> function symbolicHookRe(condition, hook) {
<del> return symbolicHook(condition, hook, !Config.regexEnabled);
<add> return symbolicHook(condition, function(env) {
<add> env.state.stats.seen('regex');
<add> hook.appl... | |
JavaScript | agpl-3.0 | 37a5b926ee89a5e653d2e0440019b3f6f4215ff9 | 0 | mcolom/ipolDevel,mcolom/ipolDevel,mcolom/ipolDevel,mcolom/ipolDevel | var clientApp = clientApp || {};
var editor = editor || {};
var helpers = clientApp.helpers || {};
var upload = clientApp.upload || {};
var zoomController = zoomController || {};
var scrollController = scrollController || {};
var inpaintingController = inpaintingController || {};
var editorBlobs;
var crop_info;
edito... | ipol_demo/clientApp/js/demo.editor.js | var clientApp = clientApp || {};
var editor = editor || {};
var helpers = clientApp.helpers || {};
var upload = clientApp.upload || {};
var zoomController = zoomController || {};
var scrollController = scrollController || {};
var inpaintingController = inpaintingController || {};
var editorBlobs;
var crop_info;
edito... | [clientApp] forbid preprocess will not allow cropping on inputs
| ipol_demo/clientApp/js/demo.editor.js | [clientApp] forbid preprocess will not allow cropping on inputs | <ide><path>pol_demo/clientApp/js/demo.editor.js
<ide> // Single blob sets controls
<ide> function loadSingleBlobControls($img) {
<ide> checkImageLoad($img[0].src).then(() => {
<del> if (ddl.inputs[0].type == "image") displayCrop($img)
<add> if (ddl.inputs[0].type == "image" && !ddl.inputs[0].forbid_preprocess) ... | |
Java | agpl-3.0 | b7fb2bf424e40e9f1478efdc9cc5329961665f10 | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | b2a1ca8a-2e5f-11e5-9284-b827eb9e62be | hello.java | b29c5c76-2e5f-11e5-9284-b827eb9e62be | b2a1ca8a-2e5f-11e5-9284-b827eb9e62be | hello.java | b2a1ca8a-2e5f-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>b29c5c76-2e5f-11e5-9284-b827eb9e62be
<add>b2a1ca8a-2e5f-11e5-9284-b827eb9e62be | |
Java | apache-2.0 | b805875be914e5cdb5d53e19f37961cf4c35c96e | 0 | apache/jackrabbit,apache/jackrabbit,apache/jackrabbit | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemManager.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 ... | JCR-3382 let getNode do a permission check when the item is in the item manager cache: applying patch by Frank van Lankvelt.
git-svn-id: 02b679d096242155780e1604e997947d154ee04a@1464059 13f79535-47bb-0310-9956-ffa450edef68
| jackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemManager.java | JCR-3382 let getNode do a permission check when the item is in the item manager cache: applying patch by Frank van Lankvelt. | <ide><path>ackrabbit-core/src/main/java/org/apache/jackrabbit/core/ItemManager.java
<ide> AbstractNodeData data = retrieveItem(id, parentId);
<ide> if (data == null) {
<ide> data = (AbstractNodeData) getItemData(id, null, permissionCheck);
<add> } else if (permissionCheck && !canRead(... | |
Java | apache-2.0 | 6f4c16fa2c8983fd9a598f9bb447be90d3b16e58 | 0 | xschildw/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,xschildw/Synapse-Repository-Services,zimingd/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services,hhu94/Synapse-Repo... | package org.sagebionetworks.client;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import org.json.JSONObject;
import org.sagebionetworks.client.exceptions.SynapseClientException;
import org.sagebionetworks.client.exceptions.SynapseException;
import org.sagebionetworks.repo.model.EntityId;
i... | client/synapseJavaClient/src/main/java/org/sagebionetworks/client/SynapseAdminClientImpl.java | package org.sagebionetworks.client;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import org.json.JSONObject;
import org.sagebionetworks.client.exceptions.SynapseClientException;
import org.sagebionetworks.client.exceptions.SynapseException;
import org.sagebionetworks.repo.model.EntityId;
i... | PLFM-2509
| client/synapseJavaClient/src/main/java/org/sagebionetworks/client/SynapseAdminClientImpl.java | PLFM-2509 | <ide><path>lient/synapseJavaClient/src/main/java/org/sagebionetworks/client/SynapseAdminClientImpl.java
<ide> }
<ide>
<ide> public SynapseAdminClientImpl(HttpClientProvider clientProvider, DataUploader dataUploader) {
<del> super(clientProvider, dataUploader);
<add> super(new SharedClientConnection(clientProvider... | |
Java | mit | 58e479411b6d7d08b13d5ae46c99ff12192e879c | 0 | simon04/opacclient,raphaelm/opacclient,raphaelm/opacclient,johan12345/opacclient,opacapp/opacclient,ruediger-w/opacclient,johan12345/opacclient,ruediger-w/opacclient,opacapp/opacclient,thesebas/opacclient,hurzl/opacclient,ruediger-w/opacclient,geomcmaster/opacclient,opacapp/opacclient,opacapp/opacclient,johan12345/opac... | package de.geeksfactory.opacclient.searchfields;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
* A DropdownSearchField allows the user to select from a list of values, e.g.
* library branches or ite... | opacclient/libopac/src/main/java/de/geeksfactory/opacclient/searchfields/DropdownSearchField.java | package de.geeksfactory.opacclient.searchfields;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
* A DropdownSearchField allows the user to select from a list of values, e.g.
* library branches or ite... | Fixed a NPE in DropdownSearchField
| opacclient/libopac/src/main/java/de/geeksfactory/opacclient/searchfields/DropdownSearchField.java | Fixed a NPE in DropdownSearchField | <ide><path>pacclient/libopac/src/main/java/de/geeksfactory/opacclient/searchfields/DropdownSearchField.java
<ide> JSONObject json = super.toJSON();
<ide> json.put("type", "dropdown");
<ide> JSONArray values = new JSONArray();
<add> if (dropdownValues == null) {
<add> dropdownVa... | |
Java | apache-2.0 | 96adbc3fbb3ef361f67d4a42467c6f2c629503c2 | 0 | chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq | /**
*
* Copyright 2005-2006 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java | /**
*
* Copyright 2005-2006 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | Fixing broker DurableConsumerCloseAndReconnectTest, subscriptions were not being added to the result array.
git-svn-id: 7f3df76e74c7ad56904d6048df705810748eb1a6@376856 13f79535-47bb-0310-9956-ffa450edef68
| activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java | Fixing broker DurableConsumerCloseAndReconnectTest, subscriptions were not being added to the result array. | <ide><path>ctivemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java
<ide> subscription.setSelector(rs.getString(1));
<ide> subscription.setSubcriptionName(rs.getString(2));
<ide> subscription.setClientId(rs.getString(3));
<add> ... | |
Java | apache-2.0 | dfb48bdc3904f7e8dab8f78a768e1a5b243793c3 | 0 | idea4bsd/idea4bsd,MichaelNedzelsky/intellij-community,ftomassetti/intellij-community,apixandru/intellij-community,jagguli/intellij-community,wreckJ/intellij-community,akosyakov/intellij-community,Lekanich/intellij-community,orekyuu/intellij-community,muntasirsyed/intellij-community,caot/intellij-community,orekyuu/intel... | /*
* 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... | plugins/git4idea/src/git4idea/checkin/GitCheckinEnvironment.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... | "Amend commit" should be non-focusable
| plugins/git4idea/src/git4idea/checkin/GitCheckinEnvironment.java | "Amend commit" should be non-focusable | <ide><path>lugins/git4idea/src/git4idea/checkin/GitCheckinEnvironment.java
<ide> import com.intellij.openapi.vcs.ui.RefreshableOnComponent;
<ide> import com.intellij.openapi.vfs.VirtualFile;
<ide> import com.intellij.ui.GuiUtils;
<add>import com.intellij.ui.NonFocusableCheckBox;
<ide> import com.intellij.util.ArrayUtil... | |
Java | agpl-3.0 | b6efb9dd4160025e87c379c5d66a7b65c0ee7b01 | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | f2ad8d52-2e60-11e5-9284-b827eb9e62be | hello.java | f2a82c54-2e60-11e5-9284-b827eb9e62be | f2ad8d52-2e60-11e5-9284-b827eb9e62be | hello.java | f2ad8d52-2e60-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>f2a82c54-2e60-11e5-9284-b827eb9e62be
<add>f2ad8d52-2e60-11e5-9284-b827eb9e62be | |
Java | apache-2.0 | 1895864d387894802699c4b0ba2c29977941b125 | 0 | shelsonjava/netty,gerdriesselmann/netty,bigheary/netty,firebase/netty,wuyinxian124/netty,huuthang1993/netty,moyiguket/netty,yonglehou/netty-1,nmittler/netty,jdivy/netty,zxhfirefox/netty,lugt/netty,MediumOne/netty,satishsaley/netty,Apache9/netty,hgl888/netty,sameira/netty,chanakaudaya/netty,timboudreau/netty,shism/netty... | /*
* JBoss, Home of Professional Open Source
* Copyright 2005-2008, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the... | src/main/java/org/jboss/netty/channel/socket/http/HttpTunnelingSessionListener.java | /*
* JBoss, Home of Professional Open Source
* Copyright 2005-2008, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the... | Code style
| src/main/java/org/jboss/netty/channel/socket/http/HttpTunnelingSessionListener.java | Code style | <ide><path>rc/main/java/org/jboss/netty/channel/socket/http/HttpTunnelingSessionListener.java
<ide> HttpSession session = event.getSession();
<ide> ClientBootstrap bootstrap = (ClientBootstrap) session.getServletContext().getAttribute(BOOTSTRAP_PROP);
<ide> Boolean streaming = (Boolean) session.... | |
Java | lgpl-2.1 | c3c59ed7afe018934c302591616cedf37ef16875 | 0 | xwiki/xwiki-commons,xwiki/xwiki-commons | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | xwiki-commons-core/xwiki-commons-job/src/main/java/org/xwiki/job/AbstractJob.java | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | Better protection
| xwiki-commons-core/xwiki-commons-job/src/main/java/org/xwiki/job/AbstractJob.java | Better protection | <ide><path>wiki-commons-core/xwiki-commons-job/src/main/java/org/xwiki/job/AbstractJob.java
<ide>
<ide> jobStarting();
<ide>
<del> Exception exception = null;
<add> Throwable error = null;
<ide> try {
<ide> start();
<del> } catch (Exception e) {
<del> this.l... | |
Java | agpl-3.0 | bfe3dca0805ee11cf403f09f1e25da1daf612fef | 0 | Asqatasun/Asqatasun,dzc34/Asqatasun,medsob/Tanaguru,Tanaguru/Tanaguru,Asqatasun/Asqatasun,medsob/Tanaguru,Asqatasun/Asqatasun,dzc34/Asqatasun,Tanaguru/Tanaguru,Tanaguru/Tanaguru,medsob/Tanaguru,medsob/Tanaguru,Asqatasun/Asqatasun,Tanaguru/Tanaguru,dzc34/Asqatasun,Asqatasun/Asqatasun,dzc34/Asqatasun,dzc34/Asqatasun | /*
* Tanaguru - Automated webpage assessment
* Copyright (C) 2008-2013 Open-S Company
*
* This file is part of Tanaguru.
*
* Tanaguru 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 vers... | rules/accessiweb2.2/src/test/java/org/opens/tanaguru/rules/accessiweb22/Aw22Rule11011Test.java | /*
* Tanaguru - Automated webpage assessment
* Copyright (C) 2008-2013 Open-S Company
*
* This file is part of Tanaguru.
*
* Tanaguru 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 vers... | aw22 : 11.1.1 implementation
| rules/accessiweb2.2/src/test/java/org/opens/tanaguru/rules/accessiweb22/Aw22Rule11011Test.java | aw22 : 11.1.1 implementation | <ide><path>ules/accessiweb2.2/src/test/java/org/opens/tanaguru/rules/accessiweb22/Aw22Rule11011Test.java
<ide>
<ide>
<ide> //----------------------------------------------------------------------
<del> //------------------------------2Failed-02------------------------------
<add> //-----... | |
JavaScript | apache-2.0 | 11c00745a7eb48134e5537181ac462eb250e7e40 | 0 | yp-engineering/marathon-ui,Kosta-Github/marathon-ui,watonyweng/marathon-ui,Kosta-Github/marathon-ui,quamilek/marathon-ui,Raffo/marathon-ui,mesosphere/marathon-ui,cribalik/marathon-ui,yp-engineering/marathon-ui,cribalik/marathon-ui,janisz/marathon-ui,watonyweng/marathon-ui,quamilek/marathon-ui,mesosphere/marathon-ui,Raf... | var _ = require("underscore");
var expect = require("chai").expect;
var React = require("react/addons");
var TestUtils = React.addons.TestUtils;
var config = require("../js/config/config");
var AppsActions = require("../js/actions/AppsActions");
var AppComponent = require("../js/components/AppComponent");
var AppHealt... | src/test/apps.test.js | var _ = require("underscore");
var expect = require("chai").expect;
var React = require("react/addons");
var TestUtils = React.addons.TestUtils;
var config = require("../js/config/config");
var AppsActions = require("../js/actions/AppsActions");
var AppComponent = require("../js/components/AppComponent");
var AppHealt... | Extend tests to cover all HealthStatus states
| src/test/apps.test.js | Extend tests to cover all HealthStatus states | <ide><path>rc/test/apps.test.js
<ide> expect(msg).to.equal("Warning: Health check 'HTTP /' failed.");
<ide> });
<ide>
<add> it("returns the right health message for tasks with unknown health", function () {
<add> var app = _.extend(appScheme, {
<add> id: "/test-app-1",
<add> status: AppStatus.RUNNI... | |
JavaScript | mit | e89654f9eb540d13d196465bbb2eb8b2542a84f3 | 0 | daanpape/grader,daanpape/grader | // View model for the courses page
function pageViewModel(gvm) {
// projecttitle
gvm.projecttitle = ko.observable("");
gvm.numberOfCompetencesToAdd = 0;
gvm.compSubcomp = new array();
// Page specific i18n bindings
gvm.title = ko.computed(function (){i18n.setLocale(gvm.lang()); ret... | js/projectViewModel.js | // View model for the courses page
function pageViewModel(gvm) {
// projecttitle
gvm.projecttitle = ko.observable("");
gvm.numberOfCompetencesToAdd = 0;
gvm.compSubcomp = new array();
// Page specific i18n bindings
gvm.title = ko.computed(function (){i18n.setLocale(gvm.lang()); ret... | projectpage
| js/projectViewModel.js | projectpage | <ide><path>s/projectViewModel.js
<ide> $(this).parent().parent().remove();
<ide> });
<ide>
<del> $(subcompPanelWrapper).addClass("subcompPanel panel-" + );
<add> $(subcompPanelWrapper).addClass("subcompPanel panel-");
<ide> $(subcompPanel).addClass("panel panel-default");
<ide> $(subcompPanel... | |
Java | agpl-3.0 | b40ead9937e894db7c1d8378f72a72f7c7cd735c | 0 | LibrePlan/libreplan,Marine-22/libre,dgray16/libreplan,Marine-22/libre,LibrePlan/libreplan,PaulLuchyn/libreplan,poum/libreplan,PaulLuchyn/libreplan,PaulLuchyn/libreplan,PaulLuchyn/libreplan,skylow95/libreplan,Marine-22/libre,poum/libreplan,poum/libreplan,PaulLuchyn/libreplan,skylow95/libreplan,skylow95/libreplan,LibrePl... | /*
* This file is part of ###PROJECT_NAME###
*
* Copyright (C) 2009 Fundación para o Fomento da Calidade Industrial e
* Desenvolvemento Tecnolóxico de Galicia
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License ... | navalplanner-webapp/src/main/java/org/navalplanner/web/planner/allocation/AllocationRow.java | /*
* This file is part of ###PROJECT_NAME###
*
* Copyright (C) 2009 Fundación para o Fomento da Calidade Industrial e
* Desenvolvemento Tecnolóxico de Galicia
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License ... | ItEr39S16CUConfiguracionMaquinasItEr35S09: Renaming last to temporal and adding a method to get all temporal allocations from some rows
| navalplanner-webapp/src/main/java/org/navalplanner/web/planner/allocation/AllocationRow.java | ItEr39S16CUConfiguracionMaquinasItEr35S09: Renaming last to temporal and adding a method to get all temporal allocations from some rows | <ide><path>avalplanner-webapp/src/main/java/org/navalplanner/web/planner/allocation/AllocationRow.java
<ide> ResourcesPerDayModification modification = each
<ide> .toResourcesPerDayModification(task);
<ide> result.add(modification);
<del> each.setLast(modification.... | |
JavaScript | mit | 9d9105f0faa6ee1a3a65650094208e8ad760d84e | 0 | HexChronicle/Fwibble,HexChronicle/Fwibble | var React = require('react');
var ReactDOM = require('react-dom');
var ReactRouter = require('react-router');
var Link = ReactRouter.Link;
var Logo = require('./../../images/Fwibble-logo-cropped.png')
module.exports = React.createClass({
render: function() {
return (
<div className='navbar navbar-default n... | app/components/navbar/NavBar.js | var React = require('react');
var ReactDOM = require('react-dom');
var ReactRouter = require('react-router');
var Link = ReactRouter.Link;
var Logo = require('./../../images/Fwibble-logo-cropped.png')
module.exports = React.createClass({
render: function() {
return (
<div className='navbar navbar-default n... | fixed navbar logo issue
| app/components/navbar/NavBar.js | fixed navbar logo issue | <ide><path>pp/components/navbar/NavBar.js
<ide> <div className='navbar navbar-default navbar-static-top'>
<ide> <div className='container-fluid'>
<ide> <div className='navbar-header'>
<del> <div><img src={Logo} width='120px' alt="Fwibble" className="img-responsive"/></div>
<add> ... | |
Java | mit | 4c5e6f2c9bf3a2ce9bd4439f6cc8b1a9ccee7dab | 0 | cs2103aug2014-t09-4j/main | package bakatxt.core;
import java.util.ArrayList;
import java.util.LinkedList;
import bakatxt.gui.BakaUI;
import bakatxt.international.BakaTongue;
public class BakaProcessor {
private static String COMMAND_EDIT = "EDIT";
private static String COMMAND_ADD = "ADD";
private static String SPACE = " ";
p... | src/bakatxt/core/BakaProcessor.java | package bakatxt.core;
import java.util.ArrayList;
import java.util.LinkedList;
import bakatxt.gui.BakaUI;
import bakatxt.international.BakaTongue;
public class BakaProcessor {
private static String COMMAND_EDIT = "EDIT";
private static String COMMAND_ADD = "ADD";
private static String SPACE = " ";
p... | Bug Fix: some commands result in nothing displayed
| src/bakatxt/core/BakaProcessor.java | Bug Fix: some commands result in nothing displayed | <ide><path>rc/bakatxt/core/BakaProcessor.java
<ide> task = _parser.add(COMMAND_ADD + SPACE + input);
<ide> inputCmd = new UserAction(COMMAND_ADD, task);
<ide> boolean isSuccessful = _ra.execute(inputCmd);
<add> _displayTasks = _database.getAllUndoneTasks();
<ide> return isSuccessf... | |
Java | apache-2.0 | f405750e254a45041952bfaeac62b2e6a81a0453 | 0 | SerCeMan/intellij-community,FHannes/intellij-community,hurricup/intellij-community,hurricup/intellij-community,hurricup/intellij-community,jagguli/intellij-community,fnouama/intellij-community,salguarnieri/intellij-community,TangHao1987/intellij-community,alphafoobar/intellij-community,tmpgit/intellij-community,samthor... | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/platform-api/src/com/intellij/util/net/HttpConfigurable.java | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | cleanup
| platform/platform-api/src/com/intellij/util/net/HttpConfigurable.java | cleanup | <ide><path>latform/platform-api/src/com/intellij/util/net/HttpConfigurable.java
<ide> return ServiceManager.getService(HttpConfigurable.class);
<ide> }
<ide>
<del> public static boolean editConfigurable(JComponent parent) {
<add> public static boolean editConfigurable(@Nullable JComponent parent) {
<ide> r... | |
Java | bsd-3-clause | 6f330762ddfd5bb77f00c60dba3f973f5cf3790c | 0 | uzen/byteseek | /*
* Copyright Matt Palmer 2009-2011, All rights reserved.
*
*/
package net.domesdaybook.matcher.sequence.searcher;
import net.domesdaybook.reader.ByteReader;
import net.domesdaybook.matcher.sequence.SequenceMatcher;
import net.domesdaybook.matcher.singlebyte.SingleByteMatcher;
import net.domesdaybook.searcher.Sea... | src/net/domesdaybook/matcher/sequence/searcher/BoyerMooreHorspoolSearcher.java | /*
* Copyright Matt Palmer 2009-2011, All rights reserved.
*
*/
package net.domesdaybook.matcher.sequence.searcher;
import net.domesdaybook.reader.ByteReader;
import net.domesdaybook.matcher.sequence.SequenceMatcher;
import net.domesdaybook.matcher.singlebyte.SingleByteMatcher;
import net.domesdaybook.searcher.Sea... | Added some javadoc
| src/net/domesdaybook/matcher/sequence/searcher/BoyerMooreHorspoolSearcher.java | Added some javadoc | <ide><path>rc/net/domesdaybook/matcher/sequence/searcher/BoyerMooreHorspoolSearcher.java
<ide>
<ide>
<ide> /**
<del> *
<add> * BoyerMooreHorspoolSearcher searches for a sequence using the
<add> * Boyer-Moore-Horspool algorithm.
<add> *
<add> * http://en.wikipedia.org/wiki/Boyer%E2%80%93Moore%E2%80%93Horspool_algorit... | |
Java | apache-2.0 | adc94f317142c0432e37fe47fbce863467649fa0 | 0 | 52Jolynn/MyTv,52Jolynn/MyTv,52Jolynn/MyTv | package com.laudandjolynn.mytv.crawler;
/**
* @author: Laud
* @email: htd0324@gmail.com
* @date: 2015年4月22日 下午5:22:20
* @copyright: www.laudandjolynn.com
*/
public interface CrawlEventListener {
public void itemFound(CrawlEvent event);
}
| src/main/java/com/laudandjolynn/mytv/crawler/CrawlEventListener.java | package com.laudandjolynn.mytv.crawler;
/**
* @author: Laud
* @email: htd0324@gmail.com
* @date: 2015年4月22日 下午5:22:20
* @copyright: www.laudandjolynn.com
*/
public interface CrawlEventListener {
}
| add interface | src/main/java/com/laudandjolynn/mytv/crawler/CrawlEventListener.java | add interface | <ide><path>rc/main/java/com/laudandjolynn/mytv/crawler/CrawlEventListener.java
<ide> * @copyright: www.laudandjolynn.com
<ide> */
<ide> public interface CrawlEventListener {
<add> public void itemFound(CrawlEvent event);
<ide> } | |
Java | apache-2.0 | bdccd27de2df14ec4cbb6b8119ce5c0cbfb4201c | 0 | apache/felix-dev,apache/felix-dev,apache/felix-dev,apache/felix-dev | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | ipojo.arch/src/main/java/org/apache/felix/ipojo/arch/ArchCommandImpl.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... | Modified method invocation that was changed as a result of patch
FELIX-266.
git-svn-id: 4fefb534f2df272853cd9ed688fc456ba1c30243@527158 13f79535-47bb-0310-9956-ffa450edef68
| ipojo.arch/src/main/java/org/apache/felix/ipojo/arch/ArchCommandImpl.java | Modified method invocation that was changed as a result of patch FELIX-266. | <ide><path>pojo.arch/src/main/java/org/apache/felix/ipojo/arch/ArchCommandImpl.java
<ide> synchronized(this) {
<ide> for(int i=0; i < archiService.length; i++) {
<ide> InstanceDescription instance = archiService[i].getInstanceDescription();
<del> out.println("Instance : " + i... | |
Java | bsd-3-clause | 8e82c627e36aae3cab821ca1dc7c5dc96bc54257 | 0 | dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk | /*
* Copyright (c) 2017, University of Oslo
*
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of condition... | core/src/main/java/org/hisp/dhis/android/core/enrollment/note/Note.java | /*
* Copyright (c) 2017, University of Oslo
*
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of condition... | [ANDROSDK-417] Add jsonProperty annotations
| core/src/main/java/org/hisp/dhis/android/core/enrollment/note/Note.java | [ANDROSDK-417] Add jsonProperty annotations | <ide><path>ore/src/main/java/org/hisp/dhis/android/core/enrollment/note/Note.java
<ide> import android.database.Cursor;
<ide> import android.support.annotation.Nullable;
<ide>
<add>import com.fasterxml.jackson.annotation.JsonIgnore;
<ide> import com.fasterxml.jackson.annotation.JsonProperty;
<ide> import com.fasterxml... | |
Java | apache-2.0 | 14011223551836b040456fe3543ff9e68ca6c9da | 0 | GinaHsu/ud851-GinaExercises,GinaHsu/ud851-GinaExercises | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Lesson10-Hydration-Reminder/T10.05-Exercise-ChargingBroadcastReceiver/app/src/main/java/com/example/android/background/MainActivity.java | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Done T10.05-ChargingBroadcastReceiver
| Lesson10-Hydration-Reminder/T10.05-Exercise-ChargingBroadcastReceiver/app/src/main/java/com/example/android/background/MainActivity.java | Done T10.05-ChargingBroadcastReceiver | <ide><path>esson10-Hydration-Reminder/T10.05-Exercise-ChargingBroadcastReceiver/app/src/main/java/com/example/android/background/MainActivity.java
<ide> */
<ide> package com.example.android.background;
<ide>
<add>import android.content.BroadcastReceiver;
<add>import android.content.Context;
<ide> import android.conte... | |
Java | mit | 530f6220d7b9a5156df037ccfb0a7769401d0086 | 0 | furkansahin/team-heart-coders-public | package ch.epfl.sweng.swissaffinity.end_to_end;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import android.test.suitebuilder.annotation.LargeTest;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.junit.After;
impo... | SwissAffinity/app/src/androidTest/java/ch/epfl/sweng/swissaffinity/end_to_end/RegisterUserToEventTest.java | package ch.epfl.sweng.swissaffinity.end_to_end;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import android.test.suitebuilder.annotation.LargeTest;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.junit.Before;
imp... | End_to_end tests now have mock users.
| SwissAffinity/app/src/androidTest/java/ch/epfl/sweng/swissaffinity/end_to_end/RegisterUserToEventTest.java | End_to_end tests now have mock users. | <ide><path>wissAffinity/app/src/androidTest/java/ch/epfl/sweng/swissaffinity/end_to_end/RegisterUserToEventTest.java
<ide> import org.json.JSONArray;
<ide> import org.json.JSONException;
<ide> import org.json.JSONObject;
<add>import org.junit.After;
<ide> import org.junit.Before;
<ide> import org.junit.Ignore;
<ide> im... | |
Java | mit | 94d4c3e0d05dc5dd1de89f0c56685512307e0008 | 0 | jourdanrodrigues/controk-android | package com.example.jourdanrodrigues.controk;
import android.content.res.Configuration;
import android.os.Bundle;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.app.AppCompatActivity;
import android.view.MenuItem;
import android.view.View;
... | app/src/main/java/com/example/jourdanrodrigues/controk/MainActivity.java | package com.example.jourdanrodrigues.controk;
import android.content.res.Configuration;
import android.os.Bundle;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBarDrawerToggle;
import android.support.v7.app.AppCompatActivity;
import android.view.MenuItem;
import android.view.View;
... | :art: Improve code.
| app/src/main/java/com/example/jourdanrodrigues/controk/MainActivity.java | :art: Improve code. | <ide><path>pp/src/main/java/com/example/jourdanrodrigues/controk/MainActivity.java
<ide>
<ide> mMenuEntries = getResources().getStringArray(R.array.menu_entries);
<ide> mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
<add>
<ide> mDrawerList = (ListView) findViewById(R.id.left_d... | |
Java | apache-2.0 | 925e867050fbb2e2fce2b350ec947435faa75d06 | 0 | ImpactDevelopment/ClientAPI,ZeroMemes/ClientAPI | /*
* Copyright 2018 ImpactDevelopment
*
* 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... | src/main/java/clientapi/module/Module.java | /*
* Copyright 2018 ImpactDevelopment
*
* 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... | Remove abstract modifier from Module
| src/main/java/clientapi/module/Module.java | Remove abstract modifier from Module | <ide><path>rc/main/java/clientapi/module/Module.java
<ide> * @author Brady
<ide> * @since 1/19/2017
<ide> */
<del>public abstract class Module extends AbstractModule implements Taggable {
<add>public class Module extends AbstractModule implements Taggable {
<ide>
<ide> /**
<ide> * Reference to self-class | |
Java | apache-2.0 | 51edb8b024f73b56ad9295f59127ecc1de96c947 | 0 | GerritCodeReview/plugins_its-phabricator,GerritCodeReview/plugins_its-phabricator | // Copyright (C) 2017 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | src/main/java/com/googlesource/gerrit/plugins/its/phabricator/conduit/Conduit.java | // Copyright (C) 2017 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | Drop attachments from `maniphestSearch`
After the re-doing of `maniphestEdit`, the projects attachment of
`maniphestSearch` is no longer needed, so we drop it to avoid
unnecessary load of the Phabricator API.
Change-Id: Iee57abb3e60bb6c25214c57fa2989d221353c728
| src/main/java/com/googlesource/gerrit/plugins/its/phabricator/conduit/Conduit.java | Drop attachments from `maniphestSearch` | <ide><path>rc/main/java/com/googlesource/gerrit/plugins/its/phabricator/conduit/Conduit.java
<ide> public ManiphestSearch maniphestSearch(int taskId) throws ConduitException {
<ide> HashMap<String, Object> params = new HashMap<>();
<ide> params.put("constraints", ImmutableMap.of("ids", ImmutableList.of(taskId... | |
Java | apache-2.0 | 8aa61926f18fd14c0a9f1cb981a6aa1e65636c4a | 0 | VladiMihaylenko/omim,mpimenov/omim,darina/omim,darina/omim,matsprea/omim,milchakov/omim,mapsme/omim,rokuz/omim,milchakov/omim,mapsme/omim,mapsme/omim,darina/omim,darina/omim,milchakov/omim,mpimenov/omim,darina/omim,VladiMihaylenko/omim,matsprea/omim,milchakov/omim,VladiMihaylenko/omim,milchakov/omim,mapsme/omim,darina/... | package com.mapswithme.util.statistics;
import android.app.Activity;
import android.content.Context;
import android.location.Location;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Build;
import android.support.annotation.IntDef;
import android.support.annotation.NonNull;
im... | android/src/com/mapswithme/util/statistics/Statistics.java | package com.mapswithme.util.statistics;
import android.app.Activity;
import android.content.Context;
import android.location.Location;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.Build;
import android.support.annotation.IntDef;
import android.support.annotation.NonNull;
im... | [android] Manual cherry-pick(940d0e766beb26762e7f681db163ac6d15aedfb7) of server_error/auth_error separation for inaap validation statistics
| android/src/com/mapswithme/util/statistics/Statistics.java | [android] Manual cherry-pick(940d0e766beb26762e7f681db163ac6d15aedfb7) of server_error/auth_error separation for inaap validation statistics | <ide><path>ndroid/src/com/mapswithme/util/statistics/Statistics.java
<ide> return;
<ide>
<ide> int errorCode;
<del> if (status == ValidationStatus.NOT_VERIFIED)
<del> errorCode = 0;
<del> else if (status == ValidationStatus.SERVER_ERROR)
<del> errorCode = 2;
<del> else
<del> return;
<... | |
Java | lgpl-2.1 | ca3880fcd5a9c1122e3dd6397b8b2718831ac14d | 0 | alkacon/opencms-core,sbonoc/opencms-core,victos/opencms-core,MenZil/opencms-core,sbonoc/opencms-core,sbonoc/opencms-core,ggiudetti/opencms-core,victos/opencms-core,MenZil/opencms-core,mediaworx/opencms-core,gallardo/opencms-core,MenZil/opencms-core,it-tavis/opencms-core,mediaworx/opencms-core,it-tavis/opencms-core,gall... | /*
* 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-modules/org/opencms/workplace/tools/modules/CmsCloneModule.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... | Improved module cloning for adjusting container pages, delete module and
added option to change resource types system wide. | src-modules/org/opencms/workplace/tools/modules/CmsCloneModule.java | Improved module cloning for adjusting container pages, delete module and added option to change resource types system wide. | <ide><path>rc-modules/org/opencms/workplace/tools/modules/CmsCloneModule.java
<ide> import org.opencms.file.types.A_CmsResourceType;
<ide> import org.opencms.file.types.CmsResourceTypeFolder;
<ide> import org.opencms.file.types.CmsResourceTypeUnknown;
<add>import org.opencms.file.types.CmsResourceTypeXmlContainerPage;
... | |
Java | mit | 3279cd940d3d14cb33068a217a0e986888abd4cb | 0 | xxyy/xyc | /*
* Copyright (c) 2013 - 2015 xxyy (Philipp Nowak; devnull@nowak-at.net). All rights reserved.
*
* Any usage, including, but not limited to, compiling, running, redistributing, printing,
* copying and reverse-engineering is strictly prohibited without explicit written permission
* from the original author and m... | bukkit/src/main/java/io/github/xxyy/common/util/inventory/ItemStackFactory.java | /*
* Copyright (c) 2013 - 2015 xxyy (Philipp Nowak; devnull@nowak-at.net). All rights reserved.
*
* Any usage, including, but not limited to, compiling, running, redistributing, printing,
* copying and reverse-engineering is strictly prohibited without explicit written permission
* from the original author and m... | Add legacyData(byte) method to ItemStackFactory
| bukkit/src/main/java/io/github/xxyy/common/util/inventory/ItemStackFactory.java | Add legacyData(byte) method to ItemStackFactory | <ide><path>ukkit/src/main/java/io/github/xxyy/common/util/inventory/ItemStackFactory.java
<ide> }
<ide>
<ide> /**
<add> * @param newData the future legacy, byte data value for the product
<add> * @return This object for chanined calls
<add> */
<add> @SuppressWarnings("deprecation")
<add> @Dep... | |
Java | mit | 9782e7b7dbad24ae2eda080e4607eb265fa83eaa | 0 | AvaIre/AvaIre,AvaIre/AvaIre | package com.avairebot.orion.commands.utility;
import com.avairebot.orion.AppInfo;
import com.avairebot.orion.Orion;
import com.avairebot.orion.Statistics;
import com.avairebot.orion.cache.CacheType;
import com.avairebot.orion.chat.MessageType;
import com.avairebot.orion.contracts.commands.Command;
import com.avairebot... | src/main/java/com/avairebot/orion/commands/utility/StatsCommand.java | package com.avairebot.orion.commands.utility;
import com.avairebot.orion.AppInfo;
import com.avairebot.orion.Orion;
import com.avairebot.orion.Statistics;
import com.avairebot.orion.cache.CacheType;
import com.avairebot.orion.chat.MessageType;
import com.avairebot.orion.contracts.commands.Command;
import com.avairebot... | Fix stats command guild count in sharded mode
| src/main/java/com/avairebot/orion/commands/utility/StatsCommand.java | Fix stats command guild count in sharded mode | <ide><path>rc/main/java/com/avairebot/orion/commands/utility/StatsCommand.java
<ide> new MessageEmbed.Field("Library", "[JDA](https://github.com/DV8FromTheWorld/JDA)", true),
<ide> new MessageEmbed.Field("DB Queries run", getDatabaseQueriesStats(), true),
<ide> new Messag... | |
Java | apache-2.0 | d8de857c7dc5ad06d24026193805aa4e9214bece | 0 | torito/wisdom,evrignaud/wisdom,CRDNicolasBourbaki/wisdom,gdelafosse/wisdom,torito/wisdom,gdelafosse/wisdom,evrignaud/wisdom,cheleb/wisdom,cheleb/wisdom,wisdom-framework/wisdom,CRDNicolasBourbaki/wisdom,evrignaud/wisdom,gdelafosse/wisdom,cheleb/wisdom,wisdom-framework/wisdom,torito/wisdom,wisdom-framework/wisdom,wisdom-... | package org.ow2.chameleon.wisdom.maven.utils;
import org.apache.commons.exec.CommandLine;
import org.apache.commons.exec.DefaultExecutor;
import org.apache.commons.exec.ExecuteStreamHandler;
import org.apache.commons.exec.PumpStreamHandler;
import org.apache.maven.plugin.MojoExecutionException;
import org.ow2.chameleo... | wisdom-maven-plugin/src/main/java/org/ow2/chameleon/wisdom/maven/utils/WisdomExecutor.java | package org.ow2.chameleon.wisdom.maven.utils;
import org.apache.commons.exec.CommandLine;
import org.apache.commons.exec.DefaultExecutor;
import org.apache.commons.exec.ExecuteStreamHandler;
import org.apache.commons.exec.PumpStreamHandler;
import org.apache.maven.plugin.MojoExecutionException;
import org.ow2.chameleo... | Update chameleon version to 1.0.1
Signed-off-by: Clement Escoffier <6397137e57d1f87002962a37058f2a1c76fca9db@gmail.com>
| wisdom-maven-plugin/src/main/java/org/ow2/chameleon/wisdom/maven/utils/WisdomExecutor.java | Update chameleon version to 1.0.1 | <ide><path>isdom-maven-plugin/src/main/java/org/ow2/chameleon/wisdom/maven/utils/WisdomExecutor.java
<ide> * Launch the Wisdom Executor.
<ide> */
<ide> public class WisdomExecutor {
<del> public static final String CHAMELEON_VERSION = "1.0.0-SNAPSHOT";
<add> public static final String CHAMELEON_VERSION = "1.0.1... | |
Java | apache-2.0 | error: pathspec 'bundle/src/main/java/com/adobe/acs/samples/jobs/impl/SampleEventHandlerAndImmediateJobExecution.java' did not match any file(s) known to git
| 9f65dce5be716289c06a5a9fb3fe186c8e91e612 | 1 | Adobe-Consulting-Services/acs-aem-samples,Adobe-Consulting-Services/acs-aem-samples,Adobe-Consulting-Services/acs-aem-samples | package com.adobe.acs.samples.jobs.impl;
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Properties;
import org.apache.felix.scr.annotations.Property;
import org.apache.felix.scr.annotations.Reference;
import org.apache.felix.scr.annotations.Service;
import org.apache.sling.a... | bundle/src/main/java/com/adobe/acs/samples/jobs/impl/SampleEventHandlerAndImmediateJobExecution.java | Sample Event Handler and Immediate Job Execution sample
| bundle/src/main/java/com/adobe/acs/samples/jobs/impl/SampleEventHandlerAndImmediateJobExecution.java | Sample Event Handler and Immediate Job Execution sample | <ide><path>undle/src/main/java/com/adobe/acs/samples/jobs/impl/SampleEventHandlerAndImmediateJobExecution.java
<add>package com.adobe.acs.samples.jobs.impl;
<add>
<add>import org.apache.felix.scr.annotations.Component;
<add>import org.apache.felix.scr.annotations.Properties;
<add>import org.apache.felix.scr.annotations... | |
Java | apache-2.0 | 87722056926bc167d1bf61a45b7d5116e58b81da | 0 | zangsir/ANNIS,zangsir/ANNIS,pixeldrama/ANNIS,korpling/ANNIS,pixeldrama/ANNIS,amir-zeldes/ANNIS,zangsir/ANNIS,zangsir/ANNIS,amir-zeldes/ANNIS,amir-zeldes/ANNIS,zangsir/ANNIS,pixeldrama/ANNIS,zangsir/ANNIS,amir-zeldes/ANNIS,korpling/ANNIS,pixeldrama/ANNIS,korpling/ANNIS,korpling/ANNIS,amir-zeldes/ANNIS,korpling/ANNIS,pix... | /*
* Copyright 2011 Corpuslinguistic working group Humboldt University Berlin.
*
* 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
*
*... | annis-gui/src/main/java/annis/gui/paging/PagingComponent.java | /*
* Copyright 2011 Corpuslinguistic working group Humboldt University Berlin.
*
* 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
*
*... | Restrict the characters of the "Result for:" label in the result view panel.
| annis-gui/src/main/java/annis/gui/paging/PagingComponent.java | Restrict the characters of the "Result for:" label in the result view panel. | <ide><path>nnis-gui/src/main/java/annis/gui/paging/PagingComponent.java
<ide> }
<ide> }
<ide>
<add> /**
<add> * Cuts off long queries. Actually they are restricted to 50 characters. The
<add> * full query is available with descriptions (tooltip in gui)
<add> *
<add> * @param text the query to display in... | |
JavaScript | agpl-3.0 | 20a1fba82c3e2bf5127d426441f5ba6e11730d18 | 0 | cnedDI/AccessiDys,cnedDI/AccessiDys,AccessiDys/AccessiDys,AccessiDys/AccessiDys | /* File: apercu.js
*
* Copyright (c) 2013-2016
* Centre National d’Enseignement à Distance (Cned), Boulevard Nicephore Niepce, 86360 CHASSENEUIL-DU-POITOU, France
* (direction-innovation@cned.fr)
*
* GNU Affero General Public License (AGPL) version 3.0 or later version
*
* This file is part of a program which i... | test/spec/frontend/apercu.js | /* File: apercu.js
*
* Copyright (c) 2013-2016
* Centre National d’Enseignement à Distance (Cned), Boulevard Nicephore Niepce, 86360 CHASSENEUIL-DU-POITOU, France
* (direction-innovation@cned.fr)
*
* GNU Affero General Public License (AGPL) version 3.0 or later version
*
* This file is part of a program which i... | Unit test Improvements on apercu
| test/spec/frontend/apercu.js | Unit test Improvements on apercu | <ide><path>est/spec/frontend/apercu.js
<ide> deferred.resolve(pdfPage);
<ide> return deferred.promise;
<ide> },
<add> numPages: 1
<ide> },
<ide> pdfPage = {
<ide> error: false,
<ide> };
<id... | |
Java | mit | f1aa6c673d650f57daf9eb642dc2ddec8c804da4 | 0 | speaking-fish/java-sf-ssp | package com.speakingfish.protocol.ssp;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import static java.util.Arrays.asList;
import java.util.Map.Entry;
import com.speakingfish.common.annotation.Compatibility.*;
import com.speakingfish.common.function.A... | src/com/speakingfish/protocol/ssp/Types.java | package com.speakingfish.protocol.ssp;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import static java.util.Arrays.asList;
import java.util.Map.Entry;
import com.speakingfish.common.annotation.Compatibility.*;
import com.speakingfish.common.function.A... | +valueOf for Local | src/com/speakingfish/protocol/ssp/Types.java | +valueOf for Local | <ide><path>rc/com/speakingfish/protocol/ssp/Types.java
<ide> return (null == any) ? defaultValue : valueOf(any.item(name), defaultValue);
<ide> }
<ide>
<add> public static <C, T> T valueOf(LocalAny<C, ?> any, LocalNamed<C, T> name) {
<add> return valueOf(any, name, null);
<add> }
<add>
<id... | |
Java | apache-2.0 | eacfbaf990fd55339617e6ea6792cebabc3c18b3 | 0 | sarah-happy/happy-archive,sarah-happy/happy-archive,sarah-happy/happy-archive,sarah-happy/happy-archive,sarah-happy/happy-archive | package org.yi.happy.archive;
import java.io.PrintStream;
import java.util.List;
import org.yi.happy.archive.block.Block;
import org.yi.happy.archive.block.EncodedBlock;
import org.yi.happy.archive.block.parser.BlockParse;
import org.yi.happy.archive.block.parser.EncodedBlockParse;
import org.yi.happy.archive.command... | src/org/yi/happy/archive/VerifyMain.java | package org.yi.happy.archive;
import java.io.PrintStream;
import java.util.List;
import org.yi.happy.archive.block.Block;
import org.yi.happy.archive.block.EncodedBlock;
import org.yi.happy.archive.block.parser.BlockParse;
import org.yi.happy.archive.block.parser.EncodedBlockParse;
import org.yi.happy.archive.command... | clean up a comment. | src/org/yi/happy/archive/VerifyMain.java | clean up a comment. | <ide><path>rc/org/yi/happy/archive/VerifyMain.java
<ide> /**
<ide> * create, injecting the dependencies.
<ide> *
<del> * @param fileSystem
<del> * the file system to use.
<add> * @param files
<add> * the file store to use.
<ide> * @param out
<ide> * ... | |
Java | mit | 3aa6afee0902bc893475b7ebcc5f8ea6ade766e0 | 0 | rephormat/ripme,Wiiplay123/ripme_da_desc,metaprime/ripme,cyian-1756/ripme,metaprime/ripme,metaprime/ripme,sleaze/ripme,rephormat/ripme,rephormat/ripme,4pr0n/ripme,4pr0n/ripme,EraYaN/ripme,sleaze/ripme,sleaze/ripme | package com.rarchives.ripme.ripper.rippers;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
... | src/main/java/com/rarchives/ripme/ripper/rippers/MotherlessRipper.java | package com.rarchives.ripme.ripper.rippers;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
... | getGID seems to be throwing errors on valid gallery urls. closes #39
| src/main/java/com/rarchives/ripme/ripper/rippers/MotherlessRipper.java | getGID seems to be throwing errors on valid gallery urls. closes #39 | <ide><path>rc/main/java/com/rarchives/ripme/ripper/rippers/MotherlessRipper.java
<ide>
<ide> @Override
<ide> public String getGID(URL url) throws MalformedURLException {
<del> Pattern p = Pattern.compile("^https?://(www\\.)?motherless\\.com/G([MVI][A-F0-9]{6,8}).*$");
<add> Pattern p = Pattern.co... | |
Java | apache-2.0 | 11946f19a204f0dd559ac99ab9cafb41accb2e82 | 0 | statsbiblioteket/newspaper-edition-records-maintainer,statsbiblioteket/newspaper-editionRecord-maintainer,statsbiblioteket/newspaper-edition-records-maintainer,statsbiblioteket/newspaper-editionRecord-maintainer | package dk.statsbiblioteket.medieplatform.newspaper.titleRecords;
import org.testng.annotations.Test;
import dk.statsbiblioteket.doms.central.connectors.EnhancedFedora;
import dk.statsbiblioteket.doms.central.connectors.fedora.structures.FedoraRelation;
import dk.statsbiblioteket.medieplatform.autonomous.Item;
import... | src/test/java/dk/statsbiblioteket/medieplatform/newspaper/titleRecords/RunnableTitleRecordRelationsMaintainerTest.java | package dk.statsbiblioteket.medieplatform.newspaper.titleRecords;
import junit.framework.TestCase;
import dk.statsbiblioteket.doms.central.connectors.EnhancedFedora;
import dk.statsbiblioteket.doms.central.connectors.fedora.structures.FedoraRelation;
import dk.statsbiblioteket.medieplatform.autonomous.Item;
import dk... | Update test to TestNG
| src/test/java/dk/statsbiblioteket/medieplatform/newspaper/titleRecords/RunnableTitleRecordRelationsMaintainerTest.java | Update test to TestNG | <ide><path>rc/test/java/dk/statsbiblioteket/medieplatform/newspaper/titleRecords/RunnableTitleRecordRelationsMaintainerTest.java
<ide> package dk.statsbiblioteket.medieplatform.newspaper.titleRecords;
<ide>
<del>import junit.framework.TestCase;
<add>import org.testng.annotations.Test;
<ide>
<ide> import dk.statsbibli... | |
Java | mit | 194374322fa0bc55f3f283c285dc09bb9b1b83e7 | 0 | picpromusic/incubator,picpromusic/incubator | package incubator.cfa;
import incubator.cfa.jdk.Accessor;
import java.lang.invoke.CallSite;
import java.lang.invoke.ConstantCallSite;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles.Lookup;
import java.lang.invoke.MethodType;
import java.lang.reflect.Method;
import java.lang.reflect.Modifi... | jdk/compatibleFieldAccess/src/incubator/cfa/Bootstrapper.java | package incubator.cfa;
import incubator.cfa.jdk.Accessor;
import java.lang.invoke.CallSite;
import java.lang.invoke.ConstantCallSite;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles.Lookup;
import java.lang.invoke.MethodType;
import java.lang.reflect.Method;
import java.lang.reflect.Modifi... | remove some unused sysouts | jdk/compatibleFieldAccess/src/incubator/cfa/Bootstrapper.java | remove some unused sysouts | <ide><path>dk/compatibleFieldAccess/src/incubator/cfa/Bootstrapper.java
<ide> return new ConstantCallSite(ret);
<ide> } catch (Exception e) { // Should be ReflectiveOperationException |
<ide> // IllegalAccessException
<del> System.out.println("Expected MethodType:"+type);
<add>// System.out.println("Ex... | |
JavaScript | bsd-2-clause | 7800bb5da151414135682092d3d3166302d17ecb | 0 | unixpickle/graphalicious,unixpickle/graphalicious,unixpickle/graphalicious,unixpickle/graphalicious | // ScrollBar implements a user-controlled scrollbar.
// This will emit a 'change' event whenever the bar is scrolled.
function ScrollBar(colorScheme) {
EventEmitter.call(this);
this._track = document.createElement('div');
this._track.style.backgroundColor = ScrollBar.TRACK_COLOR;
this._track.style.width = '100... | src/scroll_bar.js | // ScrollBar implements a user-controlled scrollbar.
// This will emit a 'change' event whenever the bar is scrolled.
function ScrollBar(colorScheme) {
EventEmitter.call(this);
this._track = document.createElement('div');
this._track.style.backgroundColor = ScrollBar.TRACK_COLOR;
this._track.style.width = '100... | fixed potential bug with touch screen laptops
| src/scroll_bar.js | fixed potential bug with touch screen laptops | <ide><path>rc/scroll_bar.js
<ide> var mouseMove, mouseUp;
<ide>
<ide> mouseMove = function(e) {
<del> this._moveEventCallback(e.clientX);
<add> if (this._moveEventCallback !== null) {
<add> this._moveEventCallback(e.clientX);
<ide>
<del> // NOTE: this fixes a problem where the cursor becomes an ibea... | |
Java | apache-2.0 | 39e80e9159672d826070ec6be1964080fe4ec3c3 | 0 | vaskaloidis/va-isaac-gui,DongwonChoi/ISAAC,Apelon-VA/ISAAC,DongwonChoi/ISAAC,Apelon-VA/va-isaac-gui,vaskaloidis/va-isaac-gui,Apelon-VA/ISAAC,Apelon-VA/va-isaac-gui,DongwonChoi/ISAAC,Apelon-VA/ISAAC | /**
* Copyright Notice
*
* This is a work of the U.S. Government and is not subject to copyright
* protection in the United States. Foreign copyrights may apply.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtai... | import-export/src/main/java/gov/va/isaac/gui/dialog/InformationModelDetailsPane.java | /**
* Copyright Notice
*
* This is a work of the U.S. Government and is not subject to copyright
* protection in the United States. Foreign copyrights may apply.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtai... | Making text area read-only.
| import-export/src/main/java/gov/va/isaac/gui/dialog/InformationModelDetailsPane.java | Making text area read-only. | <ide><path>mport-export/src/main/java/gov/va/isaac/gui/dialog/InformationModelDetailsPane.java
<ide> builder.addRow("Information Model: ", modelNameLabel);
<ide> builder.addRow(new Separator());
<ide> builder.addRow(modelXmlTextArea);
<add>
<add> modelXmlTextArea.setEditable(false);
<ide>... | |
Java | apache-2.0 | 9b44549f911fa4cdb53ba457c14b892e348c0d90 | 0 | spefley/appinventor-sources,warren922/appinventor-sources,ewpatton/appinventor-sources,afmckinney/appinventor-sources,bxie/appinventor-sources,jsheldonmit/appinventor-sources,mit-dig/punya,gitars/appinventor-sources,tvomf/appinventor-mapps,ZachLamb/appinventor-sources,halatmit/appinventor-sources,FIRST-Tech-Challenge/a... | // -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the MIT License https://raw.github.com/mit-cml/app-inventor/master/mitlicense.txt
package com.google.appinventor.client;
import com.google.gwt.i18n.client.Mess... | appinventor/appengine/src/com/google/appinventor/client/OdeMessages.java | // -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the MIT License https://raw.github.com/mit-cml/app-inventor/master/mitlicense.txt
package com.google.appinventor.client;
import com.google.gwt.i18n.client.Mess... | Upper Case the English name of TimePicker
Have the TimePicker show up as TimePicker in the Designer Palette
instead of timePicker (starting with a lower case T).
Change-Id: Ic16a0acbcb56bee7995d38e5d476bab9d6d26670
| appinventor/appengine/src/com/google/appinventor/client/OdeMessages.java | Upper Case the English name of TimePicker | <ide><path>ppinventor/appengine/src/com/google/appinventor/client/OdeMessages.java
<ide> @Description("")
<ide> String textBoxComponentPallette();
<ide>
<del> @DefaultMessage("timePicker")
<add> @DefaultMessage("TimePicker")
<ide> @Description("")
<ide> String timePickerComponentPallette();
<ide> | |
JavaScript | mit | b688daaf237693f35d10b27380304d76e2f44a1f | 0 | ChillyFlashER/OpenInput | const { description } = require('../../package')
module.exports = {
base: 'Mallos.Input',
/**
* Ref:https://v1.vuepress.vuejs.org/config/#title
*/
title: 'Mallos.Input Docs',
/**
* Ref:https://v1.vuepress.vuejs.org/config/#description
*/
description: description,
/**
* Extra tags to be inj... | docs/.vuepress/config.js | const { description } = require('../../package')
module.exports = {
/**
* Ref:https://v1.vuepress.vuejs.org/config/#title
*/
title: 'Mallos.Input Docs',
/**
* Ref:https://v1.vuepress.vuejs.org/config/#description
*/
description: description,
/**
* Extra tags to be injected to the page HTML `<... | docs: update base url path
| docs/.vuepress/config.js | docs: update base url path | <ide><path>ocs/.vuepress/config.js
<ide> const { description } = require('../../package')
<ide>
<ide> module.exports = {
<add> base: 'Mallos.Input',
<add>
<ide> /**
<ide> * Ref:https://v1.vuepress.vuejs.org/config/#title
<ide> */ | |
Java | apache-2.0 | 0bddababba1a9127834a073c543a9ff13dd24e24 | 0 | reactor/reactive-streams-commons,reactor/reactive-streams-commons | package rsc.publisher;
import java.util.Objects;
import org.reactivestreams.Subscriber;
import rsc.flow.Cancellation;
import rsc.scheduler.Scheduler;
/**
* Publisher indicating a scalar/empty source that subscribes on the specified scheduler.
*
* @param <T>
*/
final class PublisherSubscribeOnValue<T> extends P... | src/main/java/rsc/publisher/PublisherSubscribeOnValue.java | package rsc.publisher;
import java.util.Objects;
import org.reactivestreams.Subscriber;
import rsc.flow.Cancellation;
import rsc.scheduler.Scheduler;
import rsc.util.EmptySubscription;
import rsc.util.ExceptionHelper;
/**
* Publisher indicating a scalar/empty source that subscribes on the specified scheduler.
*
... | Remove unused worker (and thus a worker leak) | src/main/java/rsc/publisher/PublisherSubscribeOnValue.java | Remove unused worker (and thus a worker leak) | <ide><path>rc/main/java/rsc/publisher/PublisherSubscribeOnValue.java
<ide>
<ide> import rsc.flow.Cancellation;
<ide> import rsc.scheduler.Scheduler;
<del>import rsc.util.EmptySubscription;
<del>import rsc.util.ExceptionHelper;
<ide>
<ide> /**
<ide> * Publisher indicating a scalar/empty source that subscribes on the ... | |
Java | apache-2.0 | d0bf7d2b11288a09ca8ce5faffbca7c965eb494f | 0 | amir-zeldes/ANNIS,zangsir/ANNIS,amir-zeldes/ANNIS,pixeldrama/ANNIS,amir-zeldes/ANNIS,korpling/ANNIS,zangsir/ANNIS,pixeldrama/ANNIS,amir-zeldes/ANNIS,zangsir/ANNIS,pixeldrama/ANNIS,pixeldrama/ANNIS,korpling/ANNIS,zangsir/ANNIS,zangsir/ANNIS,zangsir/ANNIS,korpling/ANNIS,amir-zeldes/ANNIS,korpling/ANNIS,korpling/ANNIS,pix... | /*
* Copyright 2011 Corpuslinguistic working group Humboldt University Berlin.
*
* 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
*
*... | annis-gui/src/main/java/annis/gui/querybuilder/EdgeWindow.java | /*
* Copyright 2011 Corpuslinguistic working group Humboldt University Berlin.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... | fix #280
The default operator for edges should be '.', not 'custom'
The description area (where custom appears) should be uneditable and greyed out, so as not to look like a text box (right now it's very tempting to type an operator there).
| annis-gui/src/main/java/annis/gui/querybuilder/EdgeWindow.java | fix #280 | <ide><path>nnis-gui/src/main/java/annis/gui/querybuilder/EdgeWindow.java
<ide>
<ide> cbOperator = new ComboBox();
<ide> cbOperator.setNewItemsAllowed(false);
<add> cbOperator.setTextInputAllowed(false);
<ide> cbOperator.setNullSelectionAllowed(true);
<ide> cbOperator.addItem(CUSTOM);
<ide> c... | |
JavaScript | mit | 0c030ba8f16b562e941bd36f91a0df9d45baa09b | 0 | jcopi/Selector_Library | if (!Object.assign) {
Object.assign = function (target) {
for (var i = 1; i < arguments.length; ++i) {
for (var key in arguments[i]) {
if (Object.prototype.hasOwnProperty(arguments[i], key)) {
target[key] = arguments[i][key];
}
... | selector.js | if (!Object.assign) {
Object.assign = function (target) {
for (var i = 1; i < arguments.length; ++i) {
for (var key in arguments[i]) {
if (Object.prototype.hasOwnProperty(arguments[i], key)) {
target[key] = arguments[i][key];
}
... | Changed Selector to es6 class
| selector.js | Changed Selector to es6 class | <ide><path>elector.js
<ide> return $.css(selector, parent);
<ide> }
<ide>
<del>function Selector (elements, parent) {
<del> if (window === this)
<del> return new Selector(elements);
<del>
<del> this.elements = elements;
<del> this.first = [...elements][0];
<del> this.parent = parent;
<del>}
<del... | |
Java | bsd-2-clause | 29eeab2f87188aeb95131fbb8c21b2ecbfbb8273 | 0 | dragondgold/MultiWork | package com.multiwork.andres;
import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlock.app.SherlockFragment;
import com.actionbarsherlock.app.SherlockFragmentActivity;
import com.protocolanalyzer.andres.LogicData;
import com.protocolanalyzer.andres.LogicData.Protocol;
import android.os.Bundle;
import ... | src/com/multiwork/andres/LogicAnalizerListFragment.java | package com.multiwork.andres;
import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlock.app.SherlockFragment;
import com.actionbarsherlock.app.SherlockFragmentActivity;
import com.protocolanalyzer.andres.LogicData;
import com.protocolanalyzer.andres.LogicData.Protocol;
import android.os.Bundle;
import ... | Resaltado del texto decodificado | src/com/multiwork/andres/LogicAnalizerListFragment.java | Resaltado del texto decodificado | <ide><path>rc/com/multiwork/andres/LogicAnalizerListFragment.java
<ide> import com.protocolanalyzer.andres.LogicData.Protocol;
<ide>
<ide> import android.os.Bundle;
<add>import android.text.Html;
<ide> import android.text.method.ScrollingMovementMethod;
<ide> import android.util.Log;
<ide> import android.view.LayoutIn... | |
Java | mit | e280dd8afb503a0fc1da4e5dba00734959302fa6 | 0 | dvla/vdr-core | package uk.gov.dvla.domain.portal;
import org.joda.time.DateTime;
import uk.gov.dvla.domain.DomainConfiguration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import uk.gov.dvla.domain.Message;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
public c... | domain/src/main/java/uk/gov/dvla/domain/portal/PortalDTO.java | package uk.gov.dvla.domain.portal;
import org.joda.time.DateTime;
import uk.gov.dvla.domain.DomainConfiguration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import uk.gov.dvla.domain.Message;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
public c... | Set new NonEndorseableOffence flag on Portal DTO's Endorsement record
| domain/src/main/java/uk/gov/dvla/domain/portal/PortalDTO.java | Set new NonEndorseableOffence flag on Portal DTO's Endorsement record | <ide><path>omain/src/main/java/uk/gov/dvla/domain/portal/PortalDTO.java
<ide> private Double fine;
<ide> private Integer noPoints;
<ide> private OtherSentence otherSentence;
<add> public Boolean nonEndorseableOffence;
<ide>
<ide> public Integer getId() {
<ide> return ... | |
JavaScript | mit | ebfe472bf9df42efa08c196a2fd2ada4a03bbad2 | 0 | hazio/meteor-counter-cache | Package.describe({
name: 'hazio:counter-cache',
summary: "Cache the counts of an associated collection",
version: "0.0.3",
git: "https://github.com/hazio/meteor-counter-cache.git"
});
Package.onUse(function(api) {
api.use([
'check@1.0.0',
'underscore@1.0.0',
'mongo@1.0.6',
'minimongo@3.5.6'
... | package.js | Package.describe({
name: 'hazio:counter-cache',
summary: "Cache the counts of an associated collection",
version: "0.0.3",
git: "https://github.com/hazio/meteor-counter-cache.git"
});
Package.onUse(function(api) {
api.use([
'check',
'underscore@1.0.0',
'mongo@1.0.6',
'minimongo'
]);
api.a... | package versions
| package.js | package versions | <ide><path>ackage.js
<ide>
<ide> Package.onUse(function(api) {
<ide> api.use([
<del> 'check',
<add> 'check@1.0.0',
<ide> 'underscore@1.0.0',
<ide> 'mongo@1.0.6',
<del> 'minimongo'
<add> 'minimongo@3.5.6'
<ide> ]);
<ide> api.add_files('counter-cache.js', ['client', 'server']);
<ide> api.expo... | |
Java | apache-2.0 | 139d95e6b0aebd7b18e18e0c91271569973fbc06 | 0 | jruesga/rview,jruesga/rview,jruesga/rview | /*
* Copyright (C) 2016 Jorge Ruesga
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | app/src/main/java/com/ruesga/rview/widget/DiffView.java | /*
* Copyright (C) 2016 Jorge Ruesga
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | Improve diffview redrawing
Signed-off-by: Jorge Ruesga <33f927344e079e00d3fa45d8833b04e735223eec@ruesga.com>
| app/src/main/java/com/ruesga/rview/widget/DiffView.java | Improve diffview redrawing | <ide><path>pp/src/main/java/com/ruesga/rview/widget/DiffView.java
<ide>
<ide> @Override
<ide> protected void onPostExecute(List<AbstractModel> model) {
<del> mDiffAdapter = new DiffAdapter(mDiffMode);
<del> mLayoutManager = mTmpLayoutManager;
<del> mRecyclerView.setLayo... | |
JavaScript | bsd-2-clause | e9710a238a9f480dabbb2f86f99fe36db0012423 | 0 | opbeat/opbeat-node,opbeat/opbeat-node | 'use strict'
var shimmer = require('shimmer')
var SERVER_FNS = ['on', 'addListener']
module.exports = function (http, agent) {
agent.logger.trace('shimming http.Server.prototype functions:', SERVER_FNS)
shimmer.massWrap(http.Server.prototype, SERVER_FNS, function (orig, name) {
return function (event, liste... | lib/instrumentation/modules/http.js | 'use strict'
var shimmer = require('shimmer')
var SERVER_FNS = ['on', 'addListener']
module.exports = function (http, agent) {
agent.logger.trace('shimming http.Server.prototype functions:', SERVER_FNS)
shimmer.massWrap(http.Server.prototype, SERVER_FNS, function (orig, name) {
return function (event, liste... | Group all transactions where the route could not be extracted
| lib/instrumentation/modules/http.js | Group all transactions where the route could not be extracted | <ide><path>ib/instrumentation/modules/http.js
<ide> trans.req = req
<ide>
<ide> res.once('finish', function () {
<add> var path
<add>
<ide> // Get proper route name from Express 4.x
<ide> if (req.route) {
<del> var path = req.route.path || req.route.regexp && req... | |
JavaScript | mit | 8a39e2becc2d6e25141cf95ceecaa09b08c99c89 | 0 | cofacts/rumors-site,cofacts/rumors-site | import { useRef, useState, forwardRef, memo } from 'react';
import { useRouter } from 'next/router';
import DateRangeIcon from '@material-ui/icons/DateRange';
import { makeStyles } from '@material-ui/core/styles';
import { ButtonGroup, Button, Menu, MenuItem } from '@material-ui/core';
import { goToUrlQueryAndResetPagi... | components/ListPage/TimeRange.js | import { useRef, useState, forwardRef, memo } from 'react';
import { useRouter } from 'next/router';
import DateRangeIcon from '@material-ui/icons/DateRange';
import { makeStyles } from '@material-ui/core/styles';
import { ButtonGroup, Button, Menu, MenuItem } from '@material-ui/core';
import { goToUrlQueryAndResetPagi... | Fix TimeRange "In 1 Month" option
Ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#date-math
| components/ListPage/TimeRange.js | Fix TimeRange "In 1 Month" option Ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#date-math | <ide><path>omponents/ListPage/TimeRange.js
<ide> { value: 'all', label: c('Time range dropdown').t`All` },
<ide> { value: 'now-1d/d', label: t`In 1 Day` },
<ide> { value: 'now-1w/d', label: t`In 1 Week` },
<del> { value: 'now-1m/d', label: t`In 1 Month` },
<add> { value: 'now-1M/d', label: t`In 1 Month` },
<ide... | |
JavaScript | mit | 434213a0b3722f097c49869ae5476a2a70b871ca | 0 | motorcyclejs/motorcyclejs,motorcyclejs/motorcyclejs,motorcyclejs/motorcyclejs | import Stream from 'most/lib/Stream'
import MulticastSource from 'most/lib/source/MulticastSource'
import forEach from 'fast.js/array/forEach'
const tryEvent =
(t, x, sink) => {
try {
sink.event(t, x)
} catch (e) {
sink.error(t, e)
}
}
const EventAdapter = function EventAdapter(// eslint-d... | dom/src/fromEvent.js | import Stream from 'most/lib/Stream'
import MulticastSource from 'most/lib/source/MulticastSource'
import forEach from 'fast.js/array/forEach'
const tryEvent =
(t, x, sink) => {
try {
sink.event(t, x)
} catch(e) {
sink.error(t, e)
}
}
const EventAdapter = function EventAdapter(// eslint-di... | style(fromEvent): fix spacing after catch
Fix eslint error
| dom/src/fromEvent.js | style(fromEvent): fix spacing after catch | <ide><path>om/src/fromEvent.js
<ide> (t, x, sink) => {
<ide> try {
<ide> sink.event(t, x)
<del> } catch(e) {
<add> } catch (e) {
<ide> sink.error(t, e)
<ide> }
<ide> } | |
Java | bsd-3-clause | c755f4b211c268ac286100c2ff75cee1cc7644b5 | 0 | ibr-cm/avrora,ibr-cm/avrora,ibr-cm/avrora | /**
* Copyright (c) 2013-2014, TU Braunschweig
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of ... | src/avrora/sim/platform/Inga.java | /**
* Copyright (c) 2013-2014, TU Braunschweig
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of ... | [inga] Correct LEDs for INGA platfrom
The INGA platform has exactly two controller-driven LEDs:
A green one and an orange one.
| src/avrora/sim/platform/Inga.java | [inga] Correct LEDs for INGA platfrom | <ide><path>rc/avrora/sim/platform/Inga.java
<ide> * the external (off-chip) devices to the platform.
<ide> */
<ide> private void addDevices() {
<del> LED red = new LED(sim, Terminal.COLOR_RED, "Red");
<ide> LED green = new LED(sim, Terminal.COLOR_GREEN, "Green");
<del> LED blue = new... | |
Java | mit | 9b0efdc81dbcee0dcabb29758b9e4c7b821ff28f | 0 | douggie/XChange | package org.knowm.xchange.bithumb;
import org.apache.commons.lang3.StringUtils;
import org.knowm.xchange.bithumb.dto.account.BithumbAccount;
import org.knowm.xchange.bithumb.dto.account.BithumbBalance;
import org.knowm.xchange.bithumb.dto.account.BithumbOrder;
import org.knowm.xchange.bithumb.dto.account.BithumbTransa... | xchange-bithumb/src/main/java/org/knowm/xchange/bithumb/BithumbAdapters.java | package org.knowm.xchange.bithumb;
import org.apache.commons.lang3.StringUtils;
import org.knowm.xchange.bithumb.dto.account.BithumbAccount;
import org.knowm.xchange.bithumb.dto.account.BithumbBalance;
import org.knowm.xchange.bithumb.dto.account.BithumbOrder;
import org.knowm.xchange.bithumb.dto.account.BithumbTransa... | Bithumb API Changes Fixes #2 - cleanup
| xchange-bithumb/src/main/java/org/knowm/xchange/bithumb/BithumbAdapters.java | Bithumb API Changes Fixes #2 - cleanup | <ide><path>change-bithumb/src/main/java/org/knowm/xchange/bithumb/BithumbAdapters.java
<ide> final List<LimitOrder> orders =
<ide> bithumbOrders.stream()
<ide> .map(BithumbAdapters::adaptOrder)
<del> .peek(order -> {})
<ide> .collect(Collectors.toList());
<ide> return ... | |
Java | apache-2.0 | 0d41a2cfde9f885500638191340c5360ab1cf932 | 0 | BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH | RobotControl/src/de/naoth/rc/componentsFx/CheckableTreeCell.java | package de.naoth.rc.componentsFx;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleObjectProperty;
import javafx.beans.value.ObservableValue;
import javafx.scene.control.CheckBox;
import javafx.scene.control.CheckBoxTreeItem;
import javafx.sc... | removed the old tree cell
| RobotControl/src/de/naoth/rc/componentsFx/CheckableTreeCell.java | removed the old tree cell | <ide><path>obotControl/src/de/naoth/rc/componentsFx/CheckableTreeCell.java
<del>package de.naoth.rc.componentsFx;
<del>
<del>import javafx.beans.property.BooleanProperty;
<del>import javafx.beans.property.ObjectProperty;
<del>import javafx.beans.property.SimpleObjectProperty;
<del>import javafx.beans.value.ObservableVa... | ||
Java | mit | 55886b9869cb682b5c86be53110e770cc8cad577 | 0 | rostykerei/cci | package nl.rostykerei.cci.ch04.q10;
import nl.rostykerei.cci.ch04.q02.MinimalTreeImpl;
import nl.rostykerei.cci.common.AbstractFactoryTest;
import nl.rostykerei.cci.datastructure.BinaryTreeNode;
import nl.rostykerei.cci.datastructure.impl.BinaryTreeNodeImpl;
import org.junit.Test;
import static org.junit.Assert.asser... | src/test/java/nl/rostykerei/cci/ch04/q10/CheckSubtreeAbstractTest.java | package nl.rostykerei.cci.ch04.q10;
import nl.rostykerei.cci.common.AbstractFactoryTest;
import nl.rostykerei.cci.datastructure.BinaryTreeNode;
import nl.rostykerei.cci.datastructure.impl.BinaryTreeNodeImpl;
import org.junit.Test;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
... | q4.10 new test
| src/test/java/nl/rostykerei/cci/ch04/q10/CheckSubtreeAbstractTest.java | q4.10 new test | <ide><path>rc/test/java/nl/rostykerei/cci/ch04/q10/CheckSubtreeAbstractTest.java
<ide> package nl.rostykerei.cci.ch04.q10;
<ide>
<add>import nl.rostykerei.cci.ch04.q02.MinimalTreeImpl;
<ide> import nl.rostykerei.cci.common.AbstractFactoryTest;
<ide> import nl.rostykerei.cci.datastructure.BinaryTreeNode;
<ide> import n... | |
Java | apache-2.0 | cd8c70b079425cfb099786d5e58aecae38486b00 | 0 | glawson6/box-java-sdk,itsmanishagarwal/box-java-sdk,TLuthra/box-java-sdk,sarattall/box-java-sdk,manywho/box-java-sdk,bgoldman/box-java-sdk,codyebberson/box-java-sdk,box/box-java-sdk,gcurtis/box-java-sdk | package com.box.sdk;
import java.net.URL;
import java.util.Iterator;
import com.eclipsesource.json.JsonObject;
/**
* Represents a set of Box users.
*/
public class BoxGroup extends BoxCollaborator {
private static final URLTemplate GROUPS_URL_TEMPLATE = new URLTemplate("groups");
private static final URLTe... | src/main/java/com/box/sdk/BoxGroup.java | package com.box.sdk;
import java.net.URL;
import java.util.Iterator;
import com.eclipsesource.json.JsonObject;
public class BoxGroup extends BoxCollaborator {
private static final URLTemplate GROUPS_URL_TEMPLATE = new URLTemplate("groups");
private static final URLTemplate GROUP_URL_TEMPLATE = new URLTemplat... | Add javadocs to BoxGroup
| src/main/java/com/box/sdk/BoxGroup.java | Add javadocs to BoxGroup | <ide><path>rc/main/java/com/box/sdk/BoxGroup.java
<ide>
<ide> import com.eclipsesource.json.JsonObject;
<ide>
<add>/**
<add> * Represents a set of Box users.
<add> */
<ide> public class BoxGroup extends BoxCollaborator {
<ide> private static final URLTemplate GROUPS_URL_TEMPLATE = new URLTemplate("groups");
<ide>... | |
Java | apache-2.0 | 7032a90fb8134ed093de83a29836fe94995973de | 0 | kensipe/logstash,triforkse/logstash-mesos,frankscholten/logstash,frankscholten/logstash,suppandi/logstash,suppandi/logstash,alex-glv/logstash,triforkse/logstash-mesos,kensipe/logstash,mesosphere/logstash,mesos/logstash,frankscholten/logstash,mesos/logstash,drewrobb/logstash,suppandi/logstash,mesosphere/logstash,kensipe... | package org.apache.mesos.logstash.executor;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import org.apache.mesos.logstash.executor.docker.ContainerizerClient;
import org.apache.mesos.logstash.executor.docker.DockerLogSteamManager;
import org.apache.mesos.logstash.executor.state.Docke... | executor/src/test/java/org/apache/mesos/logstash/executor/ConfigManagerTest.java | package org.apache.mesos.logstash.executor;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import org.apache.mesos.logstash.executor.docker.ContainerizerClient;
import org.apache.mesos.logstash.executor.docker.DockerLogSteamManager;
import org.apache.mesos.logstash.executor.state.Docke... | Fix broken tests
| executor/src/test/java/org/apache/mesos/logstash/executor/ConfigManagerTest.java | Fix broken tests | <ide><path>xecutor/src/test/java/org/apache/mesos/logstash/executor/ConfigManagerTest.java
<ide>
<ide> configManager.onConfigUpdated(LogType.DOCKER, frameworks.stream());
<ide>
<del> verify(logstash, times(1)).updateConfig(LogType.DOCKER, "bas-config\nfoo-config\nfoo-config");
<add> verify(logst... | |
Java | lgpl-2.1 | 98f28a4fd9414ce133a34c5da620e7062fdf5cd8 | 0 | tomck/intermine,kimrutherford/intermine,kimrutherford/intermine,drhee/toxoMine,elsiklab/intermine,Arabidopsis-Information-Portal/intermine,joshkh/intermine,justincc/intermine,JoeCarlson/intermine,drhee/toxoMine,justincc/intermine,tomck/intermine,Arabidopsis-Information-Portal/intermine,Arabidopsis-Information-Portal/in... | package org.intermine.metadata;
/*
* Copyright (C) 2002-2008 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.htm... | intermine/objectstore/main/src/org/intermine/metadata/Model.java | package org.intermine.metadata;
/*
* Copyright (C) 2002-2008 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.htm... | Checks if class in model is available are performed only if classes were generated.
| intermine/objectstore/main/src/org/intermine/metadata/Model.java | Checks if class in model is available are performed only if classes were generated. | <ide><path>ntermine/objectstore/main/src/org/intermine/metadata/Model.java
<ide> = new HashMap<Class, Set<ClassDescriptor>>();
<ide> private final Map<Class, Map<String, FieldDescriptor>> classToFieldDescriptorMap
<ide> = new HashMap<Class, Map<String, FieldDescriptor>>();
<add>
<add> private boo... | |
Java | apache-2.0 | d3f570179ec5bad07f40c57e722674d56f0d51d5 | 0 | linqs/psl,linqs/psl,linqs/psl | /*
* This file is part of the PSL software.
* Copyright 2011-2013 University of Maryland
*
* 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... | psl-core/src/main/java/edu/umd/cs/psl/util/database/Queries.java | /*
* This file is part of the PSL software.
* Copyright 2011-2013 University of Maryland
*
* 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... | One more fix for #7 #8
| psl-core/src/main/java/edu/umd/cs/psl/util/database/Queries.java | One more fix for #7 #8 | <ide><path>sl-core/src/main/java/edu/umd/cs/psl/util/database/Queries.java
<ide> break;
<ide> case Long:
<ide> if (rawArgs[i] instanceof Long)
<del> args[i] = new LongAttribute((Integer) rawArgs[i]);
<add> args[i] = new LongAttribute((Long) rawArgs[i]);
<ide> else
<ide> throw n... | |
Java | apache-2.0 | 5d8491cccb1550126d4cc0178056ecccbb853c90 | 0 | yanagishima/yanagishima,yanagishima/yanagishima,yanagishima/yanagishima,yanagishima/yanagishima | package yanagishima.servlet;
import me.geso.tinyorm.TinyORM;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import yanagishima.config.YanagishimaConfig;
import yanagishima.exception.HiveQueryErrorException;
import yanagishima.result.HiveQueryResult;
import yanagishima.row.Query;
import yanagishima.service.Hi... | src/main/java/yanagishima/servlet/HiveServlet.java | package yanagishima.servlet;
import me.geso.tinyorm.TinyORM;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import yanagishima.config.YanagishimaConfig;
import yanagishima.exception.HiveQueryErrorException;
import yanagishima.result.HiveQueryResult;
import yanagishima.row.Query;
import yanagishima.service.Hi... | remove back slash because it's not necessary in sparksql
| src/main/java/yanagishima/servlet/HiveServlet.java | remove back slash because it's not necessary in sparksql | <ide><path>rc/main/java/yanagishima/servlet/HiveServlet.java
<ide> String queryid = hiveQueryResult.getQueryId();
<ide> retVal.put("queryid", queryid);
<ide> retVal.put("headers", hiveQueryResult.getColumns());
<del> if(query.toLowerCase().i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.