lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | apache-2.0 | b2439b1711db4d6b901d4636e2a23d3a5f4168a8 | 0 | rcordovano/autopsy,esaunders/autopsy,rcordovano/autopsy,esaunders/autopsy,rcordovano/autopsy,rcordovano/autopsy,rcordovano/autopsy,wschaeferB/autopsy,wschaeferB/autopsy,wschaeferB/autopsy,esaunders/autopsy,esaunders/autopsy,rcordovano/autopsy,wschaeferB/autopsy,esaunders/autopsy,wschaeferB/autopsy | /*
* Autopsy Forensic Browser
*
* Copyright 2013-2018 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | Core/src/org/sleuthkit/autopsy/contentviewers/Metadata.java | /*
* Autopsy Forensic Browser
*
* Copyright 2013-2018 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | Corrected typo.
| Core/src/org/sleuthkit/autopsy/contentviewers/Metadata.java | Corrected typo. | <ide><path>ore/src/org/sleuthkit/autopsy/contentviewers/Metadata.java
<ide> addRow(sb, NbBundle.getMessage(this.getClass(), "Metadata.tableRowTitle.deviceId"), image.getDeviceId());
<ide> addRow(sb, NbBundle.getMessage(this.getClass(), "Metadata.tableRowTitle.internalid"), Long.toString(image.ge... | |
JavaScript | apache-2.0 | c51473be278fcb0cb623898bc3727e351efd0bb3 | 0 | beni55/enyo,zefsolutions/enyo,onecrayon/enyo,mcanthony/enyo,bright-sparks/enyo,bright-sparks/enyo,enyojs/enyo,wikieswan/enyo,enyojs/enyo,beni55/enyo,kustomzone/enyo,soapdog/enyo,PKRoma/enyo,onecrayon/enyo,soapdog/enyo,airspringsoftware/enyo,PKRoma/enyo,wikieswan/enyo,kustomzone/enyo,airspringsoftware/enyo,mcanthony/eny... | //* @protected
enyo.requiresWindow(function() {
// add touch-specific gesture feature
var gesture = enyo.gesture;
var oldevents = gesture.events;
//
gesture.events.touchstart = function(e) {
// for duration of this touch, only handle touch events. Old event
// structure will be restored during touchend.
ges... | source/touch/touch.js | //* @protected
enyo.requiresWindow(function() {
// add touch-specific gesture feature
var gesture = enyo.gesture;
var oldevents = gesture.events;
//
gesture.events.touchstart = function(e) {
// for duration of this touch, only handle touch events. Old event
// structure will be restored during touchend.
ges... | ENYO-1315: temporary fix to only do event reassignment on desktop Chrome, not on device.
Enyo-DCO-1.0-Signed-Off-By: Ben Combee (ben.combee@palm.com)
| source/touch/touch.js | ENYO-1315: temporary fix to only do event reassignment on desktop Chrome, not on device. | <ide><path>ource/touch/touch.js
<ide> _touchCount: 0,
<ide> touchstart: function(inEvent) {
<ide> enyo.job.stop("resetGestureEvents");
<del> this._touchCount++;
<add> this._touchCount += inEvent.changedTouches.length;
<ide> this.excludedTarget = null;
<ide> var e = this.makeEvent(inEvent);
<ide> ges... | |
JavaScript | mit | efbf89374a3f393cdedf33ea5ab4f0c32438cc19 | 0 | akagetsu/MFElectron,akagetsu/MFElectron | //jshint esversion:6
var app = require('./app/app');
const path = '';
app.run(path); | script.js | //jshint esversion:6
const csv = require('fast-csv'),
path = require('path');
const api = require('./api/api');
let codes = [];
const myPath = path.resolve(__dirname, "clienti.csv");
const endPath = path.resolve(__dirname, "clientiFull.csv");
csv.fromPath(myPath)
.on("data", function (data) {
codes.push(data.... | Call app from the main script
| script.js | Call app from the main script | <ide><path>cript.js
<ide> //jshint esversion:6
<del>const csv = require('fast-csv'),
<del> path = require('path');
<del>
<del>const api = require('./api/api');
<del>let codes = [];
<del>const myPath = path.resolve(__dirname, "clienti.csv");
<del>const endPath = path.resolve(__dirname, "clientiFull.csv");
<del>
<del>cs... | |
Java | apache-2.0 | 6ffb12188913833baa0494f297188d5b2a90ff1e | 0 | consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo,consulo/consulo | /*
* 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... | modules/base/analysis-api/src/main/java/com/intellij/codeHighlighting/HighlightDisplayLevel.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... | use warning icon
| modules/base/analysis-api/src/main/java/com/intellij/codeHighlighting/HighlightDisplayLevel.java | use warning icon | <ide><path>odules/base/analysis-api/src/main/java/com/intellij/codeHighlighting/HighlightDisplayLevel.java
<ide> */
<ide> package com.intellij.codeHighlighting;
<ide>
<del>import com.intellij.icons.AllIcons;
<ide> import com.intellij.lang.annotation.HighlightSeverity;
<ide> import com.intellij.openapi.editor.colors.C... | |
Java | lgpl-2.1 | 68b6ffe38d67a3983e70067f7f87b25ce87b488d | 0 | zwobit/exist,olvidalo/exist,jessealama/exist,wolfgangmm/exist,ljo/exist,shabanovd/exist,zwobit/exist,RemiKoutcherawy/exist,RemiKoutcherawy/exist,ambs/exist,zwobit/exist,dizzzz/exist,ljo/exist,kohsah/exist,olvidalo/exist,joewiz/exist,dizzzz/exist,RemiKoutcherawy/exist,patczar/exist,wshager/exist,kohsah/exist,MjAbuz/exis... | /*
* eXist Open Source Native XML Database
* Copyright (C) 2001-06, Wolfgang M. Meier (meier@ifs.tu-darmstadt.de)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License
* as published by the Free Software Foundation; either ver... | src/org/exist/xquery/value/StringValue.java | /*
* eXist Open Source Native XML Database
* Copyright (C) 2001-06, Wolfgang M. Meier (meier@ifs.tu-darmstadt.de)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License
* as published by the Free Software Foundation; either ver... | Fixed return type of String-derived atomic values.
svn path=/trunk/eXist/; revision=5452
| src/org/exist/xquery/value/StringValue.java | Fixed return type of String-derived atomic values. | <ide><path>rc/org/exist/xquery/value/StringValue.java
<ide> * @see org.exist.xquery.value.AtomicValue#getType()
<ide> */
<ide> public int getType() {
<del> return Type.STRING;
<add> return type;
<ide> }
<ide>
<ide> /* (non-Javadoc) | |
Java | mit | 25935b84df18f20fe1c8f95a0701ccd594d537fd | 0 | hydrated/SwipeRevealLayout,chthai64/SwipeRevealLayout | /**
The MIT License (MIT)
Copyright (c) 2016 Chau Thai
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, mer... | swipe-reveal-layout/src/main/java/com/chauthai/swipereveallayout/SwipeRevealLayout.java | /**
The MIT License (MIT)
Copyright (c) 2016 Chau Thai
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, mer... | Add isClosed().
Fix docs
| swipe-reveal-layout/src/main/java/com/chauthai/swipereveallayout/SwipeRevealLayout.java | Add isClosed(). Fix docs | <ide><path>wipe-reveal-layout/src/main/java/com/chauthai/swipereveallayout/SwipeRevealLayout.java
<ide> }
<ide>
<ide> /**
<del> * @return true if the state is opened, false otherwise.
<add> * @return true if layout is fully opened, false otherwise.
<ide> */
<ide> public boolean isOpened() {
<i... | |
Java | apache-2.0 | b14396fdd8bfbc17eb3e463527cc16cba3f88f4e | 0 | takenet/lime-java,andrebires/lime-java | package org.limeprotocol.util;
import java.util.LinkedHashMap;
import java.util.Map;
public class StringUtils {
public static boolean isNullOrEmpty(String string){
return string == null || string.equals("");
}
public static boolean isNullOrWhiteSpace(String string){
return isNullOrEmpty(... | src/main/java/org/limeprotocol/util/StringUtils.java | package org.limeprotocol.util;
import java.util.LinkedHashMap;
import java.util.Map;
public class StringUtils {
public static boolean isNullOrEmpty(String string){
return string == null || string.equals("");
}
public static boolean isNullOrWhiteSpace(String string){
return isNullOrEmpty(... | Transform null values to empty string
| src/main/java/org/limeprotocol/util/StringUtils.java | Transform null values to empty string | <ide><path>rc/main/java/org/limeprotocol/util/StringUtils.java
<ide> Map<String, Object> tags = new LinkedHashMap<String, Object>();
<ide>
<ide> for (int i=0; i<values.length; i++){
<del> tags.put("\\{" + i + "\\}", values[i]);
<add> tags.put("\\{" + i + "\\}", values[i]==null ? "... | |
JavaScript | mit | 45327d79757119b2e769bede28932d5b2df5bfc1 | 0 | heroku/node-heroku-client | 'use strict';
var http = require('http');
var https = require('https');
var concat = require('concat-stream');
var lazy = require('lazy.js');
var logfmt = require('logfmt');
var q = require('q');
var cache;
var encryptor;
module.exports = Request;
/*
* Create an object capable of makin... | lib/request.js | 'use strict';
var http = require('http');
var https = require('https');
var concat = require('concat-stream');
var lazy = require('lazy.js');
var logfmt = require('logfmt');
var q = require('q');
var cache;
var encryptor;
module.exports = Request;
/*
* Create an object capable of makin... | added debug info
| lib/request.js | added debug info | <ide><path>ib/request.js
<ide> this.options = options || {};
<ide> this.host = options.host || 'api.heroku.com';
<ide> this.log = options.log;
<add> this.debug = options.debug;
<ide> this.callback = callback;
<ide> this.deferred = q.defer();
<ide> this.parseJSON = options.hasOwnProperty(... | |
Java | apache-2.0 | 59f96a9880e38b945bc34285f4c842df5622d8bb | 0 | salguarnieri/intellij-community,asedunov/intellij-community,salguarnieri/intellij-community,mglukhikh/intellij-community,lucafavatella/intellij-community,retomerz/intellij-community,apixandru/intellij-community,asedunov/intellij-community,allotria/intellij-community,allotria/intellij-community,vvv1559/intellij-communit... | /*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/platform-impl/src/com/intellij/ide/IdeTooltipManager.java | /*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | IDEA-98746 Annoying editor tab tooltips
| platform/platform-impl/src/com/intellij/ide/IdeTooltipManager.java | IDEA-98746 Annoying editor tab tooltips | <ide><path>latform/platform-impl/src/com/intellij/ide/IdeTooltipManager.java
<ide> }
<ide> }
<ide> else if (me.getID() == MouseEvent.MOUSE_PRESSED) {
<del> if (c == myCurrentComponent) {
<del> hideCurrent(me, null, null);
<add> boolean clickOnTooltip = myCurrentTipUi != null && myCurrentT... | |
Java | bsd-2-clause | 1851f845396a57c9163098c39653d2381c4dd391 | 0 | sixshot626/h2o,sixshot626/h2o,sixshot626/h2o | package h2o.flow.pvm;
import h2o.common.lang.Val;
import h2o.common.util.collection.ListBuilder;
import h2o.flow.pvm.elements.Line;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
public class ExecResult {
private final RunStatus status;
private final List<Line> lines;
... | h2o-flow/src/main/java/h2o/flow/pvm/ExecResult.java | package h2o.flow.pvm;
import h2o.common.lang.Val;
import h2o.common.util.collection.ListBuilder;
import h2o.flow.pvm.elements.Line;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
public class ExecResult {
private final RunStatus status;
private final List<Line> lines;
... | 添加静态便利方法
| h2o-flow/src/main/java/h2o/flow/pvm/ExecResult.java | 添加静态便利方法 | <ide><path>2o-flow/src/main/java/h2o/flow/pvm/ExecResult.java
<ide> }
<ide>
<ide>
<add>
<add> public static ExecResult pause( Object result ) {
<add> return new ExecResult( result , RunStatus.PAUSE );
<add> }
<add>
<add> public static ExecResult end( Object result ) {
<add> return new ExecR... | |
Java | apache-2.0 | 70d9e97cfa33a4d768e93ec633ebe762bc426835 | 0 | nikos/edison-microservice,nikos/edison-microservice,nikos/edison-microservice | package de.otto.edison.jobs.repository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.actuate.metrics.CounterService;
import org.springframework.scheduling.annotation.Scheduled;
import java.util.List;
/**
* A c... | jobs/src/main/java/de/otto/edison/jobs/repository/JobRepositoryCleanup.java | package de.otto.edison.jobs.repository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.actuate.metrics.CounterService;
import org.springframework.scheduling.annotation.Scheduled;
import java.util.List;
/**
* A component that is responsible for cleaning up the job repo... | Added logging of exceptions during cleanup of job repositories
| jobs/src/main/java/de/otto/edison/jobs/repository/JobRepositoryCleanup.java | Added logging of exceptions during cleanup of job repositories | <ide><path>obs/src/main/java/de/otto/edison/jobs/repository/JobRepositoryCleanup.java
<ide> package de.otto.edison.jobs.repository;
<ide>
<add>import org.slf4j.Logger;
<add>import org.slf4j.LoggerFactory;
<ide> import org.springframework.beans.factory.annotation.Autowired;
<ide> import org.springframework.boot.actuate... | |
Java | apache-2.0 | 3391ec5377b5f2204dab2c14b38893e0e3556628 | 0 | brat000012001/keycloak,vmuzikar/keycloak,pedroigor/keycloak,jpkrohling/keycloak,darranl/keycloak,mposolda/keycloak,reneploetz/keycloak,raehalme/keycloak,vmuzikar/keycloak,raehalme/keycloak,raehalme/keycloak,stianst/keycloak,brat000012001/keycloak,abstractj/keycloak,keycloak/keycloak,vmuzikar/keycloak,jpkrohling/keycloa... | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... | adapters/spi/servlet-adapter-spi/src/main/java/org/keycloak/adapters/servlet/FilterSessionStore.java | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... | check if content-type is null when restoring request
| adapters/spi/servlet-adapter-spi/src/main/java/org/keycloak/adapters/servlet/FilterSessionStore.java | check if content-type is null when restoring request | <ide><path>dapters/spi/servlet-adapter-spi/src/main/java/org/keycloak/adapters/servlet/FilterSessionStore.java
<ide> if (body == null) return new MultivaluedHashMap<String, String>();
<ide>
<ide> String contentType = getContentType();
<del> contentType = conte... | |
Java | agpl-3.0 | 23831d7df6c2f8e6a324c6603662d04e1fe1d59d | 0 | ozwillo/ozwillo-kernel,ozwillo/ozwillo-kernel,ozwillo/ozwillo-kernel | package oasis.jongo.accounts;
import javax.inject.Inject;
import org.jongo.Jongo;
import org.jongo.MongoCollection;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.mongodb.WriteResult;
import oasis.model.InvalidVersionException;
import oasis.model.accounts.Account;
import oasis.model.accounts.Ac... | oasis-webapp/src/main/java/oasis/jongo/accounts/JongoAccountRepository.java | package oasis.jongo.accounts;
import javax.inject.Inject;
import org.jongo.Jongo;
import org.jongo.MongoCollection;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.mongodb.WriteResult;
import oasis.model.InvalidVersionException;
import oasis.model.accounts.Account;
import oasis.model.accounts.Ac... | Make sure we never retrieve tokens and authorized scopes within accounts
Change-Id: I166579305d867ca5f2fa94efa447ed3378d7a5b0
| oasis-webapp/src/main/java/oasis/jongo/accounts/JongoAccountRepository.java | Make sure we never retrieve tokens and authorized scopes within accounts | <ide><path>asis-webapp/src/main/java/oasis/jongo/accounts/JongoAccountRepository.java
<ide>
<ide> @Override
<ide> public Account getAccount(String id) {
<del> return this.getAccountCollection().findOne("{id:#}", id).as(Account.class);
<add> return this.getAccountCollection()
<add> .findOne("{id:#}", i... | |
JavaScript | mit | d6c6dbf3a41e6efb4dc57c73d1ca8a12d196abd5 | 0 | exponentjs/exp | import inquirerAsync from 'inquirer-async';
import {
Api,
Exp,
} from 'xdl';
import _ from 'lodash';
import log from '../log';
async function action(projectDir, options) {
let validatedOptions = {};
let templateType;
let questions = [];
if (options.projectName) {
validatedOptions.name = options.proj... | src/commands/init.js | import inquirerAsync from 'inquirer-async';
import {
Api,
Exp,
} from 'xdl';
import _ from 'lodash';
import log from '../log';
async function action(projectDir, options) {
let validatedOptions = {};
let templateType;
let questions = [];
if (options.projectName) {
validatedOptions.name = options.proj... | Update exp init help entry
fbshipit-source-id: 5b50882
| src/commands/init.js | Update exp init help entry | <ide><path>rc/commands/init.js
<ide> program
<ide> .command('init [project-dir]')
<ide> .alias('i')
<del> .description('Initializes a directory with an example project')
<add> .description('Initializes a directory with an example project. Run it without any options and you will be prompted for the name ... | |
Java | apache-2.0 | 06285143c04cb6bbdbadf4e886bfc263697a0467 | 0 | venusdrogon/feilong-spring | /*
* Copyright (C) 2008 feilong
*
* 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... | feilong-spring-web/src/main/java/com/feilong/spring/web/util/WebSpringUtil.java | /*
* Copyright (C) 2008 feilong
*
* 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... | 提高 WebSpringUtil.getWebApplicationContext(HttpServletRequest) 健壮性 fix
#28 | feilong-spring-web/src/main/java/com/feilong/spring/web/util/WebSpringUtil.java | 提高 WebSpringUtil.getWebApplicationContext(HttpServletRequest) 健壮性 fix #28 | <ide><path>eilong-spring-web/src/main/java/com/feilong/spring/web/util/WebSpringUtil.java
<ide> import javax.servlet.http.HttpServletRequest;
<ide> import javax.servlet.http.HttpServletResponse;
<ide>
<add>import org.apache.commons.lang3.Validate;
<ide> import org.springframework.context.ApplicationContext;
<ide> impo... | |
JavaScript | agpl-3.0 | a611be7c972a9392701d0efb2fd5488a33c60f07 | 0 | FoxelSA/freepano,luxigo/freepano,FoxelSA/freepano,FoxelSA/freepano,luxigo/freepano,FoxelSA/freepano | /*
* freepano - WebGL panorama viewer
*
* Copyright (c) 2014 FOXEL SA - http://foxel.ch
* Please read <http://foxel.ch/license> for more information.
*
*
* Author(s):
*
* Alexandre Kraft <a.kraft@foxel.ch>
*
*
* Contributor(s):
*
* Nils Hamel <n.hamel@foxel.ch>
*
*
* This file is part of the ... | js/jquery.freepano.controls.js | /*
* freepano - WebGL panorama viewer
*
* Copyright (c) 2014 FOXEL SA - http://foxel.ch
* Please read <http://foxel.ch/license> for more information.
*
*
* Author(s):
*
* Alexandre Kraft <a.kraft@foxel.ch>
*
*
* This file is part of the FOXEL project <http://foxel.ch>.
*
* This program is free softwa... | Better handling of device events. Use HTML5 DeviceMotion API instead of DeviceOrientation.
| js/jquery.freepano.controls.js | Better handling of device events. Use HTML5 DeviceMotion API instead of DeviceOrientation. | <ide><path>s/jquery.freepano.controls.js
<ide> * Author(s):
<ide> *
<ide> * Alexandre Kraft <a.kraft@foxel.ch>
<add> *
<add> *
<add> * Contributor(s):
<add> *
<add> * Nils Hamel <n.hamel@foxel.ch>
<ide> *
<ide> *
<ide> * This file is part of the FOXEL project <http://foxel.ch>.
<ide> },
<ide... | |
JavaScript | mit | 3345f23b5cb595b7eb7985be1e7e024f5a644989 | 0 | iliyan-trifonov/notepads-nodejs-angularjs-mongodb-bootstrap,iliyan-trifonov/notepads-nodejs-angularjs-mongodb-bootstrap | 'use strict';
var Category = require('../../../src/models/category'),
User = require('../../../src/models/user'),
assert = require('assert'),
connection = require('../../db_common');
describe('Category Model', function () {
var db, testUser, testCats = [];
before(function (done) {
//TODO... | test/server/models/category_test.js | 'use strict';
var Category = require('../../../src/models/category'),
User = require('../../../src/models/user'),
assert = require('assert'),
connection = require('../../db_common');
describe('Category Model', function () {
var db, testUser, testCats = [];
before(function (done) {
db = c... | added db.close() in after()
| test/server/models/category_test.js | added db.close() in after() | <ide><path>est/server/models/category_test.js
<ide> var db, testUser, testCats = [];
<ide>
<ide> before(function (done) {
<add> //TODO: use callback
<ide> db = connection();
<del>
<ide> //add some testing data
<ide> User.create({
<ide> facebookId: +new Date(),
<ide> ... | |
Java | apache-2.0 | 622ed452062c556623e982818b82e1b2caac0e89 | 0 | stevespringett/dependency-track,stevespringett/dependency-track,stevespringett/dependency-track | /*
* This file is part of Dependency-Track.
*
* 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 o... | src/main/java/org/owasp/dependencytrack/persistence/QueryManager.java | /*
* This file is part of Dependency-Track.
*
* 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 o... | Fixed pagination issue in 3.0 master branch that resulted in inconsistent results when paginating through multiple sets of results. This resulted in some pages containing duplicates and omissions of some data altogether.
The issue reported against v1.0 may or may not have been the same issue. v3 is based on entirely d... | src/main/java/org/owasp/dependencytrack/persistence/QueryManager.java | Fixed pagination issue in 3.0 master branch that resulted in inconsistent results when paginating through multiple sets of results. This resulted in some pages containing duplicates and omissions of some data altogether. | <ide><path>rc/main/java/org/owasp/dependencytrack/persistence/QueryManager.java
<ide> @SuppressWarnings("unchecked")
<ide> public PaginatedResult getDependencies(Component component) {
<ide> final Query query = pm.newQuery(Dependency.class, "component == :component");
<add> query.setOrdering("id ... | |
Java | mit | d334d135081489cc9b2d1b5c53f08af1dbb5a883 | 0 | Sqooba/traildb-java,Sqooba/traildb-java,Sqooba/traildb-java | package io.sqooba.traildb.test;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import org.apache.commons.io.FileUtils;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.Expecte... | src/test/java/io/sqooba/traildb/test/TrailDBFailureTest.java | package io.sqooba.traildb.test;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import org.apache.commons.io.FileUtils;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.Expecte... | �� Fix test.
| src/test/java/io/sqooba/traildb/test/TrailDBFailureTest.java | �� Fix test. | <ide><path>rc/test/java/io/sqooba/traildb/test/TrailDBFailureTest.java
<ide>
<ide> public class TrailDBFailureTest {
<ide>
<del> private TrailDBNative traildb = TrailDBNative.INSTANCE;
<add> private final TrailDBNative traildb = TrailDBNative.INSTANCE;
<ide>
<ide> private TrailDB db;
<del> private Strin... | |
Java | mit | 556a2f8a3d064c7d8fb9719f2858bea9ed2c9075 | 0 | lucasdavid/Compilers-2-assignment-2,lucasdavid/Compilers-2-assignment-2,lucasdavid/Compilers-2-assignment-2,lucasdavid/Compilers-2-assignment-2,lucasdavid/Compilers-2-assignment-2 | package compiler;
import filehandler.JsonWriter;
import grammar.ReceiptLexer;
import grammar.ReceiptParser;
import infrastructure.SemanticListener;
import infrastructure.SyntacticalListener;
import infrastructure.exceptions.*;
import infrastructure.json.JsonStructure;
import infrastructure.messagebag.MessageB... | Compiler/src/compiler/Compiler.java | package compiler;
import filehandler.JsonWriter;
import grammar.ReceiptLexer;
import grammar.ReceiptParser;
import infrastructure.SemanticListener;
import infrastructure.SyntacticalListener;
import infrastructure.exceptions.*;
import infrastructure.json.JsonStructure;
import infrastructure.messagebag.MessageB... | Fix lexics.hasErrors line
| Compiler/src/compiler/Compiler.java | Fix lexics.hasErrors line | <ide><path>ompiler/src/compiler/Compiler.java
<ide> throw new LexicalException();
<ide> }
<ide>
<del> if (lexics.hasErrors()) {
<add> if (syntactics.hasErrors()) {
<ide> throw new SyntacticalException();
<ide> }
<ide> | |
Java | mit | 7e4275146ccbaf9f6e3cd16d8a99fdf8a2ef715a | 0 | nls-oskari/oskari-server,nls-oskari/oskari-server,nls-oskari/oskari-server | package org.oskari.statistics.plugins.unsd;
import fi.nls.oskari.control.statistics.data.IndicatorValue;
import fi.nls.oskari.control.statistics.data.StatisticalIndicator;
import fi.nls.oskari.control.statistics.data.StatisticalIndicatorDataModel;
import fi.nls.oskari.control.statistics.data.StatisticalIndicatorLayer;... | service-statistics-unsd/src/main/java/org/oskari/statistics/plugins/unsd/UnsdStatisticalDatasourcePlugin.java | package org.oskari.statistics.plugins.unsd;
import fi.nls.oskari.control.statistics.data.IndicatorValue;
import fi.nls.oskari.control.statistics.data.StatisticalIndicator;
import fi.nls.oskari.control.statistics.data.StatisticalIndicatorDataModel;
import fi.nls.oskari.control.statistics.data.StatisticalIndicatorLayer;... | Refactor method order and names
| service-statistics-unsd/src/main/java/org/oskari/statistics/plugins/unsd/UnsdStatisticalDatasourcePlugin.java | Refactor method order and names | <ide><path>ervice-statistics-unsd/src/main/java/org/oskari/statistics/plugins/unsd/UnsdStatisticalDatasourcePlugin.java
<ide> private Map<Long, String[]> layerAreaCodes = new HashMap<>();
<ide>
<ide> @Override
<del> public void update() {
<del> // get the indicator listing
<del> UnsdRequest re... | |
JavaScript | mit | 54e5ff24cb5a075237855ac7a34ac715c0374068 | 0 | yuchi/react-titanium | import invariant from 'react/lib/invariant';
const { assign } = Object;
// Utilities
const handlerRE = /^on[A-Z]/g;
export function extractHandlers(props) {
const handlers = {};
const rest = {};
for (let key of Object.keys(props)) {
if (key.match(handlerRE)) {
handlers[ key.slice(2, 3).toLowerCase(... | src/lib/ReactTitaniumBridge.js | import invariant from 'react/lib/invariant';
const { assign } = Object;
// Utilities
const handlerRE = /^on[A-Z]/g;
export function extractHandlers(props) {
const handlers = {};
const rest = {};
for (let key of Object.keys(props)) {
if (key.match(handlerRE)) {
handlers[ key.slice(2, 3).toLowerCase(... | added slider, optiondialog, and switch
| src/lib/ReactTitaniumBridge.js | added slider, optiondialog, and switch | <ide><path>rc/lib/ReactTitaniumBridge.js
<ide> factory: props => Titanium.UI.createListView(props)
<ide> });
<ide>
<add>register("switch", "Titanium.UI.Switch", {
<add> factory: props => Titanium.UI.createSwitch(props)
<add>});
<add>
<add>register("optiondialog", "Titanium.UI.OptionDialog", {
<add> factory: props ... | |
Java | apache-2.0 | error: pathspec 'autosize/src/main/java/me/jessyan/autosize/unit/UnitsManager.java' did not match any file(s) known to git
| dace5efb4d2fce57adc352a82085704e0297d046 | 1 | JessYanCoding/AndroidAutoSize | /*
* Copyright 2018 JessYan
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | autosize/src/main/java/me/jessyan/autosize/unit/UnitsManager.java | Create UnitsManager
| autosize/src/main/java/me/jessyan/autosize/unit/UnitsManager.java | Create UnitsManager | <ide><path>utosize/src/main/java/me/jessyan/autosize/unit/UnitsManager.java
<add>/*
<add> * Copyright 2018 JessYan
<add> *
<add> * Licensed under the Apache License, Version 2.0 (the "License");
<add> * you may not use this file except in compliance with the License.
<add> * You may obtain a copy of the License at
<add... | |
Java | mpl-2.0 | b97c5d49819f22ba2368e39900d9f55c5955c04a | 0 | kckc/openmrs-core,jcantu1988/openmrs-core,WANeves/openmrs-core,prisamuel/openmrs-core,sravanthi17/openmrs-core,shiangree/openmrs-core,jamesfeshner/openmrs-module,Openmrs-joel/openmrs-core,WANeves/openmrs-core,maekstr/openmrs-core,jvena1/openmrs-core,joansmith/openmrs-core,foolchan2556/openmrs-core,kabariyamilind/openMR... | /**
* The contents of this file are subject to the OpenMRS Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://license.openmrs.org
*
* Software distributed under the License is distributed on an "AS... | api/src/main/java/org/openmrs/util/DatabaseUpdater.java | /**
* The contents of this file are subject to the OpenMRS Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://license.openmrs.org
*
* Software distributed under the License is distributed on an "AS... | Followup fix from review for Clarify what the startup error "Waiting for changelog lock...." means - TRUNK-1637
git-svn-id: ce3478dfdc990238714fcdf4fc6855b7489218cf@24961 5bac5841-c719-aa4e-b3fe-cce5062f897a
| api/src/main/java/org/openmrs/util/DatabaseUpdater.java | Followup fix from review for Clarify what the startup error "Waiting for changelog lock...." means - TRUNK-1637 | <ide><path>pi/src/main/java/org/openmrs/util/DatabaseUpdater.java
<ide> log.debug("Setting up liquibase object to run changelog: " + changeLogFile);
<ide> Liquibase liquibase = getLiquibase(changeLogFile, cl);
<ide> int numChangeSetsToRun = liquibase.listUnrunChangeSets(contexts).size();
<del> Database database ... | |
Java | epl-1.0 | 3061df6d43c4f6c8817fd8a6519693c7b9187225 | 0 | jtrfp/terminal-recall,jtrfp/terminal-recall,jtrfp/terminal-recall | src/test/java/org/jtrfp/trcl/pool/PartitionedIndexPoolTest.java | /*******************************************************************************
* This file is part of TERMINAL RECALL
* Copyright (c) 2012-2015 Chuck Ritola
* Part of the jTRFP.org project
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public Li... | Delete PartitionedIndexPoolTest.java | src/test/java/org/jtrfp/trcl/pool/PartitionedIndexPoolTest.java | Delete PartitionedIndexPoolTest.java | <ide><path>rc/test/java/org/jtrfp/trcl/pool/PartitionedIndexPoolTest.java
<del>/*******************************************************************************
<del> * This file is part of TERMINAL RECALL
<del> * Copyright (c) 2012-2015 Chuck Ritola
<del> * Part of the jTRFP.org project
<del> * All rights reserved. Thi... | ||
Java | bsd-3-clause | 452a1381438b68cef3b25c548c86ac0be8d89863 | 0 | interdroid/ibis-ipl,interdroid/ibis-ipl,interdroid/ibis-ipl | package ibis.impl.net;
import ibis.ipl.ConnectionTimedOutException;
import ibis.ipl.IbisConfigurationException;
import ibis.ipl.ReadMessage;
import ibis.ipl.ReceivePort;
import ibis.ipl.ReceivePortConnectUpcall;
import ibis.ipl.ReceivePortIdentifier;
import ibis.ipl.ReceiveTimedOutException;
import ibis.ipl.SendPortId... | src/ibis/impl/net/NetReceivePort.java | package ibis.impl.net;
import ibis.ipl.ConnectionTimedOutException;
import ibis.ipl.IbisConfigurationException;
import ibis.ipl.ReadMessage;
import ibis.ipl.ReceivePort;
import ibis.ipl.ReceivePortConnectUpcall;
import ibis.ipl.ReceivePortIdentifier;
import ibis.ipl.ReceiveTimedOutException;
import ibis.ipl.SendPortId... | Do still just one layout thingy
git-svn-id: f22e84ca493ccad7df8d2727bca69d1c9fc2e5c5@2818 aaf88347-d911-0410-b711-e54d386773bb
| src/ibis/impl/net/NetReceivePort.java | Do still just one layout thingy | <ide><path>rc/ibis/impl/net/NetReceivePort.java
<ide>
<ide> public SendPortIdentifier[] connectedTo() {
<ide> synchronized (connectionTable) {
<del> SendPortIdentifier t[]
<del> = new SendPortIdentifier[connectionTable.size()];
<add> int size = connectionTable.size();
<... | |
Java | unlicense | 27f5b6df89cf0a677d52c9b812027f5a8147cb55 | 0 | Ohohcakester/Any-Angle-Pathfinding,Ohohcakester/Any-Angle-Pathfinding | package main;
import java.awt.Color;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import algorithms.AStar;
import algorithms.Anya;
import algorithms.BasicThetaStar;
import algorithms.JumpPointSearch;
import algorithms.StrictVisibilityGraphAlgorithm;
import a... | src/main/Experiment.java | package main;
import java.awt.Color;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Random;
import algorithms.AStar;
import algorithms.Anya;
import algorithms.BasicThetaStar;
import algorithms.JumpPointSearch;
import algorithms.StrictVisibilityGraphAlgorithm;
import a... | Add test for computeAllVisibibleSuccessors in Experiment.java
| src/main/Experiment.java | Add test for computeAllVisibibleSuccessors in Experiment.java | <ide><path>rc/main/Experiment.java
<ide> System.out.println("Per iteration time: " + (totalTime/iterations));
<ide>
<ide> //losScanner.computeAllVisibleTwoWayTautSuccessors(sx, sy);
<add> losScanner.computeAllVisibleSuccessors(sx, sy);
<ide> ... | |
JavaScript | bsd-2-clause | d1ed996204bedf61d8fa4e88ce242b43439e3759 | 0 | erpframework/oboe.js,Mosoc/oboe.js,wbh5/oboe.js,ethanresnick/oboe.js |
/*
Tests that calling the public api gets through correctly to the writing
correctly. streamingXhr is a stub so no actual calls are made.
Technically this tests some of instanceController.js as well as publicApi.js but the tests were
written before the logic was split into two.
*/
describe("public a... | test/specs/publicApi.unit.spec.js |
/*
Tests that calling the public api gets through correctly to the writing
correctly. streamingXhr is a stub so no actual calls are made.
Technically this tests some of instanceController.js as well as publicApi.js but the tests were
written before the logic was split into two.
*/
describe("public a... | move beforeEach to end of spec file
| test/specs/publicApi.unit.spec.js | move beforeEach to end of spec file | <ide><path>est/specs/publicApi.unit.spec.js
<ide>
<ide> describe("public api", function(){
<ide> "use strict";
<del>
<del>
<del> this.beforeEach(function(){
<del>
<del> this.addMatchers({
<del> /* Under Jasmine's toHaveBeenCalledLike, subject(foo, undefined)
<del> is considered differen... | |
JavaScript | apache-2.0 | cae804536785cac5d5a2b3b8e3b9d38c1e623148 | 0 | rogerpueyo/luci,openwrt/luci,tobiaswaldvogel/luci,tobiaswaldvogel/luci,rogerpueyo/luci,hnyman/luci,hnyman/luci,hnyman/luci,lbthomsen/openwrt-luci,rogerpueyo/luci,openwrt/luci,hnyman/luci,lbthomsen/openwrt-luci,openwrt/luci,hnyman/luci,openwrt/luci,rogerpueyo/luci,lbthomsen/openwrt-luci,rogerpueyo/luci,openwrt/luci,lbth... | 'use strict';
'require fs';
'require ui';
'require rpc';
'require uci';
'require form';
'require network';
'require firewall';
'require tools.widgets as widgets';
function count_changes(section_id) {
var changes = ui.changes.changes, n = 0;
if (!L.isObject(changes))
return n;
if (Array.isArray(changes.wireless)... | modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js | 'use strict';
'require fs';
'require ui';
'require rpc';
'require uci';
'require form';
'require network';
'require firewall';
'require tools.widgets as widgets';
function count_changes(section_id) {
var changes = ui.changes.changes, n = 0;
if (!L.isObject(changes))
return n;
if (Array.isArray(changes.wireless)... | luci-mod-network: add WPA3-EAP and mixed WPA2/WPA3-EAP settings
Fixes: #3363
Signed-off-by: Jo-Philipp Wich <bd73d35759d75cc215150d1bbc94f1b1078bee01@mein.io>
| modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js | luci-mod-network: add WPA3-EAP and mixed WPA2/WPA3-EAP settings | <ide><path>odules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js
<ide> sid = 'wifinet' + (++offset);
<ide>
<ide> return sid;
<add>}
<add>
<add>function add_dependency_permutations(o, deps) {
<add> var res = null;
<add>
<add> for (var key in deps) {
<add> if (!deps.hasOwnProperty(key) || !Ar... | |
JavaScript | agpl-3.0 | 0d53c46f613907118fd376df9ce411522491c367 | 0 | yashodhank/xibo-cms,dasgarner/xibo-cms,alexhuang888/xibo-cms,xibosignage/xibo-cms,PeterMis/xibo-cms,PeterMis/xibo-cms,guruevi/xibo-cms,xibosignage/xibo-cms,alexharrington/xibo-cms,PeterMis/xibo-cms,PeterMis/xibo-cms,ajiwo/xibo-cms,xibosignage/xibo-cms,yashodhank/xibo-cms,dasgarner/xibo-cms,alexharrington/xibo-cms,ajiwo... | /**
* Xibo - Digital Signage - http://www.xibo.org.uk
* Copyright (C) 2006-2015 Daniel Garner
*
* This file is part of Xibo.
*
* Xibo 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 versi... | web/theme/default/js/xibo-layout-designer.js | /**
* Xibo - Digital Signage - http://www.xibo.org.uk
* Copyright (C) 2006-2015 Daniel Garner
*
* This file is part of Xibo.
*
* Xibo 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 versi... | Refresh designer preview after reordering media.
| web/theme/default/js/xibo-layout-designer.js | Refresh designer preview after reordering media. | <ide><path>eb/theme/default/js/xibo-layout-designer.js
<ide> data:{
<ide> "widgets": widgets
<ide> },
<del> success: XiboSubmitResponse
<del> });
<add> success: [
<add> XiboSubmitResponse,
<add> afterTimeLineSaveOrder
<add> ]
<add> });
<add>};... | |
JavaScript | mit | 0108c398ad0e890d4e7b313410332569071d8d7c | 0 | michaelgira23/MyMICDS-v2,michaelgira23/MyMICDS-v2 | 'use strict';
/**
* @file Scraps the lunch from the school website
* @module lunch
*/
var fs = require('fs-extra');
var request = require('request');
var cheerio = require('cheerio');
var utils = require(__dirname + '/utils.js');
var lunchURL = 'http://myschooldining.com/MICDS/calendarWeek';
var schools =... | src/libs/lunch.js | 'use strict';
/**
* @file Scraps the lunch from the school website
* @module lunch
*/
var fs = require('fs-extra');
var request = require('request');
var cheerio = require('cheerio');
var utils = require(__dirname + '/utils.js');
var lunchURL = 'http://myschooldining.com/MICDS/calendarWeek';
var schools =... | Fix date parsing for lunch scrapper
| src/libs/lunch.js | Fix date parsing for lunch scrapper | <ide><path>rc/libs/lunch.js
<ide> */
<ide>
<ide> function parseLunch(body) {
<del>
<ide> // Clean up HTML to prevent cheerio from becoming confused
<ide> body.replace('<<', '<<');
<ide> body.replace('>>', '>>');
<ide> weekColumns.each(function(index) {
<ide>
<ide> var day = $(this);
<del> var dat... | |
Java | mit | 7be9da03423bbc5acb71d2f024c5d948dfee798e | 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.assessment.period.transactional;
import org.innovateuk.ifs.commons.resource.PageResource;
import org.innovateuk.ifs.commons.security.SecuredBySpring;
import org.innovateuk.ifs.commons.service.ServiceResult;
import org.innovateuk.ifs.competition.resource.AssessmentPeriodResource;
import org.i... | ifs-data-layer/ifs-data-service/src/main/java/org/innovateuk/ifs/assessment/period/transactional/AssessmentPeriodService.java | package org.innovateuk.ifs.assessment.period.transactional;
import org.innovateuk.ifs.commons.resource.PageResource;
import org.innovateuk.ifs.commons.security.SecuredBySpring;
import org.innovateuk.ifs.commons.service.ServiceResult;
import org.innovateuk.ifs.competition.resource.AssessmentPeriodResource;
import org.i... | IFS-9008 merge conflict resolve
| ifs-data-layer/ifs-data-service/src/main/java/org/innovateuk/ifs/assessment/period/transactional/AssessmentPeriodService.java | IFS-9008 merge conflict resolve | <ide><path>fs-data-layer/ifs-data-service/src/main/java/org/innovateuk/ifs/assessment/period/transactional/AssessmentPeriodService.java
<ide> @PreAuthorize("hasAuthority('comp_admin')")
<ide> @SecuredBySpring(value="READ", securedType= AssessmentPeriodResource.class,
<ide> description = "Only Comp A... | |
Java | epl-1.0 | f31aa9268f322a70262cf38bc95deefe426d8bbb | 0 | elexis/elexis-3-core,sazgin/elexis-3-core,elexis/elexis-3-core,elexis/elexis-3-core,elexis/elexis-3-core,sazgin/elexis-3-core,sazgin/elexis-3-core,sazgin/elexis-3-core | /*******************************************************************************
* Copyright (c) 2013 MEDEVIT <office@medevit.at>.
* 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 ... | ch.elexis.core.data/src/ch/elexis/core/data/activator/CoreHub.java | /*******************************************************************************
* Copyright (c) 2013 MEDEVIT <office@medevit.at>.
* 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 ... | Don't stacktrace on missing version.properties, log.warn suffices | ch.elexis.core.data/src/ch/elexis/core/data/activator/CoreHub.java | Don't stacktrace on missing version.properties, log.warn suffices | <ide><path>h.elexis.core.data/src/ch/elexis/core/data/activator/CoreHub.java
<ide> qualifier = prop.getProperty("elexis.qualifier");
<ide> }
<ide> } catch (IOException e) {
<del> // TODO Auto-generated catch block
<del> e.printStackTrace();
<add> log.warn("Error reading build version information. ", e);
... | |
Java | apache-2.0 | 2e1ccba2ca81432456b994d80f1727ae7fb643c8 | 0 | RaffaelBild/arx,jgaupp/arx,bitraten/arx,kentoa/arx,kbabioch/arx,arx-deidentifier/arx,jgaupp/arx,fstahnke/arx,TheRealRasu/arx,tijanat/arx,arx-deidentifier/arx,kbabioch/arx,fstahnke/arx,TheRealRasu/arx,RaffaelBild/arx,COWYARD/arx,COWYARD/arx,tijanat/arx,kentoa/arx,bitraten/arx | /*
* ARX: Powerful Data Anonymization
* Copyright (C) 2012 - 2014 Florian Kohlmayer, Fabian Prasser
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... | src/gui/org/deidentifier/arx/gui/view/impl/explore/ViewList.java | /*
* ARX: Powerful Data Anonymization
* Copyright (C) 2012 - 2014 Florian Kohlmayer, Fabian Prasser
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... | Select whole line in table in explore view | src/gui/org/deidentifier/arx/gui/view/impl/explore/ViewList.java | Select whole line in table in explore view | <ide><path>rc/gui/org/deidentifier/arx/gui/view/impl/explore/ViewList.java
<ide>
<ide> this.controller = controller;
<ide>
<del> table = new Table(parent, SWT.SINGLE | SWT.VIRTUAL | SWT.BORDER | SWT.V_SCROLL);
<add> table = new Table(parent, SWT.SINGLE | SWT.VIRTUAL | SWT.BORDER | SWT.V_SCROLL |... | |
Java | bsd-3-clause | d8cf94be50b7a03d373ba00f2fb5512d95935fd3 | 0 | rutgersmobile/android-client,rutgersmobile/android-client | package edu.rutgers.css.Rutgers.api;
import com.androidquery.AQuery;
import com.androidquery.callback.AjaxCallback;
import com.androidquery.callback.AjaxStatus;
import com.androidquery.util.XmlDom;
import org.jdeferred.Promise;
import org.jdeferred.impl.DeferredObject;
import org.json.JSONArray;
import org.json.JSONO... | app/src/main/java/edu/rutgers/css/Rutgers/api/Request.java | package edu.rutgers.css.Rutgers.api;
import com.androidquery.AQuery;
import com.androidquery.callback.AjaxCallback;
import com.androidquery.callback.AjaxStatus;
import com.androidquery.util.XmlDom;
import org.jdeferred.Promise;
import org.jdeferred.impl.DeferredObject;
import org.json.JSONArray;
import org.json.JSONO... | Request API: removing unused methods
| app/src/main/java/edu/rutgers/css/Rutgers/api/Request.java | Request API: removing unused methods | <ide><path>pp/src/main/java/edu/rutgers/css/Rutgers/api/Request.java
<ide> import edu.rutgers.css.Rutgers.RutgersApplication;
<ide> import edu.rutgers.css.Rutgers.utils.AppUtil;
<ide>
<del>// Convenience class for making requests
<add>/** Convenience class for making requests */
<ide> public class Request {
<ide> ... | |
Java | apache-2.0 | 0d733557e9114111ee458ccde77993e7cc0927e9 | 0 | andriell/craftyfox,andriell/craftyfox,andriell/craftyfox | package com.github.andriell.processor;
import java.util.HashSet;
/**
* Created by Vika on 05.02.2016
*/
public class RunnableAdapter implements Runnable {
private HashSet<RunnableListenerInterface> listeners;
private Runnable runnable;
public RunnableAdapter(Runnable runnable) {
this.runnable =... | src/main/java/com/github/andriell/processor/RunnableAdapter.java | package com.github.andriell.processor;
import java.util.HashSet;
/**
* Created by Vika on 05.02.2016
*/
public class RunnableAdapter implements Runnable {
private HashSet<RunnableListenerInterface> listeners;
private Runnable runnable;
public RunnableAdapter(Runnable runnable) {
this.runnable =... | start
| src/main/java/com/github/andriell/processor/RunnableAdapter.java | start | <ide><path>rc/main/java/com/github/andriell/processor/RunnableAdapter.java
<ide> listeners = new HashSet<RunnableListenerInterface>();
<ide> }
<ide>
<del> public void addListener(RunnableListenerInterface listener) {
<add> public RunnableAdapter addListener(RunnableListenerInterface listener) {
<ide>... | |
Java | apache-2.0 | 083169bedb6b71cc306d6bb5ed316250713ece70 | 0 | adligo/i_adi.adligo.org | package org.adligo.i.adi.client;
import org.adligo.i.adi.client.I_Invoker;
import com.google.gwt.user.client.rpc.AsyncCallback;
/**
* this is a single threaded way to make a async call synch
* this is useful for developers who do NOT want to rewrite this
* all the time because everything in adi was done with the... | src/org/adligo/i/adi/client/AsyncToSyncAdaptor.java | package org.adligo.i.adi.client;
import org.adligo.i.adi.client.I_Invoker;
import com.google.gwt.user.client.rpc.AsyncCallback;
/**
* this is a single threaded way to make a async call synch
* this is useful for developers who do NOT want to rewrite this
* all the time because everything in adi was done with the... | *** empty log message ***
| src/org/adligo/i/adi/client/AsyncToSyncAdaptor.java | *** empty log message *** | <ide><path>rc/org/adligo/i/adi/client/AsyncToSyncAdaptor.java
<ide>
<ide> Throwable t = adaptor.getCaught();
<ide> if (t != null) {
<del> // Some Security Exception, just log
<del> // and return nothing
<add> // Some Exception so throw it
<ide> adaptor.dispose();
<ide> throw t;
<ide> } | |
Java | apache-2.0 | b625d6cd30cc1026e123fd3498f94b23db74a3f4 | 0 | raphw/byte-buddy,PascalSchumacher/byte-buddy,CodingFabian/byte-buddy,vic/byte-buddy,raphw/byte-buddy,RobAustin/byte-buddy,raphw/byte-buddy,mches/byte-buddy,DALDEI/byte-buddy | package net.bytebuddy.utility;
import net.bytebuddy.instrumentation.type.TypeDescription;
import net.bytebuddy.instrumentation.type.TypeList;
import net.bytebuddy.test.utility.JavaVersionRule;
import net.bytebuddy.test.utility.ObjectPropertyAssertion;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rule... | byte-buddy-dep/src/test/java/net/bytebuddy/utility/JavaInstanceMethodTypeTest.java | package net.bytebuddy.utility;
import net.bytebuddy.instrumentation.type.TypeDescription;
import net.bytebuddy.instrumentation.type.TypeList;
import net.bytebuddy.test.utility.ObjectPropertyAssertion;
import org.junit.Test;
import java.util.Collections;
import java.util.List;
import static org.hamcrest.CoreMatchers.... | Added version guard to method type test.
| byte-buddy-dep/src/test/java/net/bytebuddy/utility/JavaInstanceMethodTypeTest.java | Added version guard to method type test. | <ide><path>yte-buddy-dep/src/test/java/net/bytebuddy/utility/JavaInstanceMethodTypeTest.java
<ide>
<ide> import net.bytebuddy.instrumentation.type.TypeDescription;
<ide> import net.bytebuddy.instrumentation.type.TypeList;
<add>import net.bytebuddy.test.utility.JavaVersionRule;
<ide> import net.bytebuddy.test.utility.O... | |
Java | epl-1.0 | 7a9e6d8f65a539cc3e191cd2f8935a1b4d3400a1 | 0 | edgarmueller/emfstore-rest | /*******************************************************************************
* Copyright (c) 2008-2011 Chair for Applied Software Engineering,
* Technische Universitaet Muenchen.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public Lic... | bundles/org.eclipse.emf.emfstore.client/src/org/eclipse/emf/emfstore/internal/client/model/connectionmanager/xmlrpc/XmlRpcConnectionManager.java | /*******************************************************************************
* Copyright (c) 2008-2011 Chair for Applied Software Engineering,
* Technische Universitaet Muenchen.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public Lic... | removed trash comments
| bundles/org.eclipse.emf.emfstore.client/src/org/eclipse/emf/emfstore/internal/client/model/connectionmanager/xmlrpc/XmlRpcConnectionManager.java | removed trash comments | <ide><path>undles/org.eclipse.emf.emfstore.client/src/org/eclipse/emf/emfstore/internal/client/model/connectionmanager/xmlrpc/XmlRpcConnectionManager.java
<ide> public List<ProjectInfo> getProjectList(SessionId sessionId) throws ESException {
<ide> // return getConnectionProxy(sessionId).callWithListResult("getProje... | |
Java | apache-2.0 | fd4e741f387bd7b28473b55b35ca4ac945834b93 | 0 | dreedyman/Rio,dreedyman/Rio,dreedyman/Rio | /*
* Copyright to 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 applicabl... | rio-test/src/test/java/org/rioproject/test/bean/AdvertiseLifecycleTest.java | /*
* Copyright to 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 applicabl... | Call ServiceElement.addAssociationDescriptors() instead of deprecated ServiceElement.setAssociationDescriptors()
| rio-test/src/test/java/org/rioproject/test/bean/AdvertiseLifecycleTest.java | Call ServiceElement.addAssociationDescriptors() instead of deprecated ServiceElement.setAssociationDescriptors() | <ide><path>io-test/src/test/java/org/rioproject/test/bean/AdvertiseLifecycleTest.java
<ide> descriptor.setMatchOnName(true);
<ide> descriptor.setOperationalStringName(element2.getOperationalStringName());
<ide> descriptor.setGroups(testManager.getGroups());
<del> element1.setAssociationDe... | |
JavaScript | mit | d2cf17b650572738ad7eed31ac125035c777b462 | 0 | idiap/inevent,idiap/inevent | // CLASS WIDGET MANAGER
function Graph() {
this.initVars = function() {
this.small_rect = [75.0, 56.0] ;
this.big_rect = [300.0, 250.0] ;
this.image_rect = [this.big_rect[0] - 40, this.big_rect[1] - 70] ;
this.margin = {top: 0, right: 0, bottom: 0, left: 0} ;
this.graph_width = this.width - this.margin.left... | static/inevent/scripts/graph.js | // CLASS WIDGET MANAGER
function Graph() {
this.initVars = function() {
this.small_rect = [75.0, 56.0] ;
this.big_rect = [300.0, 250.0] ;
this.image_rect = [this.big_rect[0] - 40, this.big_rect[1] - 70] ;
this.margin = {top: 0, right: 0, bottom: 0, left: 0} ;
this.graph_width = this.width - this.margin.left... | resize only when graph initialized
| static/inevent/scripts/graph.js | resize only when graph initialized | <ide><path>tatic/inevent/scripts/graph.js
<ide>
<ide> this.setWidth = function(new_width) {
<ide> this.width = new_width ;
<del> this.graph_width = this.width - this.margin.left - this.margin.right ;
<del>
<del> this.svg.attr("width", this.graph_width) ;
<del> this.force.start();
<add> if (this.margin!=undefi... | |
Java | mit | b5737ff0a6ac5ce4dfd115a3a04a2fa9d34b2eee | 0 | DMDirc/DMDirc,csmith/DMDirc,ShaneMcC/DMDirc-Client,ShaneMcC/DMDirc-Client,greboid/DMDirc,greboid/DMDirc,csmith/DMDirc,DMDirc/DMDirc,csmith/DMDirc,ShaneMcC/DMDirc-Client,greboid/DMDirc,DMDirc/DMDirc,csmith/DMDirc,greboid/DMDirc,DMDirc/DMDirc,ShaneMcC/DMDirc-Client | /*
* Copyright (c) 2006-2007 Chris Smith, Shane Mc Cormack, Gregory Holmes
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
... | test/com/dmdirc/ui/swing/dialogs/sslcertificate/SSLCertificateDialogTest.java | /*
* Copyright (c) 2006-2007 Chris Smith, Shane Mc Cormack, Gregory Holmes
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
... | enabled unit test on SSL certificate dialog
git-svn-id: 50f83ef66c13f323b544ac924010c921a9f4a0f7@4815 00569f92-eb28-0410-84fd-f71c24880f43
| test/com/dmdirc/ui/swing/dialogs/sslcertificate/SSLCertificateDialogTest.java | enabled unit test on SSL certificate dialog | <ide><path>est/com/dmdirc/ui/swing/dialogs/sslcertificate/SSLCertificateDialogTest.java
<ide> },window.list().cellReader(new CertificateListCellReader()).contents()));
<ide> }
<ide>
<del> @Test @Ignore
<add> @Test
<ide> public void testSelection() throws InterruptedException {
<ide> setup... | |
JavaScript | apache-2.0 | a94a8572364faa41ca884090fb9c88956dec0e98 | 0 | jacksonic/vjlofvhjfgm,foam-framework/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm,foam-framework/foam2,foam-framework/foam2,jacksonic/vjlofvhjfgm,foam-framework/foam2 | /**
* @license
* Copyright 2020 The FOAM Authors. All Rights Reserved.
* http://www.apache.org/licenses/LICENSE-2.0
*/
foam.CLASS({
package: 'foam.nanos.crunch.ui',
name: 'CapabilityWizardlet',
extends: 'foam.u2.wizard.BaseWizardlet',
implements: [
'foam.mlang.Expressions'
],
imports: [
'crunc... | src/foam/nanos/crunch/ui/CapabilityWizardlet.js | /**
* @license
* Copyright 2020 The FOAM Authors. All Rights Reserved.
* http://www.apache.org/licenses/LICENSE-2.0
*/
foam.CLASS({
package: 'foam.nanos.crunch.ui',
name: 'CapabilityWizardlet',
extends: 'foam.u2.wizard.BaseWizardlet',
implements: [
'foam.mlang.Expressions'
],
imports: [
'crunc... | Remove manual translation from CapabilityWizardlet.
| src/foam/nanos/crunch/ui/CapabilityWizardlet.js | Remove manual translation from CapabilityWizardlet. | <ide><path>rc/foam/nanos/crunch/ui/CapabilityWizardlet.js
<ide> properties: [
<ide> // Properties specific to CapabilityWizardSection
<ide> {
<del> name: 'capability',
<del> postSet: function() {
<del> var self = this;
<del> return this.localeDAO.where(
<del> this.AND(
<del> ... | |
Java | apache-2.0 | 03f898682283cd58244c072bc1b877a24f7358b1 | 0 | robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,lsmaira/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gstevey/gradle,blindpirate/gradle,robinverduijn/gr... | /*
* Copyright 2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | subprojects/platform-base/src/main/java/org/gradle/platform/base/BinaryTasks.java | /*
* Copyright 2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Fix javadoc markup
+review REVIEW-5783
| subprojects/platform-base/src/main/java/org/gradle/platform/base/BinaryTasks.java | Fix javadoc markup | <ide><path>ubprojects/platform-base/src/main/java/org/gradle/platform/base/BinaryTasks.java
<ide> * {@link org.gradle.platform.base.BinaryTasks} annotation.
<ide> *
<ide> * <pre autoTested='true'>
<del> * @Managed interface SampleComponent extends ComponentSpec {}
<del> * @Managed interface SampleBinary extends Bina... | |
Java | mit | f0aaefdaa7c480f67cf8ac9bbc82546815de7de6 | 0 | AgriCraft/AgriCraft,CodesCubesAndCrashes/AgriCraft,InfinityRaider/AgriCraft | package com.infinityraider.agricraft.items;
import com.agricraft.agricore.core.AgriCore;
import com.infinityraider.agricraft.api.v1.AgriApi;
import com.infinityraider.agricraft.init.AgriBlocks;
import com.infinityraider.agricraft.items.tabs.AgriTabs;
import com.infinityraider.agricraft.reference.AgriCraftConfig;
impor... | src/main/java/com/infinityraider/agricraft/items/ItemCrop.java | package com.infinityraider.agricraft.items;
import com.agricraft.agricore.core.AgriCore;
import com.infinityraider.agricraft.api.v1.AgriApi;
import com.infinityraider.agricraft.init.AgriBlocks;
import com.infinityraider.agricraft.items.tabs.AgriTabs;
import com.infinityraider.agricraft.reference.AgriCraftConfig;
impor... | Make ItemCrop#onItemUse use the StackHelper
The helper method is cleaner and makes sure the checks are done right.
It also helps prevent NPEs from having a null player, like if ItemCrop
is used by a machine.
| src/main/java/com/infinityraider/agricraft/items/ItemCrop.java | Make ItemCrop#onItemUse use the StackHelper | <ide><path>rc/main/java/com/infinityraider/agricraft/items/ItemCrop.java
<ide> import com.infinityraider.agricraft.items.tabs.AgriTabs;
<ide> import com.infinityraider.agricraft.reference.AgriCraftConfig;
<ide> import com.infinityraider.agricraft.tiles.TileEntityCrop;
<add>import com.infinityraider.agricraft.utility.St... | |
Java | apache-2.0 | 05f951de5b4a3b6c04a87c05512c2512a26a35fe | 0 | pminutillo/pentaho-kettle,nicoben/pentaho-kettle,matrix-stone/pentaho-kettle,ma459006574/pentaho-kettle,akhayrutdinov/pentaho-kettle,TatsianaKasiankova/pentaho-kettle,roboguy/pentaho-kettle,stepanovdg/pentaho-kettle,TatsianaKasiankova/pentaho-kettle,lgrill-pentaho/pentaho-kettle,wseyler/pentaho-kettle,jbrant/pentaho-ke... | /**********************************************************************
** **
** This code belongs to the KETTLE project. **
** **
** Kettle, from version 2.2 ... | src/org/pentaho/di/job/JobMeta.java | /**********************************************************************
** **
** This code belongs to the KETTLE project. **
** **
** Kettle, from version 2.2 ... | SEMINOLE-128
Re-fixed by implementing a rudimentary Observer/Observable pattern using Spoon (the observer) and JobMeta and TransMeta (the observables.)
There is room for some refactoring later, including make a BaseMeta class from which JobMeta and TransMeta could inherit from and also creating the concept of an obse... | src/org/pentaho/di/job/JobMeta.java | SEMINOLE-128 Re-fixed by implementing a rudimentary Observer/Observable pattern using Spoon (the observer) and JobMeta and TransMeta (the observables.) | <ide><path>rc/org/pentaho/di/job/JobMeta.java
<ide> import org.pentaho.di.core.Props;
<ide> import org.pentaho.di.core.RowMetaAndData;
<ide> import org.pentaho.di.core.SQLStatement;
<del>import org.pentaho.di.core.changed.ChangedFlagInterface;
<add>import org.pentaho.di.core.changed.ChangedFlag;
<ide> import org.pentah... | |
JavaScript | mit | 78ef90618420429fc8e21165a8ab25b17ef8bfbd | 0 | Chrisui/react-hotkeys,JohnC-80/react-hotkeys,danauclair/react-hotkeys,danauclair/react-hotkeys,Chrisui/react-hotkeys,JohnC-80/react-hotkeys | import React from 'react';
import FocusTrap from './FocusTrap';
import HotKeyMapMixin from './HotKeyMapMixin';
import isArray from 'lodash/lang/isArray';
import isObject from 'lodash/lang/isObject';
import forEach from 'lodash/collection/forEach';
import isEqual from 'lodash/lang/isEqual';
function getSequencesFromMap... | lib/HotKeys.js | import React from 'react';
import FocusTrap from './FocusTrap';
import HotKeyMapMixin from './HotKeyMapMixin';
import isArray from 'lodash/lang/isArray';
import isObject from 'lodash/lang/isObject';
import forEach from 'lodash/collection/forEach';
function getSequencesFromMap(hotKeyMap, hotKeyName) {
const sequences... | Fix hotkey bindings not being updated when handlers map changes but key map does not
| lib/HotKeys.js | Fix hotkey bindings not being updated when handlers map changes but key map does not | <ide><path>ib/HotKeys.js
<ide> import isArray from 'lodash/lang/isArray';
<ide> import isObject from 'lodash/lang/isObject';
<ide> import forEach from 'lodash/collection/forEach';
<add>import isEqual from 'lodash/lang/isEqual';
<ide>
<ide> function getSequencesFromMap(hotKeyMap, hotKeyName) {
<ide> const sequences =... | |
JavaScript | apache-2.0 | 45da991659c3acb964a14692b2377630cbbb6fa4 | 0 | wavesplatform/UpcoinWallet,wavesplatform/UpcoinWallet | (function () {
'use strict';
var DEFAULT_FEE_AMOUNT = '0.001';
function WavesWalletListController($scope, $interval, events, applicationContext,
apiService, transactionLoadingService) {
var walletList = this;
var refreshPromise;
var refreshDel... | src/js/wallet/wallet.list.controller.js | (function () {
'use strict';
var DEFAULT_FEE_AMOUNT = '0.001';
function WavesWalletListController($scope, $interval, events, applicationContext,
apiService, transactionLoadingService) {
var walletList = this;
var refreshPromise;
var refreshDel... | Fixed testnet Upcoin ID
| src/js/wallet/wallet.list.controller.js | Fixed testnet Upcoin ID | <ide><path>rc/js/wallet/wallet.list.controller.js
<ide> Currency.USD.id = '2aSqCbvCTgvCpwkGsk4mea4tCLG4Zgp69aQDhHNvRUZv';
<ide> Currency.CNY.id = 'D2MNuUyA38pSKoV7F7vpS15Uhw9nw5qfbrGUfCLRNuRo';
<ide> Currency.BTC.id = '7g151iXK8fyxB5sBUHkwQNXhVBuXdbK8ftPB3h1NrrYV';
<del> ... | |
Java | bsd-3-clause | a321484851dc2c392f6c593938fe88752edb802c | 0 | NCIP/cagrid,NCIP/cagrid,NCIP/cagrid,NCIP/cagrid | package gov.nih.nci.cabig.introduce;
import gov.nih.nci.cabig.introduce.steps.AddSimpleMethodStep;
import gov.nih.nci.cabig.introduce.steps.AddSimpleMethodWithFaultStep;
import gov.nih.nci.cabig.introduce.steps.CreateSkeletonStep;
import gov.nih.nci.cabig.introduce.steps.RemoveMethodStep;
import gov.nih.nci.cabig.intr... | cagrid-1-0/caGrid/projects/introduce/test/src/java/Introduce/gov/nih/nci/cabig/introduce/SyncToolsTest.java | package gov.nih.nci.cabig.introduce;
import gov.nih.nci.cabig.introduce.steps.AddSimpleMethodStep;
import gov.nih.nci.cabig.introduce.steps.AddSimpleMethodWithFaultStep;
import gov.nih.nci.cabig.introduce.steps.CreateSkeletonStep;
import gov.nih.nci.cabig.introduce.steps.RemoveMethodStep;
import gov.nih.nci.cabig.intr... | *** empty log message ***
| cagrid-1-0/caGrid/projects/introduce/test/src/java/Introduce/gov/nih/nci/cabig/introduce/SyncToolsTest.java | *** empty log message *** | <ide><path>agrid-1-0/caGrid/projects/introduce/test/src/java/Introduce/gov/nih/nci/cabig/introduce/SyncToolsTest.java
<ide> steps.add(new CreateSkeletonStep(tci));
<ide> steps.add(new AddSimpleMethodStep(tci, "newMethod"));
<ide> steps.add(new AddSimpleMethodWithFaultStep(tci,"newMethodWithFault"));
<del> steps.... | |
Java | apache-2.0 | e329280c5da5396265d891cfdc82daa51baa97fd | 0 | bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm,bazelbuild/bazel-buildfarm | // Copyright 2017 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/build/buildfarm/worker/Executor.java | // Copyright 2017 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... | Remove duplicated exec dir destroy in executor (#292)
The removal of exec dirs is automatically handled through
ExecuteActionStage's error path, the Executor does not need to perform
it directly. | src/main/java/build/buildfarm/worker/Executor.java | Remove duplicated exec dir destroy in executor (#292) | <ide><path>rc/main/java/build/buildfarm/worker/Executor.java
<ide> String.format(
<ide> "Executor::run(%s): could not transition to EXECUTING",
<ide> operation.getName()));
<del> try {
<del> workerContext.destroyExecDir(operationContext.execDir);
<del> } catch (IOE... | |
JavaScript | mit | 882967652b66d0220d67f67280f48bc511da6b4d | 0 | cblanc/postcodes.io,ideal-postcodes/postcodes.io,cblanc/postcodes.io,cblanc/postcodes.io,goingdotin/postcodes.io,goingdotin/postcodes.io,ideal-postcodes/postcodes.io,goingdotin/postcodes.io,ideal-postcodes/postcodes.io | "use strict";
const path = require("path");
const async = require("async");
const assert = require("chai").assert;
const helper = require(`${__dirname}/helper`);
const Place = helper.Place;
describe("Place Model", () => {
let testPostcode, testOutcode;
before(function (done) {
this.timeout(0);
async.series(... | tests/place.unit.js | "use strict";
const path = require("path");
const async = require("async");
const assert = require("chai").assert;
const helper = require(`${__dirname}/helper`);
const Place = helper.Place;
describe("Place Model", () => {
let testPostcode, testOutcode;
before(function (done) {
this.timeout(0);
async.series(... | Fix tests
| tests/place.unit.js | Fix tests | <ide><path>ests/place.unit.js
<ide> it ("returns up to 10 results by default", done => {
<ide> Place.search({ name: "b" }, (error, results) => {
<ide> if (error) return done(error);
<del> assert.isTrue(results.length < 10);
<add> assert.equal(results.length, 10);
<ide> results.forEach(helper.isRawPla... | |
Java | apache-2.0 | 8051f649426fedfc0918575975a44ccdf946445d | 0 | kingsleyadio/android_commons,kingsleyadio/android_commons | lib_appcommons/src/main/java/ng/kingsley/android/helper/PersistenceHelper.java | package ng.kingsley.android.helper;
import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;
import android.text.TextUtils;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import java.lang.reflect.Type;
import javax.inject.Inject;
import javax.... | Delete PersistenceHelper [will be replaced by a more robust implementation]
| lib_appcommons/src/main/java/ng/kingsley/android/helper/PersistenceHelper.java | Delete PersistenceHelper [will be replaced by a more robust implementation] | <ide><path>ib_appcommons/src/main/java/ng/kingsley/android/helper/PersistenceHelper.java
<del>package ng.kingsley.android.helper;
<del>
<del>import android.app.Application;
<del>import android.content.Context;
<del>import android.content.SharedPreferences;
<del>import android.text.TextUtils;
<del>
<del>import com.googl... | ||
Java | mit | 011aaa9b2f7a139ad1561ac5340f21c2ba100b62 | 0 | skcodeworks/MissionInterview | package org.santhoshkumar.DynamicProgramming;
/**
* Created by sk010962 on 10/14/2015.
*/
public class RodCuttingMaxProfit {
int[] cost;
//Top down DP solution
public int solve(){
int[][] matrix = new int[cost.length+1][cost.length+1];
for(int i= 0; i <= cost.length; i++){
... | src/org/santhoshkumar/DynamicProgramming/RodCuttingMaxProfit.java | package org.santhoshkumar.DynamicProgramming;
/**
* Created by sk010962 on 10/14/2015.
*/
public class RodCuttingMaxProfit {
int[] cost;
//Top down DP solution
public int solve(){
int[][] matrix = new int[cost.length+1][cost.length+1];
for(int i= 0; i <= cost.length; i++){
... | rod cutting problem
| src/org/santhoshkumar/DynamicProgramming/RodCuttingMaxProfit.java | rod cutting problem | <ide><path>rc/org/santhoshkumar/DynamicProgramming/RodCuttingMaxProfit.java
<ide>
<ide> // Top down without recursion
<ide> public int solveMax(){
<del> return -1;
<add> int[] sol = new int[cost.length+1];
<add> sol[0] = -1;
<add>
<add> for(int i = 1; i <= cost.length; i++){
<add> ... | |
Java | mit | error: pathspec 'src/com/jbotelho/pyirc2/client/PushSubscription.java' did not match any file(s) known to git
| d0b68b3185009afbde66aa2872d96c59f2e71fbd | 1 | uniite/pyirc2_client | package com.jbotelho.pyirc2.client;
public class PushSubscription {
int id;
String dataType;
NumberOrText[] target;
}
| src/com/jbotelho/pyirc2/client/PushSubscription.java | Added PushSubscription
| src/com/jbotelho/pyirc2/client/PushSubscription.java | Added PushSubscription | <ide><path>rc/com/jbotelho/pyirc2/client/PushSubscription.java
<add>package com.jbotelho.pyirc2.client;
<add>
<add>
<add>public class PushSubscription {
<add> int id;
<add> String dataType;
<add> NumberOrText[] target;
<add>} | |
Java | mit | error: pathspec 'src/main/java/svc/models/EmploymentEducation.java' did not match any file(s) known to git
| cebe269f1afa201bdac3992920d9952764d6407a | 1 | gh6-team/less-homelessness-api | package svc.models;
import java.util.Date;
public class EmploymentEducation {
public int id;
public int project_entry_id;
public int personal_id;
public Date information_date;
public Integer last_grade_completed;
public Integer school_status;
public Integer employed_status;
public Integer employment_type;
pu... | src/main/java/svc/models/EmploymentEducation.java | Added EmploymentEducation
| src/main/java/svc/models/EmploymentEducation.java | Added EmploymentEducation | <ide><path>rc/main/java/svc/models/EmploymentEducation.java
<add>package svc.models;
<add>
<add>import java.util.Date;
<add>
<add>public class EmploymentEducation {
<add> public int id;
<add> public int project_entry_id;
<add> public int personal_id;
<add> public Date information_date;
<add> public Integer last_grade_c... | |
Java | apache-2.0 | 6f67b3c3fd31d58f8bb84f7315a7328cc77810c8 | 0 | maxmind/minfraud-api-java,maxmind/minfraud-api-java | package com.maxmind.minfraud.response;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* This class contains minFraud response data related to the credit card.
*/
public final class CreditCard {
protected Issuer issuer = new Issuer();
protected S... | src/main/java/com/maxmind/minfraud/response/CreditCard.java | package com.maxmind.minfraud.response;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* This class contains minFraud response data related to the credit card.
*/
public final class CreditCard {
protected Issuer issuer = new Issuer();
protected S... | Update credit card property descriptions to be more accurate
| src/main/java/com/maxmind/minfraud/response/CreditCard.java | Update credit card property descriptions to be more accurate | <ide><path>rc/main/java/com/maxmind/minfraud/response/CreditCard.java
<ide> }
<ide>
<ide> /**
<del> * @return This field contains an ISO 3166-1 alpha-2 country code
<del> * representing the country that the card was issued in. This will be null
<del> * if there is no value in the response.
<add> ... | |
Java | apache-2.0 | d6dfd75c57037c07c37a35e626168e25eb18f4ac | 0 | treason258/TreCore,treason258/TreCore | package com.mjiayou.trecorelib.base;
/*
_ooOoo_
o8888888o
88" . "88
(| -_- |)
O\ = /O
____/`---'\____
.' \\| |// `.
/ \\||| : |||// \
/ _||||| -:- |||||- \
... | TreCoreLib/src/main/java/com/mjiayou/trecorelib/base/TCApp.java | package com.mjiayou.trecorelib.base;
/*
_ooOoo_
o8888888o
88" . "88
(| -_- |)
O\ = /O
____/`---'\____
.' \\| |// `.
/ \\||| : |||// \
/ _||||| -:- |||||- \
... | 可以不通过继承TCApp的形式使用TreCoreLib
| TreCoreLib/src/main/java/com/mjiayou/trecorelib/base/TCApp.java | 可以不通过继承TCApp的形式使用TreCoreLib | <ide><path>reCoreLib/src/main/java/com/mjiayou/trecorelib/base/TCApp.java
<ide> protected static final String TAG = TCApp.class.getSimpleName();
<ide>
<ide> // var
<del> private static TCApp mInstance;
<add> private static Application mInstance;
<ide> private Context mContext;
<ide>
<ide> /**
<i... | |
Java | mit | b89ef83e90577eb3b89aa32628fcc54dac81b134 | 0 | madumlao/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth,madumlao/oxAuth,madumlao/oxAuth,madumlao/oxAuth,madumlao/oxAuth | /*
* oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
*
* Copyright (c) 2014, Gluu
*/
package org.xdi.oxauth.uma.ws.rs;
import com.wordnik.swagger.annotations.Api;
import org.gluu.site.ldap.persistence.LdapEntryManager;
import org.jboss.seam.annotations.In;
i... | Server/src/main/java/org/xdi/oxauth/uma/ws/rs/RptPermissionAuthorizationWS.java | /*
* oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
*
* Copyright (c) 2014, Gluu
*/
package org.xdi.oxauth.uma.ws.rs;
import org.xdi.oxauth.model.util.Util;
import com.wordnik.swagger.annotations.Api;
import org.gluu.site.ldap.persistence.LdapEntryManager;
... | fixed uma ticket invalidation
| Server/src/main/java/org/xdi/oxauth/uma/ws/rs/RptPermissionAuthorizationWS.java | fixed uma ticket invalidation | <ide><path>erver/src/main/java/org/xdi/oxauth/uma/ws/rs/RptPermissionAuthorizationWS.java
<ide>
<ide> package org.xdi.oxauth.uma.ws.rs;
<ide>
<del>import org.xdi.oxauth.model.util.Util;
<ide> import com.wordnik.swagger.annotations.Api;
<ide> import org.gluu.site.ldap.persistence.LdapEntryManager;
<ide> import org.jbo... | |
Java | apache-2.0 | 97f6f9f17869541f74574a4e4f9b663491c80a78 | 0 | AlesyaKorol/javatest,AlesyaKorol/javatest | package ru.stqa.pft.sandbox;
import org.testng.Assert;
import org.testng.annotations.Test;
/**
* Created by Alesia on 13.04.17.
*/
public class SquareTests {
@Test
public void testArea () {
Square s = new Square(5);
Assert.assertEquals(s.area(), 25.0);
}
@Test
public void testArea1 () {
... | sandbox/src/test/java/ru/stqa/pft/sandbox/SquareTests.java | package ru.stqa.pft.sandbox;
import org.testng.Assert;
import org.testng.annotations.Test;
/**
* Created by Alesia on 13.04.17.
*/
public class SquareTests {
@Test
public void testArea () {
Square s = new Square(5);
Assert.assertEquals(s.area(), 20.0);
}
@Test
public void testArea1 () {
... | Fix for testArea.
| sandbox/src/test/java/ru/stqa/pft/sandbox/SquareTests.java | Fix for testArea. | <ide><path>andbox/src/test/java/ru/stqa/pft/sandbox/SquareTests.java
<ide> @Test
<ide> public void testArea () {
<ide> Square s = new Square(5);
<del> Assert.assertEquals(s.area(), 20.0);
<add> Assert.assertEquals(s.area(), 25.0);
<ide>
<ide> }
<ide> | |
Java | mit | 5d1cccc3f3ed5a24c64567772925b36e0d728555 | 0 | nking/curvature-scale-space-corners-and-transformations,nking/curvature-scale-space-corners-and-transformations | package thirdparty.libquantum;
import algorithms.misc.ComplexModifiable;
import algorithms.misc.Misc;
import algorithms.misc.MiscMath;
import java.util.Random;
/*
An implementation of the grover search algorithm,
ported here to java from the libquantum file grover.c.
The method calls have been adapted for re-use by... | src/thirdparty/libquantum/Grover.java | package thirdparty.libquantum;
import algorithms.misc.ComplexModifiable;
import algorithms.misc.Misc;
import algorithms.misc.MiscMath;
import java.util.Random;
/*
An implementation of the grover search algorithm,
ported here to java from the libquantum file grover.c.
The method calls have been adapted for re-use by... | added more notes to Grover.java on changes to make
| src/thirdparty/libquantum/Grover.java | added more notes to Grover.java on changes to make | <ide><path>rc/thirdparty/libquantum/Grover.java
<ide> */
<ide> private void oracle(int query, QuantumReg reg, Gates gates) {
<ide> int i;
<add>
<add> //TODO: need to either double the number of bits used in
<add> // initialization of the register to have those
<add> /... | |
Java | epl-1.0 | 3032c2444c3ef958d907b80000c22d4290c1c75b | 0 | Snickermicker/smarthome,Snickermicker/smarthome,Snickermicker/smarthome,Snickermicker/smarthome | /**
* Copyright (c) 2014,2018 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is av... | bundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/library/types/PointType.java | /**
* Copyright (c) 2014,2018 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is av... | [core] Added default pattern for formatting 'PointType' values (#6190)
* Added default pattern for 'PointType'
Signed-off-by: Christoph Weitkamp <64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@christophweitkamp.de> | bundles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/library/types/PointType.java | [core] Added default pattern for formatting 'PointType' values (#6190) | <ide><path>undles/core/org.eclipse.smarthome.core/src/main/java/org/eclipse/smarthome/core/library/types/PointType.java
<ide>
<ide> import java.math.BigDecimal;
<ide> import java.util.Arrays;
<add>import java.util.Formatter;
<ide> import java.util.List;
<ide> import java.util.SortedMap;
<ide> import java.util.TreeMap;... | |
Java | agpl-3.0 | e9ce03a49c9ecd06a6803f248114ccd7f8cd0f13 | 0 | picoded/JavaCommons,picoded/JavaCommons,picoded/JavaCommons,picoded/JavaCommons,picoded/JavaCommons,picoded/JavaCommons,picoded/JavaCommons | package picodedTests.RESTBuilder.templates;
import static org.junit.Assert.*;
import java.io.File;
import java.io.IOException;
import java.net.Socket;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import org... | src/picodedTests/RESTBuilder/templates/MetaTableApiBuilderTomcat_test.java | package picodedTests.RESTBuilder.templates;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import java.net.Socket;
import java.util.ArrayList;
import java.util.HashMap;
import java.uti... | commit_message
| src/picodedTests/RESTBuilder/templates/MetaTableApiBuilderTomcat_test.java | commit_message | <ide><path>rc/picodedTests/RESTBuilder/templates/MetaTableApiBuilderTomcat_test.java
<ide> package picodedTests.RESTBuilder.templates;
<ide>
<del>import static org.junit.Assert.assertNotNull;
<del>import static org.junit.Assert.assertNull;
<del>import static org.junit.Assert.assertTrue;
<add>import static org.junit.As... | |
Java | epl-1.0 | 461b5bf783e157f72cba556f2bf813f4e4a39830 | 0 | oxmcvusd/eclipse-integration-gradle,oxmcvusd/eclipse-integration-gradle,oxmcvusd/eclipse-integration-gradle | /*******************************************************************************
* Copyright (c) 2012 VMWare, Inc.
* 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 available at
* ... | org.springsource.ide.eclipse.gradle.core/src/org/springsource/ide/eclipse/gradle/core/wtp/WTPUtil.java | /*******************************************************************************
* Copyright (c) 2012 VMWare, Inc.
* 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 available at
* ... | Make WTPUtil class more likely to fail when wtp is only partially installed. | org.springsource.ide.eclipse.gradle.core/src/org/springsource/ide/eclipse/gradle/core/wtp/WTPUtil.java | Make WTPUtil class more likely to fail when wtp is only partially installed. | <ide><path>rg.springsource.ide.eclipse.gradle.core/src/org/springsource/ide/eclipse/gradle/core/wtp/WTPUtil.java
<ide> import org.springsource.ide.eclipse.gradle.core.actions.RefreshDependenciesActionCore;
<ide> import org.springsource.ide.eclipse.gradle.core.util.WorkspaceUtil;
<ide>
<del>import org.eclipse.jst.j2ee.... | |
Java | apache-2.0 | 04b31f07e1a1518c1a925a9209909edf58304b9f | 0 | fan-wenjie/EasyPR-Java,zuefir/EasyPR-Java | package org.easypr.core;
import org.bytedeco.javacpp.BytePointer;
import org.easypr.util.Convert;
import java.util.Vector;
import static org.bytedeco.javacpp.opencv_core.*;
import static org.bytedeco.javacpp.opencv_imgproc.*;
import static org.bytedeco.javacpp.opencv_highgui.*;
/*
* Created by fanwenjie
* @versio... | src/org/easypr/core/CharsSegment.java | package org.easypr.core;
import org.bytedeco.javacpp.BytePointer;
import org.easypr.util.Convert;
import java.util.Vector;
import static org.bytedeco.javacpp.opencv_core.*;
import static org.bytedeco.javacpp.opencv_imgproc.*;
import static org.bytedeco.javacpp.opencv_highgui.*;
/*
* Created by fanwenjie
* @versio... | optimus code
| src/org/easypr/core/CharsSegment.java | optimus code | <ide><path>rc/org/easypr/core/CharsSegment.java
<ide>
<ide>
<ide> if (this.isDebug) {
<del> String str = "image/tmp/debug_char_clearLiuDing.jpg";
<add> String str = "res/image/tmp/debug_char_clearLiuDing.jpg";
<ide> imwrite(str, img_threshold);
<ide> }
<ide>
<ide> ... | |
Java | apache-2.0 | f8cd575498ec39fd327353376267104ac4288481 | 0 | anchela/jackrabbit-oak,apache/jackrabbit-oak,mreutegg/jackrabbit-oak,trekawek/jackrabbit-oak,trekawek/jackrabbit-oak,amit-jain/jackrabbit-oak,apache/jackrabbit-oak,anchela/jackrabbit-oak,amit-jain/jackrabbit-oak,trekawek/jackrabbit-oak,trekawek/jackrabbit-oak,amit-jain/jackrabbit-oak,apache/jackrabbit-oak,amit-jain/jac... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/security/principal/PrincipalIteratorAdapter.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | OAK-50 - Implement User Management (WIP)
git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1325770 13f79535-47bb-0310-9956-ffa450edef68
| oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/security/principal/PrincipalIteratorAdapter.java | OAK-50 - Implement User Management (WIP) | <ide><path>ak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/security/principal/PrincipalIteratorAdapter.java
<ide> /**
<ide> * Static instance of an empty {@link PrincipalIterator}.
<ide> */
<del> public static final PrincipalIteratorAdapter EMPTY = new PrincipalIteratorAdapter(RangeIteratorAdapter.E... | |
Java | apache-2.0 | 271c7cf01d8464648cf0edd031139149b21cfc60 | 0 | isharac/carbon-apimgt,harsha89/carbon-apimgt,jaadds/carbon-apimgt,malinthaprasan/carbon-apimgt,harsha89/carbon-apimgt,chamilaadhi/carbon-apimgt,tharindu1st/carbon-apimgt,tharindu1st/carbon-apimgt,prasa7/carbon-apimgt,jaadds/carbon-apimgt,prasa7/carbon-apimgt,chamilaadhi/carbon-apimgt,Rajith90/carbon-apimgt,sanjeewa-mal... | /*
* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java | /*
* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | Removed the duplicated code
| components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java | Removed the duplicated code | <ide><path>omponents/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/APIConsumerImpl.java
<ide> String storeVisibilityRoles = apiResource.getProperty(APIConstants.STORE_VIEW_ROLES);
<ide> if (storeVisibilityRoles != null && !storeVisibilityRoles.trim().isEmpty()) {
<... | |
Java | apache-2.0 | error: pathspec 'webappender/src/test/java/com/clescot/webappender/filter/ThresholdFilterBuilderTest.java' did not match any file(s) known to git
| 2c6bef6e78e370450b935ae3fbaad819a356536b | 1 | clescot/webappender | package com.clescot.webappender.filter;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.Logger;
import ch.qos.logback.classic.filter.ThresholdFilter;
import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.classic.spi.LoggingEvent;
import ch.qos.logback.core.filter.Filter;
import ch.... | webappender/src/test/java/com/clescot/webappender/filter/ThresholdFilterBuilderTest.java | add unit test
| webappender/src/test/java/com/clescot/webappender/filter/ThresholdFilterBuilderTest.java | add unit test | <ide><path>ebappender/src/test/java/com/clescot/webappender/filter/ThresholdFilterBuilderTest.java
<add>package com.clescot.webappender.filter;
<add>
<add>
<add>import ch.qos.logback.classic.Level;
<add>import ch.qos.logback.classic.Logger;
<add>import ch.qos.logback.classic.filter.ThresholdFilter;
<add>import ch.qos.l... | |
Java | agpl-3.0 | 7c4624f772669fcbacfe3566b1c88cfcfee5bab5 | 0 | Kunagi/kunagi,Kunagi/kunagi,Kunagi/kunagi,JavierPeris/kunagi,JavierPeris/kunagi,Kunagi/kunagi,JavierPeris/kunagi,Kunagi/kunagi,JavierPeris/kunagi,JavierPeris/kunagi | package scrum.client.common;
import ilarkesto.gwt.client.Gwt;
import java.util.Set;
import scrum.client.admin.User;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;
public class UsersOnBlockWidget extends AScrumWidget {
priva... | src/main/java/scrum/client/common/UsersOnBlockWidget.java | package scrum.client.common;
import java.util.Set;
import scrum.client.admin.User;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;
public class UsersOnBlockWidget extends AScrumWidget {
private AScrumGwtEntity entity;
privat... | bugfix: users on block float
git-svn-id: 5d16f60e415856c0d9146e9340794746a8f5c347@2838 15bc23fa-3125-0410-a1f3-bdc40dbf1900
| src/main/java/scrum/client/common/UsersOnBlockWidget.java | bugfix: users on block float | <ide><path>rc/main/java/scrum/client/common/UsersOnBlockWidget.java
<ide> package scrum.client.common;
<add>
<add>import ilarkesto.gwt.client.Gwt;
<ide>
<ide> import java.util.Set;
<ide>
<ide> panel.add(new Label(", "));
<ide> }
<ide>
<del> Label label = new Label(user.getName());
<add> Label label = Gwt.... | |
JavaScript | mit | 205b3fe5718fabb9bb2465147a2dc9ff65bbdf68 | 0 | tinymce/tinymce,danielpunkass/tinymce,TeamupCom/tinymce,danielpunkass/tinymce,tinymce/tinymce,gencer/tinymce,FernCreek/tinymce,FernCreek/tinymce,leofeyer/tinymce,leofeyer/tinymce,tinymce/tinymce,TeamupCom/tinymce,FernCreek/tinymce,danielpunkass/tinymce,gencer/tinymce | asynctest(
'Browser Test: ui.ListTest',
[
'ephox.agar.api.GeneralSteps',
'ephox.agar.api.Pipeline',
'ephox.alloy.api.behaviour.Behaviour',
'ephox.alloy.api.behaviour.Replacing',
'ephox.alloy.api.component.GuiFactory',
'ephox.alloy.api.component.Memento',
'ephox.alloy.api.system.Attachme... | src/themes/mobile/src/test/js/browser/ui/ListTest.js | asynctest(
'Browser Test: ui.ListTest',
[
'ephox.agar.api.Assertions',
'ephox.agar.api.Chain',
'ephox.agar.api.GeneralSteps',
'ephox.agar.api.Mouse',
'ephox.agar.api.Pipeline',
'ephox.agar.api.Step',
'ephox.agar.api.Waiter',
'ephox.alloy.api.behaviour.Behaviour',
'ephox.alloy.ap... | TM-93: using general testing methods
| src/themes/mobile/src/test/js/browser/ui/ListTest.js | TM-93: using general testing methods | <ide><path>rc/themes/mobile/src/test/js/browser/ui/ListTest.js
<ide> 'Browser Test: ui.ListTest',
<ide>
<ide> [
<del> 'ephox.agar.api.Assertions',
<del> 'ephox.agar.api.Chain',
<ide> 'ephox.agar.api.GeneralSteps',
<del> 'ephox.agar.api.Mouse',
<ide> 'ephox.agar.api.Pipeline',
<del> 'ephox.agar.... | |
JavaScript | mit | 992f7302a94035d7e8178f3eeb857427eec24de9 | 0 | pratikju/go-chat | $(document).ready(function(){
var name_color_map = {};
var jsonObj = JSON.parse($('#data').text());
socket_addr = 'ws://'+ jsonObj.context +'/websocket';
var websocket = new WebSocket(socket_addr);
console.log("Websocket - status: " + websocket.readyState);
websocket.onopen = function(res) {
console.lo... | javascripts/chat.js | $(document).ready(function(){
var jsonObj = JSON.parse($('#data').text());
socket_addr = 'ws://'+ jsonObj.context +'/websocket';
var websocket = new WebSocket(socket_addr);
console.log("Websocket - status: " + websocket.readyState);
websocket.onopen = function(res) {
console.log("CONNECTION opened..." + ... | color code added for names
| javascripts/chat.js | color code added for names | <ide><path>avascripts/chat.js
<ide> $(document).ready(function(){
<add> var name_color_map = {};
<ide> var jsonObj = JSON.parse($('#data').text());
<ide> socket_addr = 'ws://'+ jsonObj.context +'/websocket';
<ide> var websocket = new WebSocket(socket_addr);
<ide> var regEx = /(.*)~~(.*)$/;
<ide> var data... | |
Java | lgpl-2.1 | 13a8299cf46cb958312794bf2660a2088f89c7a5 | 0 | lilicoding/soot-infoflow,xph906/FlowDroidInfoflowNew,wsnavely/soot-infoflow-android,kaunder/soot-infoflow,jgarci40/soot-infoflow,secure-software-engineering/soot-infoflow,johspaeth/soot-infoflow,matedealer/soot-infoflow,wangxiayang/soot-infoflow | /*******************************************************************************
* Copyright (c) 2012 Secure Software Engineering Group at EC SPRIDE.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v2.1
* which accompanies this... | src/soot/jimple/infoflow/solver/InfoflowCFG.java | /*******************************************************************************
* Copyright (c) 2012 Secure Software Engineering Group at EC SPRIDE.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v2.1
* which accompanies this... | fixed a wrong class reference
| src/soot/jimple/infoflow/solver/InfoflowCFG.java | fixed a wrong class reference | <ide><path>rc/soot/jimple/infoflow/solver/InfoflowCFG.java
<ide> ******************************************************************************/
<ide> package soot.jimple.infoflow.solver;
<ide>
<del>import gnu.trove.set.hash.THashSet;
<ide> import heros.solver.IDESolver;
<ide>
<ide> import java.util.Collection;
<add... | |
Java | apache-2.0 | d9d3700bb610fb8d2eb58f5dfddd63876ee5742a | 0 | realityforge/arez,realityforge/arez,realityforge/arez | package org.realityforge.arez.integration;
import java.util.concurrent.atomic.AtomicReference;
import javax.annotation.Nonnull;
import org.realityforge.arez.Arez;
import org.realityforge.arez.ArezContext;
import org.realityforge.arez.ArezTestUtil;
import org.realityforge.arez.Zone;
import org.realityforge.arez.annotat... | integration-tests/src/test/java/org/realityforge/arez/integration/MultiZoneIntegrationTest.java | package org.realityforge.arez.integration;
import java.util.concurrent.atomic.AtomicReference;
import javax.annotation.Nonnull;
import org.realityforge.arez.Arez;
import org.realityforge.arez.ArezContext;
import org.realityforge.arez.ArezTestUtil;
import org.realityforge.arez.Zone;
import org.realityforge.arez.annotat... | Whitespace
| integration-tests/src/test/java/org/realityforge/arez/integration/MultiZoneIntegrationTest.java | Whitespace | <ide><path>ntegration-tests/src/test/java/org/realityforge/arez/integration/MultiZoneIntegrationTest.java
<ide>
<ide> final AtomicReference<PersonModel> person = new AtomicReference<>();
<ide> final AtomicReference<PersonModel> person2 = new AtomicReference<>();
<del> zone1.run( () ->
<del> {
<... | |
Java | agpl-3.0 | 9dd09798c5a13a4b893431a6fb1e49cc415cd7ff | 0 | ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools | package de.unituebingen.ub.ubtools.solrmarcMixin;
import org.marc4j.marc.DataField;
import org.marc4j.marc.Record;
import org.marc4j.marc.Subfield;
import org.marc4j.marc.VariableField;
import org.solrmarc.index.SolrIndexerMixin;
import java.util.*;
public class IxTheoPublisher extends SolrIndexerMixin {
priva... | solrmarc_mixin/src/de/unituebingen/ub/ubtools/solrmarcMixin/IxTheoPublisher.java | package de.unituebingen.ub.ubtools.solrmarcMixin;
import org.marc4j.marc.DataField;
import org.marc4j.marc.Record;
import org.marc4j.marc.Subfield;
import org.marc4j.marc.VariableField;
import org.solrmarc.index.SolrIndexerMixin;
import java.util.*;
public class IxTheoPublisher extends SolrIndexerMixin {
priva... | Fixing problem of oonly one publisher for all items
| solrmarc_mixin/src/de/unituebingen/ub/ubtools/solrmarcMixin/IxTheoPublisher.java | Fixing problem of oonly one publisher for all items | <ide><path>olrmarc_mixin/src/de/unituebingen/ub/ubtools/solrmarcMixin/IxTheoPublisher.java
<ide> * @return publishers
<ide> */
<ide> public Set<String> getPublishers(final Record record) {
<del> if (publishers == null) {
<del> publishers = new LinkedHashSet<>();
<del> final Se... | |
JavaScript | mit | 2ed6cfa25db2e4edee7d9f1bf5e3a577dd88f1be | 0 | argosity/eslint-config-argosity | module.exports = {
extends: [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
'plugin:@typescript-eslint/eslint-recommended',
],
rules: {
indent: [
2, 4,
{ SwitchCase: 1 },
],
camelcase: 0,
yoda: 'off',
... | index.js | module.exports = {
extends: [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
'plugin:@typescript-eslint/eslint-recommended',
],
rules: {
indent: [
2, 4,
{ SwitchCase: 1 },
],
camelcase: 0,
yoda: 'off',
... | allow rest spread siblings to be ignored
| index.js | allow rest spread siblings to be ignored | <ide><path>ndex.js
<ide> 'react/jsx-indent': [2, 4],
<ide> 'react/jsx-indent-props': [0, 4],
<ide> 'react/forbid-prop-types': 0,
<del> 'no-unused-vars': [2, {'varsIgnorePattern': '_+'}],
<add> 'no-unused-vars': [2, {'varsIgnorePattern': '_+', 'ignoreRestSiblings': true}],
<ide> ... | |
Java | apache-2.0 | 1ab2bddd6d62e033d7f559195c732c9800a86b0a | 0 | danbernier/WordCram,danbernier/WordCram,danbernier/WordCram | package wordcram;
/*
Copyright 2010 Daniel Bernier
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... | src/wordcram/WordCramEngine.java | package wordcram;
/*
Copyright 2010 Daniel Bernier
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... | Add a TODO to WordCramengine
| src/wordcram/WordCramEngine.java | Add a TODO to WordCramengine | <ide><path>rc/wordcram/WordCramEngine.java
<ide> private RenderOptions renderOptions;
<ide> private Observer observer;
<ide>
<add> // TODO Damn, really need to break down that list of arguments.
<ide> WordCramEngine(WordRenderer renderer, Word[] words, WordFonter fonter, WordSizer sizer, WordColorer col... | |
Java | artistic-2.0 | 25f8992b23ef6844480543cfa67bb7359df70112 | 0 | TheArchives/Painter | package com.archivesmc.painter.listeners;
import com.archivesmc.painter.Painter;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.block.BlockState;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;... | src/main/java/com/archivesmc/painter/listeners/PlayerInteractListener.java | package com.archivesmc.painter.listeners;
import com.archivesmc.painter.Painter;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.block.BlockState;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;... | PlayerInteract is cancelled by default. Please note that ranged replace won't respect protection plugins for now.
| src/main/java/com/archivesmc/painter/listeners/PlayerInteractListener.java | PlayerInteract is cancelled by default. Please note that ranged replace won't respect protection plugins for now. | <ide><path>rc/main/java/com/archivesmc/painter/listeners/PlayerInteractListener.java
<ide>
<ide> @EventHandler(priority = EventPriority.HIGHEST)
<ide> public void onPlayerInteractEvent(PlayerInteractEvent event) {
<del> if(! event.isCancelled()) {
<add>// if(! event.isCancelled()) {
<ide> ... | |
Java | apache-2.0 | 55d654484c31b628c101bc2c43a66fd7f57918dd | 0 | jagguli/intellij-community,apixandru/intellij-community,apixandru/intellij-community,allotria/intellij-community,consulo/consulo,amith01994/intellij-community,asedunov/intellij-community,idea4bsd/idea4bsd,fitermay/intellij-community,SerCeMan/intellij-community,jagguli/intellij-community,clumsy/intellij-community,Distro... | /*
* Copyright 2000-2007 JetBrains s.r.o.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/blocks/GrClosableBlockImpl.java | /*
* Copyright 2000-2007 JetBrains s.r.o.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | correct 'owner' for script scoped closures | plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/blocks/GrClosableBlockImpl.java | correct 'owner' for script scoped closures | <ide><path>lugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/blocks/GrClosableBlockImpl.java
<ide> import org.jetbrains.annotations.NotNull;
<ide> import org.jetbrains.annotations.Nullable;
<ide> import org.jetbrains.plugins.groovy.lang.parser.GroovyElementTypes;
<del>import org.jetbrains.plugins.... | |
Java | mit | e53b67a21d3004d55427bca01540dc093aab3663 | 0 | eaglesakura/simple-utils | package com.eaglesakura.util;
import java.lang.reflect.Method;
import java.util.UUID;
/**
* 乱数生成用Util
*/
public class RandomUtil {
/**
* ランダムな真偽値を生成する
*/
public static boolean randBool() {
return randInt8() % 2 == 0;
}
/**
* 1byteの整数を生成する
*/
public static byte randIn... | src/main/java/com/eaglesakura/util/RandomUtil.java | package com.eaglesakura.util;
import java.util.UUID;
/**
* 乱数生成用Util
*/
public class RandomUtil {
/**
* ランダムな真偽値を生成する
*/
public static boolean randBool() {
return randInt8() % 2 == 0;
}
/**
* 1byteの整数を生成する
*/
public static byte randInt8() {
return (byte) ((Ma... | enum生成を追加
| src/main/java/com/eaglesakura/util/RandomUtil.java | enum生成を追加 | <ide><path>rc/main/java/com/eaglesakura/util/RandomUtil.java
<ide> package com.eaglesakura.util;
<ide>
<add>import java.lang.reflect.Method;
<ide> import java.util.UUID;
<ide>
<ide> /**
<ide> }
<ide> return buffer;
<ide> }
<add>
<add>
<add> /**
<add> * ランダムなenumを取得する
<add> */
<add> p... | |
Java | mit | fcad40d993b5388474ff076d06ff1b6037c0089c | 0 | TeamWizardry/TMT-Refraction | package com.teamwizardry.refraction.api.beam;
import com.teamwizardry.librarianlib.client.fx.particle.ParticleBuilder;
import com.teamwizardry.librarianlib.client.fx.particle.ParticleSpawner;
import com.teamwizardry.librarianlib.client.fx.particle.functions.InterpFadeInOut;
import com.teamwizardry.librarianlib.common.... | src/main/java/com/teamwizardry/refraction/api/beam/Beam.java | package com.teamwizardry.refraction.api.beam;
import com.teamwizardry.librarianlib.client.fx.particle.ParticleBuilder;
import com.teamwizardry.librarianlib.client.fx.particle.ParticleSpawner;
import com.teamwizardry.librarianlib.client.fx.particle.functions.InterpFadeInOut;
import com.teamwizardry.librarianlib.common.... | invert armor reflecting check
| src/main/java/com/teamwizardry/refraction/api/beam/Beam.java | invert armor reflecting check | <ide><path>rc/main/java/com/teamwizardry/refraction/api/beam/Beam.java
<ide> flag = false;
<ide> break;
<ide> }
<del> if (armor.getItem() instanceof IReflectiveArmor) {
<add> if (!(armor.getItem() instanceof IReflectiveArmor)) {
<ide>... | |
Java | apache-2.0 | 7bd4c6b9159d0c203c544c6b34b536437f094f67 | 0 | dkcreinoso/jitsi,bhatvv/jitsi,procandi/jitsi,ibauersachs/jitsi,marclaporte/jitsi,bhatvv/jitsi,tuijldert/jitsi,laborautonomo/jitsi,ringdna/jitsi,ringdna/jitsi,bebo/jitsi,level7systems/jitsi,pplatek/jitsi,cobratbq/jitsi,bebo/jitsi,bhatvv/jitsi,marclaporte/jitsi,ibauersachs/jitsi,ibauersachs/jitsi,ringdna/jitsi,iant-gmbh/... | /*
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.impl.gui.main.chat.conference;
import java.util.*;
import net.java.sip.communicator.impl.gui.*;
import net.java.sip.communica... | src/net/java/sip/communicator/impl/gui/main/chat/conference/ConferenceChatPanel.java | /*
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.impl.gui.main.chat.conference;
import java.util.*;
import net.java.sip.communicator.impl.gui.*;
import net.java.sip.communica... | implement send message for a multi user chat
| src/net/java/sip/communicator/impl/gui/main/chat/conference/ConferenceChatPanel.java | implement send message for a multi user chat | <ide><path>rc/net/java/sip/communicator/impl/gui/main/chat/conference/ConferenceChatPanel.java
<ide> import net.java.sip.communicator.impl.gui.i18n.*;
<ide> import net.java.sip.communicator.impl.gui.main.chat.*;
<ide> import net.java.sip.communicator.impl.gui.utils.*;
<del>import net.java.sip.communicator.service.gui.*... | |
JavaScript | mit | a8569333713c2bdcd832a38ea790bfa75ba9db38 | 0 | aminmarashi/binary-bot,binary-com/binary-bot,binary-com/binary-bot,aminmarashi/binary-bot | 'use strict';
import logger from './logger';
import TradeInfo from './tradeInfo';
import account from 'binary-common-utils/account';
import Observer from 'binary-common-utils/observer';
import _Blockly from './blockly';
import storageManager from 'binary-common-utils/storageManager';
import Translator from 'translator'... | src/botPage/view/index.js | 'use strict';
import logger from './logger';
import TradeInfo from './tradeInfo';
import account from 'binary-common-utils/account';
import Observer from 'binary-common-utils/observer';
import _Blockly from './blockly';
import storageManager from 'binary-common-utils/storageManager';
import Translator from 'translator'... | Removed typechange from the chart update function
| src/botPage/view/index.js | Removed typechange from the chart update function | <ide><path>rc/botPage/view/index.js
<ide> var chartOptions = {
<ide> type: this.chartType,
<ide> theme: 'light',
<del> typeChange: function ( type ) {
<del> that.chartType = type;
<del> }
<ide> };
<ide> if ( this.chartType === 'candlestick' ) {
<del> console.log(info.candles);
<ide> ch... | |
Java | mit | a1e04a2e36318b38bc782f9744f225eaa11fc3d8 | 0 | TakayukiHoshi1984/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,TakayukiHoshi198... | /*
DConnectProfile.java
Copyright (c) 2014 NTT DOCOMO,INC.
Released under the MIT license
http://opensource.org/licenses/mit-license.php
*/
package org.deviceconnect.android.profile;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
impo... | dConnectDevicePlugin/dConnectDevicePluginSDK/dconnect-device-plugin-sdk/src/main/java/org/deviceconnect/android/profile/DConnectProfile.java | /*
DConnectProfile.java
Copyright (c) 2014 NTT DOCOMO,INC.
Released under the MIT license
http://opensource.org/licenses/mit-license.php
*/
package org.deviceconnect.android.profile;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
impo... | リファクタリング。
| dConnectDevicePlugin/dConnectDevicePluginSDK/dconnect-device-plugin-sdk/src/main/java/org/deviceconnect/android/profile/DConnectProfile.java | リファクタリング。 | <ide><path>ConnectDevicePlugin/dConnectDevicePluginSDK/dconnect-device-plugin-sdk/src/main/java/org/deviceconnect/android/profile/DConnectProfile.java
<ide>
<ide> public List<DConnectApi> getApiList() {
<ide> List<DConnectApi> list = new ArrayList<DConnectApi>();
<del> for (DConnectApi api : mApis.v... | |
Java | unlicense | error: pathspec 'src/com/dydra/Statement.java' did not match any file(s) known to git
| ecb8fe8031fc437a4fd7b107d2129bc2896e3a52 | 1 | dydra/dydra.java,dydra/dydra.java | /* This is free and unencumbered software released into the public domain. */
package com.dydra;
/**
* Represents a statement stored in a Dydra.com repository.
*
* @see http://docs.dydra.com/sdk/java
*/
public class Statement implements Identifiable, Comparable<Statement> {
/**
* The statement identifier.
... | src/com/dydra/Statement.java | Implemented the com.dydra.Statement class.
| src/com/dydra/Statement.java | Implemented the com.dydra.Statement class. | <ide><path>rc/com/dydra/Statement.java
<add>/* This is free and unencumbered software released into the public domain. */
<add>
<add>package com.dydra;
<add>
<add>/**
<add> * Represents a statement stored in a Dydra.com repository.
<add> *
<add> * @see http://docs.dydra.com/sdk/java
<add> */
<add>public class Statement... | |
Java | bsd-2-clause | 137372051353b9f88bdbaf52461863f8a1ec947b | 0 | biovoxxel/imagej,TehSAUCE/imagej,biovoxxel/imagej,TehSAUCE/imagej,TehSAUCE/imagej,biovoxxel/imagej | //
// NativeLibraryUtil.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:
* Redistrib... | extra/native-library-util/src/main/java/imagej/nativelibrary/NativeLibraryUtil.java | //
// NativeLibraryUtil.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:
* Redistrib... | Got bitten by the "source string".indexOf("thing you're looking for") > 0 again. S/b >= 0.
This used to be revision r2679.
| extra/native-library-util/src/main/java/imagej/nativelibrary/NativeLibraryUtil.java | Got bitten by the "source string".indexOf("thing you're looking for") > 0 again. S/b >= 0. | <ide><path>xtra/native-library-util/src/main/java/imagej/nativelibrary/NativeLibraryUtil.java
<ide> */
<ide> public class NativeLibraryUtil {
<ide> public static enum Architecture
<del> { UNKNOWN, LINUX_32, LINUX_64, WINDOWS_32, WINDOWS_64, OSX_32, OSX_64, };
<add> { UNKNOWN, LINUX_32, LINUX_64, ... | |
Java | apache-2.0 | 40b3a52f92b2515fe72df72f0230a4290081fa0e | 0 | millmanorama/autopsy,wschaeferB/autopsy,APriestman/autopsy,esaunders/autopsy,APriestman/autopsy,rcordovano/autopsy,APriestman/autopsy,narfindustries/autopsy,wschaeferB/autopsy,narfindustries/autopsy,narfindustries/autopsy,rcordovano/autopsy,dgrove727/autopsy,esaunders/autopsy,esaunders/autopsy,millmanorama/autopsy,mill... | /*
* Autopsy Forensic Browser
*
* Copyright 2011-2017 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/QueryResults.java | /*
* Autopsy Forensic Browser
*
* Copyright 2011-2017 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | save hits even if we never get a snippet
| KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/QueryResults.java | save hits even if we never get a snippet | <ide><path>eywordSearch/src/org/sleuthkit/autopsy/keywordsearch/QueryResults.java
<ide> continue;
<ide> }
<ide> }
<del> if (snippet != null) {
<del> KeywordCachedArtifact writeResult = keywordSearchQuery.writeSingleFileHitsToB... | |
Java | apache-2.0 | c939dbcaa0cd66d3470e85cb2c223e53577f9cce | 0 | webanno/webanno,webanno/webanno,webanno/webanno,webanno/webanno | /*******************************************************************************
* Copyright 2012
* Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | webanno-tsv/src/main/java/de/tudarmstadt/ukp/clarin/webanno/tsv/WebannoTsv3Reader.java | /*******************************************************************************
* Copyright 2012
* Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | #176 - escape special characters for TSV import/Export | webanno-tsv/src/main/java/de/tudarmstadt/ukp/clarin/webanno/tsv/WebannoTsv3Reader.java | #176 - escape special characters for TSV import/Export | <ide><path>ebanno-tsv/src/main/java/de/tudarmstadt/ukp/clarin/webanno/tsv/WebannoTsv3Reader.java
<ide> package de.tudarmstadt.ukp.clarin.webanno.tsv;
<ide>
<ide> import static org.apache.commons.io.IOUtils.closeQuietly;
<add>import static org.apache.commons.lang.StringEscapeUtils.unescapeJava;
<ide>
<ide> import java... | |
Java | mit | 2c9d6fe38c7130ee4b1802961e7d38570853c7de | 0 | Upinion/react-native-couchbase-lite,Upinion/react-native-couchbase-lite | package com.upinion.CouchBase;
import android.content.Intent;
import android.content.Context;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContext;
import com.facebook.react.br... | android/src/main/java/com/CouchBase/CouchBase.java | package com.upinion.CouchBase;
import android.content.Intent;
import android.content.Context;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContext;
import com.facebook.react.br... | Detects auth error on Replication event | android/src/main/java/com/CouchBase/CouchBase.java | Detects auth error on Replication event | <ide><path>ndroid/src/main/java/com/CouchBase/CouchBase.java
<ide> import com.couchbase.lite.util.Log;
<ide> import com.couchbase.lite.auth.Authenticator;
<ide> import com.couchbase.lite.auth.AuthenticatorFactory;
<add>import com.couchbase.lite.replicator.RemoteRequestResponseException;
<ide>
<ide> import java.util.Ma... | |
JavaScript | mit | 6e1a9137d852378ad825e45f340b47a064988d44 | 0 | axelpale/tresdb,axelpale/tresdb | /* eslint-disable new-cap */
var local = require('../../../config/local');
var handlers = require('./handlers');
var jsonParser = require('body-parser').json();
// Token middleware. User can access the routes only with valid token.
// Token contents are stored in req.user.
// See https://github.com/auth0/express-jwt... | server/api/account/routes.js | /* eslint-disable new-cap */
var local = require('../../../config/local');
var handlers = require('./handlers');
var jsonParser = require('body-parser').json();
// Token middleware. User can access the routes only with valid token.
// Token contents are stored in req.user.
// See https://github.com/auth0/express-jwt... | Fix lint issues
| server/api/account/routes.js | Fix lint issues | <ide><path>erver/api/account/routes.js
<ide> // Token contents are stored in req.user.
<ide> // See https://github.com/auth0/express-jwt
<ide> var jwt = require('express-jwt');
<del>var jwtParser = jwt({ secret: local.secret, algorithms: ['HS256'] });
<add>var jwtParser = jwt({
<add> secret: local.secret,
<add> algor... | |
Java | agpl-3.0 | 6d88a7b6fd6be378d0ed545703cdca9e278e07d5 | 0 | berthoug/hopsworks,ErmiasG/hopsworks,FilotasSiskos/hopsworks,ErmiasG/hopsworks,AlexHopsworks/hopsworks,berthoug/hopsworks,AlexHopsworks/hopsworks,AlexHopsworks/hopsworks,berthoug/hopsworks,FilotasSiskos/hopsworks,berthoug/hopsworks,ErmiasG/hopsworks,FilotasSiskos/hopsworks,FilotasSiskos/hopsworks,berthoug/hopsworks,Ale... | /*
* 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 se.kth.bbc.security.audit;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.ejb.EJB;
im... | src/main/java/se/kth/bbc/security/audit/AuditTrails.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 se.kth.bbc.security.audit;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.ejb.EJB;
im... | Added new options for audit reports
| src/main/java/se/kth/bbc/security/audit/AuditTrails.java | Added new options for audit reports | <ide><path>rc/main/java/se/kth/bbc/security/audit/AuditTrails.java
<ide> getValue()) || action.getValue().equals(UserAuditActions.LOGOUT.
<ide> getValue())) {
<ide> userLogins = getUserLogins(username, from, to, action.getValue());
<del> }else if(action.getValue().equals(UserAud... | |
JavaScript | mit | 58239cba2ca6561c10297b48fc4d6d5eaac82563 | 0 | danielbh/danielhollcraft.com,danielbh/danielhollcraft.com-gatsbyjs,danielbh/danielhollcraft.com,danielbh/danielhollcraft.com | import React from "react"
let stylesStr
if (process.env.NODE_ENV === `production`) {
try {
stylesStr = require(`!raw-loader!../public/styles.css`)
} catch (e) {
console.log(e)
}
}
module.exports = class HTML extends React.Component {
render() {
let css
if (process.env.NODE_ENV === `production`... | ui/src/html.js | import React from "react"
let stylesStr
if (process.env.NODE_ENV === `production`) {
try {
stylesStr = require(`!raw-loader!../public/styles.css`)
} catch (e) {
console.log(e)
}
}
module.exports = class HTML extends React.Component {
render() {
let css
if (process.env.NODE_ENV === `production`... | remove sumo code
| ui/src/html.js | remove sumo code | <ide><path>i/src/html.js
<ide> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<ide> {this.props.headComponents}
<ide> {css}
<del> <script async>(function(s,u,m,o,j,v){j = u.createElement(m); v=u.getElementsByTagName(m)[... | |
JavaScript | bsd-3-clause | 455e4115e4b1a0b3579b9d888af44c5cde2a426b | 0 | SCAII/SCAII,SCAII/SCAII,SCAII/SCAII,SCAII/SCAII,SCAII/SCAII |
goog.require('proto.scaii.common.Action');
goog.require('proto.scaii.common.AgentCfg');
goog.require('proto.scaii.common.AgentEndpoint');
goog.require('proto.scaii.common.AgentSupported');
goog.require('proto.scaii.common.BackendCfg');
goog.require('proto.scaii.common.BackendEndpoint');
goog.require('proto.scaii.comm... | viz/js/scaiiViz.js |
goog.require('proto.scaii.common.Action');
goog.require('proto.scaii.common.AgentCfg');
goog.require('proto.scaii.common.AgentEndpoint');
goog.require('proto.scaii.common.AgentSupported');
goog.require('proto.scaii.common.BackendCfg');
goog.require('proto.scaii.common.BackendEndpoint');
goog.require('proto.scaii.comm... | selection of explanations reflected in color of selector
| viz/js/scaiiViz.js | selection of explanations reflected in color of selector | <ide><path>iz/js/scaiiViz.js
<ide> var args = ['' +matchingStep];
<ide> userCommand.setArgsList(args);
<ide> stageUserCommand(userCommand);
<del> //handleReplaySessionConfig(replaySessionConfig,matchingStep);
<add> handleReplaySessionConfig(replaySessionConfig,matchingStep);
<ide> // var targetStepString = ''... | |
Java | agpl-3.0 | 8ebf5d78bc1fb1d4e34deb5ed798fc52658aa73e | 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 | edc7ac5e-2e61-11e5-9284-b827eb9e62be | hello.java | edc208ee-2e61-11e5-9284-b827eb9e62be | edc7ac5e-2e61-11e5-9284-b827eb9e62be | hello.java | edc7ac5e-2e61-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>edc208ee-2e61-11e5-9284-b827eb9e62be
<add>edc7ac5e-2e61-11e5-9284-b827eb9e62be | |
Java | apache-2.0 | 081593ac1d40ac343b43864d1d10ad165de15806 | 0 | AsuraTeam/dubbos,AsuraTeam/dubbos,AsuraTeam/dubbos | /*
* Copyright 1999-2011 Alibaba Group.
*
* 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... | dubbo-cluster/src/main/java/com/alibaba/dubbo/rpc/cluster/support/FailoverClusterInvoker.java | /*
* Copyright 1999-2011 Alibaba Group.
*
* 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... | DUBBO-182 修改Failover调用出错信息
git-svn-id: 3d0e7b608a819e97e591a7b753bfd1a27aaeb5ee@844 1a56cb94-b969-4eaa-88fa-be21384802f2
| dubbo-cluster/src/main/java/com/alibaba/dubbo/rpc/cluster/support/FailoverClusterInvoker.java | DUBBO-182 修改Failover调用出错信息 | <ide><path>ubbo-cluster/src/main/java/com/alibaba/dubbo/rpc/cluster/support/FailoverClusterInvoker.java
<ide> logger.warn("Although retry the method " + invocation.getMethodName()
<ide> + " in the service " + getInterface().getName()
<ide> + " ... | |
Java | mit | 7d0c0e6252687da32ccac50d4ac741346592f15b | 0 | toadette/mtg_insight | package de.avalax.mtg_insight.port.adapter.service;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List... | port/src/main/java/de/avalax/mtg_insight/port/adapter/service/TappedOutDeckService.java | package de.avalax.mtg_insight.port.adapter.service;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List... | remove deckname from constructor
| port/src/main/java/de/avalax/mtg_insight/port/adapter/service/TappedOutDeckService.java | remove deckname from constructor | <ide><path>ort/src/main/java/de/avalax/mtg_insight/port/adapter/service/TappedOutDeckService.java
<ide> private List<Deckname> decknames;
<ide> private final String host = "http://tappedout.net/mtg-decks/";
<ide> private final String format = "/?fmt=txt";
<add> private CardService cardService;
<ide>
<de... | |
Java | mit | 27495a0c64dac3fd0be9fc91b947ba337b80bed4 | 0 | iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller... | /*
* Copyright (c) 2010 The Broad Institute
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, mer... | java/src/org/broadinstitute/sting/commandline/CommandLineProgram.java | /*
* Copyright (c) 2010 The Broad Institute
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, mer... | Killed quiet mode. Should probably kill debugMode as well, but Queue's using
it. Will check with Khalid tomorrow.
git-svn-id: 4561c0a8f080806b19201efb9525134c00b76d40@5695 348d0f76-0448-11de-a6fe-93d51630548a
| java/src/org/broadinstitute/sting/commandline/CommandLineProgram.java | Killed quiet mode. Should probably kill debugMode as well, but Queue's using it. Will check with Khalid tomorrow. | <ide><path>ava/src/org/broadinstitute/sting/commandline/CommandLineProgram.java
<ide> required = false)
<ide> protected String toFile = null;
<ide>
<del> /** do we want to silence the command line output */
<del> @Argument(fullName = "quiet_output_mode",
<del> shortName = "quiet",
... | |
Java | apache-2.0 | f18bc31123e29520c81bef08cfbbe182a3ee8723 | 0 | gbif/dwca-io | package org.gbif.dwca.io;
/*
* Copyright 2011 Global Biodiversity Information Facility (GBIF)
*
* 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/LIC... | src/main/java/org/gbif/dwca/io/DwcaWriter.java | package org.gbif.dwca.io;
/*
* Copyright 2011 Global Biodiversity Information Facility (GBIF)
*
* 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/LIC... | Add DwcaWriter methods to deal with multi value delimiters
| src/main/java/org/gbif/dwca/io/DwcaWriter.java | Add DwcaWriter methods to deal with multi value delimiters | <ide><path>rc/main/java/org/gbif/dwca/io/DwcaWriter.java
<ide> * limitations under the License.
<ide> */
<ide>
<add>import com.google.common.base.Preconditions;
<add>import com.google.common.collect.Lists;
<add>import com.google.common.collect.Maps;
<add>import com.google.common.collect.Sets;
<add>import org.apache.... | |
Java | apache-2.0 | 4c68b0765038f5f0ffda23a3699f67e0c5b8ab57 | 0 | serge-rider/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,Sargul/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,serge-rider/dbeaver,Sargul/dbeaver,serge-rider/dbeaver,dbeaver/dbeaver,dbeaver/dbeaver,serge-rider/dbeaver,Sargul/dbeaver | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2015 Serge Rieder (serge@jkiss.org)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 2)
* as published by the Free Software Foundation.
*
* This program is distr... | plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/dialogs/driver/DriverDownloadAutoPage.java | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2015 Serge Rieder (serge@jkiss.org)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 2)
* as published by the Free Software Foundation.
*
* This program is distr... | Driver libraries model
Former-commit-id: ed31c5b229f60d539bb891cbada3944cfe8510d0 | plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/dialogs/driver/DriverDownloadAutoPage.java | Driver libraries model | <ide><path>lugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/dialogs/driver/DriverDownloadAutoPage.java
<ide> {
<ide> DownloadErrorDialog dialog = new DownloadErrorDialog(
<ide> null,
<del> file.getPath(),
<add> file.getDisplayName(),
<ide> ... | |
JavaScript | agpl-3.0 | 5f4d0cf2a501ed848de944bb903bf3354059546d | 0 | timelapseplus/VIEW,timelapseplus/VIEW,timelapseplus/VIEW,timelapseplus/VIEW,timelapseplus/VIEW | require('rootpath')();
var INPUTS_BIN_PATH = "/home/view/current/bin/inputs";
var GESTURE_BIN_PATH = "/home/view/current/bin/gesture";
var GestureLib = require('apds-gesture');
var spawn = require('child_process').spawn;
var exec = require('child_process').exec;
var Button = require('gpio-button');
var db = require("sy... | hardware/inputs.js | require('rootpath')();
var INPUTS_BIN_PATH = "/home/view/current/bin/inputs";
var GESTURE_BIN_PATH = "/home/view/current/bin/gesture";
var GestureLib = require('apds-gesture');
var spawn = require('child_process').spawn;
var exec = require('child_process').exec;
var Button = require('gpio-button');
var db = require("sy... | using GPIO interrupt for gesture sensor
| hardware/inputs.js | using GPIO interrupt for gesture sensor | <ide><path>ardware/inputs.js
<ide>
<ide> var inputs = new EventEmitter();
<ide>
<del>var gesture = GestureLib.use(2); //i2c port 2
<add>VAR GESTURE_INT_GPIO = 72;
<add>VAR GESTURE_I2C_BUS = 2;
<add>
<add>var gesture = GestureLib.use(GESTURE_I2C_BUS, GESTURE_INT_GPIO);
<ide>
<ide> gesture.on('ready', function() {
<id... | |
JavaScript | bsd-3-clause | ce04569ed2ec37177a5a994b5a63c4b7fce8edad | 0 | neonstalwart/mongo-perstore | module.exports = MongoPerstore;
var mongoRql = require('mongo-rql'),
Q = require('q'),
DuplicateEntryError = require('perstore/errors').DuplicateEntryError;
function MongoPerstore(options) {
if (!this instanceof MongoPerstore) {
return new MongoPerstore(options);
}
options = options || {};
if (!options.db) ... | index.js | module.exports = MongoPerstore;
var mongoRql = require('mongo-rql'),
Q = require('q'),
DuplicateEntryError = require('perstore/errors').DuplicateEntryError;
function MongoPerstore(options) {
if (!this instanceof MongoPerstore) {
return new MongoPerstore(options);
}
options = options || {};
if (!options.db) ... | idiomatic exclusion of _id field
| index.js | idiomatic exclusion of _id field | <ide><path>ndex.js
<ide>
<ide> query[ idProperty ] = id;
<ide>
<del> return Q.ninvoke(collection, 'findOne', query)
<del> .then(stripObjectId);
<add> return Q.ninvoke(collection, 'findOne', query, { fields: { _id: 0 } });
<ide> });
<ide> },
<ide>
<ide> // convert rql query to mongodb query
<ide> var ... | |
Java | apache-2.0 | 83d1e07dbf490963dcb76e15a9fc368b1d302653 | 0 | StevenLeRoux/warp10-platform,StevenLeRoux/warp10-platform,hbs/warp10-platform,cityzendata/warp10-platform,cityzendata/warp10-platform,cityzendata/warp10-platform,hbs/warp10-platform,StevenLeRoux/warp10-platform,hbs/warp10-platform,StevenLeRoux/warp10-platform,cityzendata/warp10-platform,hbs/warp10-platform | //
// Copyright 2017 Cityzen Data
//
// 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 o... | warp10/src/main/java/io/warp10/standalone/InMemoryChunkSet.java | //
// Copyright 2017 Cityzen Data
//
// 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 o... | Corrected case when the intermediary decoder contains less than the number of requested values.
| warp10/src/main/java/io/warp10/standalone/InMemoryChunkSet.java | Corrected case when the intermediary decoder contains less than the number of requested values. | <ide><path>arp10/src/main/java/io/warp10/standalone/InMemoryChunkSet.java
<ide> // Now sort the ticks
<ide> Arrays.sort(ticks);
<ide> // We must skip values whose timestamp is <= ticks[ticks.length - nvalues]
<del> long skipbelow = ticks[ticks.length - (int) nvalues];
<ide> ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.