lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | agpl-3.0 | 036510f6da0e70e57284b13fe04a1f1e3d736f6e | 0 | teyden/phenotips,JKereliuk/phenotips,teyden/phenotips,JKereliuk/phenotips,teyden/phenotips,phenotips/phenotips,danielpgross/phenotips,mjshepherd/phenotips,phenotips/phenotips,phenotips/phenotips,danielpgross/phenotips,tmarathe/phenotips,tmarathe/phenotips,veronikaslc/phenotips,alexhenrie/phenotips,itaiGershtansky/pheno... | /*
* 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... | components/patient-data/impl/src/main/java/org/phenotips/data/internal/PhenoTipsPatient.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... | [cleanup] Applied codestyle
| components/patient-data/impl/src/main/java/org/phenotips/data/internal/PhenoTipsPatient.java | [cleanup] Applied codestyle | <ide><path>omponents/patient-data/impl/src/main/java/org/phenotips/data/internal/PhenoTipsPatient.java
<ide> EntityType.DOCUMENT, Constants.CODE_SPACE_REFERENCE);
<ide>
<ide> /** used for generating JSON and reading from JSON. */
<del> protected static final String JSON_KEY_FEATURES = "features";
<add>... | |
Java | apache-2.0 | ec40b1652334fe8409547f4cef0f2e57d055b732 | 0 | radargun/radargun,vjuranek/radargun,Danny-Hazelcast/radargun,wburns/radargun,vjuranek/radargun,rmacor/radargun,wburns/radargun,mcimbora/radargun,vjuranek/radargun,rmacor/radargun,rhusar/radargun,rmacor/radargun,radargun/radargun,mcimbora/radargun,mcimbora/radargun,wburns/radargun,radargun/radargun,Danny-Hazelcast/radar... | package org.cachebench;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.cachebench.cluster.ClusterBarrier;
import org.cachebench.config.CacheWarmupConfig;
import org.cachebench.config.ConfigBuilder;
import org.cachebench.config.Configuration;
import org.cachebench.confi... | framework/src/main/java/org/cachebench/CacheBenchmarkRunner.java | package org.cachebench;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.cachebench.cluster.ClusterBarrier;
import org.cachebench.config.CacheWarmupConfig;
import org.cachebench.config.ConfigBuilder;
import org.cachebench.config.Configuration;
import org.cachebench.confi... | Support for local mode invocation
| framework/src/main/java/org/cachebench/CacheBenchmarkRunner.java | Support for local mode invocation | <ide><path>ramework/src/main/java/org/cachebench/CacheBenchmarkRunner.java
<ide> * @author Manik Surtani (manik@surtani.org)
<ide> * @version $Id: CacheBenchmarkRunner.java,v 1.1 2007/05/17 07:37:44 msurtani Exp $
<ide> */
<del>public class CacheBenchmarkRunner
<del>{
<add>public class CacheBenchmarkRunner {
<ide>
... | |
Java | mit | b87d78c673a48c6c207e29a14fb866193af42f60 | 0 | wn1/LNotes,wn1/LNotes | package ru.qdev.lnotes.ui.fragment;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Handler;
import android.os.Looper;
import android.support.annotation.AnyThread;
import android.support.annotation.Nullable;
import android.support.annotation.UiThread;
import android.support.v4... | app/src/main/java/ru/qdev/lnotes/ui/fragment/QDVNavigationDrawerFragment.java | package ru.qdev.lnotes.ui.fragment;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Handler;
import android.os.Looper;
import android.support.annotation.AnyThread;
import android.support.annotation.Nullable;
import android.support.annotation.UiThread;
import android.support.v4... | Refactoring and code design improved.
| app/src/main/java/ru/qdev/lnotes/ui/fragment/QDVNavigationDrawerFragment.java | Refactoring and code design improved. | <ide><path>pp/src/main/java/ru/qdev/lnotes/ui/fragment/QDVNavigationDrawerFragment.java
<ide> private ListView drawerListView;
<ide> private View fragmentContainerView;
<ide>
<del> QDVDbIteratorListViewAdapterExt<QDVDbFolderOrMenuItem> folderListAdapter;
<del> private QDVDbFolderOrMenuItem selectedFolder... | |
Java | apache-2.0 | 361a3698bcc09c7d506226ef38cf3e2dac324972 | 0 | apereo/cas,fogbeam/cas_mirror,apereo/cas,fogbeam/cas_mirror,apereo/cas,apereo/cas,rkorn86/cas,fogbeam/cas_mirror,pdrados/cas,rkorn86/cas,fogbeam/cas_mirror,pdrados/cas,apereo/cas,apereo/cas,fogbeam/cas_mirror,Jasig/cas,Jasig/cas,Jasig/cas,apereo/cas,pdrados/cas,pdrados/cas,rkorn86/cas,fogbeam/cas_mirror,pdrados/cas,rko... | package org.apereo.cas.authentication;
import org.apereo.cas.util.junit.EnabledIfPortOpen;
import org.junit.jupiter.api.Tag;
import org.springframework.test.context.TestPropertySource;
/**
* Unit test for {@link LdapAuthenticationHandler}.
* This test demonstrates using the AD type.
* Login name is {@code sAMAcco... | support/cas-server-support-ldap/src/test/java/org/apereo/cas/authentication/ActiveDirectorySamAccountNameLdapAuthenticationHandlerTests.java | package org.apereo.cas.authentication;
import org.apereo.cas.util.junit.EnabledIfPortOpen;
import org.junit.jupiter.api.Tag;
import org.springframework.test.context.TestPropertySource;
/**
* Unit test for {@link LdapAuthenticationHandler}.
* This test demonstrates using the AD type.
* Login name is {@code sAMAcco... | fix ldap tests
| support/cas-server-support-ldap/src/test/java/org/apereo/cas/authentication/ActiveDirectorySamAccountNameLdapAuthenticationHandlerTests.java | fix ldap tests | <ide><path>upport/cas-server-support-ldap/src/test/java/org/apereo/cas/authentication/ActiveDirectorySamAccountNameLdapAuthenticationHandlerTests.java
<ide> "cas.authn.ldap[0].dn-format=CAS\\\\%s",
<ide> "cas.authn.ldap[0].principalAttributeList=sAMAccountName,cn",
<ide> "cas.authn.ldap[0].enhance-with-entr... | |
Java | apache-2.0 | f219ee8c6a772c2a04cdb1b8f14bd0028060aa26 | 0 | lmdbjava/lmdbjava,phraktle/lmdbjava | /*
* Copyright 2016 The LmdbJava 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 appli... | src/main/java/org/lmdbjava/ByteBufferProxy.java | /*
* Copyright 2016 The LmdbJava 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 appli... | Reduce method visibility (users should use fields)
| src/main/java/org/lmdbjava/ByteBufferProxy.java | Reduce method visibility (users should use fields) | <ide><path>rc/main/java/org/lmdbjava/ByteBufferProxy.java
<ide> PROXY_OPTIMAL = getProxyOptimal();
<ide> }
<ide>
<del> public static BufferProxy<ByteBuffer> getProxyOptimal() {
<add> private static BufferProxy<ByteBuffer> getProxyOptimal() {
<ide> try {
<ide> return new UnsafeProxy();
<ide> } cat... | |
Java | agpl-3.0 | 2cc33f1657ea4c1db7b177df258645c4b3696e02 | 0 | telefonicaid/fiware-cygnus,telefonicaid/fiware-cygnus,telefonicaid/fiware-cygnus,telefonicaid/fiware-cygnus | /**
* Copyright 2014-2017 Telefonica Investigación y Desarrollo, S.A.U
*
* This file is part of fiware-cygnus (FIWARE project).
*
* fiware-cygnus 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, eith... | cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSISink.java | /**
* Copyright 2014-2017 Telefonica Investigación y Desarrollo, S.A.U
*
* This file is part of fiware-cygnus (FIWARE project).
*
* fiware-cygnus 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, eith... | fix accumulateByFixedEntityType
| cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSISink.java | fix accumulateByFixedEntityType | <ide><path>ygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSISink.java
<ide> } else {
<ide> if (enableNameMappings) {
<ide> destination = headers.get(NGSIConstants.FLUME_HEADER_MAPPED_SERVICE) + "_"
<del> + headers.get(NGSIConstants.F... | |
Java | agpl-3.0 | 9f3567c466a75ce72879c10c644fddd08fb556e2 | 0 | juanibdn/jPOS,juanibdn/jPOS,yinheli/jPOS,imam-san/jPOS-1,atancasis/jPOS,chhil/jPOS,c0deh4xor/jPOS,jpos/jPOS,sebastianpacheco/jPOS,sebastianpacheco/jPOS,barspi/jPOS,imam-san/jPOS-1,juanibdn/jPOS,c0deh4xor/jPOS,fayezasar/jPOS,atancasis/jPOS,poynt/jPOS,chhil/jPOS,poynt/jPOS,fayezasar/jPOS,yinheli/jPOS,jpos/jPOS,bharavi/jP... | /*
* jPOS Project [http://jpos.org]
* Copyright (C) 2000-2008 Alejandro P. Revilla
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your ... | jpos6/modules/jpos/src/org/jpos/iso/BCDInterpreter.java | /*
* jPOS Project [http://jpos.org]
* Copyright (C) 2000-2008 Alejandro P. Revilla
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your ... | Patch provided by Dr. Alexander Sahler - Thank you!
1) left-padding does not work. Input of "123" is encoded to {0x01, 0x23}
instead of {0xF1, 0x23}
2) right padding with byte arrays bigger than encoding length does not
work. Padding "123" with target array of size 4 leads to output: { 0x12,
0x30, 0x00, 0x0F}. Resul... | jpos6/modules/jpos/src/org/jpos/iso/BCDInterpreter.java | Patch provided by Dr. Alexander Sahler - Thank you! | <ide><path>pos6/modules/jpos/src/org/jpos/iso/BCDInterpreter.java
<ide> public void interpret(String data, byte[] b, int offset)
<ide> {
<ide> ISOUtil.str2bcd(data, leftPadded, b, offset);
<del> if (fPadded && !leftPadded && data.length()%2 == 1)
<del> b[b.length-1] |= (byte)(b[b.lengt... | |
JavaScript | mit | 73773644b77d5ce003c0e9e93b2e3b683e16853a | 0 | egovernment/eregistrations,egovernment/eregistrations,egovernment/eregistrations | // User Manager: Clients view
'use strict';
var _ = require('mano').i18n.bind('View: Client');
exports._parent = require('./manager');
exports['manager-account-clients'] = { class: { active: true } };
exports['manager-account-content'] = function () {
var clients = this.user.managedUsers;
section(a({... | view/manager-home.js | // User Manager: Clients view
'use strict';
var _ = require('mano').i18n.bind('View: Client');
exports._parent = require('./manager');
exports['manager-account-clients'] = { class: { active: true } };
exports['manager-account-content'] = function () {
var clients = this.user.managedUsers;
section({ c... | Fix class embedded
| view/manager-home.js | Fix class embedded | <ide><path>iew/manager-home.js
<ide> exports['manager-account-content'] = function () {
<ide> var clients = this.user.managedUsers;
<ide>
<del> section({ class: 'section-primary' },
<del> a({ href: url('new-client'), class: 'button-main', target: '_blank' },
<del> _("Add client")
<del> )
<add> section(a({ href... | |
Java | apache-2.0 | 3b4996d83b7f030212c8812ce2ee48af045ecbd6 | 0 | rhencke/buck,rhencke/buck,robbertvanginkel/buck,daedric/buck,tgummerer/buck,tgummerer/buck,1yvT0s/buck,JoelMarcey/buck,rmaz/buck,facebook/buck,luiseduardohdbackup/buck,Addepar/buck,OkBuilds/buck,facebook/buck,marcinkwiatkowski/buck,1yvT0s/buck,SeleniumHQ/buck,grumpyjames/buck,LegNeato/buck,kageiit/buck,raviagarwal7/buc... | /*
* Copyright 2015-present Facebook, 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... | src/com/facebook/buck/cxx/ClangPreprocessor.java | /*
* Copyright 2015-present Facebook, 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... | Fix for debugging issue with empty source file lines.
Summary: Bug fix: ignore empty lines in the preprocessor, since it messes up debugging.
Test Plan: None.
| src/com/facebook/buck/cxx/ClangPreprocessor.java | Fix for debugging issue with empty source file lines. | <ide><path>rc/com/facebook/buck/cxx/ClangPreprocessor.java
<ide> public Iterable<String> apply(String input) {
<ide> String remainder = input;
<ide> ImmutableList.Builder<String> processedLines = ImmutableList.builder();
<add> if (remainder.isEmpty()) {
<add> pr... | |
JavaScript | bsd-3-clause | d4ed1b1b40439c9abe448197ecd668cfcfebcbae | 0 | dwvanstone/buttonmen,dwvanstone/buttonmen,dwvanstone/buttonmen,dwvanstone/buttonmen,dwvanstone/buttonmen,dwvanstone/buttonmen | module("Overview", {
'setup': function() {
BMTestUtils.OverviewPre = BMTestUtils.getAllElements();
// Back up any properties that we might decide to replace with mocks
BMTestUtils.OverviewBackup = { };
BMTestUtils.CopyAllMethods(Overview, BMTestUtils.OverviewBackup);
BMTestUtils.ApiBackup = { };
... | test/src/ui/js/test_Overview.js | module("Overview", {
'setup': function() {
BMTestUtils.OverviewPre = BMTestUtils.getAllElements();
// Back up any properties that we might decide to replace with mocks
BMTestUtils.OverviewBackup = { };
BMTestUtils.CopyAllMethods(Overview, BMTestUtils.OverviewBackup);
BMTestUtils.ApiBackup = { };
... | Added QUnit stubs for missing tests
| test/src/ui/js/test_Overview.js | Added QUnit stubs for missing tests | <ide><path>est/src/ui/js/test_Overview.js
<ide> });
<ide> });
<ide>
<add>test("test_Overview.pageAddGameTableNew", function(assert) {
<add> stop();
<add> Overview.getOverview(function() {
<add> Overview.page = $('<div>');
<add> Overview.pageAddGameTableNew();
<add> assert.ok(true, "No special testing of p... | |
JavaScript | mit | caa9fc8b9fcb4013d8c29d6752100412a5d5d3cf | 0 | elijahmanor/cross-var | #!/usr/bin/env node --harmony
import spawn from "cross-spawn";
import os from "os";
import { exec } from "child_process";
import exit from 'exit';
function normalize( args, isWindows ) {
return args.map( arg => {
Object.keys( process.env )
.sort( ( x, y ) => x.length < y.length ) // sort by de... | src/index.js | #!/usr/bin/env node --harmony
import spawn from "cross-spawn";
import os from "os";
import { exec } from "child_process";
import exit from 'exit';
function normalize( args, isWindows ) {
return args.map( arg => {
Object.keys( process.env ).forEach( key => {
const regex = new RegExp( `\\$${ key... | Sort env vars by descending length to prevent partial replacement
Fixes #8 | src/index.js | Sort env vars by descending length to prevent partial replacement | <ide><path>rc/index.js
<ide>
<ide> function normalize( args, isWindows ) {
<ide> return args.map( arg => {
<del> Object.keys( process.env ).forEach( key => {
<del> const regex = new RegExp( `\\$${ key }|%${ key }%`, "i" );
<del> arg = arg.replace( regex, process.env[ key ] );
<del> ... | |
Java | epl-1.0 | 9e65ec2b9cdf2b6901f6395f89e8b6d84bbc1bcd | 0 | Iteration-3/Code,Iteration-3/Code | package model.entity;
import java.util.ArrayList;
import java.util.Collection;
import model.KeyPreferences;
import model.ability.Ability;
import model.ability.summoner.enchantment.Silence;
import model.area.TileCoordinate;
import model.slots.ItemManager;
import utilities.structuredmap.StructuredMap;
import view.Entit... | src/model/entity/Summoner.java | package model.entity;
import java.util.ArrayList;
import java.util.Collection;
import model.KeyPreferences;
import model.ability.Ability;
import model.ability.summoner.bane.Firebolt;
import model.ability.summoner.bane.LightBeam;
import model.ability.summoner.bane.ShadowBlast;
import model.ability.summoner.boon.HealBo... | OOps, fixed the build
| src/model/entity/Summoner.java | OOps, fixed the build | <ide><path>rc/model/entity/Summoner.java
<ide>
<ide> import model.KeyPreferences;
<ide> import model.ability.Ability;
<del>import model.ability.summoner.bane.Firebolt;
<del>import model.ability.summoner.bane.LightBeam;
<del>import model.ability.summoner.bane.ShadowBlast;
<del>import model.ability.summoner.boon.HealBoo... | |
Java | agpl-3.0 | 7f0a1468b6973388306de351f0b830ee4ecf3fed | 0 | o2oa/o2oa,o2oa/o2oa,o2oa/o2oa,o2oa/o2oa,o2oa/o2oa | package com.x.message.assemble.communicate;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Optional;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.persistence.EntityManager;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persi... | o2server/x_message_assemble_communicate/src/main/java/com/x/message/assemble/communicate/RestfulConsumeQueue.java | package com.x.message.assemble.communicate;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Optional;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.persistence.EntityManager;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persi... | 修改restful message 消息体.
| o2server/x_message_assemble_communicate/src/main/java/com/x/message/assemble/communicate/RestfulConsumeQueue.java | 修改restful message 消息体. | <ide><path>2server/x_message_assemble_communicate/src/main/java/com/x/message/assemble/communicate/RestfulConsumeQueue.java
<ide> RestfulConsumer consumer = gson.fromJson(message.getProperties().getConsumerJsonElement(),
<ide> RestfulConsumer.class);
<ide> String url = url(message, consumer);
<del> HttpCon... | |
Java | bsd-3-clause | e560418835481ffa6504c029d56cfa50a35d88d7 | 0 | team-worthwhile/worthwhile,team-worthwhile/worthwhile | package edu.kit.iti.formal.pse.worthwhile.prover;
import org.junit.Assert;
import org.junit.Test;
import edu.kit.iti.formal.pse.worthwhile.common.tests.TestASTProvider;
import edu.kit.iti.formal.pse.worthwhile.model.ast.ASTNode;
import edu.kit.iti.formal.pse.worthwhile.model.ast.AstFactory;
import edu.kit.iti.formal.... | implementierung/src/worthwhile.prover.tests/src/edu/kit/iti/formal/pse/worthwhile/prover/TransformProgramTest.java | package edu.kit.iti.formal.pse.worthwhile.prover;
import org.junit.Assert;
import org.junit.Test;
import edu.kit.iti.formal.pse.worthwhile.common.tests.TestASTProvider;
import edu.kit.iti.formal.pse.worthwhile.model.ast.ASTNode;
import edu.kit.iti.formal.pse.worthwhile.model.ast.Assignment;
import edu.kit.iti.formal.... | [prover.tests] Remove unused imports from TransformProgramTest
| implementierung/src/worthwhile.prover.tests/src/edu/kit/iti/formal/pse/worthwhile/prover/TransformProgramTest.java | [prover.tests] Remove unused imports from TransformProgramTest | <ide><path>mplementierung/src/worthwhile.prover.tests/src/edu/kit/iti/formal/pse/worthwhile/prover/TransformProgramTest.java
<ide>
<ide> import edu.kit.iti.formal.pse.worthwhile.common.tests.TestASTProvider;
<ide> import edu.kit.iti.formal.pse.worthwhile.model.ast.ASTNode;
<del>import edu.kit.iti.formal.pse.worthwhile... | |
Java | agpl-3.0 | 55792cab5dab6d0d21515ba36126d21ec91c401a | 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 | 3d11b05e-2e60-11e5-9284-b827eb9e62be | hello.java | 3d0c483a-2e60-11e5-9284-b827eb9e62be | 3d11b05e-2e60-11e5-9284-b827eb9e62be | hello.java | 3d11b05e-2e60-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>3d0c483a-2e60-11e5-9284-b827eb9e62be
<add>3d11b05e-2e60-11e5-9284-b827eb9e62be | |
Java | apache-2.0 | 9ece4a88a9994ba4350a3bfe4570a5797baca6d7 | 0 | spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework | /*
* Copyright 2002-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 requi... | org.springframework.expression/src/main/java/org/springframework/expression/spel/support/ReflectivePropertyAccessor.java | /*
* Copyright 2002-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 requi... | perform narrowing in reflective property accessor read methods as well
| org.springframework.expression/src/main/java/org/springframework/expression/spel/support/ReflectivePropertyAccessor.java | perform narrowing in reflective property accessor read methods as well | <ide><path>rg.springframework.expression/src/main/java/org/springframework/expression/spel/support/ReflectivePropertyAccessor.java
<ide> if (method != null) {
<ide> try {
<ide> ReflectionUtils.makeAccessible(method);
<del> return new TypedValue(method.invoke(target),invoker.typeDescriptor);
<add> Ob... | |
Java | apache-2.0 | 49552300f8ec5afde7fe5fdaeed9a681986792e0 | 0 | zerem/vax,ohmdrj/vax | package cz.req.ax;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.persistence.Id;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.*;
/**
* @author by Ondřej Buriánek, burianek@marbes.cz.
* @since 7.9.15
*/
public class... | src/main/java/cz/req/ax/ObjectIdentity.java | package cz.req.ax;
import javax.persistence.Id;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.*;
/**
* @author by Ondřej Buriánek, burianek@marbes.cz.
* @since 7.9.15
*/
public class ObjectIdentity {
static final Map<Class, Method> map... | Log exception - ObjectIdentity
| src/main/java/cz/req/ax/ObjectIdentity.java | Log exception - ObjectIdentity | <ide><path>rc/main/java/cz/req/ax/ObjectIdentity.java
<ide> package cz.req.ax;
<ide>
<add>
<add>import org.slf4j.Logger;
<add>import org.slf4j.LoggerFactory;
<ide>
<ide> import javax.persistence.Id;
<ide> import java.beans.PropertyDescriptor;
<ide> */
<ide> public class ObjectIdentity {
<ide>
<add> private stati... | |
Java | apache-2.0 | 804320b37b0f6b00f5aa21eb32a97211727202e0 | 0 | d3sw/conductor,d3sw/conductor,d3sw/conductor,d3sw/conductor,d3sw/conductor,d3sw/conductor | /**
* Copyright 2016 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | es5-persistence/src/main/java/com/netflix/conductor/dao/es5/index/ElasticSearch5DAO.java | /**
* Copyright 2016 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Fix for getTaskLogs where the wrong index name was used
| es5-persistence/src/main/java/com/netflix/conductor/dao/es5/index/ElasticSearch5DAO.java | Fix for getTaskLogs where the wrong index name was used | <ide><path>s5-persistence/src/main/java/com/netflix/conductor/dao/es5/index/ElasticSearch5DAO.java
<ide> QueryStringQueryBuilder stringQuery = QueryBuilders.queryStringQuery("*");
<ide> BoolQueryBuilder fq = QueryBuilders.boolQuery().must(stringQuery).must(filterQuery);
<ide>
<del> final SearchRequestBuilder s... | |
Java | apache-2.0 | 01f25617b05ac91a5f79373a24048ec131281753 | 0 | mtransitapps/ca-lethbridge-transit-bus-parser | package org.mtransit.parser.ca_lethbridge_transit_bus;
import org.apache.commons.lang3.StringUtils;
import org.mtransit.parser.CleanUtils;
import org.mtransit.parser.DefaultAgencyTools;
import org.mtransit.parser.MTLog;
import org.mtransit.parser.Pair;
import org.mtransit.parser.SplitUtils;
import org.mtransit.parser.... | src/main/java/org/mtransit/parser/ca_lethbridge_transit_bus/LethbridgeTransitBusAgencyTools.java | package org.mtransit.parser.ca_lethbridge_transit_bus;
import org.apache.commons.lang3.StringUtils;
import org.mtransit.parser.CleanUtils;
import org.mtransit.parser.DefaultAgencyTools;
import org.mtransit.parser.MTLog;
import org.mtransit.parser.Pair;
import org.mtransit.parser.SplitUtils;
import org.mtransit.parser.... | New URLs
| src/main/java/org/mtransit/parser/ca_lethbridge_transit_bus/LethbridgeTransitBusAgencyTools.java | New URLs | <ide><path>rc/main/java/org/mtransit/parser/ca_lethbridge_transit_bus/LethbridgeTransitBusAgencyTools.java
<ide> import java.util.regex.Pattern;
<ide>
<ide> // http://opendata.lethbridge.ca/
<del>// http://opendata.lethbridge.ca/datasets?keyword=GroupTransportation
<del>// http://opendata.lethbridge.ca/datasets?keywor... | |
Java | agpl-3.0 | a1416e60743b761cbfb5aa38bd13afbc9ce8b022 | 0 | akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow | /*
* Copyright (C) 2019 Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo FLOW.
*
* Akvo FLOW is free software: you can redistribute it and modify it under the terms of
* the GNU Affero General Public License (AGPL) as published by the Free Software Foundation,
* either version 3 of the License... | GAE/src/test/java/org/akvo/flow/util/FlowJsonObjectReaderTests.java | /*
* Copyright (C) 2019 Stichting Akvo (Akvo Foundation)
*
* This file is part of Akvo FLOW.
*
* Akvo FLOW is free software: you can redistribute it and modify it under the terms of
* the GNU Affero General Public License (AGPL) as published by the Free Software Foundation,
* either version 3 of the License... | [#2896] Correct parameters for test class assertions
* Review from @valllllll2000
| GAE/src/test/java/org/akvo/flow/util/FlowJsonObjectReaderTests.java | [#2896] Correct parameters for test class assertions * Review from @valllllll2000 | <ide><path>AE/src/test/java/org/akvo/flow/util/FlowJsonObjectReaderTests.java
<ide> } catch (IOException e) {
<ide> //
<ide> }
<del> assertEquals(testQuestionDto.getType(), QuestionDto.QuestionType.FREE_TEXT);
<del> assertEquals(testQuestionDto.getText(),"How many toilets are p... | |
JavaScript | mit | 896f5a97de1d39a7e5591116c27b84d109b0d520 | 0 | maryrosecook/codewithisla | ;(function(exports) {
var Isla, _, codeAnalyzer, nodeDescriber, expressionDescriber, mapper;
if(typeof module !== 'undefined' && module.exports) { // node
Isla = require('../node_modules/isla/src/isla.js').Isla;
_ = require("Underscore");
codeAnalyzer = require('../src/code-analyzer').codeAnalyzer;
... | src/text-helper.js | ;(function(exports) {
var Isla, _, codeAnalyzer, nodeDescriber, expressionDescriber, mapper;
if(typeof module !== 'undefined' && module.exports) { // node
Isla = require('../node_modules/isla/src/isla.js').Isla;
_ = require("Underscore");
codeAnalyzer = require('../src/code-analyzer').codeAnalyzer;
... | Formatting. | src/text-helper.js | Formatting. | <ide><path>rc/text-helper.js
<ide> _ = require("Underscore");
<ide> codeAnalyzer = require('../src/code-analyzer').codeAnalyzer;
<ide> nodeDescriber = require('../src/node-describer').nodeDescriber;
<del> expressionDescriber = require('../src/expression-describer').expressionDescriber;
<add> expressio... | |
Java | mit | a1f9c42ce278f7271779089e332b57e22ffb2035 | 0 | nbv3/voogasalad_CS308 | import com.syntacticsugar.vooga.authoring.editor.AuthoringEnvironment;
import com.syntacticsugar.vooga.gameplayer.view.implementation.StartingScreenManager;
import javafx.application.Application;
import javafx.stage.Stage;
public class Main extends Application {
public static void main(String[] args) {
launch(arg... | src/Main.java | import com.syntacticsugar.vooga.authoring.editor.AuthoringEnvironment;
import com.syntacticsugar.vooga.gameplayer.view.implementation.StartingScreenManager;
import javafx.application.Application;
import javafx.stage.Stage;
public class Main extends Application {
public static void main(String[] args) {
launch(arg... | Added commented line to test both authoring and gameplayer
| src/Main.java | Added commented line to test both authoring and gameplayer | <ide><path>rc/Main.java
<ide>
<ide> @Override
<ide> public void start(Stage stage) throws Exception {
<del> new AuthoringEnvironment();
<add>// new AuthoringEnvironment();
<add> new StartingScreenManager(stage);
<ide> }
<ide>
<ide> } | |
Java | apache-2.0 | 99d377df9f3b26c2396b9a0c07f5ee06dd3a12b1 | 0 | google/iosched,google/iosched,google/iosched | /*
* Copyright 2017 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | server/src/main/java/com/google/samples/apps/iosched/server/schedule/server/PingServiceManager.java | /*
* Copyright 2017 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | Remove static from scopes.
Enums don't allow static variables in their constructors.
Removing statick in the case of a singleton should be fine
since there is only one instance of the object anyway.
Change-Id: If8985831a1c505d6bfde5e3cae1881d0bbdd7e44
| server/src/main/java/com/google/samples/apps/iosched/server/schedule/server/PingServiceManager.java | Remove static from scopes. | <ide><path>erver/src/main/java/com/google/samples/apps/iosched/server/schedule/server/PingServiceManager.java
<ide> public enum PingServiceManager {
<ide> INSTANCE;
<ide>
<del> static final String[] SCOPES = {"https://www.googleapis.com/auth/userinfo.email"};
<add> final String[] SCOPES = {"https://www.googleapis.... | |
Java | apache-2.0 | 739e248190a9d76856c2b44aae3b758a839bd88d | 0 | Joasis/WeeklyFoodPlanner | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package control;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.net... | src/control/ServerHandler.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package control;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.net... | serverhandler | src/control/ServerHandler.java | serverhandler | <ide><path>rc/control/ServerHandler.java
<ide> public class ServerHandler {
<ide>
<ide> private Socket socket;
<del> private JSONArray json;
<add> private JSONArray jsonRecipies;
<ide>
<ide> public ServerHandler(Socket socket) {
<ide> this.socket = socket;
<ide> OutputStream ops = so... | |
Java | apache-2.0 | 6ee3019b038dc6b4eb7f601e3871e9e5ffb23270 | 0 | Biocodr/TomP2P,Biocodr/TomP2P | package net.tomp2p.connection;
import io.netty.channel.ChannelDuplexHandler;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelFutureListener;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelPromise;
import io.netty.util.concurrent.EventExecutor;
import java.util.conc... | core/src/main/java/net/tomp2p/connection/IdleStateHandlerTomP2P.java | package net.tomp2p.connection;
import io.netty.channel.ChannelDuplexHandler;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelFutureListener;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelPromise;
import io.netty.util.concurrent.EventExecutor;
import java.util.conc... | IdleStateHandlerTomP2P: remove unnecessary code
Signed-off-by: Christian Lüthold <b9b373b873c1721a3abbe8fcc2867c15b06d678d@gmail.com> | core/src/main/java/net/tomp2p/connection/IdleStateHandlerTomP2P.java | IdleStateHandlerTomP2P: remove unnecessary code | <ide><path>ore/src/main/java/net/tomp2p/connection/IdleStateHandlerTomP2P.java
<ide>
<ide> state = 1;
<ide>
<del> EventExecutor loop = ctx.executor();
<del>
<ide> lastReadTime = lastWriteTime = System.currentTimeMillis();
<ide>
<ide> if (allIdleTimeMillis > 0) {
<del> allIdl... | |
Java | apache-2.0 | ad66360e064d58c0445a763b9a63768745d3539d | 0 | DigitalPebble/storm-crawler,XciD/storm-crawler,anjackson/storm-crawler,jorgelbg/storm-crawler,anjackson/storm-crawler,foromer4/storm-crawler,DigitalPebble/storm-crawler,jorgelbg/storm-crawler,foromer4/storm-crawler,XciD/storm-crawler | /**
* Licensed to DigitalPebble Ltd under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* DigitalPebble licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this... | external/solr/src/main/java/com/digitalpebble/stormcrawler/solr/SolrConnection.java | /**
* Licensed to DigitalPebble Ltd under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* DigitalPebble licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this... | Use ConcurrentUpdateSolrClient; fixes #183
| external/solr/src/main/java/com/digitalpebble/stormcrawler/solr/SolrConnection.java | Use ConcurrentUpdateSolrClient; fixes #183 | <ide><path>xternal/solr/src/main/java/com/digitalpebble/stormcrawler/solr/SolrConnection.java
<ide> import org.apache.solr.client.solrj.SolrClient;
<ide> import org.apache.solr.client.solrj.SolrServerException;
<ide> import org.apache.solr.client.solrj.impl.CloudSolrClient;
<add>import org.apache.solr.client.solrj.impl... | |
JavaScript | mit | 7a49d86d3c2ce829806e8ff5b921f602404bbc0f | 0 | QuickGroup/QCObjects,QuickGroup/QCObjects | 'use strict';
Package('cl.quickcorp.components',[
Class('MarkdownComponent',Component,{
name:'markdowncomponent',
url:ComponentURI({
'COMPONENTS_BASE_PATH':Component.basePath,
'COMPONENT_NAME':'README',
'TPLEXTENSION':'md',
'TPL_SOURCE':'default' //here is always default in order to ge... | src/cl.quickcorp.components.js | 'use strict';
Package('cl.quickcorp.components',[
Class('MarkdownComponent',Component,{
name:'markdowncomponent',
url:'README.md',
tplsource:'none',
cached:false,
controller:null,
view:null,
templateHandler: 'MarkdownTemplateHandler',
_new_:function (o){
_super_('Component','_new... | README url
| src/cl.quickcorp.components.js | README url | <ide><path>rc/cl.quickcorp.components.js
<ide> Package('cl.quickcorp.components',[
<ide> Class('MarkdownComponent',Component,{
<ide> name:'markdowncomponent',
<del> url:'README.md',
<add> url:ComponentURI({
<add> 'COMPONENTS_BASE_PATH':Component.basePath,
<add> 'COMPONENT_NAME':'README',
<add> ... | |
JavaScript | apache-2.0 | f9de914da821fd3bc3bb0eb52fc9d547a9cc2aac | 0 | rlmv/gitbook-plugin-include |
var path = require('path');
var fs = require('fs');
var Q = require('q');
module.exports = {
book: {}, // we should be able to leave this out, but we get a
// "Cannot read property 'html' of undefined" error
hooks: {
"page:before": function(page) {
// page.raw is the path to the raw... | index.js |
var path = require('path');
var fs = require('fs');
var Q = require('q');
module.exports = {
book: {}, // we should be able to leave this out, but we get a
// "Cannot read property 'html' of undefined" error
hooks: {
"page:before": function(page) {
// page.raw is the path to the raw... | trim whitespace from included files
| index.js | trim whitespace from included files | <ide><path>ndex.js
<ide> page.content = page.content.replace(re, function(match, p1, p2) {
<ide> var filename = p1 || p2;
<ide> console.log("INCLUDING " + filename);
<del> return files[filename];
<add> return files[filename].toString().trim();
<ide> });
<ide> return page;
<ide> }) | |
JavaScript | apache-2.0 | 378a9136d6f1c55acb985adfee691286ccc9f393 | 0 | grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation | import React from 'react';
import ScrollableTabView from 'react-native-scrollable-tab-view';
import TabBar from './TabBar';
import Tweets from './Tweets';
import Follows from './Follows';
export default ({tweets, follows, stateNavigator}) => (
<ScrollableTabView
prerenderingSiblingsNumber={1}
renderTabBar={(... | NavigationReactNative/sample/twitter/Home.android.js | import React from 'react';
import ScrollableTabView from 'react-native-scrollable-tab-view';
import TabBar from './TabBar';
import Tweets from './Tweets';
import Follows from './Follows';
export default ({tweets, follows, stateNavigator}) => (
<ScrollableTabView renderTabBar={() => <TabBar stateNavigator={stateNavig... | Prerendered notifications
| NavigationReactNative/sample/twitter/Home.android.js | Prerendered notifications | <ide><path>avigationReactNative/sample/twitter/Home.android.js
<ide> import Follows from './Follows';
<ide>
<ide> export default ({tweets, follows, stateNavigator}) => (
<del> <ScrollableTabView renderTabBar={() => <TabBar stateNavigator={stateNavigator} />}>
<add> <ScrollableTabView
<add> prerenderingSiblingsNum... | |
JavaScript | mit | a12d9987f98f7808fb87efbcc12dca6a642fbc76 | 0 | pex-gl/pex-context,variablestudio/pex-context | // TODO: get rid of Ramda
const log = require('debug')('context')
// const viz = require('viz.js')
const isBrowser = require('is-browser')
const createGL = require('pex-gl')
const assert = require('assert')
const createTexture = require('./texture')
const createFramebuffer = require('./framebuffer')
const createPass = ... | index.js | // TODO: get rid of Ramda
const log = require('debug')('context')
// const viz = require('viz.js')
const isBrowser = require('is-browser')
const createGL = require('pex-gl')
const assert = require('assert')
const createTexture = require('./texture')
const createFramebuffer = require('./framebuffer')
const createPass = ... | Add support buffer offsets | index.js | Add support buffer offsets | <ide><path>ndex.js
<ide> gl.bindBuffer(buffer.target, buffer.handle)
<ide> gl.enableVertexAttribArray(location)
<ide> state.activeAttributes[location] = buffer
<del> // logSometimes('drawVertexData', name, location, attrib.buffer._length)
<ide> gl.vertexAttribPointer(
<ide> ... | |
Java | lgpl-2.1 | 603803f70bc6fcaa6648b225acb0aebb9f907b05 | 0 | JordanReiter/railo,getrailo/railo,modius/railo,modius/railo,JordanReiter/railo,getrailo/railo,getrailo/railo | package railo.runtime.functions.international;
import java.io.UnsupportedEncodingException;
import railo.runtime.PageContext;
import railo.runtime.exp.FunctionException;
import railo.runtime.exp.PageException;
import railo.runtime.ext.function.Function;
import railo.runtime.op.Caster;
/**
* Implements the CFML Func... | railo-java/railo-core/src/railo/runtime/functions/international/SetEncoding.java | package railo.runtime.functions.international;
import java.io.UnsupportedEncodingException;
import railo.runtime.PageContext;
import railo.runtime.exp.FunctionException;
import railo.runtime.exp.PageException;
import railo.runtime.ext.function.Function;
import railo.runtime.op.Caster;
/**
* Implements the CFML Func... | solved ticket https://issues.jboss.org/browse/RAILO-2542
| railo-java/railo-core/src/railo/runtime/functions/international/SetEncoding.java | solved ticket https://issues.jboss.org/browse/RAILO-2542 | <ide><path>ailo-java/railo-core/src/railo/runtime/functions/international/SetEncoding.java
<ide> try {
<ide> if(scope.equals("url"))(pc.urlScope()).setEncoding(pc.getApplicationContext(),charset);
<ide> else if(scope.equals("form"))(pc.formScope()).setEncoding(pc.getApplicationContext(),... | |
Java | apache-2.0 | 0167f1cfc51c969c734ffbdb9fc30f2c93370206 | 0 | king1033/BookReader,lishoulin/BookReader,lishoulin/BookReader,JustWayward/BookReader,JustWayward/BookReader,lishoulin/BookReader,king1033/BookReader,king1033/BookReader,JustWayward/BookReader | package com.justwayward.reader.ui.activity;
import android.content.Context;
import android.content.Intent;
import android.support.v4.view.MenuItemCompat;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.ListPopupWindow;
import android.support.v7.widget.RecyclerView;
import android... | app/src/main/java/com/justwayward/reader/ui/activity/SearchActivity.java | package com.justwayward.reader.ui.activity;
import android.content.Context;
import android.content.Intent;
import android.support.v4.view.MenuItemCompat;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.ListPopupWindow;
import android.support.v7.widget.RecyclerView;
import android... | 优化书籍搜索
| app/src/main/java/com/justwayward/reader/ui/activity/SearchActivity.java | 优化书籍搜索 | <ide><path>pp/src/main/java/com/justwayward/reader/ui/activity/SearchActivity.java
<ide> private List<String> mAutoList = new ArrayList<>();
<ide>
<ide> private String key;
<add> private MenuItem searchMenuItem;
<ide> private SearchView searchView;
<ide>
<ide> private ListPopupWindow mListPopupWind... | |
Java | apache-2.0 | bb59098d31af64b5fe6790c3ce041e8dd81d17c9 | 0 | michalkurka/h2o-3,h2oai/h2o-3,michalkurka/h2o-3,michalkurka/h2o-3,h2oai/h2o-dev,h2oai/h2o-3,michalkurka/h2o-3,h2oai/h2o-dev,michalkurka/h2o-3,h2oai/h2o-3,h2oai/h2o-dev,h2oai/h2o-3,h2oai/h2o-dev,h2oai/h2o-dev,h2oai/h2o-3,michalkurka/h2o-3,h2oai/h2o-3,h2oai/h2o-3,h2oai/h2o-dev,michalkurka/h2o-3,h2oai/h2o-dev,h2oai/h2o-3 | package ai.h2o.automl;
import hex.FrameSplitter;
import hex.Model;
import hex.genmodel.utils.DistributionFamily;
import hex.tree.gbm.GBM;
import hex.tree.gbm.GBMModel;
import org.junit.*;
import water.H2O;
import water.TestUtil;
import water.fvec.Frame;
import water.fvec.TestFrameBuilder;
import water.fvec.Vec;
import... | h2o-automl/src/test/java/ai/h2o/automl/TargetEncodingTest.java | package ai.h2o.automl;
import hex.FrameSplitter;
import hex.Model;
import hex.genmodel.utils.DistributionFamily;
import hex.tree.gbm.GBM;
import hex.tree.gbm.GBMModel;
import org.junit.*;
import water.H2O;
import water.TestUtil;
import water.fvec.Frame;
import water.fvec.TestFrameBuilder;
import water.fvec.Vec;
import... | PUBDEV-5378: Fixed issue with AssertionError from rowLayout method while running multiple tests. There is a state in Vec.ESPC that we need to clean after each test. All tests are green.
| h2o-automl/src/test/java/ai/h2o/automl/TargetEncodingTest.java | PUBDEV-5378: Fixed issue with AssertionError from rowLayout method while running multiple tests. There is a state in Vec.ESPC that we need to clean after each test. All tests are green. | <ide><path>2o-automl/src/test/java/ai/h2o/automl/TargetEncodingTest.java
<ide>
<ide> import java.util.Map;
<ide>
<del>import static org.junit.Assert.assertEquals;
<del>import static org.junit.Assert.assertTrue;
<del>import static org.junit.Assert.fail;
<add>import static org.junit.Assert.*;
<ide> import static water.... | |
Java | apache-2.0 | 653b5cf119f4fbc140b5ddf122889f5f0a7aa681 | 0 | meisteg/PickTheWinner,meisteg/PickTheWinner,meisteg/PickTheWinner | /*
* Copyright (C) 2012 Gregory S. Meiste <http://gregmeiste.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | app/src/com/meiste/greg/ptw/EditPreferences.java | /*
* Copyright (C) 2012 Gregory S. Meiste <http://gregmeiste.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | Remove debug log print when preference changed
User could cause an exception by initiating account connect and
pressing back arrow before connection completes. The connection
will still complete successfully and update the preferences,
resulting in onSharedPreferenceChanged() being called (since
that activity is now a... | app/src/com/meiste/greg/ptw/EditPreferences.java | Remove debug log print when preference changed | <ide><path>pp/src/com/meiste/greg/ptw/EditPreferences.java
<ide>
<ide> @Override
<ide> public void onSharedPreferenceChanged(SharedPreferences prefs, String key) {
<del> if (!key.equals(KEY_REMIND_RINGTONE))
<del> Util.log(key + "=" + prefs.getBoolean(key, true));
<del>
<ide> if (key.... | |
JavaScript | bsd-3-clause | 7c5c517114fd248a08d24a219f6a4b48fd93e43e | 0 | glensc/toggl-button,topdown/toggl-button,eatskolnikov/toggl-button,andreimoldo/toggl-button,glensc/toggl-button,bitbull-team/toggl-button,glensc/toggl-button,eatskolnikov/toggl-button,andreimoldo/toggl-button,topdown/toggl-button,bitbull-team/toggl-button | /*jslint indent: 2 */
/*global $: false, document: false, togglbutton: false*/
'use strict';
togglbutton.render('.task:not(.toggl)', {observe: true}, function (elem) {
var link,
projectElem = $('#client_name b'),
taskElem = $('.task h1');
if (!taskElem) {
return;
}
taskElem = taskElem.childNodes... | src/scripts/content/worksection.js | /*jslint indent: 2 */
/*global $: false, document: false, togglbutton: false*/
'use strict';
togglbutton.render('.task:not(.toggl)', {observe: true}, function (elem) {
var link,
projectElem = $('#client_name b'),
taskElem = $('.task h1').childNodes[2].textContent.trim();
link = togglbutton.createTimerLin... | Improved Worksection selectors
| src/scripts/content/worksection.js | Improved Worksection selectors | <ide><path>rc/scripts/content/worksection.js
<ide> togglbutton.render('.task:not(.toggl)', {observe: true}, function (elem) {
<ide> var link,
<ide> projectElem = $('#client_name b'),
<del> taskElem = $('.task h1').childNodes[2].textContent.trim();
<add> taskElem = $('.task h1');
<add>
<add> if (!taskElem) ... | |
Java | apache-2.0 | 7d8a68be454f255b004007542dea0d869c4b6da1 | 0 | CandleCandle/camel,tlehoux/camel,pkletsko/camel,gnodet/camel,tdiesler/camel,veithen/camel,mcollovati/camel,isururanawaka/camel,jpav/camel,yury-vashchyla/camel,neoramon/camel,joakibj/camel,manuelh9r/camel,davidkarlsen/camel,nboukhed/camel,noelo/camel,mzapletal/camel,oalles/camel,mike-kukla/camel,johnpoth/camel,arnaud-de... | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.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... | Fixes #591. Polished
| components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java | Fixes #591. Polished | <ide><path>omponents/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java
<ide>
<ide> public Exchange createMongoDbExchange(DBObject dbObj) {
<ide> Exchange exchange = super.createExchange();
<del> Message message = new DefaultMessage();
<add> Message message = ... | |
Java | apache-2.0 | 256edab86b77b3e88215bca7940cfb96f5233399 | 0 | aspectran/aspectran,aspectran/aspectran | /*
* Copyright (c) 2008-2019 The Aspectran 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 applicabl... | web/src/main/java/com/aspectran/web/support/view/JspTemplateViewDispatcher.java | /*
* Copyright (c) 2008-2019 The Aspectran 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 applicabl... | Polishing
| web/src/main/java/com/aspectran/web/support/view/JspTemplateViewDispatcher.java | Polishing | <ide><path>eb/src/main/java/com/aspectran/web/support/view/JspTemplateViewDispatcher.java
<ide> * Sends the model produced by Aspectran's internal activity
<ide> * to the JSP to render the final view page.
<ide> *
<del> * <p>Created: 2008. 03. 22 PM 5:51:58</p>
<add> * <p>Created: 2019. 02. 18</p>
<ide> */
<ide> p... | |
JavaScript | mpl-2.0 | 80cff1c7eb3aaa133da430d61a4d3ac7e84f8707 | 0 | Croydon/vertical-tabs-reloaded,Croydon/vertical-tabs-reloaded | /*
* Functionality for grouping tabs.
*
* Groups are implemented as a special kind of tab (see binding in
* group.xml). There are a few advantages and disadvantages to this:
*
* - Groups can be regular children of tabbrowser.tabContainer
* (cf. https://bugzilla.mozilla.org/show_bug.cgi?id=475142).
*
* ... | modules/groups.js | /*
* Functionality for grouping tabs.
*
* Groups are implemented as a special kind of tab (see binding in
* group.xml). There are a few advantages and disadvantages to this:
*
* - Groups can be regular children of tabbrowser.tabContainer
* (cf. https://bugzilla.mozilla.org/show_bug.cgi?id=475142).
*
* ... | Dropping onto a collapsed group should select the group.
| modules/groups.js | Dropping onto a collapsed group should select the group. | <ide><path>odules/groups.js
<ide> // If it's a group we're dropping, merge groups.
<ide> this.addChildren(tab, this.getChildren(draggedTab));
<ide> this.tabs.tabbrowser.removeTab(draggedTab);
<del> } else {
<del> this.addChild(tab, draggedTab);
<... | |
Java | bsd-2-clause | 965d093cc144d1047bcb870bf3d60bb551413a2c | 0 | biovoxxel/imagej,TehSAUCE/imagej,TehSAUCE/imagej,TehSAUCE/imagej,biovoxxel/imagej,biovoxxel/imagej | //
// LegacyPlugin.java
//
/*
ImageJ software for multidimensional image processing and analysis.
Copyright (c) 2010, ImageJDev.org.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistribution... | core/legacy/src/main/java/imagej/legacy/plugin/LegacyPlugin.java | //
// LegacyPlugin.java
//
/*
ImageJ software for multidimensional image processing and analysis.
Copyright (c) 2010, ImageJDev.org.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistribution... | improve design of harmonization calls
This used to be revision r2945.
| core/legacy/src/main/java/imagej/legacy/plugin/LegacyPlugin.java | improve design of harmonization calls | <ide><path>ore/legacy/src/main/java/imagej/legacy/plugin/LegacyPlugin.java
<ide> final DatasetHarmonizer harmonizer = new DatasetHarmonizer(map.getTranslator());
<ide> final Set<ImagePlus> outputSet = LegacyPlugin.getOutputs();
<ide> outputSet.clear();
<del> harmonizeInputImagePluses(map, harmonizer);
<add> pre... | |
JavaScript | mit | 32bfc8dd5b8df648749236a3d79e70240b2dca4b | 0 | dailymotion/vast-client-js | import { isCompanionAd } from './companion_ad';
import { isCreativeLinear } from './creative/creative_linear';
import { EventEmitter } from './util/event_emitter';
import { isNonLinearAd } from './non_linear_ad';
import { util } from './util/util';
/**
* The default skip delay used in case a custom one is not provide... | src/vast_tracker.js | import { isCompanionAd } from './companion_ad';
import { isCreativeLinear } from './creative/creative_linear';
import { EventEmitter } from './util/event_emitter';
import { isNonLinearAd } from './non_linear_ad';
import { util } from './util/util';
/**
* The default skip delay used in case a custom one is not provide... | [tracker] Replace blockedAdCategories macros when value known
| src/vast_tracker.js | [tracker] Replace blockedAdCategories macros when value known | <ide><path>rc/vast_tracker.js
<ide> .map(categorie => categorie.value)
<ide> .join(',');
<ide> }
<add> if (this.ad.blockedAdCategories && this.ad.blockedAdCategories.length) {
<add> macros['BLOCKEDADCATEGORIES'] = this.ad.blockedAdCategories;
<add> }
<ide> }
<ide>
<ide> ... | |
JavaScript | apache-2.0 | 6e6646c8d1699b44518e35278f77e2942a8f6fa9 | 0 | codeaudit/dig,NextCenturyCorporation/dig,codeaudit/dig,NextCenturyCorporation/dig,codeaudit/dig,codeaudit/dig,NextCenturyCorporation/dig,NextCenturyCorporation/dig,NextCenturyCorporation/dig,codeaudit/dig | 'use strict';
var path = require('path');
var _ = require('lodash');
var pjson = require('../../../package.json');
function requiredProcessEnv(name) {
if(!process.env[name]) {
throw new Error('You must set the ' + name + ' environment variable');
}
return process.env[name];
}
// All configuration... | server/config/environment/index.js | 'use strict';
var path = require('path');
var _ = require('lodash');
var pjson = require('../../../package.json');
function requiredProcessEnv(name) {
if(!process.env[name]) {
throw new Error('You must set the ' + name + ' environment variable');
}
return process.env[name];
}
// All configuration... | Revert localization, label times UTC
| server/config/environment/index.js | Revert localization, label times UTC | <ide><path>erver/config/environment/index.js
<ide> }],
<ide> short: [{
<ide> title: 'Date',
<del> field: "doc._source.dateCreated | toLocalTime",
<add> field: "doc._source.dateCreated | date:'MM/dd/yyyy HH:mm:ss UTC'",
<ide> ... | |
Java | mit | dbf2ee0101ebe3bca16e6fe4f371cd5d2ffb44da | 0 | pingw33n/malle,pingw33n/malle | package net.emphased.malle.javamail;
import net.emphased.malle.*;
import net.emphased.malle.util.SimpleFormat;
import javax.activation.DataHandler;
import javax.annotation.Nullable;
import javax.mail.*;
import javax.mail.internet.*;
import java.io.*;
import java.nio.charset.Charset;
import java.util.*;
import static... | modules/javamail/src/main/java/net/emphased/malle/javamail/JavamailMessage.java | package net.emphased.malle.javamail;
import net.emphased.malle.*;
import net.emphased.malle.util.SimpleFormat;
import javax.activation.DataHandler;
import javax.annotation.Nullable;
import javax.mail.*;
import javax.mail.internet.*;
import java.io.*;
import java.nio.charset.Charset;
import java.util.*;
import static... | better message
| modules/javamail/src/main/java/net/emphased/malle/javamail/JavamailMessage.java | better message | <ide><path>odules/javamail/src/main/java/net/emphased/malle/javamail/JavamailMessage.java
<ide> for (int i = 0; i < len; i++) {
<ide> Object key = context[i * 2];
<ide> if (!(key instanceof String)) {
<del> checkArgument(false, "The key values in 'context' ... | |
Java | mit | 5a7fe9591913cdfbc67e360c6a7e4b860be732c9 | 0 | hhoang/CanvasAPI,nbutton23/CanvasAPI,Blackchai/CanvasAPI,matthewrice345/CanvasAPI,amozoss/CanvasAPI,instructure/CanvasAPI,bradylarson/CanvasAPI | package com.instructure.canvasapi.model;
import android.os.Parcel;
import com.instructure.canvasapi.utilities.APIHelpers;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
/**
* Created by Brady Larson
*
* Copyright (c) 2014 Instructure. All rights reserved.
*/
... | src/main/java/com/instructure/canvasapi/model/Submission.java | package com.instructure.canvasapi.model;
import android.os.Parcel;
import com.instructure.canvasapi.utilities.APIHelpers;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
/**
* Created by Brady Larson
*
* Copyright (c) 2014 Instructure. All rights reserved.
*/
... | Added discussion_entries to Submission.
| src/main/java/com/instructure/canvasapi/model/Submission.java | Added discussion_entries to Submission. | <ide><path>rc/main/java/com/instructure/canvasapi/model/Submission.java
<ide> private long user_id;
<ide> private long grader_id;
<ide> private User user;
<add>
<add> //this value could be null. Currently will only be returned when getting the submission for
<add> //a user when the submission_type is ... | |
Java | bsd-3-clause | 2f561056be298ef860bd6cdbd3003ebf15f2d4a1 | 0 | lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon | /*
* $Id$
*
Copyright (c) 2012 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without l... | test/src/org/lockss/plugin/PluginTestUtil.java | /*
* $Id$
*
Copyright (c) 2012 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without l... | removed all copy*Zip* specific methods
| test/src/org/lockss/plugin/PluginTestUtil.java | removed all copy*Zip* specific methods | <ide><path>est/src/org/lockss/plugin/PluginTestUtil.java
<ide> public class PluginTestUtil {
<ide> static Logger log = Logger.getLogger("PluginTestUtil");
<ide> static List aulist = new LinkedList();
<del> static final Pattern COMPRESSED_PATTERN = Pattern.compile(
<del> "\\.(zip|tar\\.gz|tgz)$",
<del> Pa... | |
Java | agpl-3.0 | e7ce62fda1f7c3ac96876149e499e1a8c8ee5b73 | 0 | where2help/android | package app.iamin.iamin.ui;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils;
import android.view.View;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;
import com.squareup.otto.Subs... | app/src/main/java/app/iamin/iamin/ui/LoginActivity.java | package app.iamin.iamin.ui;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils;
import android.view.View;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;
import com.squareup.otto.Subs... | Hide btn_register after user signs up
| app/src/main/java/app/iamin/iamin/ui/LoginActivity.java | Hide btn_register after user signs up | <ide><path>pp/src/main/java/app/iamin/iamin/ui/LoginActivity.java
<ide> public void onRegisterUpdate(RegisterEvent event) {
<ide> boolean isSuccsess = event.isSuccsess(); // TODO: Handle errors
<ide> if (isSuccsess) {
<add> findViewById(R.id.btn_register).setVisibility(View.GONE);
<ide> ... | |
Java | mit | 2971c1c33d5d2968a713a8b232c0a26bf9199e6e | 0 | InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service | package org.innovateuk.ifs.application.readonly.viewmodel;
import org.innovateuk.ifs.application.readonly.ApplicationReadOnlyData;
import org.innovateuk.ifs.form.resource.QuestionResource;
import java.math.BigDecimal;
import java.util.List;
public class GenericQuestionReadOnlyViewModel extends AbstractQuestionReadOn... | ifs-web-service/ifs-application-commons/src/main/java/org/innovateuk/ifs/application/readonly/viewmodel/GenericQuestionReadOnlyViewModel.java | package org.innovateuk.ifs.application.readonly.viewmodel;
import org.innovateuk.ifs.application.readonly.ApplicationReadOnlyData;
import org.innovateuk.ifs.form.resource.QuestionResource;
import java.math.BigDecimal;
import java.util.List;
public class GenericQuestionReadOnlyViewModel extends AbstractQuestionReadOn... | IFS-8012: adding missing notation
| ifs-web-service/ifs-application-commons/src/main/java/org/innovateuk/ifs/application/readonly/viewmodel/GenericQuestionReadOnlyViewModel.java | IFS-8012: adding missing notation | <ide><path>fs-web-service/ifs-application-commons/src/main/java/org/innovateuk/ifs/application/readonly/viewmodel/GenericQuestionReadOnlyViewModel.java
<ide> return !feedback.isEmpty();
<ide> }
<ide>
<add> @Override
<ide> public boolean hasScore() { return !scores.isEmpty(); }
<ide>
<ide> publi... | |
Java | epl-1.0 | 95773def047e653ee9098ad2726332c34a5ac83a | 0 | sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,rrimmana/birt-1,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,Charling-Huang/birt,Charling-Huang/birt,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/model/schematic/TableHandleAdapter.java | /*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availabl... | - SCR(s) Resolved:
- Description: Fix null point error.
- Regression ( Yes/No ): no
- Code Owner: DaZhen Gao
- Code Reviewers: GUI SHA,Hongxia Wang, Sissi Zhu
- Tests: Yes
- Test Automated (Yes/No, if No? then explain why): No, gui feature
- Branches Involved: Head
- Case Entries Resolved:
- Notes to Devel... | UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/model/schematic/TableHandleAdapter.java | - SCR(s) Resolved: | <ide><path>I/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/core/model/schematic/TableHandleAdapter.java
<ide> {
<ide> super.reload( );
<ide> initRowsInfo( );
<del> getModelAdaptHelper( ).markDirty( false );
<add> if (getModelAdaptHelper() != null)
<add> {
<add> getModelAdaptHelper... | |
Java | apache-2.0 | cbd98b68645e6f6cfd4b9cdd07a086ac8b82c574 | 0 | RenzoH89/hsac-fitnesse-fixtures,RenzoH89/hsac-fitnesse-fixtures,RenzoH89/hsac-fitnesse-fixtures,RenzoH89/hsac-fitnesse-fixtures | package nl.hsac.fitnesse.fixture.slim.web;
import fitnesse.slim.fixtureInteraction.FixtureInteraction;
import nl.hsac.fitnesse.fixture.slim.SlimFixture;
import nl.hsac.fitnesse.fixture.slim.SlimFixtureException;
import nl.hsac.fitnesse.fixture.slim.StopTestException;
import nl.hsac.fitnesse.fixture.slim.web.annotation... | src/main/java/nl/hsac/fitnesse/fixture/slim/web/BrowserTest.java | package nl.hsac.fitnesse.fixture.slim.web;
import fitnesse.slim.fixtureInteraction.FixtureInteraction;
import nl.hsac.fitnesse.fixture.slim.SlimFixture;
import nl.hsac.fitnesse.fixture.slim.SlimFixtureException;
import nl.hsac.fitnesse.fixture.slim.StopTestException;
import nl.hsac.fitnesse.fixture.slim.web.annotation... | Rename method to save html
| src/main/java/nl/hsac/fitnesse/fixture/slim/web/BrowserTest.java | Rename method to save html | <ide><path>rc/main/java/nl/hsac/fitnesse/fixture/slim/web/BrowserTest.java
<ide> */
<ide> public String savePageSource() {
<ide> String fileName = getResourceNameFromLocation();
<del> return savePageSourceToLink(fileName, fileName + ".html");
<del> }
<del>
<del> protected String savePageSo... | |
Java | apache-2.0 | f5b59350cc1b4580154df047f409a6c7a4095f0b | 0 | smgoller/geode,davebarnes97/geode,smgoller/geode,davinash/geode,smgoller/geode,davebarnes97/geode,jdeppe-pivotal/geode,davinash/geode,davebarnes97/geode,davebarnes97/geode,masaki-yamakawa/geode,davinash/geode,jdeppe-pivotal/geode,jdeppe-pivotal/geode,smgoller/geode,jdeppe-pivotal/geode,davinash/geode,davinash/geode,jde... | /*
* 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 not ... | geode-core/src/main/java/org/apache/geode/internal/cache/PoolManagerImpl.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 not ... | GEODE-7531: Added type checking before casting generic `Pool.java` to `PoolImpl.java` (#4490)
| geode-core/src/main/java/org/apache/geode/internal/cache/PoolManagerImpl.java | GEODE-7531: Added type checking before casting generic `Pool.java` to `PoolImpl.java` (#4490) | <ide><path>eode-core/src/main/java/org/apache/geode/internal/cache/PoolManagerImpl.java
<ide> import org.apache.geode.cache.client.Pool;
<ide> import org.apache.geode.cache.client.PoolFactory;
<ide> import org.apache.geode.cache.client.PoolManager;
<add>import org.apache.geode.cache.client.internal.ExecutablePool;
<ide... | |
Java | apache-2.0 | 8379674ce46f00d25bd806a0ab8a9fe1e8d4065d | 0 | ViDA-NYU/ache,ViDA-NYU/ache,ViDA-NYU/ache | package focusedCrawler.memex.cdr;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.URL;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.... | src/main/java/focusedCrawler/memex/cdr/AcheToCdrExporter.java | package focusedCrawler.memex.cdr;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
impo... | Add --skip-relevant argument to CDR exporter
| src/main/java/focusedCrawler/memex/cdr/AcheToCdrExporter.java | Add --skip-relevant argument to CDR exporter | <ide><path>rc/main/java/focusedCrawler/memex/cdr/AcheToCdrExporter.java
<ide> import java.io.FileOutputStream;
<ide> import java.io.IOException;
<ide> import java.io.PrintWriter;
<del>import java.net.MalformedURLException;
<ide> import java.net.URL;
<ide> import java.nio.file.Files;
<ide> import java.nio.file.Path;
<id... | |
Java | apache-2.0 | 915d66dec58c3183cf5b3db2b0724857e090b557 | 0 | chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq | /**
* 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... | activemq-broker/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.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... | https://issues.apache.org/jira/browse/AMQ-4198 Include username in ConnectionInfo for ActiveMQ.Advisory.Connection messages
git-svn-id: d2a93f579bd4835921162e9a69396c846e49961c@1415631 13f79535-47bb-0310-9956-ffa450edef68
| activemq-broker/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java | https://issues.apache.org/jira/browse/AMQ-4198 Include username in ConnectionInfo for ActiveMQ.Advisory.Connection messages | <ide><path>ctivemq-broker/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java
<ide> super.addConnection(context, info);
<ide>
<ide> ActiveMQTopic topic = AdvisorySupport.getConnectionAdvisoryTopic();
<del> //do not distribute usernames or passwords in advisory
<add> // do not d... | |
JavaScript | mit | 14a15c22ad1ed2f4c38bc26bfc5d3ad003b217ac | 0 | amchung/euglena-mjpegserver | var obj_canvas,
obj_c,
cp_canvas = null;
var canvas
var video_canvas,
vid_c;
var brown_const=0;
var vid_width = 640;
var vid_height = 480;
var n_object = 20;
var m_object = 5;
var canvas;
var context;
function setupD3(){
var canvas = d3.select("#canvasArea").append("canvas")
.attr("width", vid_width)
.a... | d3-object.js | var obj_canvas,
obj_c,
cp_canvas = null;
var canvas
var video_canvas,
vid_c;
var brown_const=0;
var vid_width = 640;
var vid_height = 480;
var n_object = 20;
var m_object = 5;
var canvas;
var context;
function setupD3(){
var canvas = d3.select("#canvasArea").append("canvas")
.attr("width", vid_width)
.a... | playing with d3
| d3-object.js | playing with d3 | <ide><path>3-object.js
<ide> }
<ide> }
<ide>
<del>/*var gameobject = d3.range(n_object).map(function() {
<add>var gameobject = d3.range(n_object).map(function() {
<ide> var x = Math.random() * vid_width, y = Math.random() * vid_height;
<ide> return {
<ide> vx: Math.random() * 2 - 1,
<ide> path: d3.range(m_objec... | |
JavaScript | apache-2.0 | bf12eb2fdadb1b9b4174d34a554aaa40adbdeb85 | 0 | apache/lenya,apache/lenya,apache/lenya,apache/lenya | // create a domain-based "package" to keep the global namespace clean
var org;
if (!org) org = new Object();
if (!org.apache) org.apache = new Object();
if (!org.apache.lenya) org.apache.lenya = new Object();
if (!org.apache.lenya.editors) org.apache.lenya.editors = new Object();
/**
* ObjectData constructor, the i... | src/modules/editors/resources/javascript/org.apache.lenya.editors.js | // create a domain-based "package" to keep the global namespace clean
var org;
if (!org) org = new Object();
if (!org.apache) org.apache = new Object();
if (!org.apache.lenya) org.apache.lenya = new Object();
if (!org.apache.lenya.editors) org.apache.lenya.editors = new Object();
/**
* the interface between generic... | contentSnippet is now also a proper object.
documentation, code formatting
git-svn-id: c334bb69c16d150e1b06e84516f7aa90b3181ca2@559931 13f79535-47bb-0310-9956-ffa450edef68
| src/modules/editors/resources/javascript/org.apache.lenya.editors.js | contentSnippet is now also a proper object. documentation, code formatting | <ide><path>rc/modules/editors/resources/javascript/org.apache.lenya.editors.js
<ide>
<ide>
<ide> /**
<del> * the interface between generic editor usecases and editor implementations
<add> * ObjectData constructor, the interface between generic editor usecases
<add> * and editor modules.
<ide> *
<ide> * The ide... | |
JavaScript | mit | 56842235d1172768825fa598098e4317cdbe9534 | 0 | StanleyY/Compiler,StanleyY/Compiler | console.log("Main JS file loaded");
/*
Token Object Structure
{
value: the literal char for the token.
type: the type of token it is. Example: Type, Char, Boolean.
line: the line it was found on.
pos: the position on the above line it was found at.
}
*/
//Globals
OUTPUT = null;
INPUT = null;
INPUT_LINES = nul... | javascripts/main.js | console.log("Main JS file loaded");
/*
Token Object Structure
{
value: the literal char for the token.
type: the type of token it is. Example: Type, Char, Boolean.
line: the line it was found on.
pos: the position on the above line it was found at.
}
*/
//Globals
OUTPUT = null;
INPUT = null;
INPUT_LINES = nul... | fixed auto append EOF to appended the actual EOF char
| javascripts/main.js | fixed auto append EOF to appended the actual EOF char | <ide><path>avascripts/main.js
<ide>
<ide> if(EOF_found == false) {
<ide> raiseWarning("Reached EOF but $ not found. Added and continuing to parse.");
<del> generateToken(current_token, "EOF", line, pos);
<add> generateToken("$", "EOF", line, pos);
<ide> }
<ide> console.log(printTokens());
<ide> write... | |
Java | apache-2.0 | 474950dcefbdcdc54f49b27ce8ae9854302cf9f8 | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | // Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util;
import com.intellij.openapi.util.ThrowableComputable;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import jav... | platform/util/src/com/intellij/util/TimeoutUtil.java | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import java.util.concurrent.TimeUnit;
import java.util.concurren... | Add useful methods to measure execution time
GitOrigin-RevId: 920ce55766c48e0b744480640d3071473a7566e0 | platform/util/src/com/intellij/util/TimeoutUtil.java | Add useful methods to measure execution time | <ide><path>latform/util/src/com/intellij/util/TimeoutUtil.java
<del>// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
<add>// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that... | |
JavaScript | mit | 9898af6e3f0451b4cdfb4dec73be97800e0be0ef | 0 | webboilerplate/web-boilerplate,webboilerplate/web-boilerplate | /**
* @license RequireJS domReady 2.0.1 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/requirejs/domReady for details
*/
'use strict';
var isTop, testDiv, scrollIntervalId,
isBrowser = typeof window !== 'undefined' && window... | src/assets/js/lib/domready.js | /**
* @license RequireJS domReady 2.0.1 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/requirejs/domReady for details
*/
/*jslint */
/*global require: false, define: false, requirejs: false,
window: false, clearInterval: false... | rm jshint meta from domready
| src/assets/js/lib/domready.js | rm jshint meta from domready | <ide><path>rc/assets/js/lib/domready.js
<ide> * Available via the MIT or new BSD license.
<ide> * see: http://github.com/requirejs/domReady for details
<ide> */
<del>/*jslint */
<del>/*global require: false, define: false, requirejs: false,
<del> window: false, clearInterval: false, document: false,
<del> self: fa... | |
Java | apache-2.0 | fa6d7e7524489812141cc2d579d9c21429e41de1 | 0 | tejksat/docker-java,docker-java/docker-java,docker-java/docker-java,tejksat/docker-java | package com.github.dockerjava.api.command;
import java.util.List;
import org.apache.commons.lang.builder.ToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.dockerjava.api.model.NetworkSettings;
import com.github.docke... | src/main/java/com/github/dockerjava/api/command/InspectExecResponse.java | package com.github.dockerjava.api.command;
import java.util.List;
import org.apache.commons.lang.builder.ToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.dockerjava.api.model.NetworkSettings;
import com.github.docke... | Add "Pid" field to InspectExecResponse
| GET /exec/(id)/json now returns Pid, which is the system pid for the
| exec’d process.
https://docs.docker.com/engine/api/version-history/#v125-api-changes
| src/main/java/com/github/dockerjava/api/command/InspectExecResponse.java | Add "Pid" field to InspectExecResponse | <ide><path>rc/main/java/com/github/dockerjava/api/command/InspectExecResponse.java
<ide> @JsonProperty("DetachKeys")
<ide> private String detachKeys;
<ide>
<add> /**
<add> * @since {@link RemoteApiVersion#VERSION_1_25}
<add> */
<add> @JsonProperty("Pid")
<add> private Integer pid;
<add>
<ide> ... | |
Java | apache-2.0 | b865afe131d5a9afdf57b3f9f04f31eb4a7da927 | 0 | eFaps/eFapsApp-Commons | /*
* Copyright 2003 - 2015 The eFaps Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | src/main/efaps/ESJP/org/efaps/esjp/erp/CommonDocument_Base.java | /*
* Copyright 2003 - 2015 The eFaps Team
*
* 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 ... | - Issue eFaps/eFapsApp-Sales#401: Add the assign action massive to the bin for incoming exchange
| src/main/efaps/ESJP/org/efaps/esjp/erp/CommonDocument_Base.java | - Issue eFaps/eFapsApp-Sales#401: Add the assign action massive to the bin for incoming exchange | <ide><path>rc/main/efaps/ESJP/org/efaps/esjp/erp/CommonDocument_Base.java
<ide> import java.util.Properties;
<ide> import java.util.Set;
<ide> import java.util.UUID;
<add>import java.util.concurrent.TimeUnit;
<ide>
<ide> import org.apache.commons.lang3.BooleanUtils;
<ide> import org.apache.commons.lang3.StringEscapeUt... | |
Java | apache-2.0 | 3edf134f4eb4983115ba15b6079675fe9d75a45a | 0 | Sage-Bionetworks/Synapse-Repository-Services,zimingd/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,zimingd/Synapse-Repository-Services,hhu94/Synapse-Repository-Services,zimingd/Synapse-Repository-Services,xschildw/Synapse-Repository-Services,xschildw/Synapse-Repository-... | package org.sagebionetworks.utils;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.security.KeyManagementException;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java... | lib/communicationUtilities/src/main/java/org/sagebionetworks/utils/HttpClientHelper.java | package org.sagebionetworks.utils;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.security.KeyManagementException;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java... | Change hardcoded default to 20s.
| lib/communicationUtilities/src/main/java/org/sagebionetworks/utils/HttpClientHelper.java | Change hardcoded default to 20s. | <ide><path>ib/communicationUtilities/src/main/java/org/sagebionetworks/utils/HttpClientHelper.java
<ide> public static final int MAX_ALLOWED_DOWNLOAD_TO_STRING_LENGTH = 1024 * 1024;
<ide>
<ide> private static final int DEFAULT_CONNECT_TIMEOUT_MSEC = 500;
<del> private static final int DEFAULT_SOCKET_TIMEOUT_MSEC = 2... | |
Java | mit | c2538895645668ec8b42c3f4eb0080f4a3b0932e | 0 | Team4761/2016-Robot-Code | package org.robockets.stronghold.robot.highgoalshooter;
import org.robockets.stronghold.robot.Robot;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.networktables.NetworkTable;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
/**
* Align the robot horizontally with the target.
... | src/org/robockets/stronghold/robot/highgoalshooter/HorizontalAlign.java | package org.robockets.stronghold.robot.highgoalshooter;
import org.robockets.stronghold.robot.Robot;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.networktables.NetworkTable;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
/**
* Align the robot horizontally with the target.
... | Make heartbeat work with numbers.
Simon did not anticipate writing booleans to NetworkTables. Hence he is a bum
and is forcing me to use the numbers 0 and 1 the equivalent of false and true.
:frown:
| src/org/robockets/stronghold/robot/highgoalshooter/HorizontalAlign.java | Make heartbeat work with numbers. | <ide><path>rc/org/robockets/stronghold/robot/highgoalshooter/HorizontalAlign.java
<ide> double factor = SmartDashboard.getNumber("factorz", 0.02); // Or something.
<ide>
<ide> SmartDashboard.putNumber("Setpoint delta", factor * pixelError);
<del> if (table.getBoolean("heartbeat", false)) {
<add> if (table.g... | |
Java | apache-2.0 | 7f8dbea204674ff53d53148d14367e286b406a41 | 0 | joshelser/accumulo,adamjshook/accumulo,mjwall/accumulo,milleruntime/accumulo,dhutchis/accumulo,dhutchis/accumulo,apache/accumulo,ivakegg/accumulo,mjwall/accumulo,phrocker/accumulo-1,adamjshook/accumulo,ctubbsii/accumulo,phrocker/accumulo,keith-turner/accumulo,lstav/accumulo,apache/accumulo,dhutchis/accumulo,wjsl/jaredc... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | ACCUMULO-88: help the compiler find the TabletServerMBean interface
git-svn-id: ee25ee0bfe882ec55abc48667331b454c011093e@1195477 13f79535-47bb-0310-9956-ffa450edef68
| src/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java | ACCUMULO-88: help the compiler find the TabletServerMBean interface | <ide><path>rc/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
<ide> QUEUED, RUNNING, FINISHED
<ide> }
<ide>
<del>public class TabletServer extends AbstractMetricsImpl implements TabletServerMBean {
<add>public class TabletServer extends AbstractMetricsImpl implements org.apache.accumul... | |
JavaScript | mit | 5cd44f0ab75fd82c9d7734c91e2ef783b2d53c4e | 0 | CoderDojo/cp-dojos-service,CoderDojo/cp-dojos-service | module.exports = function () {
/*
* Format of a permission {
* role: 'basic-user' || {'basic-user':{match: true}}
* customValidator: functionName
* }
*/
// TODO:50 ensure is_own_dojo for dojo-admin && belongs_to for champion
return {
'cd-dojos':{
'get_dojo_config': [{
role: 'none'
}],
... | config/permissions-rules.js | module.exports = function () {
/*
* Format of a permission {
* role: 'basic-user' || {'basic-user':{match: true}}
* customValidator: functionName
* }
*/
// TODO:50 ensure is_own_dojo for dojo-admin && belongs_to for champion
return {
'cd-dojos':{
'get_dojo_config': [{
role: 'none'
}],
... | Bugfix/api review delete (#400)
* Ensure dojos_for_user is only called from a user/parent perspective
* Add perm to delete poll results
| config/permissions-rules.js | Bugfix/api review delete (#400) | <ide><path>onfig/permissions-rules.js
<ide> 'get_poll_setup': [{
<ide> role: 'none'
<ide> }],
<del> 'get-poll-results': [{
<del> role: 'none'
<add> 'get_poll_results': [{
<add> role: 'none'
<add> }],
<add> 'remove_poll_result': [{
<add> role: 'cdf-admin',
... | |
Java | apache-2.0 | 56f1a1d9b5ae81dced70093f2f4120dfaa774e5e | 0 | cbeust/testng,msebire/testng,raindev/testng,raindev/testng,tremes/testng,jerome-jacob/testng,emopers/testng,raindev/testng,AJ-72/testng,VikingDen/testng,gjuillot/testng,VladRassokhin/testng,bmlct/testng,emopers/testng,AJ-72/testng,s2oBCN/testng,krmahadevan/testng,cbeust/testng,meeroslaph/testng,rschmitt/testng,meerosla... | package org.testng;
import static org.testng.internal.EclipseInterface.ASSERT_LEFT;
import static org.testng.internal.EclipseInterface.ASSERT_LEFT2;
import static org.testng.internal.EclipseInterface.ASSERT_MIDDLE;
import static org.testng.internal.EclipseInterface.ASSERT_RIGHT;
import org.testng.collections.Lists;
... | src/main/java/org/testng/Assert.java | package org.testng;
import static org.testng.internal.EclipseInterface.ASSERT_LEFT;
import static org.testng.internal.EclipseInterface.ASSERT_LEFT2;
import static org.testng.internal.EclipseInterface.ASSERT_MIDDLE;
import static org.testng.internal.EclipseInterface.ASSERT_RIGHT;
import org.testng.collections.Lists;
... | Update Assert.java
Tiny typo in the Error message that shows up when arrays are not equal (but have same length) | src/main/java/org/testng/Assert.java | Update Assert.java | <ide><path>rc/main/java/org/testng/Assert.java
<ide> assertEquals(_actual, _expected);
<ide> } catch (AssertionError ae) {
<ide> failNotEquals(actual, expected, message == null ? "" : message
<del> + " (values as index " + i + " are not the same)");
<add>... | |
JavaScript | mit | 50b3262063147523ca2f84dcac6ac525433c08be | 0 | babel/babel,babel/babel,hzoo/babel,babel/babel,jridgewell/babel,hzoo/babel,jridgewell/babel,jridgewell/babel,jridgewell/babel,babel/babel,hzoo/babel,hzoo/babel | // @flow
// A recursive descent parser operates by defining functions for all
// syntactic elements, and recursively calling those, each function
// advancing the input stream and returning an AST node. Precedence
// of constructs (for example, the fact that `!x[1]` means `!(x[1])`
// instead of `(!x)[1]` is handled b... | packages/babel-parser/src/parser/expression.js | // @flow
// A recursive descent parser operates by defining functions for all
// syntactic elements, and recursively calling those, each function
// advancing the input stream and returning an AST node. Precedence
// of constructs (for example, the fact that `!x[1]` means `!(x[1])`
// instead of `(!x)[1]` is handled b... | refactor: avoid unnecessary property access (#11918)
* refactor: avoid unnecessary property access
* refactor: `else` is redundant because keyName is const | packages/babel-parser/src/parser/expression.js | refactor: avoid unnecessary property access (#11918) | <ide><path>ackages/babel-parser/src/parser/expression.js
<ide> }
<ide>
<ide> const containsEsc = this.state.containsEsc;
<del> this.parsePropertyName(prop, /* isPrivateNameAllowed */ false);
<add> const key = this.parsePropertyName(prop, /* isPrivateNameAllowed */ false);
<ide>
<ide> if (
<ide> ... | |
Java | apache-2.0 | 0c88f6af20d50705319a0966e2880500097f28ac | 0 | jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics | /*
* Java Genetic Algorithm Library (@__identifier__@).
* Copyright (c) @__year__@ Franz Wilhelmstötter
*
* 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/... | org.jenetics.tool/src/main/java/org/jenetics/tool/trial/Gnuplot.java | /*
* Java Genetic Algorithm Library (@__identifier__@).
* Copyright (c) @__year__@ Franz Wilhelmstötter
*
* 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/... | Improve console output.
| org.jenetics.tool/src/main/java/org/jenetics/tool/trial/Gnuplot.java | Improve console output. | <ide><path>rg.jenetics.tool/src/main/java/org/jenetics/tool/trial/Gnuplot.java
<ide>
<ide> System.out.println(IO.toText(process.getErrorStream()));
<ide> try {
<del> System.out.println("Result: " + process.waitFor());
<add> process.waitFor();
<ide> } catch (InterruptedException e) {
<ide> Thread.currentTh... | |
Java | mit | 8b11b6b85ada2aa52e27198f71e2cd7268c4c90c | 0 | se-edu/addressbook-level3,damithc/addressbook-level4,damithc/addressbook-level4,damithc/addressbook-level4 | package guitests;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import guitests.guihandles.HelpWindowHandle;
import seedu.address.logic.commands.HelpCommand;
public class HelpWindowTest extends AddressBookGuiTest {
private static final String ERROR... | src/test/java/guitests/HelpWindowTest.java | package guitests;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import guitests.guihandles.HelpWindowHandle;
import seedu.address.logic.commands.HelpCommand;
public class HelpWindowTest extends AddressBookGuiTest {
@Test
public void openHelpWi... | [#680] HelpWindowTest: Write header comments concerning possible test failure (#694)
HelpWindowTest fails on certain computers. The cursor does not move to
the correct location, resulting in the wrong UI component being
clicked. We suspect this to be a bug in the TestFX library.
This causes the wrong UI component... | src/test/java/guitests/HelpWindowTest.java | [#680] HelpWindowTest: Write header comments concerning possible test failure (#694) | <ide><path>rc/test/java/guitests/HelpWindowTest.java
<ide> import seedu.address.logic.commands.HelpCommand;
<ide>
<ide> public class HelpWindowTest extends AddressBookGuiTest {
<add> private static final String ERROR_MESSAGE = "ATTENTION!!!! : On some computers, this test may fail when run on "
<add> + "... | |
Java | apache-2.0 | 3503440c142ab9412c36f8aeb54d02e72c49ea69 | 0 | semonte/intellij-community,clumsy/intellij-community,orekyuu/intellij-community,MER-GROUP/intellij-community,youdonghai/intellij-community,michaelgallacher/intellij-community,caot/intellij-community,orekyuu/intellij-community,akosyakov/intellij-community,ivan-fedorov/intellij-community,tmpgit/intellij-community,holmes/... | /*
* Copyright 2000-2012 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/github/src/org/jetbrains/plugins/github/GithubApiUtil.java | /*
* Copyright 2000-2012 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... | Github: add DELETE/HEAD http methods support
| plugins/github/src/org/jetbrains/plugins/github/GithubApiUtil.java | Github: add DELETE/HEAD http methods support | <ide><path>lugins/github/src/org/jetbrains/plugins/github/GithubApiUtil.java
<ide> import org.apache.commons.httpclient.UsernamePasswordCredentials;
<ide> import org.apache.commons.httpclient.auth.AuthScope;
<ide> import org.apache.commons.httpclient.auth.AuthenticationException;
<del>import org.apache.commons.httpclie... | |
Java | apache-2.0 | 18d011c93e08b552eafb0cd33dfba9e530a04459 | 0 | fgreinus/jwebpoll,fgreinus/jwebpoll,fgreinus/jwebpoll | package de.lebk.jwebpoll.client;
import com.j256.ormlite.dao.Dao;
import de.lebk.jwebpoll.Database;
import de.lebk.jwebpoll.Frontend;
import de.lebk.jwebpoll.data.*;
import javafx.application.Application;
import javafx.beans.value.ObservableValue;
import javafx.event.ActionEvent;
import javafx.fxml.FXMLLoader;
import ... | src/main/java/de/lebk/jwebpoll/client/Client.java | package de.lebk.jwebpoll.client;
import com.j256.ormlite.dao.Dao;
import com.j256.ormlite.stmt.Where;
import de.lebk.jwebpoll.Database;
import de.lebk.jwebpoll.Frontend;
import de.lebk.jwebpoll.data.*;
import javafx.application.Application;
import javafx.beans.value.ObservableValue;
import javafx.event.ActionEvent;
im... | Example poll
| src/main/java/de/lebk/jwebpoll/client/Client.java | Example poll | <ide><path>rc/main/java/de/lebk/jwebpoll/client/Client.java
<ide> package de.lebk.jwebpoll.client;
<ide>
<ide> import com.j256.ormlite.dao.Dao;
<del>import com.j256.ormlite.stmt.Where;
<ide> import de.lebk.jwebpoll.Database;
<ide> import de.lebk.jwebpoll.Frontend;
<ide> import de.lebk.jwebpoll.data.*;
<ide>
<ide> ... | |
Java | apache-2.0 | 79424e50043a12562d188be075b3bb20542b5cb5 | 0 | JackQueen/JackQueenWeather | package com.jackqueenweather.android;
import android.databinding.DataBindingUtil;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import andr... | app/src/main/java/com/jackqueenweather/android/WeatherActivity.java | package com.jackqueenweather.android;
import android.databinding.DataBindingUtil;
import android.databinding.ViewDataBinding;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;
import android.widge... | 5.0版本更新沉浸式效果
| app/src/main/java/com/jackqueenweather/android/WeatherActivity.java | 5.0版本更新沉浸式效果 | <ide><path>pp/src/main/java/com/jackqueenweather/android/WeatherActivity.java
<ide> package com.jackqueenweather.android;
<ide>
<ide> import android.databinding.DataBindingUtil;
<del>import android.databinding.ViewDataBinding;
<add>import android.graphics.Color;
<add>import android.os.Build;
<ide> import android.os.Bu... | |
Java | apache-2.0 | b01f859189fd061552374c405fdf931ef9fe2059 | 0 | foam-framework/foam2,foam-framework/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm,foam-framework/foam2,jacksonic/vjlofvhjfgm,jacksonic/vjlofvhjfgm,foam-framework/foam2 | /**
* @license
* Copyright 2017 The FOAM Authors. All Rights Reserved.
* http://www.apache.org/licenses/LICENSE-2.0
*/
package foam.dao.index;
import foam.core.FObject;
import foam.core.PropertyInfo;
import foam.dao.index.TreeNode;
public class TreeLookupFindPlan implements FindPlan {
protected PropertyInf... | src/foam/dao/index/TreeLookupFindPlan.java | /**
* @license
* Copyright 2017 The FOAM Authors. All Rights Reserved.
* http://www.apache.org/licenses/LICENSE-2.0
*/
package foam.dao.index;
import foam.core.FObject;
import foam.core.PropertyInfo;
import foam.dao.index.TreeNode;
public class TreeLookupFindPlan implements FindPlan {
protected PropertyInf... | 1.fix find() Nullpointer bug
| src/foam/dao/index/TreeLookupFindPlan.java | 1.fix find() Nullpointer bug | <ide><path>rc/foam/dao/index/TreeLookupFindPlan.java
<ide>
<ide> public FObject find(Object state, Object key) {
<ide> if ( state != null && state instanceof TreeNode ) {
<del> return (FObject)((TreeNode) state).get(((TreeNode) state), key, prop_);
<add> return ( (TreeNode) state ).get(( (TreeNode) sta... | |
Java | apache-2.0 | 43a900f866b28031423e8419c4258e7b422a1e2c | 0 | jexp/idea2,blademainer/intellij-community,SerCeMan/intellij-community,hurricup/intellij-community,Distrotech/intellij-community,ThiagoGarciaAlves/intellij-community,ftomassetti/intellij-community,youdonghai/intellij-community,Distrotech/intellij-community,ol-loginov/intellij-community,signed/intellij-community,blademai... | package com.intellij.openapi.actionSystem.impl;
import com.intellij.CommonBundle;
import com.intellij.diagnostic.PluginException;
import com.intellij.ide.ActivityTracker;
import com.intellij.ide.DataManager;
import com.intellij.ide.plugins.IdeaPluginDescriptor;
import com.intellij.ide.plugins.PluginManager;
import com... | platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java | package com.intellij.openapi.actionSystem.impl;
import com.intellij.CommonBundle;
import com.intellij.diagnostic.PluginException;
import com.intellij.ide.ActivityTracker;
import com.intellij.ide.DataManager;
import com.intellij.ide.plugins.IdeaPluginDescriptor;
import com.intellij.ide.plugins.PluginManager;
import com... | remove unnecessary debugging
| platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java | remove unnecessary debugging | <ide><path>latform-impl/src/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java
<ide> ref = element.getAttributeValue(ID_ATTR_NAME);
<ide> }
<ide>
<del> if (LOG.isDebugEnabled()) {
<del> LOG.debug("ref=\"" + ref + "\"");
<del> }
<ide> if (ref == null || ref.length() == 0) {
<ide> ... | |
JavaScript | mit | 1dd9ee2397c11c34f2fcdf9a0bec70ba2e12c0f9 | 0 | BernhardRode/lodash,jshanson7/lodash,AndBicScadMedia/lodash,gdi2290/lodash,jacwright/lodash,af7/lodash,tonyonodi/lodash,neouser99/lodash,developer-prosenjit/lodash,javiosyc/lodash,rlugojr/lodash,Droogans/lodash,phillipalexander/lodash,IveWong/lodash,r14r/fork_javascript_lodash,transGLUKator/lodash,tonyonodi/lodash,phil... | #!/usr/bin/env node
;(function() {
'use strict';
/** The Node filesystem, path, `zlib`, and child process modules */
var fs = require('fs'),
gzip = require('zlib').gzip,
path = require('path'),
spawn = require('child_process').spawn;
/** The directory that is the base of the repository */
... | build/minify.js | #!/usr/bin/env node
;(function() {
'use strict';
/** The Node filesystem, path, `zlib`, and child process modules */
var fs = require('fs'),
gzip = require('zlib').gzip,
path = require('path'),
spawn = require('child_process').spawn;
/** The directory that is the base of the repository */
... | Switch to non-deprecated `fs.existsSync`.
Former-commit-id: 616863cf7e7edfdf919750773a12e8cd2a42ddf1 | build/minify.js | Switch to non-deprecated `fs.existsSync`. | <ide><path>uild/minify.js
<ide> */
<ide> function Minify(source, workingName, onComplete) {
<ide> // create the destination directory if it doesn't exist
<del> if (!path.existsSync(distPath)) {
<add> if (!fs.existsSync(distPath)) {
<ide> fs.mkdirSync(distPath);
<ide> }
<ide> | |
JavaScript | mit | 9baf8335e523294b8266dba58dd1586cb096b219 | 0 | dayo7116/scenejs,tsherif/scenejs,dayo7116/scenejs,tsherif/scenejs | /**
* A scene node that defines one or more layers of texture to apply to geometries within its subgraph
* that have UV coordinates.
*/
var SceneJS_textureModule = new (function() {
var idStack = [];
var textureStack = [];
var stackLen = 0;
var dirty;
SceneJS_eventModule.addListener(
... | src/scenejs/texture/texture.js | /**
* A scene node that defines one or more layers of texture to apply to geometries within its subgraph
* that have UV coordinates.
*/
var SceneJS_textureModule = new (function() {
var idStack = [];
var textureStack = [];
var stackLen = 0;
var dirty;
SceneJS_eventModule.addListener(
... | avoid out of scope (update is included in return as parameter) | src/scenejs/texture/texture.js | avoid out of scope (update is included in return as parameter) | <ide><path>rc/scenejs/texture/texture.js
<ide> function createTexture(scene, cfg, onComplete) {
<ide> var context = scene.canvas.context;
<ide> var textureId = SceneJS._createUUID();
<add> var update;
<ide> try {
<ide> if (cfg.autoUpdate) {
<del> var update ... | |
Java | apache-2.0 | 85740b09081813cb1f833a4c0aa6875e66dc31a0 | 0 | xfournet/intellij-community,vvv1559/intellij-community,akosyakov/intellij-community,slisson/intellij-community,supersven/intellij-community,MER-GROUP/intellij-community,kool79/intellij-community,ibinti/intellij-community,holmes/intellij-community,ol-loginov/intellij-community,salguarnieri/intellij-community,tmpgit/inte... | /*
* 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/ide/caches/CacheUpdater.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... | remove CacheUpdater in v.15
| platform/platform-api/src/com/intellij/ide/caches/CacheUpdater.java | remove CacheUpdater in v.15 | <ide><path>latform/platform-api/src/com/intellij/ide/caches/CacheUpdater.java
<ide>
<ide> /**
<ide> * @deprecated use {@link com.intellij.openapi.project.DumbModeTask}
<add> * to be removed in IDEA 15
<ide> */
<ide> public interface CacheUpdater {
<ide> int getNumberOfPendingUpdateJobs(); | |
Java | epl-1.0 | db69153fc99fd08b737b9121c776742c58681443 | 0 | subclipse/subclipse,subclipse/subclipse,subclipse/subclipse | /*******************************************************************************
* Copyright (c) 2005, 2006 Subclipse project and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, ... | core/src/org/tigris/subversion/subclipse/core/resources/SVNFileModificationValidator.java | /*******************************************************************************
* Copyright (c) 2005, 2006 Subclipse project and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, ... | Major refactoring. Split the read-only files into lists of managed and
unmanaged and process each separately.
| core/src/org/tigris/subversion/subclipse/core/resources/SVNFileModificationValidator.java | Major refactoring. Split the read-only files into lists of managed and unmanaged and process each separately. | <ide><path>ore/src/org/tigris/subversion/subclipse/core/resources/SVNFileModificationValidator.java
<ide> String comment = "";
<ide> boolean stealLock = false;
<ide> // reduce the array to just read only files
<del> IFile[] readOnlyFiles = getReadOnly(files);
<del> if (readOnlyFile... | |
Java | apache-2.0 | ad1a6e8361c38a74f69ab448cf39827aa8103746 | 0 | ouit0408/sakai,conder/sakai,frasese/sakai,OpenCollabZA/sakai,Fudan-University/sakai,udayg/sakai,liubo404/sakai,pushyamig/sakai,ktakacs/sakai,pushyamig/sakai,hackbuteer59/sakai,whumph/sakai,Fudan-University/sakai,noondaysun/sakai,kwedoff1/sakai,surya-janani/sakai,joserabal/sakai,zqian/sakai,pushyamig/sakai,conder/sakai,... | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009 The Sakai Foundation
*
* Licensed under the Educational Community License, Ve... | samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/delivery/SubmitToGradingActionListener.java | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2004, 2005, 2006, 2007, 2008, 2009 The Sakai Foundation
*
* Licensed under the Educational Community License, Ve... | SAM-1301: Samigo / mark for review
git-svn-id: 574bb14f304dbe16c01253ed6697ea749724087f@99069 66ffb92e-73f9-0310-93c1-f5514f145a0a
| samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/delivery/SubmitToGradingActionListener.java | SAM-1301: Samigo / mark for review | <ide><path>amigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/delivery/SubmitToGradingActionListener.java
<ide> //no matter what kinds of type questions, if it marks as review, add it in.
<ide> for (int m = 0; m < grading.size(); m++) {
<ide> ItemGradingData itemgrading = (ItemGradingData) gr... | |
Java | apache-2.0 | e9867308fd1e8eaf4d155d074b11ce30c76bf67d | 0 | Dominator008/buck,rmaz/buck,liuyang-li/buck,rhencke/buck,illicitonion/buck,dushmis/buck,ilya-klyuchnikov/buck,Heart2009/buck,rhencke/buck,shybovycha/buck,justinmuller/buck,illicitonion/buck,grumpyjames/buck,grumpyjames/buck,JoelMarcey/buck,LegNeato/buck,shybovycha/buck,nguyentruongtho/buck,shs96c/buck,zhuxiaohao/buck,r... | /*
* Copyright 2013-present Facebook, 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... | src/com/facebook/buck/android/UberRDotJava.java | /*
* Copyright 2013-present Facebook, 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... | Rename `commands` to `steps` because that's what they are.
Summary: This has been bothering me for a while.
Test Plan: yolo1
| src/com/facebook/buck/android/UberRDotJava.java | Rename `commands` to `steps` because that's what they are. | <ide><path>rc/com/facebook/buck/android/UberRDotJava.java
<ide> private void generateAndCompileRDotJavaFiles(
<ide> Set<Path> resDirectories,
<ide> Set<String> rDotJavaPackages,
<del> ImmutableList.Builder<Step> commands,
<add> ImmutableList.Builder<Step> steps,
<ide> final BuildableContex... | |
Java | apache-2.0 | f02dc3b7b1b9857d06a8c34a4bb1f9605b8299f8 | 0 | taverna-incubator/incubator-taverna-language,taverna-incubator/incubator-taverna-language,taverna-incubator/incubator-taverna-language,binfalse/incubator-taverna-language,binfalse/incubator-taverna-language,binfalse/incubator-taverna-language,taverna-incubator/incubator-taverna-language,binfalse/incubator-taverna-langu... | package uk.org.taverna.scufl2.rdfxml;
import static uk.org.taverna.scufl2.rdfxml.RDFXMLReader.APPLICATION_RDF_XML;
import static uk.org.taverna.scufl2.rdfxml.RDFXMLReader.APPLICATION_VND_TAVERNA_SCUFL2_WORKFLOW_BUNDLE;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.util.HashM... | scufl2-rdfxml/src/main/java/uk/org/taverna/scufl2/rdfxml/RDFXMLDeserializer.java | package uk.org.taverna.scufl2.rdfxml;
import static uk.org.taverna.scufl2.rdfxml.RDFXMLReader.APPLICATION_RDF_XML;
import static uk.org.taverna.scufl2.rdfxml.RDFXMLReader.APPLICATION_VND_TAVERNA_SCUFL2_WORKFLOW_BUNDLE;
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.util.HashM... | Parse dispatch stack layers
| scufl2-rdfxml/src/main/java/uk/org/taverna/scufl2/rdfxml/RDFXMLDeserializer.java | Parse dispatch stack layers | <ide><path>cufl2-rdfxml/src/main/java/uk/org/taverna/scufl2/rdfxml/RDFXMLDeserializer.java
<ide> stack.setType(currentBase.resolve(original.getType().getResource()));
<ide> }
<ide> stack.setParent(currentProcessor);
<add> mapBean(currentBase.resolve(original.getAbout()), stack);
<ide> currentStack = stack;
<i... | |
Java | apache-2.0 | f3130e115a58a9df22a4c192c7e71e00c80ac0e6 | 0 | werkt/bazel,twitter-forks/bazel,bazelbuild/bazel,akira-baruah/bazel,dslomov/bazel-windows,aehlig/bazel,davidzchen/bazel,cushon/bazel,twitter-forks/bazel,ulfjack/bazel,perezd/bazel,safarmer/bazel,aehlig/bazel,akira-baruah/bazel,davidzchen/bazel,werkt/bazel,akira-baruah/bazel,dropbox/bazel,meteorcloudy/bazel,akira-baruah... | // Copyright 2014 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | src/main/java/com/google/devtools/build/lib/skyframe/NonRuleConfiguredTargetValue.java | // Copyright 2014 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | Memoize non-rule configured targets. This is probably a good idea in general, but especially necessary because OutputFileConfiguredTarget (which is not a RuleConfiguredTarget) contains a reference to its generating configured target, so all the optimizations needed for RuleConfiguredTarget apply to OutputFileConfigured... | src/main/java/com/google/devtools/build/lib/skyframe/NonRuleConfiguredTargetValue.java | Memoize non-rule configured targets. This is probably a good idea in general, but especially necessary because OutputFileConfiguredTarget (which is not a RuleConfiguredTarget) contains a reference to its generating configured target, so all the optimizations needed for RuleConfiguredTarget apply to OutputFileConfigured... | <ide><path>rc/main/java/com/google/devtools/build/lib/skyframe/NonRuleConfiguredTargetValue.java
<ide> import java.util.ArrayList;
<ide> import javax.annotation.Nullable;
<ide>
<del>/**
<del> * A configured target in the context of a Skyframe graph.
<del> */
<add>/** A non-rule configured target in the context of a Sk... | |
Java | bsd-3-clause | 19a969e9b688eb432b7bed335406c0a64a55f39f | 0 | aic-sri-international/aic-expresso,aic-sri-international/aic-expresso | package com.sri.ai.test.grinder.sgdpllt.theory.base;
import static com.sri.ai.expresso.helper.Expressions.parse;
import static com.sri.ai.grinder.helper.GrinderUtil.BOOLEAN_TYPE;
import static com.sri.ai.util.Util.map;
import static com.sri.ai.grinder.sgdpllt.theory.equality.EqualityTheoryTestingSupport.TESTING_CATEGO... | src/test/java/com/sri/ai/test/grinder/sgdpllt/theory/base/UnificationStepSolverTest.java | package com.sri.ai.test.grinder.sgdpllt.theory.base;
import static com.sri.ai.expresso.helper.Expressions.parse;
import static com.sri.ai.grinder.helper.GrinderUtil.BOOLEAN_TYPE;
import static com.sri.ai.util.Util.map;
import static com.sri.ai.grinder.sgdpllt.theory.equality.EqualityTheoryTestingSupport.TESTING_CATEGO... | Additional unification step solver tests. | src/test/java/com/sri/ai/test/grinder/sgdpllt/theory/base/UnificationStepSolverTest.java | Additional unification step solver tests. | <ide><path>rc/test/java/com/sri/ai/test/grinder/sgdpllt/theory/base/UnificationStepSolverTest.java
<ide> import static com.sri.ai.grinder.helper.GrinderUtil.BOOLEAN_TYPE;
<ide> import static com.sri.ai.util.Util.map;
<ide> import static com.sri.ai.grinder.sgdpllt.theory.equality.EqualityTheoryTestingSupport.TESTING_CAT... | |
JavaScript | mit | bd929bfa59c22a1dcb6de8cd53e7f86229815ec4 | 0 | emmettgarber/phase-0,emmettgarber/phase-0,emmettgarber/phase-0 |
var mouse = {
agility: 7,
stealth: 7,
intelligence: 7,
}
var fatty = {
agility: 2,
stealth: 14,
intelligence: 12
}
var agile = {
agility: 14,
stealth: 12,
intelligence: 2
}
var smarty = {
agility: 12,
stealth: 2,
intelligence: 14
}
function intro() {
console.log("You are Scooter the hun... | week-7/game.js |
var mouse = {
agility: 7,
stealth: 7,
intelligence: 7,
}
var fatty = {
agility: 2,
stealth: 14,
intelligence: 12
}
var agile = {
agility: 14,
stealth: 12,
intelligence: 2
}
var smarty = {
agility: 12,
stealth: 2,
intelligence: 14
}
function intro() {
console.log("You are Scooter the hun... | Add reflection for game
| week-7/game.js | Add reflection for game | <ide><path>eek-7/game.js
<ide> }
<ide> intro()
<ide> // Start Game
<add>
<add>
<add>
<add>
<add>
<add>// Reflection
<add>// What was the most difficult part of this challenge?
<add>// I think just coming up with a concept of how to interact with the user
<add>// What did you learn about creating objects and functions t... | |
JavaScript | mit | eb74b5b6f0f83e8722389979e705e249b1f6497b | 0 | 10layer/jexpress,10layer/jexpress | var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var LocationSchema = new Schema({
name: String,
city: String,
address: String,
img: String,
description: String,
email: String,
sage_uid: String,
sage_product_id: String,
sage_taxtype_id: String,
sage_message: String,
datatill_gro... | models/location_model.js | var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var LocationSchema = new Schema({
name: String,
city: String,
address: String,
img: String,
description: String,
email: String,
sage_uid: String,
sage_product_id: String,
sage_taxtype_id: String,
sage_message: String,
datatill_gro... | Bank account and code
| models/location_model.js | Bank account and code | <ide><path>odels/location_model.js
<ide> sage_taxtype_id: String,
<ide> sage_message: String,
<ide> datatill_group_id: Number,
<add> bank_account: Number,
<add> bank_code: String,
<ide> _deleted: { type: Boolean, default: false, index: true },
<ide> });
<ide> | |
Java | apache-2.0 | eb59b297081e7945b116b1b1df18bbe09d26a27f | 0 | tkountis/hazelcast,emre-aydin/hazelcast,juanavelez/hazelcast,juanavelez/hazelcast,Donnerbart/hazelcast,emre-aydin/hazelcast,mdogan/hazelcast,tufangorel/hazelcast,dbrimley/hazelcast,emre-aydin/hazelcast,mesutcelik/hazelcast,tombujok/hazelcast,tkountis/hazelcast,tkountis/hazelcast,dbrimley/hazelcast,dsukhoroslov/hazelcas... | package com.hazelcast.instance;
import com.hazelcast.config.Config;
import com.hazelcast.internal.metrics.ProbeLevel;
import com.hazelcast.test.HazelcastSerialClassRunner;
import com.hazelcast.test.annotation.QuickTest;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.runner.R... | hazelcast/src/test/java/com/hazelcast/instance/GroupPropertiesTest.java | package com.hazelcast.instance;
import com.hazelcast.config.Config;
import com.hazelcast.internal.metrics.ProbeLevel;
import com.hazelcast.test.HazelcastParallelClassRunner;
import com.hazelcast.test.HazelcastSerialClassRunner;
import com.hazelcast.test.annotation.QuickTest;
import org.junit.Test;
import org.junit.exp... | Added JavaDoc to explain serial runner on GroupPropertiesTest.
| hazelcast/src/test/java/com/hazelcast/instance/GroupPropertiesTest.java | Added JavaDoc to explain serial runner on GroupPropertiesTest. | <ide><path>azelcast/src/test/java/com/hazelcast/instance/GroupPropertiesTest.java
<ide>
<ide> import com.hazelcast.config.Config;
<ide> import com.hazelcast.internal.metrics.ProbeLevel;
<del>import com.hazelcast.test.HazelcastParallelClassRunner;
<ide> import com.hazelcast.test.HazelcastSerialClassRunner;
<ide> import... | |
Java | mit | bef23548a5efdd3aaaba6ceeb92df93212e2c9b5 | 0 | vrk-kpa/xroad-catalog,vrk-kpa/xroad-catalog | /*
* Copyright 2014-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | xroad-catalog-lister/src/test/java/fi/vrk/xroad/catalog/lister/ApplicationTests.java | /*
* Copyright 2014-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Fix for tests
| xroad-catalog-lister/src/test/java/fi/vrk/xroad/catalog/lister/ApplicationTests.java | Fix for tests | <ide><path>road-catalog-lister/src/test/java/fi/vrk/xroad/catalog/lister/ApplicationTests.java
<ide>
<ide> package fi.vrk.xroad.catalog.lister;
<ide>
<del>import fi.vrk.xroad.xroad_catalog_lister.ListMembersRequest;
<add>import fi.vrk.xroad.xroad_catalog_lister.ListMembers;
<ide> import org.junit.Before;
<ide> import... | |
JavaScript | apache-2.0 | ad1f6d39a5a5188655e2d9f15994cc64843fad7e | 0 | wayfair/tungstenjs,cgvarela/tungstenjs,wayfair/tungstenjs | /**
* Base Ampersand view for vdom- see class declaration for more information
*
* @author Matt DeGennaro <mdegennaro@wayfair.com>
*/
'use strict';
var _ = require('underscore');
var AmpersandView = require('ampersand-view');
var tungsten = require('../../src/tungsten');
var ViewWidget = require('./ampersand_vie... | adaptors/ampersand/base_view.js | /**
* Base Ampersand view for vdom- see class declaration for more information
*
* @author Matt DeGennaro <mdegennaro@wayfair.com>
*/
'use strict';
var _ = require('underscore');
var AmpersandView = require('ampersand-view');
var tungsten = require('../../src/tungsten');
var ViewWidget = require('./ampersand_vie... | Fix for Ampersand view method tracking
| adaptors/ampersand/base_view.js | Fix for Ampersand view method tracking | <ide><path>daptors/ampersand/base_view.js
<ide> var data = dataset(this.el);
<ide> data.view = this;
<ide> tungsten.debug.registry.register(this);
<add> // Rebind events so that they can be tracked
<add> this.delegateEvents();
<ide> // These methods are often invoked oddly, so ensure their context... | |
Java | mit | 4ede0fe53dd1b6b1c12d746b706e56aaad2de0c0 | 0 | bcgit/bc-java,bcgit/bc-java,bcgit/bc-java | package org.bouncycastle.asn1.eac;
import java.math.BigInteger;
import java.util.Enumeration;
import org.bouncycastle.asn1.ASN1EncodableVector;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
import org.bouncycastle.asn1.ASN1OctetString;
import org.bouncycastle.asn1.ASN1Primitive;
import org.bouncycastle.asn1.ASN1... | core/src/main/java/org/bouncycastle/asn1/eac/ECDSAPublicKey.java | package org.bouncycastle.asn1.eac;
import java.math.BigInteger;
import java.util.Enumeration;
import org.bouncycastle.asn1.ASN1EncodableVector;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
import org.bouncycastle.asn1.ASN1OctetString;
import org.bouncycastle.asn1.ASN1Primitive;
import org.bouncycastle.asn1.ASN1... | BJA-645 removed hard coded boolean
| core/src/main/java/org/bouncycastle/asn1/eac/ECDSAPublicKey.java | BJA-645 removed hard coded boolean | <ide><path>ore/src/main/java/org/bouncycastle/asn1/eac/ECDSAPublicKey.java
<ide>
<ide> public ASN1Primitive toASN1Primitive()
<ide> {
<del> return new DERSequence(getASN1EncodableVector(usage, false));
<add> return new DERSequence(getASN1EncodableVector(usage, !hasParameters()));
<ide> }
<ide... | |
Java | bsd-3-clause | dc47405d3d524388be6271ace16ecb98f69d8d9f | 0 | lukehutch/gribbit-rox,lukehutch/gribbit-rox | package com.flat502.rox.processing;
import java.io.FileInputStream;
import java.io.IOException;
import java.math.BigInteger;
import java.security.GeneralSecurityException;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.KeyStore;
import java.security.NoSuchAlgorithmEx... | src/com/flat502/rox/processing/SSLConfiguration.java | package com.flat502.rox.processing;
import java.io.FileInputStream;
import java.io.IOException;
import java.math.BigInteger;
import java.security.GeneralSecurityException;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.KeyStore;
import java.security.NoSuchAlgorithmEx... | Fix comment | src/com/flat502/rox/processing/SSLConfiguration.java | Fix comment | <ide><path>rc/com/flat502/rox/processing/SSLConfiguration.java
<ide> // Should not reach here, every Java implementation must have RSA key pair generator
<ide> throw new RuntimeException(e);
<ide> }
<del> PrivateKey privateKey = keyPair.getPrivate();
<ide>
<ide> // ... | |
Java | apache-2.0 | c59f6288bb531e5c75ae234a3e2b43589298535e | 0 | nolearning/learningAndroid | package com.learning.java;
import java.io.File;
import com.fasterxml.jackson.*;
import com.fasterxml.jackson.databind.*;
public class TestMain {
private static class Package {
private String name;
private String id;
public String publisher;
public String version;
public String grade;
publi... | TestJackson/src/com/learning/java/TestMain.java | package com.learning.java;
import java.io.File;
import com.fasterxml.jackson.*;
import com.fasterxml.jackson.databind.*;
public class TestMain {
private static class Package {
private String name;
private String id;
public String publisher;
public String version;
public String grade;
publi... | commit for JsonTree model
| TestJackson/src/com/learning/java/TestMain.java | commit for JsonTree model | <ide><path>estJackson/src/com/learning/java/TestMain.java
<ide> public void readJSONByDataBinding() {
<ide> try {
<ide> Package p1 = mapper.readValue(jsonFile, Package.class);
<add> mapper.createObjectNode();
<ide> System.out.println(p1.childNodes[1].childNodes[0].name);
<ide> } catch(Exception e) {
... | |
Java | apache-2.0 | e285b0bfafa2c6f86aa008c5ac0910f09bbc6b81 | 0 | life-beam/j2objc,bandcampdotcom/j2objc,mirego/j2objc,groschovskiy/j2objc,mirego/j2objc,bandcampdotcom/j2objc,lukhnos/j2objc,life-beam/j2objc,doppllib/j2objc,groschovskiy/j2objc,lukhnos/j2objc,life-beam/j2objc,bandcampdotcom/j2objc,groschovskiy/j2objc,mirego/j2objc,bandcampdotcom/j2objc,doppllib/j2objc,doppllib/j2objc,l... | /*
* Copyright 2011 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | translator/src/main/java/com/google/devtools/j2objc/util/NameTable.java | /*
* Copyright 2011 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | Cache method selectors
Method NameTable.getOriginalMethod() is one of the top methods in the translator's profile. This CL has 7-8% improvement on our Guava benchmark.
Change on 2017/01/27 by zgao <zgao@google.com>
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=145795279
| translator/src/main/java/com/google/devtools/j2objc/util/NameTable.java | Cache method selectors | <ide><path>ranslator/src/main/java/com/google/devtools/j2objc/util/NameTable.java
<ide> private final ElementUtil elementUtil;
<ide> private final CaptureInfo captureInfo;
<ide> private final Map<VariableElement, String> variableNames = new HashMap<>();
<add> private final Map<ExecutableElement, String> methodSe... | |
JavaScript | mit | 31adbe9759c6a9d268763b7147f7680c5fee8119 | 0 | nicolasbeauvais/Walrus,nicolasbeauvais/Walrus,nicolasbeauvais/Walrus |
/**
* Walrus Framework
* File maintained by: Nicolas Beauvais (E-Wok)
* Created: 07:51 21/01/14.
*/
if (!window.jQuery) {
throw new Error('jQuery is needed to run Walrus.js');
}
var Walrus = {};
(function (Walrus) {
// walrus is a ninja
'use strict';
Walrus.config = {};
... | www/assets/javascript/Walrus.js |
/**
* Walrus Framework
* File maintained by: Nicolas Beauvais (E-Wok)
* Created: 07:51 21/01/14.
*/
if (!window.jQuery) {
throw new Error('jQuery is needed to run Walrus.js');
}
var Walrus = {};
(function (Walrus) {
// walrus is a ninja
'use strict';
Walrus.config = {};
... | Walrus.js: lazyload (jQuery version)
| www/assets/javascript/Walrus.js | Walrus.js: lazyload (jQuery version) | <ide><path>ww/assets/javascript/Walrus.js
<ide> // @TODO: find y data
<ide> $nodes = $(document).find('[data-lazyload]');
<ide> $nodes.each(function () {
<del> console.log($(this)[0]);
<add> $(this).load($(this).data('lazyload'));
<ide> });
<ide> };
<ide> | |
Java | bsd-3-clause | 09797356a07c04c2e177ca443acf83c091568122 | 0 | slothspot/scala,shimib/scala,jvican/scala,felixmulder/scala,martijnhoekstra/scala,shimib/scala,lrytz/scala,jvican/scala,martijnhoekstra/scala,martijnhoekstra/scala,felixmulder/scala,felixmulder/scala,scala/scala,jvican/scala,slothspot/scala,slothspot/scala,lrytz/scala,jvican/scala,scala/scala,felixmulder/scala,shimib/s... | /* ____ ____ ____ ____ ______ *\
** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala **
** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL **
** /_____/\____/\___/\____/____/ **
\* ... | sources/scalac/transformer/ExpandMixins.java | /* ____ ____ ____ ____ ______ *\
** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala **
** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL **
** /_____/\____/\___/\____/____/ **
\* ... | - Replaced subclass of TreeCloner by SuperFixer
| sources/scalac/transformer/ExpandMixins.java | - Replaced subclass of TreeCloner by SuperFixer | <ide><path>ources/scalac/transformer/ExpandMixins.java
<ide> + " = <" + ArrayApply.toString(baseTypes) + ">");
<ide>
<ide> // Then go over the mixins and mix them in.
<add> SymbolCloner symbolCloner =
<add> new SymbolCloner(global.freshNameCreator);
<ide> for (int b... | |
Java | apache-2.0 | 4cce9b5b978006f1d6a8f075f05f6c60f428de8c | 0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa | // Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchdefinition;
import com.yahoo.searchlib.rankingexpression.Reference;
import java.util.Optional;
import java.util.regex.Pattern;
/**
* Utility methods for query, document and ... | config-model/src/main/java/com/yahoo/searchdefinition/FeatureNames.java | // Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchdefinition;
import com.yahoo.searchlib.rankingexpression.Reference;
import java.util.Optional;
import java.util.regex.Pattern;
/**
* Utility methods for query, document and ... | Attributes must be identifiers so no need for extra regex check for them.
| config-model/src/main/java/com/yahoo/searchdefinition/FeatureNames.java | Attributes must be identifiers so no need for extra regex check for them. | <ide><path>onfig-model/src/main/java/com/yahoo/searchdefinition/FeatureNames.java
<ide> }
<ide>
<ide> public static Reference asAttributeFeature(String attributeName) {
<del> return Reference.simple("attribute", quoteIfNecessary(attributeName));
<add> return Reference.simple("attribute", attribut... | |
Java | mit | 72baf6a12a2949c558873788275628976ed13626 | 0 | dennis-park/springies | package springies;
import java.io.File;
import java.util.ArrayList;
import javax.swing.JFileChooser;
import javax.swing.filechooser.FileNameExtensionFilter;
import jboxGlue.WorldManager;
import jgame.platform.JGEngine;
import listeners.JGameActionListener;
import masses.Mass;
import springs.Spring;
import walls.Wall;
... | src/springies/Springies.java | package springies;
import java.io.File;
import java.util.ArrayList;
import javax.swing.JFileChooser;
import javax.swing.filechooser.FileNameExtensionFilter;
import jboxGlue.WorldManager;
import jgame.platform.JGEngine;
import listeners.JGameActionListener;
import masses.Mass;
import springs.Spring;
import walls.Wall;
... | cleaned up tester methods
| src/springies/Springies.java | cleaned up tester methods | <ide><path>rc/springies/Springies.java
<ide> //mEnvironmentManager = new EnvironmentManager(this);
<ide> mEnvironmentManager = new EnvironmentManager(this, environment_filename);
<ide> mActionListener = new JGameActionListener(this, mEnvironmentManager);
<del> }
<del>
<del> private void te... | |
Java | apache-2.0 | 9bb670a0de193a8e3141d15447a5dea811f0c992 | 0 | roboconf/roboconf-platform,vincent-zurczak/roboconf-platform,gibello/roboconf,vincent-zurczak/roboconf-platform,diarraa/roboconf-platform,vincent-zurczak/roboconf-platform,roboconf/roboconf-platform,gibello/roboconf,gibello/roboconf,roboconf/roboconf-platform,diarraa/roboconf-platform,diarraa/roboconf-platform | /**
* Copyright 2014-2015 Linagora, Université Joseph Fourier, Floralis
*
* The present code is developed in the scope of the joint LINAGORA -
* Université Joseph Fourier - Floralis research program and is designated
* as a "Result" pursuant to the terms and conditions of the LINAGORA
* - Université Joseph Fourie... | miscellaneous/roboconf-integration-tests/src/test/java/net/roboconf/integration/tests/AgentWithDelayedInitializationTest.java | /**
* Copyright 2014-2015 Linagora, Université Joseph Fourier, Floralis
*
* The present code is developed in the scope of the joint LINAGORA -
* Université Joseph Fourier - Floralis research program and is designated
* as a "Result" pursuant to the terms and conditions of the LINAGORA
* - Université Joseph Fourie... | Try to understand why this test sometimes work and sometimes not | miscellaneous/roboconf-integration-tests/src/test/java/net/roboconf/integration/tests/AgentWithDelayedInitializationTest.java | Try to understand why this test sometimes work and sometimes not | <ide><path>iscellaneous/roboconf-integration-tests/src/test/java/net/roboconf/integration/tests/AgentWithDelayedInitializationTest.java
<ide> import org.ops4j.pax.exam.spi.reactors.PerMethod;
<ide> import org.osgi.framework.Bundle;
<ide> import org.osgi.framework.BundleContext;
<add>import org.osgi.framework.ServiceRef... | |
Java | epl-1.0 | 498059d6a45a8a41a5e1498d63ea118d63331903 | 0 | rohitmohan96/ceylon-ide-eclipse,rohitmohan96/ceylon-ide-eclipse | package com.redhat.ceylon.eclipse.imp.editorActionContributions;
import org.eclipse.core.resources.IProject;
import org.eclipse.jface.dialogs.DialogPage;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.search.ui.ISearchPage;
import org.eclipse.search.ui.ISearchPageContainer;
import org.eclipse.searc... | plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/imp/editorActionContributions/CeylonSearchDialogPage.java | package com.redhat.ceylon.eclipse.imp.editorActionContributions;
import org.eclipse.core.resources.IProject;
import org.eclipse.jface.dialogs.DialogPage;
import org.eclipse.search.ui.ISearchPage;
import org.eclipse.search.ui.ISearchPageContainer;
import org.eclipse.search.ui.NewSearchUI;
import org.eclipse.swt.SWT;
im... | dialogs | plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/imp/editorActionContributions/CeylonSearchDialogPage.java | dialogs | <ide><path>lugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/imp/editorActionContributions/CeylonSearchDialogPage.java
<ide>
<ide> import org.eclipse.core.resources.IProject;
<ide> import org.eclipse.jface.dialogs.DialogPage;
<add>import org.eclipse.jface.dialogs.MessageDialog;
<ide> import org.eclipse... | |
Java | mit | error: pathspec 'src/test/java/hudson/plugins/warnings/parser/PREfastParserTest.java' did not match any file(s) known to git
| 3546ade66cda0186fb648494072c5535aa1ca51e | 1 | amuniz/warnings-plugin,jenkinsci/warnings-plugin,SvenLuebke/warnings-plugin,SvenLuebke/warnings-plugin,recena/warnings-plugin,michelepagot/warnings-plugin,jenkinsci/warnings-plugin,michelepagot/warnings-plugin,amuniz/warnings-plugin,recena/warnings-plugin,amuniz/warnings-plugin,SvenLuebke/warnings-plugin,michelepagot/w... | package hudson.plugins.warnings.parser;
import static org.junit.Assert.*;
import java.io.IOException;
import java.util.Collection;
import java.util.Iterator;
import org.junit.Test;
import hudson.plugins.analysis.util.model.FileAnnotation;
import hudson.plugins.analysis.util.model.Priority;
/**
* Tests the class {... | src/test/java/hudson/plugins/warnings/parser/PREfastParserTest.java | CC - Initial copy, template based on PuppetLintParserTest.java | src/test/java/hudson/plugins/warnings/parser/PREfastParserTest.java | CC - Initial copy, template based on PuppetLintParserTest.java | <ide><path>rc/test/java/hudson/plugins/warnings/parser/PREfastParserTest.java
<add>package hudson.plugins.warnings.parser;
<add>
<add>import static org.junit.Assert.*;
<add>
<add>import java.io.IOException;
<add>import java.util.Collection;
<add>import java.util.Iterator;
<add>
<add>import org.junit.Test;
<add>
<add>im... | |
Java | apache-2.0 | 401f9782840ce7a5511377de1d60cfaa38373ef5 | 0 | blademainer/intellij-community,blademainer/intellij-community,TangHao1987/intellij-community,kool79/intellij-community,salguarnieri/intellij-community,ernestp/consulo,asedunov/intellij-community,hurricup/intellij-community,orekyuu/intellij-community,idea4bsd/idea4bsd,dslomov/intellij-community,clumsy/intellij-community... | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/GrConstructorInvocationImpl.java | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | EA-38182 - IAE: GroovyResolveResultImpl.<init>
| plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/GrConstructorInvocationImpl.java | EA-38182 - IAE: GroovyResolveResultImpl.<init> | <ide><path>lugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/GrConstructorInvocationImpl.java
<ide> }
<ide>
<ide> public GroovyResolveResult[] multiResolveClass() {
<del> return new GroovyResolveResult[]{new GroovyResolveResultImpl(getDelegatedClass(), this, null, PsiSubstitutor.EMPTY, tru... | |
Java | epl-1.0 | 2a171362e672ea489fa4a8c1ae1316892bbcc383 | 0 | shisoft/Nebuchadnezzar,shisoft/Nebuchadnezzar | package org.shisoft.neb;
import org.shisoft.neb.io.Reader;
import org.shisoft.neb.io.type_lengths;
import org.shisoft.neb.utils.Bindings;
import java.util.Arrays;
import java.util.concurrent.ConcurrentSkipListMap;
import java.util.concurrent.locks.ReentrantReadWriteLock;
/**
* Created by shisoft on 16-4-11.
*/
pub... | src/java/org/shisoft/neb/Cleaner.java | package org.shisoft.neb;
import org.shisoft.neb.io.Reader;
import org.shisoft.neb.io.type_lengths;
import org.shisoft.neb.utils.Bindings;
import java.util.Arrays;
import java.util.concurrent.ConcurrentSkipListMap;
import java.util.concurrent.locks.ReentrantReadWriteLock;
/**
* Created by shisoft on 16-4-11.
*/
pub... | unparalleled test
| src/java/org/shisoft/neb/Cleaner.java | unparalleled test | <ide><path>rc/java/org/shisoft/neb/Cleaner.java
<ide> .filter(seg -> seg.getFrags().size() > 0)
<ide> //.sorted((o1, o2) -> Integer.valueOf(o2.getDeadObjectBytes()).compareTo(o1.getDeadObjectBytes()))
<ide> //.limit((long) (Math.max(1, trunk.getSegments().length * 0.5)))
... | |
Java | apache-2.0 | b227182a5e521eaa667c3db8b0738923d0b13de4 | 0 | gbecares/bdt | /*
* Copyright (C) 2014 Stratio (http://stratio.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | src/main/java/com/stratio/qa/utils/ZookeeperSecUtils.java | /*
* Copyright (C) 2014 Stratio (http://stratio.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [QA-369] fixing IT failure with securized zk
| src/main/java/com/stratio/qa/utils/ZookeeperSecUtils.java | [QA-369] fixing IT failure with securized zk | <ide><path>rc/main/java/com/stratio/qa/utils/ZookeeperSecUtils.java
<ide> this.curatorZkClient = CuratorFrameworkFactory.builder().connectString(this.zk_hosts).retryPolicy(this.retryPolicy).connectionTimeoutMs(this.timeout).build();
<ide>
<ide> if ("true".equals(System.getProperty("SECURIZED_ZOOKEEPER"... | |
Java | lgpl-2.1 | 6e544de355b74e9f07c5c786a7632ae42505aed2 | 0 | pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/SkinAction.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... | [cleanup] Improved logging code
| xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/SkinAction.java | [cleanup] Improved logging code | <ide><path>wiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/SkinAction.java
<ide> // The default base skin is always a filesystem directory.
<ide> String defaultbaseskin = xwiki.getDefaultBaseSkin(context);
<ide>
<del> if (LOGGER.isDebugEnabled()) {
<del> LOGG... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.