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 | 49e4c995797bb9332dded6d92c2bede11b074018 | 0 | wuxinshui/spring-boot-samples,wuxinshui/spring-boot-samples,wuxinshui/spring-boot-samples,wuxinshui/spring-boot-samples | package com.wxs.quartz.conf;
import org.quartz.Scheduler;
import org.quartz.SchedulerException;
import org.quartz.SchedulerFactory;
import org.quartz.impl.StdSchedulerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* @ClassName: JobConfig
... | spring-boot-sample-quartz/src/main/java/com/wxs/quartz/conf/QuartzConfig.java | package com.wxs.quartz.conf;
import com.wxs.quartz.job.InitJob;
import org.quartz.*;
import org.quartz.impl.StdSchedulerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.quartz.CronTriggerFactoryBean;
import o... | init schedule no job
SchedulerFactory sf = new StdSchedulerFactory();
Scheduler scheduler = sf.getScheduler();
scheduler.start();
return scheduler;
| spring-boot-sample-quartz/src/main/java/com/wxs/quartz/conf/QuartzConfig.java | init schedule no job SchedulerFactory sf = new StdSchedulerFactory(); Scheduler scheduler = sf.getScheduler(); scheduler.start(); return scheduler; | <ide><path>pring-boot-sample-quartz/src/main/java/com/wxs/quartz/conf/QuartzConfig.java
<ide> package com.wxs.quartz.conf;
<ide>
<del>import com.wxs.quartz.job.InitJob;
<del>import org.quartz.*;
<add>import org.quartz.Scheduler;
<add>import org.quartz.SchedulerException;
<add>import org.quartz.SchedulerFactory;
<ide> ... | |
Java | unlicense | 225b7ef7a0ade6f4aedbc82b8d708a7733822094 | 0 | SkyLandTW/JXTN,AqD/JXTN,SkyLandTW/JXTN | /*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jur... | jxtn.core.axi/src/java/util/IteratorExt.java | /*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jur... | jxtn.core.axi/src/java/util/IteratorExt.java: reformat
| jxtn.core.axi/src/java/util/IteratorExt.java | jxtn.core.axi/src/java/util/IteratorExt.java: reformat | <ide><path>xtn.core.axi/src/java/util/IteratorExt.java
<ide> result = accumulator.applyEx(result, e);
<ide> }
<ide> return result;
<del>
<ide> }
<ide>
<ide> /** | |
Java | apache-2.0 | 349db2fadebf8a2408c5af60a5fe688c3279266f | 0 | heshamMassoud/RouteMe-API | package com.routeme.model;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import com.google.maps.model.DirectionsRoute;
import com.google.maps.model.DirectionsStep;
import com.google.maps.model.StopDetails;
import com.google.maps.model.TransitDetails;
import com.google.maps.model.TransitL... | src/main/java/com/routeme/model/TransitRoute.java | package com.routeme.model;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import com.google.maps.model.DirectionsRoute;
import com.google.maps.model.DirectionsStep;
import com.google.maps.model.StopDetails;
import com.google.maps.model.TransitDetails;
import com.google.maps.model.TransitL... | Remove unneeded variable
| src/main/java/com/routeme/model/TransitRoute.java | Remove unneeded variable | <ide><path>rc/main/java/com/routeme/model/TransitRoute.java
<ide> import com.routeme.utility.directions.RouteParseException;
<ide>
<ide> public class TransitRoute extends Route {
<del> boolean firstVehicleInformationSet = false;
<ide>
<ide> public TransitRoute(DirectionsRoute googleDirectionsRoute) throws Rout... | |
Java | apache-2.0 | b25454632258fda8367947d0e5640585406d3b62 | 0 | javamelody/javamelody,javamelody/javamelody,javamelody/javamelody | /*
* Copyright 2008-2010 by Emeric Vernat
*
* This file is part of Java Melody.
*
* Java Melody is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* ... | javamelody-core/src/main/java/net/bull/javamelody/SessionInformations.java | /*
* Copyright 2008-2010 by Emeric Vernat
*
* This file is part of Java Melody.
*
* Java Melody is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* ... | To display the username in the list of http sessions, look at ACEGI_SECURITY_LAST_USERNAME and SPRING_SECURITY_LAST_USERNAME if getRemoteUser() was null (In particular, for Jenkins/Hudson) | javamelody-core/src/main/java/net/bull/javamelody/SessionInformations.java | To display the username in the list of http sessions, look at ACEGI_SECURITY_LAST_USERNAME and SPRING_SECURITY_LAST_USERNAME if getRemoteUser() was null (In particular, for Jenkins/Hudson) | <ide><path>avamelody-core/src/main/java/net/bull/javamelody/SessionInformations.java
<ide> remoteAddr = addr.toString();
<ide> }
<ide>
<del> final Object user = session.getAttribute(SESSION_REMOTE_USER);
<add> Object user = session.getAttribute(SESSION_REMOTE_USER);
<add> if (user == null) {
<add> // si getR... | |
JavaScript | mit | 610b05c31a322227c325e3d5f613ed3073a3b9ae | 0 | dumconstantin/generator-x,dumconstantin/generator-x,dumconstantin/generator-x | // ----------------------------------
// GeneratorX
// @author Constantin Dumitrescu
// @author Bogdan Matei
// @company Brandup
// @version 0.1.0
// ----------------------------------
(function () {
"use strict";
var
fs = require('fs'),
path = require('path'),
PNG = require('pngj... | main.js | // ----------------------------------
// GeneratorX
// @author Constantin Dumitrescu
// @author Bogdan Matei
// @company Brandup
// @version 0.1.0
// ----------------------------------
(function () {
"use strict";
var
fs = require('fs'),
path = require('path'),
PNG = require('pngj... | Moved the css.top -= 7 for text layers to where the box/plain text verification is made
| main.js | Moved the css.top -= 7 for text layers to where the box/plain text verification is made | <ide><path>ain.js
<ide> }());
<ide> */
<ide>
<del> // TODO: This is a sub optimal solution to compensate for the difference between
<del> // line height and leading.
<del> css.top -= 7;
<del>
<ide> (function () {
<ide> var textStyleRa... | |
JavaScript | mit | fb6a8a87f93a3702eff61e3fa564a25763a65d87 | 0 | ZetaRet/protoss | /**
* Author: Zeta Ret, Ivo Yankulovski
* Zeta Ret XeltoSS ASTConstructor
* Generates ASTConstructorInstance of type function
* Version: 1.00
* Date: 2018
**/
function ASTConstructor(key,data,datahandler){
var ASTConstructorInstance=function ASTConstructorInstance(){};
ASTConstructorInstance.constr... | xeltoss/ASTConstructor.js | /**
* Author: Zeta Ret, Ivo Yankulovski
* Zeta Ret XeltoSS ASTConstructor
* Generates ASTConstructorInstance of type function
* Version: 1.00
* Date: 2019
**/
function ASTConstructor(key,data,datahandler){
var ASTConstructorInstance=function ASTConstructorInstance(){};
ASTConstructorInstance.constr... | Update ASTConstructor.js | xeltoss/ASTConstructor.js | Update ASTConstructor.js | <ide><path>eltoss/ASTConstructor.js
<ide> * Zeta Ret XeltoSS ASTConstructor
<ide> * Generates ASTConstructorInstance of type function
<ide> * Version: 1.00
<del> * Date: 2019
<add> * Date: 2018
<ide> **/
<ide> function ASTConstructor(key,data,datahandler){
<ide> var ASTConstructorInstance=function ASTConstruct... | |
Java | apache-2.0 | e5cde55fc55fb0b23dffb8dd648194d969c32b3f | 0 | stevespringett/dependency-track,stevespringett/dependency-track,stevespringett/dependency-track | /*
* This file is part of Dependency-Track.
*
* Dependency-Track 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 (at your option) any
* later version.
*
* Dependency... | src/test/java/org/owasp/dependencytrack/parser/dependencycheck/DependencyCheckParserTest.java | /*
* This file is part of Dependency-Track.
*
* Dependency-Track 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 (at your option) any
* later version.
*
* Dependency... | Updating test for new method sig
| src/test/java/org/owasp/dependencytrack/parser/dependencycheck/DependencyCheckParserTest.java | Updating test for new method sig | <ide><path>rc/test/java/org/owasp/dependencytrack/parser/dependencycheck/DependencyCheckParserTest.java
<ide> List<Component> components = new ArrayList<>();
<ide> for (Dependency dependency: analysis.getDependencies()) {
<ide> Component component = qm.createComponent(
<del> ... | |
JavaScript | mit | 3b4db4d3aa2d56216ce660bbb1f795bdce5992ac | 0 | Pix---/ioBroker.tankerkoenig,Pix---/ioBroker.tankerkoenig | /* jshint -W097 */// jshint strict:false
/*jslint node: true */
'use strict';
const utils = require(__dirname + '/lib/utils'); // Get common adapter utils
const request = require('request');
const adapterName = require('./package.json').name.split('.').pop();
let result;
let err;
let url = "";
let timer ... | main.js | /* jshint -W097 */// jshint strict:false
/*jslint node: true */
'use strict';
const utils = require(__dirname + '/lib/utils'); // Get common adapter utils
const request = require('request');
const adapterName = require('./package.json').name.split('.').pop();
let result;
let err;
let url = "";
let timer ... | 1.3.1 request issue fixed | main.js | 1.3.1 request issue fixed | <ide><path>ain.js
<ide> // adapter.config.interval = parseInt(adapter.config.interval, 10);
<ide> adapter.config.interval = 0;
<ide>
<del>// polling min 15 min.
<add>// polling min 5min
<ide> if (adapter.config.interval < 5000) {
<del> adapter.config.interval = 60 * 1000 * 15;
<add> adapter.co... | |
Java | bsd-3-clause | dcd18e37afb1f9794b39de387aba8ceef82ce748 | 0 | fmapfmapfmap/onionoo-dev,fmapfmapfmap/onionoo-dev,fmapfmapfmap/onionoo-dev | /* Copyright 2011, 2012 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.ut... | src/org/torproject/onionoo/ResourceServlet.java | /* Copyright 2011, 2012 The Tor Project
* See LICENSE for licensing information */
package org.torproject.onionoo;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.HashMap;
import java.ut... | Rename a variable.
| src/org/torproject/onionoo/ResourceServlet.java | Rename a variable. | <ide><path>rc/org/torproject/onionoo/ResourceServlet.java
<ide> return "";
<ide> }
<ide> fingerprint = fingerprint.substring(0, 40);
<del> File detailsFile = new File(this.outDirString + "bandwidth/"
<add> File bandwidthFile = new File(this.outDirString + "bandwidth/"
<ide> + fingerprint);
<... | |
Java | apache-2.0 | 7ab5dc7cf4ba4bf786d750e455bcdde022974e66 | 0 | EmmyLua/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua | /*
* Copyright (c) 2017. tangzx(love.tangzx@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | src/main/java/com/tang/intellij/lua/codeInsight/intention/ClassMethodBasedIntention.java | /*
* Copyright (c) 2017. tangzx(love.tangzx@qq.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | method intention
| src/main/java/com/tang/intellij/lua/codeInsight/intention/ClassMethodBasedIntention.java | method intention | <ide><path>rc/main/java/com/tang/intellij/lua/codeInsight/intention/ClassMethodBasedIntention.java
<ide> import com.intellij.psi.util.PsiTreeUtil;
<ide> import com.intellij.util.IncorrectOperationException;
<ide> import com.tang.intellij.lua.psi.LuaClassMethodDef;
<add>import com.tang.intellij.lua.psi.LuaClassMethodNam... | |
JavaScript | mit | cdffe8fa40aec4fb9f533668257bf6e3d71a78aa | 0 | HenrikJoreteg/Happy.js,HenrikJoreteg/Happy.js | /*global $*/
(function happyJS($) {
function trim(el) {
return (''.trim) ? el.val().trim() : $.trim(el.val());
}
$.fn.isHappy = function isHappy(config) {
var fields = [], item;
var pauseMessages = false;
function isFunction(obj) {
return !!(obj && obj.constructo... | happy.js | /*global $*/
(function happyJS($) {
function trim(el) {
return (''.trim) ? el.val().trim() : $.trim(el.val());
}
$.fn.isHappy = function isHappy(config) {
var fields = [], item;
var pauseMessages = false;
function isFunction(obj) {
return !!(obj && obj.constructo... | Forwarding events to happy / unHappy
| happy.js | Forwarding events to happy / unHappy | <ide><path>appy.js
<ide> }
<ide> }
<ide> if (errors) {
<del> if (isFunction(config.unHappy)) config.unHappy();
<add> if (isFunction(config.unHappy)) config.unHappy(e);
<ide> return false;
<ide> } else if (config.testMode) ... | |
Java | mit | 2320ba236a5942ce85e9924876dc0bdc91858bfd | 0 | matabii/scale-imageview-android,ihollysee/scale-imageview-android | package com.matabii.dev.scaleimageview;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Matrix;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.util.FloatMath;
import android.view.GestureDetector;
import android.view.MotionEvent;
impor... | src/com/matabii/dev/scaleimageview/ScaleImageView.java | package com.matabii.dev.scaleimageview;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Matrix;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.util.FloatMath;
import android.view.GestureDetector;
import android.view.MotionEvent;
impor... | fix deprecated method of GestureDetector class.
| src/com/matabii/dev/scaleimageview/ScaleImageView.java | fix deprecated method of GestureDetector class. | <ide><path>rc/com/matabii/dev/scaleimageview/ScaleImageView.java
<ide> import android.widget.ImageView;
<ide>
<ide> public class ScaleImageView extends ImageView implements OnTouchListener {
<add> private Context mContext;
<ide> private float MAX_SCALE = 2f;
<ide>
<ide> private Matrix mMatrix;
<ide>
<ide>... | |
Java | apache-2.0 | ade9e99a5a3252522eb00eb768fecfc02e7200b1 | 0 | ceylon/ceylon-js,ceylon/ceylon-js,ceylon/ceylon-js | package com.redhat.ceylon.compiler.js;
import static com.redhat.ceylon.compiler.typechecker.analyzer.Util.eliminateParensAndWidening;
import java.io.File;
import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
im... | src/main/java/com/redhat/ceylon/compiler/js/GenerateJsVisitor.java | package com.redhat.ceylon.compiler.js;
import static com.redhat.ceylon.compiler.typechecker.analyzer.Util.eliminateParensAndWidening;
import java.io.File;
import java.io.IOException;
import java.io.StringWriter;
import java.io.Writer;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
im... | separate outer types with commas
| src/main/java/com/redhat/ceylon/compiler/js/GenerateJsVisitor.java | separate outer types with commas | <ide><path>rc/main/java/com/redhat/ceylon/compiler/js/GenerateJsVisitor.java
<ide> conds.specialConditionRHS(termString, tmpvar);
<ide> }
<ide> out(",");
<del> out("/*", type.getQualifyingType()+"*/");
<ide> TypeUtils.typeNameOrList(term, type, this, false);
<ide> if (... | |
Java | apache-2.0 | f84a9f6705d1f5c108a51bf953aae4c87d531a0a | 0 | thomasgalvin/Pathfinding | package pathfinding;
import java.util.List;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*
* @author galvint
*/
public class PathfindingTest {
... | src/test/java/pathfinding/PathfindingTest.java | package pathfinding;
import java.util.List;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*
* @author galvint
*/
public class PathfindingTest {
... | Now indexing array as nodes[x][y]
| src/test/java/pathfinding/PathfindingTest.java | Now indexing array as nodes[x][y] | <ide><path>rc/test/java/pathfinding/PathfindingTest.java
<ide> Vertex start = new Vertex(0,0);
<ide> Vertex end = new Vertex( nodes.length-2, nodes[0].length-1 );
<ide>
<del> logger.info( "*** *** ***" );
<del> logger.info( "*** *** ***" );
<del> logger.info( "*** *** ***" );
<del>... | |
Java | mit | 42f3f08a6c1d92505ebdbfdbc57293a11ede6568 | 0 | FunnyMan3595/mcp_deobfuscate,FunnyMan3595/mcp_deobfuscate | package org.ldg.mcpd;
import org.objectweb.asm.*;
import org.objectweb.asm.commons.*;
import java.io.*;
import java.util.*;
public class MCPDRemapper extends Remapper implements MCPDClassHandler {
List<String> exemptions;
MCPDInheritanceGraph inheritance;
String default_package = null;
Map<String, Str... | src/main/java/org/ldg/mcpd/MCPDRemapper.java | package org.ldg.mcpd;
import org.objectweb.asm.*;
import org.objectweb.asm.commons.*;
import java.io.*;
import java.util.*;
public class MCPDRemapper extends Remapper implements MCPDClassHandler {
List<String> exemptions;
MCPDInheritanceGraph inheritance;
String default_package = null;
Map<String, Str... | Fixed a couple small bugs that were hampering reobfuscation.
| src/main/java/org/ldg/mcpd/MCPDRemapper.java | Fixed a couple small bugs that were hampering reobfuscation. | <ide><path>rc/main/java/org/ldg/mcpd/MCPDRemapper.java
<ide>
<ide> public MCPDRemapper(File configfile, List<String> exclude, MCPDInheritanceGraph inheritanceGraph) throws IOException {
<ide> exemptions = exclude;
<add> if (exemptions == null) {
<add> exemptions = new ArrayList<String>();... | |
JavaScript | mit | 7015ef60cd0315a17473e6791a4376f9a69bc110 | 0 | iamchathu/brackets,Live4Code/brackets,m66n/brackets,simon66/brackets,veveykocute/brackets,shal1y/brackets,alexkid64/brackets,zaggino/brackets-electron,IAmAnubhavSaini/brackets,pomadgw/brackets,ropik/brackets,massimiliano76/brackets,massimiliano76/brackets,kilroy23/brackets,gcommetti/brackets,goldcase/brackets,ecwebserv... | /*
* Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the ri... | src/utils/ViewUtils.js | /*
* Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the ri... | Escape html-sensitive characters for any file/folder without the extension.
| src/utils/ViewUtils.js | Escape html-sensitive characters for any file/folder without the extension. | <ide><path>rc/utils/ViewUtils.js
<ide> if (i >= 0) {
<ide> // Escape all HTML-sensitive characters in filename.
<ide> name = _.escape(name.substring(0, i)) + "<span class='extension'>" + _.escape(name.substring(i)) + "</span>";
<add> } else {
<add> name = _.escape(name)... | |
Java | apache-2.0 | 9627a784495d4b078660db743b4757b3606954df | 0 | javalite/activejdbc,javalite/activejdbc,javalite/activejdbc,javalite/activejdbc | /*
Copyright 2009-2010 Igor Polevoy
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | activeweb/src/main/java/org/javalite/activeweb/HttpSupport.java | /*
Copyright 2009-2010 Igor Polevoy
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | added logError(Throwable) convenience method
| activeweb/src/main/java/org/javalite/activeweb/HttpSupport.java | added logError(Throwable) convenience method | <ide><path>ctiveweb/src/main/java/org/javalite/activeweb/HttpSupport.java
<ide>
<ide> protected void logError(String info){
<ide> logger.error(info);
<add> }
<add>
<add> protected void logError(Throwable e){
<add> logger.error("", e);
<ide> }
<ide>
<ide> protected void logError(String... | |
Java | apache-2.0 | 8b09f8a34354a5a4c15a5885e0513c18c5144005 | 0 | Uni-Sol/batik,apache/batik,Uni-Sol/batik,apache/batik,Uni-Sol/batik,Uni-Sol/batik,Uni-Sol/batik,apache/batik,apache/batik | /*****************************************************************************
* Copyright (C) The Apache Software Foundation. All rights reserved. *
* ------------------------------------------------------------------------- *
* This software is published under the terms of the Apache Software License *
* v... | sources/org/apache/batik/refimpl/gvt/AbstractGraphicsNode.java | /*****************************************************************************
* Copyright (C) The Apache Software Foundation. All rights reserved. *
* ------------------------------------------------------------------------- *
* This software is published under the terms of the Apache Software License *
* v... | Remove clipping optimization (moved to ConcreteTextNode).
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: e944db0f7b5c8f0ae3e1ad43ca99b026751ef0c2@198988 13f79535-47bb-0310-9956-ffa450edef68
| sources/org/apache/batik/refimpl/gvt/AbstractGraphicsNode.java | Remove clipping optimization (moved to ConcreteTextNode). PR: Obtained from: Submitted by: Reviewed by: | <ide><path>ources/org/apache/batik/refimpl/gvt/AbstractGraphicsNode.java
<ide> }
<ide> if (clip != null) {
<ide> g2d.clip(clip);
<del> // Work around clipping issue. DO NOT REMOVE, EVEN
<del> // if it looks stupid.
<del> g2d.setClip(new GeneralPath(g2d.getCli... | |
JavaScript | apache-2.0 | 51c7d2da9558fe21d883688d6f960bd5ad287886 | 0 | asha-nepal/AshaFusionCross,asha-nepal/AshaFusionCross,asha-nepal/AshaFusionCross,asha-nepal/AshaFusionCross,asha-nepal/AshaFusionCross | /* @flow */
import { createSelector } from 'reselect';
import _get from 'lodash.get';
import moment from 'moment';
export {
getIsLoggedIn,
getLoggedInUser,
getIsAdmin,
} from './auth';
export {
getRecordFormStyles, getDefaultRecordFormStyleId, getRecordFormStyleId, getRecordFormStyle,
getPatientFormStyle,
... | src/selectors/index.js | /* @flow */
import { createSelector } from 'reselect';
import _get from 'lodash.get';
import moment from 'moment';
export {
getIsLoggedIn,
getLoggedInUser,
getIsAdmin,
} from './auth';
export {
getRecordFormStyles, getDefaultRecordFormStyleId, getRecordFormStyleId, getRecordFormStyle,
getPatientFormStyle,
... | (refs #457) Modified patient selector
| src/selectors/index.js | (refs #457) Modified patient selector | <ide><path>rc/selectors/index.js
<ide> return currentMoment.isSame(patientCreatedMoment, 'day');
<ide> }
<ide> const conditions = [];
<del> if (startDate) conditions.push(patientCreatedMoment.isAfter(startDate));
<del> if (endDate) {
<del> conditions.push(patientCreatedMoment.isBefore(endDate) ||
<del> ... | |
Java | mit | 32cf5ea6234f752f676cc10304556484b71d634f | 0 | elliottsj/ftw-android | package com.afollestad.cardsuisample;
import android.app.Activity;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.view.MenuItem;
import android.widget.Toast;
import com.afollestad.cardsui.Card;
import com.afollestad.cardsui.CardHeader;
import com.afollestad.cardsui.CardListVie... | sample/src/com/afollestad/cardsuisample/CustomActivity.java | package com.afollestad.cardsuisample;
import android.app.Activity;
import android.graphics.drawable.ColorDrawable;
import android.os.Bundle;
import android.view.MenuItem;
import android.widget.Toast;
import com.afollestad.cardsui.Card;
import com.afollestad.cardsui.CardHeader;
import com.afollestad.cardsui.CardListVie... | Updates to the sample
| sample/src/com/afollestad/cardsuisample/CustomActivity.java | Updates to the sample | <ide><path>ample/src/com/afollestad/cardsuisample/CustomActivity.java
<ide> super.onCreate(savedInstanceState);
<ide> setContentView(R.layout.activity_card_list);
<ide>
<del> // Initializes a CardAdapter with a red accent color (set in the adapter's constructor) and basic popup menu for each car... | |
Java | bsd-3-clause | 629b480eaa48cf79dd7e1255732cbb9673077277 | 0 | JensErat/basex,deshmnnit04/basex,deshmnnit04/basex,joansmith/basex,BaseXdb/basex,ksclarke/basex,drmacro/basex,dimitarp/basex,drmacro/basex,BaseXdb/basex,JensErat/basex,ksclarke/basex,vincentml/basex,dimitarp/basex,deshmnnit04/basex,BaseXdb/basex,vincentml/basex,deshmnnit04/basex,drmacro/basex,BaseXdb/basex,deshmnnit04/... | package org.basex.gui.view.map;
import java.util.ArrayList;
import org.basex.data.Data;
import org.basex.gui.view.ViewRect;
import org.basex.util.IntList;
import org.basex.util.Token;
/**
* Uses simple slice and dice layout to split rectangles.
*
* @author Workgroup DBIS, University of Konstanz 2005-08, ISC Licens... | src/org/basex/gui/view/map/SliceDiceLayout.java | package org.basex.gui.view.map;
import java.util.ArrayList;
import org.basex.data.Data;
import org.basex.gui.GUIProp;
import org.basex.gui.view.ViewRect;
import org.basex.util.IntList;
import org.basex.util.Token;
/**
* Uses simple slice and dice layout to split rectangles.
*
* @author Workgroup DBIS, University o... | slider and number of descendants update slice and dice layout
| src/org/basex/gui/view/map/SliceDiceLayout.java | slider and number of descendants update slice and dice layout | <ide><path>rc/org/basex/gui/view/map/SliceDiceLayout.java
<ide>
<ide> import java.util.ArrayList;
<ide> import org.basex.data.Data;
<del>import org.basex.gui.GUIProp;
<ide> import org.basex.gui.view.ViewRect;
<ide> import org.basex.util.IntList;
<ide> import org.basex.util.Token;
<ide> } else {
<ide> ... | |
Java | apache-2.0 | error: pathspec 'src/test/java/neon/core/AspectTest.java' did not match any file(s) known to git
| f5477ee1d9ab41da70e7ecdb1b57872ca71dc900 | 1 | 54k/neon | package neon.core;
import org.testng.Assert;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
public class AspectTest extends Assert {
@DataProvider(name = "aspects")
public static Object[][] aspects() {
return new Object[][]{
{getAspectForAll(A.class, B... | src/test/java/neon/core/AspectTest.java | added simple aspect tests
| src/test/java/neon/core/AspectTest.java | added simple aspect tests | <ide><path>rc/test/java/neon/core/AspectTest.java
<add>package neon.core;
<add>
<add>import org.testng.Assert;
<add>import org.testng.annotations.DataProvider;
<add>import org.testng.annotations.Test;
<add>
<add>public class AspectTest extends Assert {
<add>
<add> @DataProvider(name = "aspects")
<add> public stat... | |
Java | apache-2.0 | 8f09027e33ecca8c67c66584d71283f18db40547 | 0 | tmaret/sling,roele/sling,cleliameneghin/sling,mikibrv/sling,mcdan/sling,mikibrv/sling,wimsymons/sling,labertasch/sling,Nimco/sling,ist-dresden/sling,cleliameneghin/sling,anchela/sling,roele/sling,headwirecom/sling,trekawek/sling,mikibrv/sling,labertasch/sling,mcdan/sling,ieb/sling,Nimco/sling,awadheshv/sling,JEBailey/s... | /*
* 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 ... | bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/scheduling/JobSchedulerImpl.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 ... | SLING-5805 : NPE in JobSchedulerImpl when shutting down instance
git-svn-id: 6eed74fe9a15c8da84b9a8d7f2960c0406113ece@1750277 13f79535-47bb-0310-9956-ffa450edef68
| bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/scheduling/JobSchedulerImpl.java | SLING-5805 : NPE in JobSchedulerImpl when shutting down instance | <ide><path>undles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/scheduling/JobSchedulerImpl.java
<ide> */
<ide> @Override
<ide> public void execute(final JobContext context) {
<add> if ( !active.get() ) {
<add> // not active anymore, simply return
<add> return... | |
Java | apache-2.0 | e6bd701a9610cd028aee550a6ac3007e703684a5 | 0 | jvasileff/ceylon-module-resolver,ceylon/ceylon-module-resolver,jvasileff/ceylon-module-resolver,alesj/ceylon-module-resolver,ceylon/ceylon-module-resolver,alesj/ceylon-module-resolver | package com.redhat.ceylon.cmr.ceylon;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.NavigableMap;
import java.util.ResourceBundle;
import com.redhat.ceylon.cmr.api.ArtifactContext;
import com.redha... | ceylon/src/main/java/com/redhat/ceylon/cmr/ceylon/RepoUsingTool.java | package com.redhat.ceylon.cmr.ceylon;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.NavigableMap;
import java.util.ResourceBundle;
import com.redhat.ceylon.cmr.api.ArtifactContext;
import com.redha... | Now using the ceylon tool base class for all repo using commands (ceylon/ceylon-runtime#26)
| ceylon/src/main/java/com/redhat/ceylon/cmr/ceylon/RepoUsingTool.java | Now using the ceylon tool base class for all repo using commands (ceylon/ceylon-runtime#26) | <ide><path>eylon/src/main/java/com/redhat/ceylon/cmr/ceylon/RepoUsingTool.java
<ide> import com.redhat.ceylon.cmr.api.RepositoryManager;
<ide> import com.redhat.ceylon.common.Messages;
<ide> import com.redhat.ceylon.common.ModuleDescriptorReader;
<add>import com.redhat.ceylon.common.tool.CeylonBaseTool;
<ide> import co... | |
Java | epl-1.0 | 7af4c3bfde9a4db29dcc361621151695101ffe97 | 0 | saeg/ba-dua | /**
* Copyright (c) 2014, 2016 University of Sao Paulo and Contributors.
* 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
* http://www.eclipse.org/legal/epl-v10.html
... | ba-dua-cli/src/main/java/br/usp/each/saeg/badua/cli/Instrument.java | /**
* Copyright (c) 2014, 2016 University of Sao Paulo and Contributors.
* 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
* http://www.eclipse.org/legal/epl-v10.html
... | Bugfix: files are truncated when 'instrument' src folder and dest folder are the same
This bugfix prevent this error by throwing an exception
| ba-dua-cli/src/main/java/br/usp/each/saeg/badua/cli/Instrument.java | Bugfix: files are truncated when 'instrument' src folder and dest folder are the same | <ide><path>a-dua-cli/src/main/java/br/usp/each/saeg/badua/cli/Instrument.java
<ide> }
<ide>
<ide> public int instrument() throws IOException {
<add>
<add> if (src.equals(dest)) {
<add> throw new IOException("'src' and 'dest' can't be the same folder");
<add> }
<ide>
<ide> if (... | |
Java | apache-2.0 | 0963dc68631d1dded80ee62fc7dd458c4b900879 | 0 | Stratio/cassandra-lucene-index,Stratio/cassandra-lucene-index | /*
* Copyright (C) 2014 Stratio (http://stratio.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | testsAT/src/test/java/com/stratio/cassandra/lucene/testsAT/udt/UDTPartialUpdateIT.java | /*
* Copyright (C) 2014 Stratio (http://stratio.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Fix partial UDT update test to cleanup resources after test success.
| testsAT/src/test/java/com/stratio/cassandra/lucene/testsAT/udt/UDTPartialUpdateIT.java | Fix partial UDT update test to cleanup resources after test success. | <ide><path>estsAT/src/test/java/com/stratio/cassandra/lucene/testsAT/udt/UDTPartialUpdateIT.java
<ide> } catch (InvalidQueryException e) {
<ide> if (e.getMessage().equals("Non-frozen User-Defined types are not supported, please use frozen<>")) {
<ide> logger.info("Ignoring UDT partia... | |
JavaScript | agpl-3.0 | f0f6772b01a916d9f38b297529dfbe975503a4a4 | 0 | adunning/zotero,gracile-fr/zotero,gracile-fr/zotero,rmzelle/zotero,gracile-fr/zotero,fbennett/zotero,egh/zotero,LinuxMercedes/zotero,hoehnp/zotero,aurimasv/zotero,retorquere/zotero,LinuxMercedes/zotero,retorquere/zotero,hoehnp/zotero,sendecomp/zotero,egh/zotero,robamler/zotero,sendecomp/zotero,retorquere/zotero,rmzelle... | /*
***** BEGIN LICENSE BLOCK *****
Copyright © 2009 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
http://zotero.org
This file is part of Zotero.
Zotero is free software: you can redistribute it and/or modify
... | chrome/content/zotero/xpcom/itemTreeView.js | /*
***** BEGIN LICENSE BLOCK *****
Copyright © 2009 Center for History and New Media
George Mason University, Fairfax, Virginia, USA
http://zotero.org
This file is part of Zotero.
Zotero is free software: you can redistribute it and/or modify
... | Sort by title after creator and date, if not primary sort
Addresses #275
| chrome/content/zotero/xpcom/itemTreeView.js | Sort by title after creator and date, if not primary sort | <ide><path>hrome/content/zotero/xpcom/itemTreeView.js
<ide> fieldB = b.getField('date', true).substr(0, 10);
<ide>
<ide> cmp = strcmp(fieldA, fieldB);
<add> if (cmp !== 0) {
<add> return cmp;
<add> }
<add> }
<add>
<add> if (columnField !== 'title') {
<add> cmp = collation.compareString(1, b.getFi... | |
JavaScript | mit | f38b670b39b0408e542ec5b073426252fb66829b | 0 | h2non/domlight,h2non/domlight | /*! domlight - v.0.1.0 - MIT License - https://github.com/h2non/domlight */
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(['exports'], factory)
} else if (typeof exports === 'object') {
factory(exports)
if (typeof module === 'object' && module !== null) {
mod... | domlight.js | /*! domlight - v.0.1.0 - MIT License - https://github.com/h2non/domlight */
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(['exports'], factory)
} else if (typeof exports === 'object') {
factory(exports)
if (typeof module === 'object' && module !== null) {
mod... | fix(style): multiple elements style
| domlight.js | fix(style): multiple elements style | <ide><path>omlight.js
<ide>
<ide> function setFocus(element, options) {
<ide> var styleEl = window.getComputedStyle(element)
<add> var position = styleEl.getPropertyValue('position')
<add> var zIndex = +styleEl.getPropertyValue('z-index')
<ide>
<ide> elements.push({
<del> zIndex: styleEl.getPrope... | |
JavaScript | bsd-3-clause | 10bb0c7a58f55803ac95ae456f38a7cfbc1331da | 0 | maier49/dgrid,dylans/dgrid,maier49/dgrid,kfranqueiro/dgrid,dylans/dgrid,kfranqueiro/dgrid,dylans/dgrid,kfranqueiro/dgrid,maier49/dgrid | define([
'dojo/_base/declare',
'dojo/_base/lang',
'dojo/Deferred',
'dstore/Memory',
'dstore/Trackable',
'dstore/QueryResults'
], function (declare, lang, Deferred, Memory, Trackable, QueryResults) {
// summary:
// Creates a store that wraps the delegate store's query results and total in Deferred
// instance... | test/data/createAsyncStore.js | define([
'dojo/_base/declare',
'dojo/_base/lang',
'dojo/Deferred',
'dstore/Memory',
'dstore/Trackable',
'dstore/QueryResults'
], function (declare, lang, Deferred, Memory, Trackable, QueryResults) {
// summary:
// Creates a store that wraps the delegate store's query results and total in Deferred
// instance... | createAsyncStore: Remove obsolete TODO
| test/data/createAsyncStore.js | createAsyncStore: Remove obsolete TODO | <ide><path>est/data/createAsyncStore.js
<ide> },
<ide>
<ide> fetchRange: function (kwArgs) {
<del> // dstore/Memory currently handles the data as potentially async
<del> // but not the length.
<del> // TODO: Revisit/remove when dstore is always-promise.
<add> // dstore/Memory#fetchRange always uses fetchSy... | |
Java | mpl-2.0 | abf9cc12a2b8b34485910a9e6617d9535a82cacd | 0 | mozilla-mobile/focus-android,Achintya999/focus-android,pocmo/focus-android,codebu5ter/focus-android,jonalmeida/focus-android,pocmo/focus-android,Benestar/focus-android,ekager/focus-android,mozilla-mobile/focus-android,Benestar/focus-android,Achintya999/focus-android,liuche/focus-android,Benestar/focus-android,codebu5te... | /* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.focus.utils;
... | app/src/main/java/org/mozilla/focus/utils/Settings.java | /* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.focus.utils;
... | Disable SECURE mode in debug builds
| app/src/main/java/org/mozilla/focus/utils/Settings.java | Disable SECURE mode in debug builds | <ide><path>pp/src/main/java/org/mozilla/focus/utils/Settings.java
<ide> import android.preference.PreferenceManager;
<ide> import android.support.annotation.Nullable;
<ide>
<add>import org.mozilla.focus.BuildConfig;
<ide> import org.mozilla.focus.R;
<ide> import org.mozilla.focus.fragment.FirstrunFragment;
<ide> impor... | |
Java | apache-2.0 | 3ba9c7723e5724047fb52af1d49bfb0a689ae593 | 0 | Distrotech/intellij-community,ernestp/consulo,ahb0327/intellij-community,akosyakov/intellij-community,allotria/intellij-community,salguarnieri/intellij-community,ibinti/intellij-community,ThiagoGarciaAlves/intellij-community,gnuhub/intellij-community,apixandru/intellij-community,vladmm/intellij-community,fitermay/intel... | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/lang-impl/src/com/intellij/packageDependencies/ui/FileNode.java | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | EA-35337 - NPE: FindDependencyUtil.updateIndicator
| platform/lang-impl/src/com/intellij/packageDependencies/ui/FileNode.java | EA-35337 - NPE: FindDependencyUtil.updateIndicator | <ide><path>latform/lang-impl/src/com/intellij/packageDependencies/ui/FileNode.java
<ide>
<ide> public void fillFiles(Set<PsiFile> set, boolean recursively) {
<ide> super.fillFiles(set, recursively);
<del> set.add(getFile());
<add> final PsiFile file = getFile();
<add> if (file != null && file.isValid())... | |
Java | lgpl-2.1 | 5b485f71e97ea250007a5e3eaf13f4bd4f230cf7 | 0 | CreativeMD/LittleTiles | package com.creativemd.littletiles.common.structure;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map.Entry;
import javax.annotation.Nullable;
import com.creativemd.creativecore.c... | src/main/java/com/creativemd/littletiles/common/structure/LittleStructure.java | package com.creativemd.littletiles.common.structure;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map.Entry;
import javax.annotation.Nullable;
import com.creativemd.creativecore.c... | Fixed crash when removing structure
| src/main/java/com/creativemd/littletiles/common/structure/LittleStructure.java | Fixed crash when removing structure | <ide><path>rc/main/java/com/creativemd/littletiles/common/structure/LittleStructure.java
<ide> return;
<ide> }
<ide>
<del> mainTile = null;
<del>
<ide> if (load() && loadChildren())
<ide> removeStructure();
<ide> }
<ide>
<ide> onStructureDestroyed();
<ide>
<add> for (IStructureChildConnector c... | |
Java | apache-2.0 | 21543194b1049efa7f42c55d66d412c0b8cc0f9a | 0 | googleapis/java-core,googleapis/java-core,googleapis/java-core | /*
* Copyright 2017 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java | /*
* Copyright 2017 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Add missing fields on MonitoredResourceUtil (#3887)
* added missing fields #3559
* Fix indentation
| google-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java | Add missing fields on MonitoredResourceUtil (#3887) | <ide><path>oogle-cloud-core/src/main/java/com/google/cloud/MetadataConfig.java
<ide> return getAttribute("instance/attributes/cluster-name");
<ide> }
<ide>
<add> public static String getContainerName(){
<add> return getAttribute("instance/attributes/container-name");
<add> }
<add>
<add> public static String g... | |
Java | bsd-3-clause | 47c444d1ca3691328b18080cd81ff76197836e7b | 0 | shankari/cordova-unified-logger,e-mission/cordova-unified-logger,shankari/cordova-unified-logger,e-mission/cordova-unified-logger | package edu.berkeley.eecs.emission.cordova.unifiedlogger;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.support.v4.app.NotificationCompat;
im... | src/android/NotificationHelper.java | package edu.berkeley.eecs.emission.cordova.unifiedlogger;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.support.v4.app.NotificationCompat;
im... | Change the icons in the notification helper to match the new locations
Icons are now in mipmap instead of drawable
https://android-developers.googleblog.com/2014/10/getting-your-apps-ready-for-nexus-6-and.html
| src/android/NotificationHelper.java | Change the icons in the notification helper to match the new locations | <ide><path>rc/android/NotificationHelper.java
<ide>
<ide> public static void createNotification(Context context, int id, String message) {
<ide> NotificationCompat.Builder builder = new NotificationCompat.Builder(context);
<del> Bitmap appIcon = BitmapFactory.decodeResource(context.getResources(), R.drawable.icon)... | |
Java | bsd-3-clause | 55623abde427d144c88b74c6f86304210d45aabb | 0 | Biomatters/barcode-validator,Biomatters/barcode-validator | package com.biomatters.plugins.barcoding.validator.research.report;
import com.biomatters.geneious.publicapi.components.Dialogs;
import com.biomatters.geneious.publicapi.components.GPanel;
import com.biomatters.geneious.publicapi.components.GTable;
import com.biomatters.geneious.publicapi.components.GTextPane;
import ... | researchTool/src/com/biomatters/plugins/barcoding/validator/research/report/ValidationReportViewer.java | package com.biomatters.plugins.barcoding.validator.research.report;
import com.biomatters.geneious.publicapi.components.Dialogs;
import com.biomatters.geneious.publicapi.components.GPanel;
import com.biomatters.geneious.publicapi.components.GTable;
import com.biomatters.geneious.publicapi.components.GTextPane;
import ... | BV-69 - The table in the validation report should be sortable
- Fix bugs that occurred due to changing of TableModel
| researchTool/src/com/biomatters/plugins/barcoding/validator/research/report/ValidationReportViewer.java | BV-69 - The table in the validation report should be sortable - Fix bugs that occurred due to changing of TableModel | <ide><path>esearchTool/src/com/biomatters/plugins/barcoding/validator/research/report/ValidationReportViewer.java
<ide> if (source instanceof JTable) {
<ide> JTable table = (JTable) source;
<ide> Object cell = table.getValueAt(table.getSelectedRow(), table.getSele... | |
Java | mit | 94e10c308d279bfb3c93a10b1bf6dd13985c86ae | 0 | seqcode/seqcode-core,seqcode/seqcode-core,seqcode/seqcode-core,seqcode/seqcode-core | package edu.psu.compbio.seqcode.projects.akshay.utils;
import java.io.FileWriter;
import java.io.IOException;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import edu.p... | src/edu/psu/compbio/seqcode/projects/akshay/utils/MotifToKmers.java | package edu.psu.compbio.seqcode.projects.akshay.utils;
import java.io.FileWriter;
import java.io.IOException;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import edu.p... | Minor bug fix in MotifsToKmers | src/edu/psu/compbio/seqcode/projects/akshay/utils/MotifToKmers.java | Minor bug fix in MotifsToKmers | <ide><path>rc/edu/psu/compbio/seqcode/projects/akshay/utils/MotifToKmers.java
<ide> }
<ide> nrCounter++;
<ide> }
<del>
<del> for(String rlocation : kmerCountsP.keySet()){
<del> posSB.append(rlocation);
<del> for(int c : kmerCountsP.get(rlocation)){
<del> posSB.append("\t");
<del> posSB.app... | |
Java | agpl-3.0 | 23cfe6ec8678cb470d3f6118c854bdaaffb8e4ab | 0 | c0deh4xor/jPOS,atancasis/jPOS,sebastianpacheco/jPOS,sebastianpacheco/jPOS,chhil/jPOS,fayezasar/jPOS,poynt/jPOS,jpos/jPOS,alcarraz/jPOS,jpos/jPOS,c0deh4xor/jPOS,imam-san/jPOS-1,alcarraz/jPOS,bharavi/jPOS,atancasis/jPOS,juanibdn/jPOS,fayezasar/jPOS,barspi/jPOS,sebastianpacheco/jPOS,yinheli/jPOS,barspi/jPOS,c0deh4xor/jPOS... | /*
* Copyright (c) 2000 jPOS.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:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condition... | jpos/src/main/org/jpos/util/RotateLogListener.java | /*
* Copyright (c) 2000 jPOS.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:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condition... | Check size every 100 log events
| jpos/src/main/org/jpos/util/RotateLogListener.java | Check size every 100 log events | <ide><path>pos/src/main/org/jpos/util/RotateLogListener.java
<ide> long sleepTime;
<ide> long maxSize;
<ide> int msgCount;
<del> public static final int CHECK_INTERVAL = 0;
<add> public static final int CHECK_INTERVAL = 100;
<ide>
<ide> /**
<ide> * @param name base log filename | |
Java | apache-2.0 | 58f6dfb9542d10971e560886cc797644b03b0826 | 0 | calvinjia/tachyon,wwjiang007/alluxio,Alluxio/alluxio,Alluxio/alluxio,madanadit/alluxio,wwjiang007/alluxio,calvinjia/tachyon,madanadit/alluxio,maobaolong/alluxio,Alluxio/alluxio,EvilMcJerkface/alluxio,maobaolong/alluxio,calvinjia/tachyon,calvinjia/tachyon,madanadit/alluxio,Alluxio/alluxio,calvinjia/tachyon,maobaolong/al... | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | core/server/worker/src/test/java/alluxio/worker/block/evictor/LRFUEvictorTest.java | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | [SMALLFIX] Use static imports for standard test utilities
Change
import org.junit.Assert;
to
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertEquals;
AND
Update all
Assert.{{ method }}*
to
{{ method }}*
For example
update
Assert.assert... | core/server/worker/src/test/java/alluxio/worker/block/evictor/LRFUEvictorTest.java | [SMALLFIX] Use static imports for standard test utilities | <ide><path>ore/server/worker/src/test/java/alluxio/worker/block/evictor/LRFUEvictorTest.java
<ide>
<ide> package alluxio.worker.block.evictor;
<ide>
<add>import static org.junit.Assert.assertNotNull;
<add>import static org.junit.Assert.assertTrue;
<add>import static org.junit.Assert.assertEquals;
<add>
<ide> import a... | |
Java | mit | 660b12ce9fdd3937ee6b69924a7d9f8c9078f19a | 0 | dscrobonia/appsensor,sims143/appsensor,timothy22000/appsensor,timothy22000/appsensor,mahmoodm2/appsensor,sanjaygouri/appsensor,sims143/appsensor,ProZachJ/appsensor,mahmoodm2/appsensor,ksmaheshkumar/appsensor,ProZachJ/appsensor,jtmelton/appsensor,jtmelton/appsensor,jtmelton/appsensor,timothy22000/appsensor,jtmelton/apps... | package org.owasp.appsensor.handler.impl;
import java.util.ArrayList;
import java.util.Collection;
import java.util.GregorianCalendar;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import org.ow... | appsensor-ws-rest-server/src/main/java/org/owasp/appsensor/handler/impl/RestRequestHandler.java | package org.owasp.appsensor.handler.impl;
import java.util.ArrayList;
import java.util.Collection;
import java.util.GregorianCalendar;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import org.ow... | clean up javadoc | appsensor-ws-rest-server/src/main/java/org/owasp/appsensor/handler/impl/RestRequestHandler.java | clean up javadoc | <ide><path>ppsensor-ws-rest-server/src/main/java/org/owasp/appsensor/handler/impl/RestRequestHandler.java
<ide> /**
<ide> * This is the restful endpoint that handles requests on the server-side.
<ide> *
<del> * @author jtmelton
<add> * @author John Melton (jtmelton@gmail.com) http://www.jtmelton.com/
<ide> */
<ide... | |
Java | bsd-3-clause | 2cf0fa68d2749b8c833970f9b4689b77c009b63a | 0 | NCIP/nci-term-browser,NCIP/nci-term-browser,NCIP/nci-term-browser,NCIP/nci-term-browser | package gov.nih.nci.evs.browser.properties;
import java.io.File;
import java.io.FileInputStream;
import java.util.Iterator;
import java.util.Properties;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.HashMap;
import org.apache.log4j.Logger;
/**
* <!--... | software/ncitbrowser/src/java/gov/nih/nci/evs/browser/properties/NCItBrowserProperties.java | package gov.nih.nci.evs.browser.properties;
import java.io.File;
import java.io.FileInputStream;
import java.util.Iterator;
import java.util.Properties;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.HashMap;
import org.apache.log4j.Logger;
/**
* <!--... | Adding code to move LG_CONFIG_FILE from properties-service.xml to NCItBrowserProperties.xml.
git-svn-id: 8a910031c78bbe8a754298bb28800c1494820db3@422 0604bb77-1110-461e-859e-28c50bf9b280
| software/ncitbrowser/src/java/gov/nih/nci/evs/browser/properties/NCItBrowserProperties.java | Adding code to move LG_CONFIG_FILE from properties-service.xml to NCItBrowserProperties.xml. | <ide><path>oftware/ncitbrowser/src/java/gov/nih/nci/evs/browser/properties/NCItBrowserProperties.java
<ide> private static List displayItemList;
<ide> private static HashMap configurableItemMap;
<ide>
<del> //KLO
<add> // KLO
<ide> public static final String EVS_SERVICE_URL = "EVS_... | |
Java | apache-2.0 | 77fd02428287583a2a2c1e539c822c102ac35fc1 | 0 | farmerbb/SecondScreen | /* Copyright 2015 Braden Farmer
*
* 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 i... | app/src/main/java/com/farmerbb/secondscreen/fragment/ProfileViewFragment.java | /* Copyright 2015 Braden Farmer
*
* 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 i... | Fix ProfileViewFragment not rendering correctly when switching between profiles in master-detail mode
| app/src/main/java/com/farmerbb/secondscreen/fragment/ProfileViewFragment.java | Fix ProfileViewFragment not rendering correctly when switching between profiles in master-detail mode | <ide><path>pp/src/main/java/com/farmerbb/secondscreen/fragment/ProfileViewFragment.java
<ide> import android.graphics.PorterDuff;
<ide> import android.os.Build;
<ide> import android.os.Bundle;
<add>import android.os.Handler;
<ide> import android.support.v4.content.ContextCompat;
<ide> import android.support.v7.app.AppC... | |
Java | apache-2.0 | 18a668672143850ae0c6c79fc501ab935966b42e | 0 | QualiMaster/Infrastructure,QualiMaster/Infrastructure | /*
* Copyright 2009-2015 University of Hildesheim, Software Systems Engineering
*
* 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... | QualiMaster.Events/src/eu/qualimaster/monitoring/events/FrozenSystemState.java | /*
* Copyright 2009-2015 University of Hildesheim, Software Systems Engineering
*
* 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... | modified/extended system state for fixing bindValues | QualiMaster.Events/src/eu/qualimaster/monitoring/events/FrozenSystemState.java | modified/extended system state for fixing bindValues | <ide><path>ualiMaster.Events/src/eu/qualimaster/monitoring/events/FrozenSystemState.java
<ide> public static final String DATASINK = "DataSink";
<ide> public static final String PIPELINE = "Pipeline";
<ide> public static final String PIPELINE_ELEMENT = "PipelineElement";
<add> public static final String ... | |
Java | apache-2.0 | dff8d527565fc5bf3030f159e22814d32c577ed0 | 0 | liuxinglanyue/hot2hot,sdgdsffdsfff/hot2hot,xiangyong/hot2hot |
/**
* 启动参数配置 javaagent
* -javaagent:hot2hot.jar
*
* @author jiaojianfeng
*
*/
public class TestAgent {
public static void main(String[] args) throws InterruptedException {
A a = new A();
a.run();
while(true) {
Thread.sleep(20000);
a.run();
}
}
}
| src/test/java/TestAgent.java |
public class TestAgent {
public static void main(String[] args) throws InterruptedException {
A a = new A();
a.run();
while(true) {
Thread.sleep(20000);
a.run();
}
}
}
| javaagent 注释
| src/test/java/TestAgent.java | javaagent 注释 | <ide><path>rc/test/java/TestAgent.java
<ide>
<del>
<add>/**
<add> * 启动参数配置 javaagent
<add> * -javaagent:hot2hot.jar
<add> *
<add> * @author jiaojianfeng
<add> *
<add> */
<ide> public class TestAgent {
<ide>
<ide> public static void main(String[] args) throws InterruptedException { | |
JavaScript | apache-2.0 | 57ff08401373e5d5253c3eebb604f91035926e27 | 0 | moritzp/alexa-google-search | // This skill reuses elements from the Adrian Smart Assistant project
// https://github.com/TheAdrianProject/AdrianSmartAssistant/blob/master/Modules/Google/Google.js
'use strict';
var AlexaSkill = require('./AlexaSkill');
var rp = require('request-promise');
var $ = require('cheerio');
var Entities = require('html-e... | src/index.js | // This skill reuses elements from the Adrian Smart Assistant project
// https://github.com/TheAdrianProject/AdrianSmartAssistant/blob/master/Modules/Google/Google.js
'use strict';
var AlexaSkill = require('./AlexaSkill');
var rp = require('request-promise');
var $ = require('cheerio');
var Entities = require('html-e... | Revert "* add "to" in SSML"
This reverts commit 5dfa51c7d5c3ca4259182e17db4ca5bad552fc21.
| src/index.js | Revert "* add "to" in SSML" | <ide><path>rc/index.js
<ide> ' less than ',
<ide> 'I’m sorry, I wasn\'t able to find an answer.',
<ide> 'There was an error processing your search.',
<del> 'I could not find an exact answer. Here is my best guess: ',
<del> ' to '
<add> 'I could not find an exact answer. Here is my best guess: '
<add>
<ide> ];
... | |
JavaScript | mit | b3019cef389af5fe73e80822d3d34e0db73ed617 | 0 | bolt-design-system/bolt,bolt-design-system/bolt,bolt-design-system/bolt,bolt-design-system/bolt,bolt-design-system/bolt | const webpack = require('webpack');
const WebpackDevServer = require('webpack-dev-server');
const chalk = require('chalk');
const createWebpackConfig = require('../create-webpack-config');
const { getConfig } = require('../utils/config-store');
const { boltWebpackMessages } = require('../utils/webpack-helpers');
let b... | packages/build-tools/tasks/webpack-tasks.js | const webpack = require('webpack');
const WebpackDevServer = require('webpack-dev-server');
const createWebpackConfig = require('../create-webpack-config');
const { getConfig } = require('../utils/config-store');
const { boltWebpackMessages } = require('../utils/webpack-helpers');
const chalk = require('chalk');
let b... | fix: fix eslint and prettier errors
| packages/build-tools/tasks/webpack-tasks.js | fix: fix eslint and prettier errors | <ide><path>ackages/build-tools/tasks/webpack-tasks.js
<ide> const webpack = require('webpack');
<ide> const WebpackDevServer = require('webpack-dev-server');
<add>const chalk = require('chalk');
<ide> const createWebpackConfig = require('../create-webpack-config');
<ide> const { getConfig } = require('../utils/config-s... | |
Java | apache-2.0 | 627d5394ccdcc35af701af63cfbffb22ca749523 | 0 | halober/ovirt-engine,zerodengxinchao/ovirt-engine,yapengsong/ovirt-engine,yingyun001/ovirt-engine,zerodengxinchao/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,yapengsong/ovirt-engine,yingyun001/ovirt-engine,yapengsong/ovirt-engine,walteryang47/ovirt-engine,halober/ovirt-engine,yapengsong/ovirt-e... | package org.ovirt.engine.core.vdsbroker.gluster;
import org.ovirt.engine.core.common.vdscommands.gluster.GlusterVolumeVDSParameters;
public class StopRebalanceGlusterVolumeVDSCommand <P extends GlusterVolumeVDSParameters> extends AbstractGlusterBrokerCommand<P> {
public StopRebalanceGlusterVolumeVDSCommand(P par... | backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/StopRebalanceGlusterVolumeVDSCommand.java | package org.ovirt.engine.core.vdsbroker.gluster;
import org.ovirt.engine.core.common.vdscommands.gluster.GlusterVolumeVDSParameters;
public class StopRebalanceGlusterVolumeVDSCommand <P extends GlusterVolumeVDSParameters> extends AbstractGlusterBrokerCommand<P> {
public StopRebalanceGlusterVolumeVDSCommand(P par... | gluster: Fix build break
Fixed build break cause by Change-Id
I6a48482fb8ce06cbe8d30a942538e056c695b195 - the method name should be
executeVdsBrokerCommand() and not ExecuteVdsBrokerCommand().
Change-Id: I46147e917bd9c14b88a6905408597c423d2f21b2
Signed-off-by: Allon Mureinik <abc9ddaceaf0c059a5d9bc2aed71f25cb5370dba@... | backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/StopRebalanceGlusterVolumeVDSCommand.java | gluster: Fix build break | <ide><path>ackend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/StopRebalanceGlusterVolumeVDSCommand.java
<ide> }
<ide>
<ide> @Override
<del> protected void ExecuteVdsBrokerCommand() {
<add> protected void executeVdsBrokerCommand() {
<ide> status = getBroker().gl... | |
Java | mit | 21ff8d4cbd7c69aa249b801a07c1e8f798e412cd | 0 | DDuarte/feup-aiad-schedule-alignment | package pt.up.fe.aiad.gui;
import jade.core.*;
import jade.wrapper.StaleProxyException;
import javafx.fxml.FXML;
import javafx.scene.control.ListView;
import pt.up.fe.aiad.scheduler.SchedulerAgent;
import pt.up.fe.aiad.utils.FXUtils;
public class ClientController {
private String _addressIp;
private int _port... | src/pt/up/fe/aiad/gui/ClientController.java | package pt.up.fe.aiad.gui;
import jade.wrapper.StaleProxyException;
import javafx.fxml.FXML;
import javafx.scene.control.ListView;
import pt.up.fe.aiad.scheduler.SchedulerAgent;
import pt.up.fe.aiad.utils.FXUtils;
public class ClientController {
private String _addressIp;
private int _port;
private String... | Create container on remote platform when launching client and no container has yet been created
| src/pt/up/fe/aiad/gui/ClientController.java | Create container on remote platform when launching client and no container has yet been created | <ide><path>rc/pt/up/fe/aiad/gui/ClientController.java
<ide> package pt.up.fe.aiad.gui;
<ide>
<add>import jade.core.*;
<ide> import jade.wrapper.StaleProxyException;
<ide> import javafx.fxml.FXML;
<ide> import javafx.scene.control.ListView;
<ide> FXUtils.showExceptionDialog(e);
<ide> }
<ide>... | |
Java | bsd-3-clause | 857715ac36bfcfb0a025404dc5edf4ab2def5029 | 0 | knopflerfish/knopflerfish.org,knopflerfish/knopflerfish.org,knopflerfish/knopflerfish.org | /*
* Copyright (c) 2004-2008, KNOPFLERFISH project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this ... | osgi/bundles_test/regression_tests/framework_test/src/org/knopflerfish/bundle/framework_test/FrameworkTestSuite.java | /*
* Copyright (c) 2004-2008, KNOPFLERFISH project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions are met:
*
* - Redistributions of source code must retain the above copyright
* notice, this ... | better messages for missing bundle property test | osgi/bundles_test/regression_tests/framework_test/src/org/knopflerfish/bundle/framework_test/FrameworkTestSuite.java | better messages for missing bundle property test | <ide><path>sgi/bundles_test/regression_tests/framework_test/src/org/knopflerfish/bundle/framework_test/FrameworkTestSuite.java
<ide>
<ide> class Frame007a extends FWTestCase {
<ide> public void runTest() throws Throwable {
<del> boolean teststatus = true;
<del> String trunk = "org.osgi.framework.";
<de... | |
Java | agpl-3.0 | 5e9dd56a4abbfbb727a928a48f5cb40f93b99de9 | 0 | cryptomator/cryptolib | package org.cryptomator.cryptolib;
import org.cryptomator.cryptolib.api.Cryptor;
import org.cryptomator.cryptolib.api.FileContentCryptor;
import org.cryptomator.cryptolib.api.FileHeader;
import org.cryptomator.cryptolib.api.FileHeaderCryptor;
import org.cryptomator.cryptolib.common.SeekableByteChannelMock;
import org.... | src/test/java/org/cryptomator/cryptolib/EncryptingReadableByteChannelTest.java | package org.cryptomator.cryptolib;
import org.cryptomator.cryptolib.api.Cryptor;
import org.cryptomator.cryptolib.api.FileContentCryptor;
import org.cryptomator.cryptolib.api.FileHeader;
import org.cryptomator.cryptolib.api.FileHeaderCryptor;
import org.cryptomator.cryptolib.common.SeekableByteChannelMock;
import org.... | added test
| src/test/java/org/cryptomator/cryptolib/EncryptingReadableByteChannelTest.java | added test | <ide><path>rc/test/java/org/cryptomator/cryptolib/EncryptingReadableByteChannelTest.java
<ide> import java.nio.ByteBuffer;
<ide> import java.nio.channels.Channels;
<ide> import java.nio.channels.ReadableByteChannel;
<del>import java.nio.channels.WritableByteChannel;
<ide> import java.nio.charset.Charset;
<ide> import j... | |
Java | apache-2.0 | 0a310f53f86586a5c19597e187ca0d06b914a5e4 | 0 | UniTime/unitime,UniTime/unitime,UniTime/unitime | /*
urse * Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you... | JavaSource/org/unitime/timetable/onlinesectioning/custom/purdue/PurdueWaitListValidationProvider.java | /*
urse * Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you... | Wait-Listing: Custom Validation Submit
- do not reset wait-list inactive statuses
| JavaSource/org/unitime/timetable/onlinesectioning/custom/purdue/PurdueWaitListValidationProvider.java | Wait-Listing: Custom Validation Submit | <ide><path>avaSource/org/unitime/timetable/onlinesectioning/custom/purdue/PurdueWaitListValidationProvider.java
<ide> for (CourseRequestInterface.Request c: request.getCourses())
<ide> if (c.hasRequestedCourse()) {
<ide> for (CourseRequestInterface.RequestedCourse rc: c.getRequestedCourse()) {
<del> ... | |
Java | mit | bc5f0249049819f258d9c189497a0146cda5f1d5 | 0 | kmizu/jcombinator | package com.github.kmizu.jcombinator;
import com.github.kmizu.jcombinator.datatype.Tuple2;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import static org.junit.Assert.*;
import static com.github.kmizu.jcombinator.Parser.*;
import static com.github.kmizu.jcombinator.TestHel... | src/test/java/com/github/kmizu/jcombinator/PrimitiveTest.java | package com.github.kmizu.jcombinator;
import com.github.kmizu.jcombinator.datatype.Tuple2;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import static org.junit.Assert.*;
import static com.github.kmizu.jcombinator.Parser.*;
import static com.github.kmizu.jcombinator.TestHel... | Remove extra 'return null'
| src/test/java/com/github/kmizu/jcombinator/PrimitiveTest.java | Remove extra 'return null' | <ide><path>rc/test/java/com/github/kmizu/jcombinator/PrimitiveTest.java
<ide> (success) -> {
<ide> assertEquals("Hello, World", success.value());
<ide> assertEquals("", success.next());
<del> return null;
<ide> },
<ide> (failure) -> {
<i... | |
Java | lgpl-2.1 | 132434e8f20f825bb93647b966265b5a4ae31d7d | 0 | fpuna-cia/karaku,roskoff/karaku,fpuna-cia/karaku,roskoff/karaku,fpuna-cia/karaku,roskoff/karaku,roskoff/karaku,fpuna-cia/karaku,roskoff/karaku,fpuna-cia/karaku | /**
* @I18nHelper 1.0 25/03/13. Sistema Integral de Gestion Hospitalaria
*/
package py.una.med.base.util;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Locale;
import java.util.ResourceBundle;
import java.util.Scanner;
import javax.faces.cont... | src/main/java/py/una/med/base/util/I18nHelper.java | /**
* @I18nHelper 1.0 25/03/13. Sistema Integral de Gestion Hospitalaria
*/
package py.una.med.base.util;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Locale;
import java.util.ResourceBundle;
import java.util.Scanner;
import javax.faces.cont... | Evitar el uso de equals entre clases e interfaces no relacionadas
Equals entre clases e interfaces no relacionadas debe siempre retornar false.
Teniendo en cuenta esto se corrige el metodo getName de I18nHelper.
refs #2648
Signed-off-by: Uriel Gonzalez <96440bd91b54b46690b90c75c163a38345c39889@pol.una.py>
| src/main/java/py/una/med/base/util/I18nHelper.java | Evitar el uso de equals entre clases e interfaces no relacionadas | <ide><path>rc/main/java/py/una/med/base/util/I18nHelper.java
<ide>
<ide> public static String getName(DisplayName displayName) {
<ide>
<del> if ("".equals(displayName))
<add> if ("".equals(displayName.toString()))
<ide> return "";
<ide> return getMessage(displayName.key().substring(1,
<ide> displayName.ke... | |
Java | apache-2.0 | 12c44f219ddf7473835ca7085de3fcbf9af9d37a | 0 | IWSDevelopers/iws,IWSDevelopers/iws | /*
* =============================================================================
* Copyright 1998-2014, IAESTE Internet Development Team. All rights reserved.
* ----------------------------------------------------------------------------
* Project: IntraWeb Services (iws-ejb) - net.iaeste.iws.ejb.notifications.No... | iws-ejb/src/main/java/net/iaeste/iws/ejb/notifications/NotificationManager.java | /*
* =============================================================================
* Copyright 1998-2014, IAESTE Internet Development Team. All rights reserved.
* ----------------------------------------------------------------------------
* Project: IntraWeb Services (iws-ejb) - net.iaeste.iws.ejb.notifications.No... | Added Transaction Control to Job Processing.
The problem we have had with the Database being unable to create multiple new Prepared Statements, may be related to the missing Transactional Control added to the Notification Manager Class. It is another attempt at trying to resolve our problems with the timer performing ... | iws-ejb/src/main/java/net/iaeste/iws/ejb/notifications/NotificationManager.java | Added Transaction Control to Job Processing. | <ide><path>ws-ejb/src/main/java/net/iaeste/iws/ejb/notifications/NotificationManager.java
<ide> import org.slf4j.Logger;
<ide> import org.slf4j.LoggerFactory;
<ide>
<add>import javax.ejb.TransactionAttribute;
<add>import javax.ejb.TransactionAttributeType;
<add>import javax.ejb.TransactionManagement;
<add>import javax... | |
Java | bsd-3-clause | bb3dae046ecff80ca458d273035f97ed84ab457d | 0 | agmip/translator-dssat,MengZhang/translator-dssat | package org.agmip.translators.dssat;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import static org.agmip.translators.dssat.DssatCommonInput.copyItem;
import static org.ag... | src/main/java/org/agmip/translators/dssat/DssatXFileOutput.java | package org.agmip.translators.dssat;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import static org.agmip.translators.dssat.DssatCommonInput.copyItem;
import static org.ag... | 1. Fix #28 | src/main/java/org/agmip/translators/dssat/DssatXFileOutput.java | 1. Fix #28 | <ide><path>rc/main/java/org/agmip/translators/dssat/DssatXFileOutput.java
<ide> // Set cultivals info
<ide> copyItem(cuData, evtData, "cul_name");
<ide> copyItem(cuData, evtData, "crid");
<del> copyItem(cuData... | |
Java | mit | ccb4f63fd3ee31020125fdec8eb804221213c1a6 | 0 | OreCruncher/ThermalRecycling | /*
* This file is part of ThermalRecycling, licensed under the MIT License (MIT).
*
* Copyright (c) OreCruncher
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, i... | src/main/java/org/blockartistry/mod/ThermalRecycling/data/AutoDetect.java | /*
* This file is part of ThermalRecycling, licensed under the MIT License (MIT).
*
* Copyright (c) OreCruncher
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, i... | Turn off scrap value profiling
| src/main/java/org/blockartistry/mod/ThermalRecycling/data/AutoDetect.java | Turn off scrap value profiling | <ide><path>rc/main/java/org/blockartistry/mod/ThermalRecycling/data/AutoDetect.java
<ide>
<ide> public final class AutoDetect {
<ide>
<del> private static boolean EXECUTE = true;
<add> private static boolean EXECUTE = false;
<ide>
<ide> private AutoDetect() {
<ide> } | |
Java | apache-2.0 | 7f14dfcbbb1fd1f094030ccb6fec705279fb8466 | 0 | akexorcist/Android-SleepingForLess | package com.akexorcist.sleepingforless.view.post;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.akexorcist.sleepingforless.R;
import com.akexorcist.sleepingforless.view.post.constant.PostType;
import com.akexorcis... | app/src/main/java/com/akexorcist/sleepingforless/view/post/PostAdapter.java | package com.akexorcist.sleepingforless.view.post;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.akexorcist.sleepingforless.R;
import com.akexorcist.sleepingforless.view.post.constant.PostType;
import com.akexorcis... | Fix content item last row disappear
| app/src/main/java/com/akexorcist/sleepingforless/view/post/PostAdapter.java | Fix content item last row disappear | <ide><path>pp/src/main/java/com/akexorcist/sleepingforless/view/post/PostAdapter.java
<ide>
<ide> @Override
<ide> public int getItemViewType(int position) {
<del> return position < postList.size() - 1 ? postList.get(position).getType() : PostType.BLANK;
<add> return position < postList.size() ? p... | |
Java | apache-2.0 | d5d2d32226b112a6fbf8f3579605563b8108ffd4 | 0 | daradurvs/ignite,voipp/ignite,shroman/ignite,xtern/ignite,ascherbakoff/ignite,vladisav/ignite,shroman/ignite,samaitra/ignite,psadusumilli/ignite,irudyak/ignite,StalkXT/ignite,chandresh-pancholi/ignite,sk0x50/ignite,NSAmelchev/ignite,amirakhmedov/ignite,alexzaitzev/ignite,samaitra/ignite,daradurvs/ignite,daradurvs/ignit... | /*
* 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 ... | modules/core/src/main/java/org/apache/ignite/cache/eviction/AbstractEvictionPolicyFactory.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 ... | Fixed IGNITE-6838.
Restore EvictionPolicy 'maxSize' field default value.
| modules/core/src/main/java/org/apache/ignite/cache/eviction/AbstractEvictionPolicyFactory.java | Fixed IGNITE-6838. Restore EvictionPolicy 'maxSize' field default value. | <ide><path>odules/core/src/main/java/org/apache/ignite/cache/eviction/AbstractEvictionPolicyFactory.java
<ide> import javax.cache.configuration.Factory;
<ide> import org.apache.ignite.internal.util.typedef.internal.A;
<ide>
<add>import static org.apache.ignite.configuration.CacheConfiguration.DFLT_CACHE_SIZE;
<add>
<i... | |
Java | apache-2.0 | 74bc6cb98556bf9172c4a77a4eec336fb0863311 | 0 | thammegowda/incubator-joshua,fhieber/incubator-joshua,fhieber/incubator-joshua,lukeorland/joshua,fhieber/incubator-joshua,thammegowda/incubator-joshua,fhieber/incubator-joshua,thammegowda/incubator-joshua,thammegowda/incubator-joshua,lukeorland/joshua,thammegowda/incubator-joshua,lukeorland/joshua,thammegowda/incubator... | package joshua.decoder.ff;
import java.util.List;
import joshua.decoder.ff.state_maintenance.DPState;
import joshua.decoder.ff.tm.Rule;
import joshua.decoder.hypergraph.HGNode;
import joshua.corpus.Vocabulary;
import joshua.decoder.chart_parser.SourcePath;
/**
* This feature is fired when an out-of-vocabulary word ... | src/joshua/decoder/ff/OOVFF.java | package joshua.decoder.ff;
import java.util.List;
import joshua.decoder.ff.state_maintenance.DPState;
import joshua.decoder.ff.tm.Rule;
import joshua.decoder.hypergraph.HGNode;
import joshua.corpus.Vocabulary;
import joshua.decoder.chart_parser.SourcePath;
/**
* This feature is fired when an out-of-vocabulary word ... | BUGFIX: The OOV penalty was not contributing to the rule's estimated cost
This is important because the estimated cost is used to sort rules during cube pruning. OOV rules were at the top prior to this.
| src/joshua/decoder/ff/OOVFF.java | BUGFIX: The OOV penalty was not contributing to the rule's estimated cost | <ide><path>rc/joshua/decoder/ff/OOVFF.java
<ide>
<ide> return null;
<ide> }
<add>
<add> /**
<add> * It's important for the OOV feature to contribute to the rule's estimated cost, so that OOV
<add> * rules (which are added for all words, not just ones without translation options) get sorted
<add> * to th... | |
Java | apache-2.0 | 66541573824c6bbd690921917ebcaf7b9af6428c | 0 | wmarshall484/streamsx.topology,wmarshall484/streamsx.topology,wmarshall484/streamsx.topology,IBMStreams/streamsx.topology,ddebrunner/streamsx.topology,IBMStreams/streamsx.topology,IBMStreams/streamsx.topology,ddebrunner/streamsx.topology,ddebrunner/streamsx.topology,wmarshall484/streamsx.topology,ddebrunner/streamsx.to... | /*
# Licensed Materials - Property of IBM
# Copyright IBM Corp. 2015
*/
package com.ibm.streamsx.topology.test.api;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotSame;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertSame;
import static org.junit... | test/java/src/com/ibm/streamsx/topology/test/api/StreamTest.java | /*
# Licensed Materials - Property of IBM
# Copyright IBM Corp. 2015
*/
package com.ibm.streamsx.topology.test.api;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotSame;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertSame;
import static org.junit... | Add basic test for new methods
| test/java/src/com/ibm/streamsx/topology/test/api/StreamTest.java | Add basic test for new methods | <ide><path>est/java/src/com/ibm/streamsx/topology/test/api/StreamTest.java
<ide>
<ide> Tester tester = t.getTester();
<ide>
<del> Condition<Long> spCount = tester.tupleCount(strings, 7);
<add> Condition<Long> spCount = tester.tupleCount(strings, 9);
<ide> Conditio... | |
Java | apache-2.0 | 78d969a034deb0c0f0d1ebdb95e49539a3990a8b | 0 | Orange-OpenSource/maven-plugins,mikkokar/maven-plugins,johnmccabe/maven-plugins,zigarn/maven-plugins,zigarn/maven-plugins,Orange-OpenSource/maven-plugins,kikinteractive/maven-plugins,Orange-OpenSource/maven-plugins,restlet/maven-plugins,hazendaz/maven-plugins,zigarn/maven-plugins,HubSpot/maven-plugins,ptahchiev/maven-p... | package org.apache.maven.plugin;
/*
* 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, Ve... | maven-compiler-plugin/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java | package org.apache.maven.plugin;
/*
* 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, Ve... | [MCOMPILER-136] The description of the skip parameter of the testCompile mojo is incorrect
git-svn-id: 6038db50b076e48c7926ed71fd94f8e91be2fbc9@1026646 13f79535-47bb-0310-9956-ffa450edef68
| maven-compiler-plugin/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java | [MCOMPILER-136] The description of the skip parameter of the testCompile mojo is incorrect | <ide><path>aven-compiler-plugin/src/main/java/org/apache/maven/plugin/TestCompilerMojo.java
<ide> extends AbstractCompilerMojo
<ide> {
<ide> /**
<del> * Set this to 'true' to bypass unit tests entirely.
<add> * Set this to 'true' to bypass compilation of test sources.
<ide> * Its use is NOT RECOMME... | |
Java | apache-2.0 | f7cbb521b02b8eb9b3b3c1d7c45b184620f6ff6c | 0 | Gigaspaces/xap-openspaces,Gigaspaces/xap-openspaces,Gigaspaces/xap-openspaces | /*
* Copyright 2006-2007 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | src/main/src/org/openspaces/admin/pu/ProcessingUnit.java | /*
* Copyright 2006-2007 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | GS-8952: Expose processing unit type (stateless, stateful, mirror, web) in ProcessingUnit API
add @since 8.0.3
svn path=/trunk/openspaces/; revision=88801
Former-commit-id: b883a94bf51c5faef2cb576d392f324332ec36c0 | src/main/src/org/openspaces/admin/pu/ProcessingUnit.java | GS-8952: Expose processing unit type (stateless, stateful, mirror, web) in ProcessingUnit API add @since 8.0.3 | <ide><path>rc/main/src/org/openspaces/admin/pu/ProcessingUnit.java
<ide>
<ide> /**
<ide> * Returns the type of processing unit: stateless, stateful, mirror, web.
<add> * @since 8.0.3
<ide> */
<ide> ProcessingUnitType getProcessingUnitType();
<ide> | |
Java | lgpl-2.1 | e9b6628f571e10a989fd5d62ed78fb038e20110c | 0 | hal/core,hal/core,hal/core,hal/core,hal/core | /*
* JBoss, Home of Professional Open Source
* Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @author tags. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This copyrighted material is made avail... | gui/src/main/java/org/jboss/as/console/client/shared/subsys/osgi/runtime/OSGiRuntimePresenter.java | /*
* JBoss, Home of Professional Open Source
* Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @author tags. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This copyrighted material is made avail... | properly load osgi runtime data in standalone mode | gui/src/main/java/org/jboss/as/console/client/shared/subsys/osgi/runtime/OSGiRuntimePresenter.java | properly load osgi runtime data in standalone mode | <ide><path>ui/src/main/java/org/jboss/as/console/client/shared/subsys/osgi/runtime/OSGiRuntimePresenter.java
<ide> protected void onReset() {
<ide> super.onReset();
<ide>
<del> if(serverSelection.isSet())
<add> if(serverSelection.isActive())
<ide> getView().initialLoad();
<ide>
<... | |
Java | apache-2.0 | d167f7a5213f16d3588eb5688cf2e95b7f749391 | 0 | nudelchef/libgdx,Heart2009/libgdx,FredGithub/libgdx,andyvand/libgdx,ztv/libgdx,MovingBlocks/libgdx,alireza-hosseini/libgdx,petugez/libgdx,thepullman/libgdx,Zonglin-Li6565/libgdx,saqsun/libgdx,309746069/libgdx,sjosegarcia/libgdx,antag99/libgdx,MovingBlocks/libgdx,Wisienkas/libgdx,GreenLightning/libgdx,djom20/libgdx,dave... | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:... | gdx/src/com/badlogic/gdx/graphics/g2d/Animation.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:... | Fixed unnecessary calculation.
| gdx/src/com/badlogic/gdx/graphics/g2d/Animation.java | Fixed unnecessary calculation. | <ide><path>dx/src/com/badlogic/gdx/graphics/g2d/Animation.java
<ide> if (frameNumber >= keyFrames.length) frameNumber = keyFrames.length - 2 - (frameNumber - keyFrames.length);
<ide> break;
<ide> case LOOP_RANDOM:
<del> int lastFrameNumber = (int) ((stateTime - (stateTime - lastStateTime)) / frameDuration);
<... | |
Java | apache-2.0 | d0c7b13e442d149420f05100dc0a53da637f1c11 | 0 | MichaelNedzelsky/intellij-community,retomerz/intellij-community,retomerz/intellij-community,TangHao1987/intellij-community,MichaelNedzelsky/intellij-community,youdonghai/intellij-community,da1z/intellij-community,akosyakov/intellij-community,TangHao1987/intellij-community,fengbaicanhe/intellij-community,vladmm/intellij... | package com.jetbrains.python.refactoring.introduce;
import com.intellij.codeInsight.CodeInsightUtilBase;
import com.intellij.codeInsight.template.impl.TemplateManagerImpl;
import com.intellij.codeInsight.template.impl.TemplateState;
import com.intellij.openapi.actionSystem.DataContext;
import com.intellij.openapi.appl... | python/src/com/jetbrains/python/refactoring/introduce/IntroduceHandler.java | package com.jetbrains.python.refactoring.introduce;
import com.intellij.codeInsight.CodeInsightUtilBase;
import com.intellij.codeInsight.template.impl.TemplateManagerImpl;
import com.intellij.codeInsight.template.impl.TemplateState;
import com.intellij.openapi.actionSystem.DataContext;
import com.intellij.openapi.appl... | in-place refactorings work correctly when "replace all occurrences" is not selected (PY-5292)
| python/src/com/jetbrains/python/refactoring/introduce/IntroduceHandler.java | in-place refactorings work correctly when "replace all occurrences" is not selected (PY-5292) | <ide><path>ython/src/com/jetbrains/python/refactoring/introduce/IntroduceHandler.java
<ide> import org.jetbrains.annotations.NotNull;
<ide> import org.jetbrains.annotations.Nullable;
<ide>
<del>import java.util.ArrayList;
<del>import java.util.Collection;
<del>import java.util.LinkedHashSet;
<del>import java.util.List... | |
Java | apache-2.0 | 15cecec226e100b1d514b6115e0c7ee885e8e08c | 0 | dashorst/wicket,aldaris/wicket,AlienQueen/wicket,dashorst/wicket,aldaris/wicket,klopfdreh/wicket,dashorst/wicket,apache/wicket,AlienQueen/wicket,mafulafunk/wicket,astrapi69/wicket,Servoy/wicket,zwsong/wicket,klopfdreh/wicket,selckin/wicket,dashorst/wicket,bitstorm/wicket,topicusonderwijs/wicket,apache/wicket,bitstorm/w... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | wicket-extensions/src/main/java/wicket/extensions/markup/html/repeater/data/sort/OrderByLink.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 ... | cast not needed
git-svn-id: ac804e38dcddf5e42ac850d29d9218b7df6087b7@505447 13f79535-47bb-0310-9956-ffa450edef68
| wicket-extensions/src/main/java/wicket/extensions/markup/html/repeater/data/sort/OrderByLink.java | cast not needed | <ide><path>icket-extensions/src/main/java/wicket/extensions/markup/html/repeater/data/sort/OrderByLink.java
<ide> {
<ide> private static final long serialVersionUID = 1L;
<ide>
<del> private final ISortState old = (ISortState)Objects.cloneModel(stateLocator.getSortState());
<add> private final ISortState old = Ob... | |
Java | bsd-3-clause | e379bfc9d741e6299be2444ff652ab0bfd4097db | 0 | Praesidio/LiveStats | package io.praesid.livestats;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableList.Builder;
import com.google.common.collect.ImmutableMap;
import com.google.common.util.concurrent.AtomicDouble;
import lombok.ToString;
import javax.annotation.concurrent.ThreadSafe;
import java... | src/main/java/io/praesid/livestats/LiveStats.java | package io.praesid.livestats;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableList.Builder;
import com.google.common.collect.ImmutableMap;
import com.google.common.util.concurrent.AtomicDouble;
import javax.annotation.concurrent.ThreadSafe;
import java.util.Arrays;
import jav... | Make LiveStats easily printable for debugging
| src/main/java/io/praesid/livestats/LiveStats.java | Make LiveStats easily printable for debugging | <ide><path>rc/main/java/io/praesid/livestats/LiveStats.java
<ide> import com.google.common.collect.ImmutableList.Builder;
<ide> import com.google.common.collect.ImmutableMap;
<ide> import com.google.common.util.concurrent.AtomicDouble;
<add>import lombok.ToString;
<ide>
<ide> import javax.annotation.concurrent.ThreadS... | |
JavaScript | mit | 0871799f0f987bdae9918a851204d5d53e4f49db | 0 | DoubleU23/tailored-react-env | 'use strict'
import webpack from 'webpack'
import path from 'path'
import ip from 'ip'
// webpack/build plugins
import autoprefixer from 'autoprefixer'
import ExtractTextPlugin from 'extract-text-webpack-plugin'
import nib from 'nib'
import cssMqPacker fro... | stack/webpack/webpackGetConfig.js | 'use strict'
import webpack from 'webpack'
import path from 'path'
import ip from 'ip'
// webpack/build plugins
import autoprefixer from 'autoprefixer'
import ExtractTextPlugin from 'extract-text-webpack-plugin'
import nib from 'nib'
import cssMqPacker fro... | removed debug outputs and leftovers + comments
| stack/webpack/webpackGetConfig.js | removed debug outputs and leftovers + comments | <ide><path>tack/webpack/webpackGetConfig.js
<ide> const serverIp = ip.address()
<ide>
<ide> const webpackGetConfig = _isDevelopment => {
<del> console.log('[webpackGetConfig] _isDevelopment before', _isDevelopment)
<ide> const isDevelopment = _isDevelopment != null
<ide> ? _isDevelopment
<ide> :... | |
Java | apache-2.0 | 10cdaab178eb9c3dd9b4dcd80142c71f0265784d | 0 | spinnaker/kayenta,spinnaker/kayenta | /*
* Copyright 2017 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License")
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | kayenta-web/src/main/java/com/netflix/kayenta/controllers/CanaryConfigController.java | /*
* Copyright 2017 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License")
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | fix(canary-config): Ensure that PUT applies same validation as POST. (#215)
| kayenta-web/src/main/java/com/netflix/kayenta/controllers/CanaryConfigController.java | fix(canary-config): Ensure that PUT applies same validation as POST. (#215) | <ide><path>ayenta-web/src/main/java/com/netflix/kayenta/controllers/CanaryConfigController.java
<ide> String canaryConfigId = UUID.randomUUID() + "";
<ide>
<ide> // TODO(duftler): Serialize the canary config within a canary run?
<del> if (StringUtils.isEmpty(canaryConfig.getName())) {
<del> throw new I... | |
Java | mit | 307682ccd0daa84ccf8dccc85eed309e616e950a | 0 | Raizlabs/DBFlow,janzoner/DBFlow,mickele/DBFlow,Raizlabs/DBFlow,mickele/DBFlow | package com.raizlabs.android.dbflow.processor.definition.column;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.ForeignKey;
import com.raizlabs.android.dbflow.annotation.ForeignKeyAction;
import com.raizlabs.android.dbflow.annotation.ForeignKeyReference;
import com.... | dbflow-processor/src/main/java/com/raizlabs/android/dbflow/processor/definition/column/ForeignKeyColumnDefinition.java | package com.raizlabs.android.dbflow.processor.definition.column;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.ForeignKey;
import com.raizlabs.android.dbflow.annotation.ForeignKeyAction;
import com.raizlabs.android.dbflow.annotation.ForeignKeyReference;
import com.... | During generation of the insert statement for a foreign key column, the related model should be saved before it's ID parameter is bound. This allows the ID to be the generated (in the case of inserting a related object with auto increment primary key) before it is used to the parameter list. Fixes #577 fixes #377
| dbflow-processor/src/main/java/com/raizlabs/android/dbflow/processor/definition/column/ForeignKeyColumnDefinition.java | During generation of the insert statement for a foreign key column, the related model should be saved before it's ID parameter is bound. This allows the ID to be the generated (in the case of inserting a related object with auto increment primary key) before it is used to the parameter list. Fixes #577 fixes #377 | <ide><path>bflow-processor/src/main/java/com/raizlabs/android/dbflow/processor/definition/column/ForeignKeyColumnDefinition.java
<ide> ModelUtils.getVariable(isModelContainerAdapter), isModelContainerAdapter, true);
<ide> String finalAccessStatement = getFinalAccessStatement(buil... | |
Java | bsd-3-clause | 0316bec713294ae39496c682f52b065af4cf89aa | 0 | jMonkeyEngine/jmonkeyengine,OpenGrabeso/jmonkeyengine,GreenCubes/jmonkeyengine,delftsre/jmonkeyengine,olafmaas/jmonkeyengine,weilichuang/jmonkeyengine,InShadow/jmonkeyengine,atomixnmc/jmonkeyengine,g-rocket/jmonkeyengine,phr00t/jmonkeyengine,d235j/jmonkeyengine,shurun19851206/jMonkeyEngine,skapi1992/jmonkeyengine,rbott... | package com.jme3.util;
import com.jme3.asset.AssetManager;
import com.jme3.asset.TextureKey;
import com.jme3.bounding.BoundingSphere;
import com.jme3.material.Material;
import com.jme3.math.Vector3f;
import com.jme3.renderer.queue.RenderQueue.Bucket;
import com.jme3.scene.Geometry;
import com.jme3.scene.Spatial;
impor... | engine/src/core/com/jme3/util/SkyFactory.java | package com.jme3.util;
import com.jme3.asset.AssetManager;
import com.jme3.asset.TextureKey;
import com.jme3.bounding.BoundingSphere;
import com.jme3.material.Material;
import com.jme3.math.Vector3f;
import com.jme3.renderer.queue.RenderQueue.Bucket;
import com.jme3.scene.Geometry;
import com.jme3.scene.Spatial;
impor... | SkyFactory : you can now specify the sky sphere radius when creating a sky to avoid near plane clipping when it's set too close to the radius value.
see this post http://jmonkeyengine.org/groups/graphics/forum/topic/why-is-the-skybox-culling-when-i-adjust-my-camera-frustum/#post-139378
git-svn-id: f9411aee4f13664f2fc4... | engine/src/core/com/jme3/util/SkyFactory.java | SkyFactory : you can now specify the sky sphere radius when creating a sky to avoid near plane clipping when it's set too close to the radius value. see this post http://jmonkeyengine.org/groups/graphics/forum/topic/why-is-the-skybox-culling-when-i-adjust-my-camera-frustum/#post-139378 | <ide><path>ngine/src/core/com/jme3/util/SkyFactory.java
<ide>
<ide> public class SkyFactory {
<ide>
<del> private static final Sphere sphereMesh = new Sphere(10, 10, 10, false, true);
<del>
<del> public static Spatial createSky(AssetManager assetManager, Texture texture, Vector3f normalScale, boolean sphereMap)... | |
Java | mit | 666b5f505aac73e5cb0a24ed467bc1e50bd5b56e | 0 | icode/ameba-utils | package ameba.util.bean;
import org.apache.commons.lang3.ArrayUtils;
import java.util.*;
/**
* @author icode
*/
public abstract class BeanTransformer<T> {
public static final BeanTransformer DEFAULT = new BeanTransformer() {
@Override
protected Object onTransform(Object obj) {
retu... | src/main/java/ameba/util/bean/BeanTransformer.java | package ameba.util.bean;
import org.apache.commons.lang3.ArrayUtils;
import java.util.*;
/**
* @author icode
*/
public abstract class BeanTransformer<T> {
public static final BeanTransformer DEFAULT = new BeanTransformer() {
@Override
protected Object onTransform(Object obj) {
retu... | 增强bean transformer
| src/main/java/ameba/util/bean/BeanTransformer.java | 增强bean transformer | <ide><path>rc/main/java/ameba/util/bean/BeanTransformer.java
<ide> Class clazz = obj.getClass();
<ide> if (clazz.isArray()) {
<ide> return _transform((Object[]) obj);
<add> } else if (obj instanceof Map) {
<add> return _transform((List) obj);
<ide> ... | |
Java | mit | 9e373062a1fdec28128ca9d4948afb1806a6f2d1 | 0 | OpenAMEE/amee.platform.api | package com.amee.messaging;
import com.amee.messaging.config.ExchangeConfig;
import com.amee.messaging.config.MessagingConfig;
import com.amee.messaging.config.QueueConfig;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.ShutdownSignalException;
import org.apache.commons.logging.Log;
import org.apache.c... | src/main/java/com/amee/messaging/MessageConsumer.java | package com.amee.messaging;
import com.amee.messaging.config.ExchangeConfig;
import com.amee.messaging.config.MessagingConfig;
import com.amee.messaging.config.QueueConfig;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.ShutdownSignalException;
import org.apache.commons.logging.Log;
import org.apache.c... | PL-1506 - Improved exception handling.
| src/main/java/com/amee/messaging/MessageConsumer.java | PL-1506 - Improved exception handling. | <ide><path>rc/main/java/com/amee/messaging/MessageConsumer.java
<ide> // We got here if there is no channel or this was stopped.
<ide> log.debug("run() No channel or stopped.");
<ide> } catch (IOException e) {
<del> log.warn("run() Caught IOException. We'll try... | |
Java | apache-2.0 | 22fde16fedd17ad1194ca0880b4b607ebe011665 | 0 | apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4,Nickname0806/Test_Q4,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat,apache/tomcat,apache/tomcat | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | java/org/apache/catalina/manager/HTMLManagerServlet.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 ... | Remove unused methods
Reduce visibility of methods where possible
git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1035371 13f79535-47bb-0310-9956-ffa450edef68
| java/org/apache/catalina/manager/HTMLManagerServlet.java | Remove unused methods Reduce visibility of methods where possible | <ide><path>ava/org/apache/catalina/manager/HTMLManagerServlet.java
<ide> * @param response The response
<ide> * @param message a message to display
<ide> */
<del> public void list(HttpServletRequest request,
<add> protected void list(HttpServletRequest request,
<ide> HttpServle... | |
JavaScript | bsd-2-clause | 1acb7ada3f16f6b346c4bf871e98af0a3900babd | 0 | robcolburn/escope,estools/escope,mysticatea/escope,jscrambler/escope | /*
Copyright (C) 2012-2014 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 2013 Alex Seville <hi@alexanderseville.com>
Copyright (C) 2014 Thiago de Arruda <tpadilha84@gmail.com>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following cond... | escope.js | /*
Copyright (C) 2012-2014 Yusuke Suzuki <utatane.tea@gmail.com>
Copyright (C) 2013 Alex Seville <hi@alexanderseville.com>
Copyright (C) 2014 Thiago de Arruda <tpadilha84@gmail.com>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following cond... | Drop AMD style
| escope.js | Drop AMD style | <ide><path>scope.js
<ide> */
<ide>
<ide> /*jslint bitwise:true */
<del>/*global exports:true, define:true, require:true*/
<del>(function (factory, global) {
<del> 'use strict';
<del>
<del> function namespace(str, obj) {
<del> var i, iz, names, name;
<del> names = str.split('.');
<del> for (... | |
Java | mit | 3ee24408e9d61a4f0909e4fbada4ccc83d7658bf | 0 | Porrux/Threat | package com.porrux.threat;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.view.MenuItem;... | app/src/main/java/com/porrux/threat/ThreaTListActivity.java | package com.porrux.threat;
import android.content.Intent;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import android.view.MenuItem;... | MAJ de la liste des threats locaux
| app/src/main/java/com/porrux/threat/ThreaTListActivity.java | MAJ de la liste des threats locaux | <ide><path>pp/src/main/java/com/porrux/threat/ThreaTListActivity.java
<ide> import android.view.MenuItem;
<ide> import android.widget.Adapter;
<ide> import android.widget.ArrayAdapter;
<add>import android.widget.EditText;
<ide> import android.widget.ListView;
<ide> import android.widget.TextView;
<ide>
<ide> s... | |
Java | mit | df44c614997bd0e518e39558b19e4445e493ab03 | 0 | siamx/STP_Registration | package controller;
import model.FixFile;
import model.Operations;
import model.Record;
import java.io.File;
import java.util.ArrayList;
import static controller.Controller.setUIFlavour;
/*
* Created by Ahmed on 08-Aug-16.
*/
public class Main {
public static ArrayList<Record> dataRecords = new ArrayList<>(... | src/controller/Main.java | package controller;
import model.FixFile;
import model.Operations;
import model.Record;
import java.io.File;
import java.util.ArrayList;
import static controller.Controller.setUIFlavour;
/*
* Created by Ahmed on 08-Aug-16.
*/
public class Main {
public static ArrayList<Record> dataRecords = new ArrayList<>()... | Update 1
1-Read/Write files names were generalized
Read file = "source.csv"
Write file = "attendees.csv"
2-Empty Class -Signle_Instance.java- Added
15-Oct-2016
| src/controller/Main.java | Update 1 | <ide><path>rc/controller/Main.java
<ide> /*
<ide> * Created by Ahmed on 08-Aug-16.
<ide> */
<add>
<ide>
<ide> public class Main {
<ide> public static ArrayList<Record> dataRecords = new ArrayList<>(); | |
Java | apache-2.0 | 40163c6bb7980fa1faf8413bd0bbededd8d033d0 | 0 | tmpgit/intellij-community,hurricup/intellij-community,semonte/intellij-community,ftomassetti/intellij-community,kdwink/intellij-community,gnuhub/intellij-community,ol-loginov/intellij-community,asedunov/intellij-community,asedunov/intellij-community,ThiagoGarciaAlves/intellij-community,izonder/intellij-community,ol-log... | /*
* 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/openapi/vfs/impl/local/FileWatcher.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... | coalesce change file events in small frame, usually merge e.g. large copy file change notifications
| platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/FileWatcher.java | coalesce change file events in small frame, usually merge e.g. large copy file change notifications | <ide><path>latform/platform-impl/src/com/intellij/openapi/vfs/impl/local/FileWatcher.java
<ide>
<ide> private final Object myLock = new Object();
<ide> private DirtyPaths myDirtyPaths = new DirtyPaths();
<add> private final String[] myLastChangedPathes = new String[2];
<add> private int myLastChangedPathIndex;
<... | |
JavaScript | apache-2.0 | 99ccf377b45e68e862ec11931943087e18ac1293 | 0 | implydata/plywood,implydata/plywood,implydata/plywood | var { expect } = require("chai");
var { WallTime } = require('chronoshift');
if (!WallTime.rules) {
var tzData = require("chronoshift/lib/walltime/walltime-data.js");
WallTime.init(tzData.rules, tzData.zones);
}
var { druidRequesterFactory } = require('plywood-druid-requester');
var { mySqlRequesterFactory } = re... | test/functional/crossFunctional.mocha.js | var { expect } = require("chai");
var { WallTime } = require('chronoshift');
if (!WallTime.rules) {
var tzData = require("chronoshift/lib/walltime/walltime-data.js");
WallTime.init(tzData.rules, tzData.zones);
}
var { druidRequesterFactory } = require('plywood-druid-requester');
var { mySqlRequesterFactory } = re... | not null test
| test/functional/crossFunctional.mocha.js | not null test | <ide><path>est/functional/crossFunctional.mocha.js
<ide> .apply('TotalAdded', '$wiki.sum($added)')
<ide> }));
<ide>
<del> it('works with an IS NULL filter', equalityTest({
<add> it('works with == NULL filter', equalityTest({
<ide> executorNames: ['druid', 'mysql'],
<ide> expression: ply()... | |
Java | apache-2.0 | 2fc5b61d5935e7bdca7a69ef8d7bcbbbd0adbfad | 0 | androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,aosp-mirror/platform_frameworks_support,androidx/androidx,aosp-mirror/platform_frameworks_support,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,aosp-mirror/platform_fra... | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | v7/appcompat/src/android/support/v7/app/AppCompatActivity.java | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Remove @Nullable from AppCompatActivity#findViewById
In practice if this really returns null then the developer messed up
earlier. It's not reasonable to expect developers to null check
findViewById, so make their linters happy by removing the annotation.
Bug 27759646
Change-Id: I1ef0f1b91280b8b5836d30e36ef96fb5f2bc... | v7/appcompat/src/android/support/v7/app/AppCompatActivity.java | Remove @Nullable from AppCompatActivity#findViewById | <ide><path>7/appcompat/src/android/support/v7/app/AppCompatActivity.java
<ide> getDelegate().onPostResume();
<ide> }
<ide>
<del> @Nullable
<ide> public View findViewById(@IdRes int id) {
<ide> return getDelegate().findViewById(id);
<ide> } | |
Java | mit | error: pathspec 'Easy/BestTimetoBuyandSellStock1.java' did not match any file(s) known to git
| 8917ced242e9c90379af9e1f4ab2f0e3ebd978a8 | 1 | FreeTymeKiyan/LeetCode-Sol-Res,FreeTymeKiyan/LeetCode-Sol-Res,bssrdf/LeetCode-Sol-Res,bssrdf/LeetCode-Sol-Res | /**
* Best Time to Buy and Sell Stock
* Say you have an array for which the ith element is the price of a given stock on day i.
* If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock), design an algorithm to find the maximum profit.
* Tags: Array Dynamic Progr... | Easy/BestTimetoBuyandSellStock1.java | finished 121
| Easy/BestTimetoBuyandSellStock1.java | finished 121 | <ide><path>asy/BestTimetoBuyandSellStock1.java
<add>/**
<add> * Best Time to Buy and Sell Stock
<add> * Say you have an array for which the ith element is the price of a given stock on day i.
<add> * If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock), design an ... | |
Java | mit | 5e4429bc172f9f6f27fff97773f29467d58b64a6 | 0 | Pumahawk/AutomiAPI | package lexer;
import java.io.BufferedReader;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import it.gandinolorenzo.lft.Automa;
import it.gandinolorenzo.lft.Stato;
public class UniLexer extends Lexer {
private Map<String, Word> keyWords = new HashMap<>();
p... | src/lexer/UniLexer.java | package lexer;
import java.io.BufferedReader;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import it.gandinolorenzo.lft.Automa;
import it.gandinolorenzo.lft.Stato;
public class UniLexer extends Lexer {
private Map<String, Word> keyWords = new HashMap<>();
p... | Rimossa transizione sbagliata
| src/lexer/UniLexer.java | Rimossa transizione sbagliata | <ide><path>rc/lexer/UniLexer.java
<ide>
<ide> q0.addTransizione('/', c1);
<ide>
<del> c1.addTransizione('/', c1);
<ide> c1.addTransizione('*', c2);
<ide>
<ide> c2.addTransizione(Pattern.NOT_COM_PAT, c2); | |
Java | agpl-3.0 | 7c0d5bc7cf109d579b4b06361e0ddf8f98d822ea | 0 | PeterWithers/temp-to-delete1,KinshipSoftware/KinOathKinshipArchiver,KinshipSoftware/KinOathKinshipArchiver,PeterWithers/temp-to-delete1 | package nl.mpi.kinnate.svg.relationlines;
import java.awt.Point;
import java.util.HashSet;
import nl.mpi.kinnate.svg.EntitySvg;
/**
* Document : LineLookUpTable Created on : Sep 30, 2011, 3:24:55 PM
*
* @author Peter Withers
*/
public class LineLookUpTable {
// this hashset keeps one line record for line par... | desktop/src/main/java/nl/mpi/kinnate/svg/relationlines/LineLookUpTable.java | package nl.mpi.kinnate.svg.relationlines;
import java.awt.Point;
import java.util.HashSet;
import nl.mpi.kinnate.svg.EntitySvg;
/**
* Document : LineLookUpTable Created on : Sep 30, 2011, 3:24:55 PM
*
* @author Peter Withers
*/
public class LineLookUpTable {
// this hashset keeps one line record for line par... | Added collision detection between entities and relation lines and moved the relation lines accordingly.
refs #1220 #1221
| desktop/src/main/java/nl/mpi/kinnate/svg/relationlines/LineLookUpTable.java | Added collision detection between entities and relation lines and moved the relation lines accordingly. refs #1220 #1221 | <ide><path>esktop/src/main/java/nl/mpi/kinnate/svg/relationlines/LineLookUpTable.java
<ide> }
<ide>
<ide> protected boolean intersectsPoint(Point entityPoint, Point[] relationLine) {
<del> System.out.println("entityPoint:" + entityPoint);
<del> System.out.println("segment: " + relationLine[0] + r... | |
Java | bsd-2-clause | 1d8d21042121ac328e0541f6636862452b52adad | 0 | Sethtroll/runelite,l2-/runelite,l2-/runelite,runelite/runelite,Sethtroll/runelite,runelite/runelite,runelite/runelite | /*
* Copyright (c) 2018, Seth <http://github.com/sethtroll>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, thi... | runelite-client/src/main/java/net/runelite/client/plugins/agility/LapCounterOverlay.java | /*
* Copyright (c) 2018, Seth <http://github.com/sethtroll>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, thi... | Update lap counter overlay strings for clarity.
Removed slang "till'" from the lap counter overlay string and added colons to the end for cleanliness and aesthetic. | runelite-client/src/main/java/net/runelite/client/plugins/agility/LapCounterOverlay.java | Update lap counter overlay strings for clarity. | <ide><path>unelite-client/src/main/java/net/runelite/client/plugins/agility/LapCounterOverlay.java
<ide>
<ide> panelComponent.getChildren().clear();
<ide> panelComponent.getChildren().add(LineComponent.builder()
<del> .left("Total Laps")
<add> .left("Total Laps:")
<ide> .right(Integer.toString(session.getTo... | |
Java | epl-1.0 | 65605760cff9dff8efcdd1e8a49b61c60515b827 | 0 | ELTE-Soft/txtUML,ELTE-Soft/txtUML,ELTE-Soft/txtUML,ELTE-Soft/txtUML | package hu.elte.txtuml.export.uml2;
import java.io.File;
import java.io.IOException;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import org.eclipse.core.filesystem.EFS;
import org.eclipse.core.filesystem.IFileStore;
import org.eclipse.core.resources... | dev/plugins/hu.elte.txtuml.export.uml2/src/hu/elte/txtuml/export/uml2/TxtUMLToUML2.java | package hu.elte.txtuml.export.uml2;
import java.io.File;
import java.io.IOException;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import org.eclipse.core.filesystem.EFS;
import org.eclipse.core.filesystem.IFileStore;
import org.eclipse.core.resources... | Removed the opening of the UML model.
| dev/plugins/hu.elte.txtuml.export.uml2/src/hu/elte/txtuml/export/uml2/TxtUMLToUML2.java | Removed the opening of the UML model. | <ide><path>ev/plugins/hu.elte.txtuml.export.uml2/src/hu/elte/txtuml/export/uml2/TxtUMLToUML2.java
<ide> throw new RuntimeException(e);
<ide> }
<ide>
<del> IFileStore fileStore = EFS.getLocalFileSystem().getStore(file.toURI());
<del> if (PlatformUI.isWorkbenchRunning()) {
<del> IWorkbenchPage page = PlatformUI... | |
Java | apache-2.0 | ee7cd6c37f8e0074af7294ad561cf82faab34e68 | 0 | scrutmydocs/scrutmydocs,scrutmydocs/scrutmydocs | package fr.issamax.essearch.action;
import static org.elasticsearch.index.query.QueryBuilders.matchAllQuery;
import static org.elasticsearch.index.query.QueryBuilders.queryString;
import static fr.issamax.dao.elastic.factory.ESSearchProperties.*;
import java.io.Serializable;
import javax.faces.context.FacesC... | src/main/java/fr/issamax/essearch/action/SearchController.java | package fr.issamax.essearch.action;
import static org.elasticsearch.index.query.QueryBuilders.matchAllQuery;
import static org.elasticsearch.index.query.QueryBuilders.queryString;
import static fr.issamax.dao.elastic.factory.ESSearchProperties.*;
import java.io.Serializable;
import javax.faces.context.FacesC... | We only search for docs and not folders ! | src/main/java/fr/issamax/essearch/action/SearchController.java | We only search for docs and not folders ! | <ide><path>rc/main/java/fr/issamax/essearch/action/SearchController.java
<ide>
<ide> SearchResponse searchHits = esClient.prepareSearch()
<ide> .setIndices(INDEX_NAME)
<add> .setTypes(INDEX_TYPE_DOC)
<ide> .setSearchType(SearchType.DFS_QUERY_THEN_FETCH)
<ide> .setQuery(qb).setFrom(0).setSize(... | |
Java | mit | 6a3f2c40497ccbf999d4b6f84b638a1633469b0f | 0 | pablosaraiva/GoToBed | package pablosaraiva.gotobed;
import java.lang.reflect.Field;
import java.sql.*;
import java.util.Set;
import org.reflections.Reflections;
import pablosaraiva.gotobed.annotations.DoNotSave;
import pablosaraiva.gotobed.annotations.Sleeper;
import pablosaraiva.gotobed.annotations.SleeperId;
public class... | src/pablosaraiva/gotobed/GoToBed.java | package pablosaraiva.gotobed;
import java.lang.reflect.Field;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Set;
import org.reflections.Reflections;
import pablosaraiva.gotobed.annotations.DoNotSave;
import pablosaraiva.go... | Refactor for a better use of table metadata | src/pablosaraiva/gotobed/GoToBed.java | Refactor for a better use of table metadata | <ide><path>rc/pablosaraiva/gotobed/GoToBed.java
<ide> package pablosaraiva.gotobed;
<ide>
<ide> import java.lang.reflect.Field;
<del>import java.sql.Connection;
<del>import java.sql.ResultSet;
<del>import java.sql.SQLException;
<del>import java.sql.Statement;
<add>import java.sql.*;
<ide> import java.util.Set;
<ide>
... | |
Java | apache-2.0 | 6ebec471d94e134a6aa4bce1ed45f8f3f856e0e7 | 0 | reportportal/commons-model | /*
* Copyright 2021 EPAM Systems
*
* 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 ... | src/main/java/com/epam/ta/reportportal/ws/model/launch/cluster/ClusterInfoResource.java | /*
* Copyright 2021 EPAM Systems
*
* 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 ... | EPMRPP-68949 || Cluster resource index (#305)
| src/main/java/com/epam/ta/reportportal/ws/model/launch/cluster/ClusterInfoResource.java | EPMRPP-68949 || Cluster resource index (#305) | <ide><path>rc/main/java/com/epam/ta/reportportal/ws/model/launch/cluster/ClusterInfoResource.java
<ide> @JsonProperty(value = "id")
<ide> private Long id;
<ide>
<add> @JsonProperty(value = "index")
<add> private Long index;
<add>
<ide> @JsonProperty(value = "launchId")
<ide> private Long launchId;
<ide>
<ide>
<i... | |
Java | apache-2.0 | error: pathspec 'java/vernacular/value/trunk/src/main/java/org/ppwcode/vernacular/value_III/ValueHelpers.java' did not match any file(s) known to git
| 59c93d9b8d1c23dfbc5f1e9f8e95dffc1134ec34 | 1 | jandppw/ppwcode-recovered-from-google-code,jandppw/ppwcode-recovered-from-google-code,jandockx/ppwcode-recovered-from-google-code,jandppw/ppwcode-recovered-from-google-code,jandockx/ppwcode-recovered-from-google-code,jandockx/ppwcode-recovered-from-google-code,jandockx/ppwcode-recovered-from-google-code,jandppw/ppwcode... | /*<license>
Copyright 2004 - $Date$ by PeopleWare n.v..
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 t... | java/vernacular/value/trunk/src/main/java/org/ppwcode/vernacular/value_III/ValueHelpers.java | name change, in line with ppwcode naming vernacular | java/vernacular/value/trunk/src/main/java/org/ppwcode/vernacular/value_III/ValueHelpers.java | name change, in line with ppwcode naming vernacular | <ide><path>ava/vernacular/value/trunk/src/main/java/org/ppwcode/vernacular/value_III/ValueHelpers.java
<add>/*<license>
<add>Copyright 2004 - $Date$ by PeopleWare n.v..
<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>Y... | |
Java | apache-2.0 | 2bdffe812d9cc2f4952cf203986cbde0e41311c5 | 0 | Tony-Zhang03/hermes,lejingw/hermes,lejingw/hermes,lejingw/hermes,sdgdsffdsfff/hermes,fengshao0907/hermes,fengshao0907/hermes,sdgdsffdsfff/hermes,Tony-Zhang03/hermes,Tony-Zhang03/hermes,sdgdsffdsfff/hermes,lejingw/hermes,fengshao0907/hermes,sdgdsffdsfff/hermes,Tony-Zhang03/hermes,fengshao0907/hermes | package com.ctrip.hermes.metaserver.rest.resource;
import io.confluent.kafka.schemaregistry.client.rest.RestService;
import java.util.Map;
import javax.inject.Singleton;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import java... | hermes-metaserver/src/main/java/com/ctrip/hermes/metaserver/rest/resource/SchemaRegisterResource.java | package com.ctrip.hermes.metaserver.rest.resource;
import io.confluent.kafka.schemaregistry.client.rest.RestService;
import java.util.Map;
import javax.inject.Singleton;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.... | add find schema api for meta-server
| hermes-metaserver/src/main/java/com/ctrip/hermes/metaserver/rest/resource/SchemaRegisterResource.java | add find schema api for meta-server | <ide><path>ermes-metaserver/src/main/java/com/ctrip/hermes/metaserver/rest/resource/SchemaRegisterResource.java
<ide> import java.util.Map;
<ide>
<ide> import javax.inject.Singleton;
<add>import javax.ws.rs.DefaultValue;
<ide> import javax.ws.rs.GET;
<ide> import javax.ws.rs.POST;
<ide> import javax.ws.rs.Path;
<ide> ... | |
Java | apache-2.0 | 1dae69b10c05336c49046bcab619c77f6e25d647 | 0 | datastax/java-driver,datastax/java-driver | /*
* Copyright DataStax, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | integration-tests/src/test/java/com/datastax/oss/driver/api/core/cql/BoundStatementIT.java | /*
* Copyright DataStax, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | Add integration test for prepared update queries
| integration-tests/src/test/java/com/datastax/oss/driver/api/core/cql/BoundStatementIT.java | Add integration test for prepared update queries | <ide><path>ntegration-tests/src/test/java/com/datastax/oss/driver/api/core/cql/BoundStatementIT.java
<ide> verifyUnset(boundStatement);
<ide> }
<ide>
<add> @Test
<add> public void should_have_empty_result_definitions_for_update_query() {
<add> PreparedStatement prepared =
<add> cluster.session().prep... | |
Java | mit | error: pathspec 'Heaters.java' did not match any file(s) known to git
| 5051b395a44eea9289680d9c0f6acc01fab09f6a | 1 | linnumberone/LeetCode | public class Solution {
public int findRadius(int[] houses, int[] heaters) {
Arrays.sort(houses);
Arrays.sort(heaters);
int radius = 0;
int i = 0;
for(int house : houses) {
while(i < heaters.length - 1 && heaters[i + 1] + heaters[i] <= 2 * house) {
... | Heaters.java | Create Heaters.java | Heaters.java | Create Heaters.java | <ide><path>eaters.java
<add>public class Solution {
<add> public int findRadius(int[] houses, int[] heaters) {
<add> Arrays.sort(houses);
<add> Arrays.sort(heaters);
<add>
<add> int radius = 0;
<add> int i = 0;
<add> for(int house : houses) {
<add> while(i < heat... | |
Java | bsd-2-clause | dc84219abf06041f2e3e50b7e096cce11e4028de | 0 | TehSAUCE/imagej,TehSAUCE/imagej,TehSAUCE/imagej,biovoxxel/imagej,biovoxxel/imagej,biovoxxel/imagej | /*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2013 Board of Regents of the University of
* Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
* Institute of Molecular Cell Biology and Genetics.
* %%
* Redistribution and use in sourc... | core/ui/src/main/java/imagej/ui/UIPreprocessor.java | /*
* #%L
* ImageJ software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2013 Board of Regents of the University of
* Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck
* Institute of Molecular Cell Biology and Genetics.
* %%
* Redistribution and use in sourc... | UIPreprocessor: fix bug with null defaultUI
| core/ui/src/main/java/imagej/ui/UIPreprocessor.java | UIPreprocessor: fix bug with null defaultUI | <ide><path>ore/ui/src/main/java/imagej/ui/UIPreprocessor.java
<ide> if (uiService == null) return; // no UI service available
<ide>
<ide> final UserInterface ui = uiService.getDefaultUI();
<add> if (ui == null) return; // no default UI
<add>
<ide> for (final ModuleItem<?> input : module.getInfo().inputs()) {
<i... | |
Java | apache-2.0 | a281fdd7b5e6b13b1e370557c3f269c6b1048d7c | 0 | apache/logging-log4j2,apache/logging-log4j2,apache/logging-log4j2 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache license, Version 2.0
* (the "License"); you ... | log4j-1.2-api/src/main/java/org/apache/log4j/LogManager.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 ... | Log4j 1.2 bridge LogManager class default constructor should be public.
| log4j-1.2-api/src/main/java/org/apache/log4j/LogManager.java | Log4j 1.2 bridge LogManager class default constructor should be public. | <ide><path>og4j-1.2-api/src/main/java/org/apache/log4j/LogManager.java
<ide> isLog4jCore = core;
<ide> }
<ide>
<del> private LogManager() {
<del> }
<del>
<ide> public static Logger getRootLogger() {
<ide> return Category.getInstance(PrivateManager.getContext(), Strings.EMPTY);
<ide> } | |
Java | mit | dbebc54d26f1c98b6bc43af34f8115948e880198 | 0 | FriedrichFroebel/oc_car-gui | import java.awt.event.FocusAdapter;
import java.awt.event.FocusEvent;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.EventQueue;
import java.awt.Font;
import java.io.BufferedReader;
import java.io.File;
import java... | src/oc_car.java | import java.awt.event.FocusAdapter;
import java.awt.event.FocusEvent;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.EventQueue;
import java.awt.Font;
import java.io.BufferedReader;
import java.io.File;
import java... | Laden von GPX korrigiert; erweiterte Prüfung der Eingabeparameter
| src/oc_car.java | Laden von GPX korrigiert; erweiterte Prüfung der Eingabeparameter | <ide><path>rc/oc_car.java
<ide> public class oc_car extends JFrame {
<ide>
<ide> //Programmversion zur Analyse fr eventuell verfgbares Update
<del> private static String version = "1.3";
<add> private static String version = "1.4";
<ide>
<ide> //erweiterte Konsolenausgabe ist standardmig deaktiviert
<ide> privat... | |
JavaScript | mit | 42a38199496fb57b3274158518cbe6755245b5d4 | 0 | dwpdigitaltech/dwp-portfolio,LandRegistry/digital-portfolio,LandRegistry/digital-portfolio,dwpdigitaltech/dwp-portfolio | {
"id":10,
"name":"Real Time Earnings",
"description": "Allows benefit processing staff to get real time employment information about a claimant so that claims can be processed more accurately.",
"theme": "Fraud & Debt",
"location": "Leeds",
"phase":"beta",
"facing":"internal",
"sro":"John Fundry",
"s... | lib/projects/real-time-earnings.js | {
"id":10,
"name":"Real Time Earnings",
"description": "Allows benefit processing staff to get real time employment information about a claimant so that claims can be processed more accurately.",
"theme": "Fraud & Debt",
"location": "Leeds",
"phase":"beta",
"facing":"internal",
"sro":"",
"phase-histor... | Update real-time-earnings.js | lib/projects/real-time-earnings.js | Update real-time-earnings.js | <ide><path>ib/projects/real-time-earnings.js
<ide> "location": "Leeds",
<ide> "phase":"beta",
<ide> "facing":"internal",
<del> "sro":"",
<add> "sro":"John Fundry",
<add> "service_man":"TBC",
<ide> "phase-history":{
<ide> "discovery": [
<del> {"label":"Completed", "date": "Sep 2014"}
<add> {"lab... | |
Java | mit | 7b1267ca58bfe769fee31d7d48a194b61e48e7dc | 0 | bknopper/TSPEvolutionaryAlgorithmsDemo,bknopper/TSPEvolutionaryAlgorithmsDemo,bknopper/TSPEvolutionaryAlgorithmsDemo,bknopper/TSPEvolutionaryAlgorithmsDemo | /*
* Copyright 2013 (C) NCIM Groep
*
* Created on :
* Author : Bas W. Knopper
*
* This class is used for the JavaOne Demo on 09/24/2013
* for the following session:
*
* Evolutionary Algorithms: The Key to Solving Complex Java Puzzles [BOF2913]
*
*/
package nl.ncim.javaone.tsp.ea;
im... | JavaOneTSPDemo/src/main/java/nl/ncim/javaone/tsp/ea/Algorithm.java | /*
* Copyright 2013 (C) NCIM Groep
*
* Created on :
* Author : Bas W. Knopper
*
* This class is used for the JavaOne Demo on 09/24/2013
* for the following session:
*
* Evolutionary Algorithms: The Key to Solving Complex Java Puzzles [BOF2913]
*
*/
package nl.ncim.javaone.tsp.ea;
im... | Prevented duplicate parents in parenSelection method | JavaOneTSPDemo/src/main/java/nl/ncim/javaone/tsp/ea/Algorithm.java | Prevented duplicate parents in parenSelection method | <ide><path>avaOneTSPDemo/src/main/java/nl/ncim/javaone/tsp/ea/Algorithm.java
<ide> }
<ide>
<ide> /**
<del> * Select the x best candidate solutions from the population
<add> * Select the x best candidate solutions from a randomly selected
<add> * pool from the population
<ide> *
<del> * @param nr... | |
Java | apache-2.0 | 47ad75575b1e10b2a65e1165e4c7ffde42c1d142 | 0 | SyncFree/SwiftCloud,SyncFree/SwiftCloud,SyncFree/SwiftCloud,SyncFree/SwiftCloud | package swift.application.filesystem.fuse;
import java.io.File;
import java.io.IOException;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.util.Collection;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import swift.a... | src/swift/application/filesystem/fuse/FilesystemFuse.java | package swift.application.filesystem.fuse;
import java.io.File;
import java.io.IOException;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.util.Collection;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import swift.a... | compatibility with remote interface of Sérgio
git-svn-id: 12b4b70d94dc3d7bb244948a4de5adf9a227d930@1551 049c2a90-bdf1-4f83-8191-3719d539f8e0
| src/swift/application/filesystem/fuse/FilesystemFuse.java | compatibility with remote interface of Sérgio | <ide><path>rc/swift/application/filesystem/fuse/FilesystemFuse.java
<ide> private static final Log log = LogFactory.getLog(FilesystemFuse.class);
<ide> protected static Swift server;
<ide>
<del> protected final Filesystem fs;
<add> protected Filesystem fs;
<ide> private static final int MODE = 0777;
... | |
Java | mit | 02555642aa7efee6e7d8625ce994ae6e8883d1c6 | 0 | sormuras/bach,sormuras/bach | /*
* Bach - Java Shell Builder
* Copyright (C) 2020 Christian Stein
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | .bach/src/Bach.java | /*
* Bach - Java Shell Builder
* Copyright (C) 2020 Christian Stein
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | Update generated Bach.java
| .bach/src/Bach.java | Update generated Bach.java | <ide><path>bach/src/Bach.java
<ide> }
<ide> public static final class Project {
<ide> public static Builder newProject(Path directory) {
<del> return new Builder().base(Base.of(directory)).walk();
<add> return ModulesWalker.walk(directory);
<ide> }
<ide> public static Builder newProject(String... | |
Java | apache-2.0 | bdef8e1ae344646dea1acdcdba8796f90a0262a0 | 0 | semonte/intellij-community,tmpgit/intellij-community,FHannes/intellij-community,fitermay/intellij-community,asedunov/intellij-community,da1z/intellij-community,akosyakov/intellij-community,blademainer/intellij-community,Distrotech/intellij-community,samthor/intellij-community,SerCeMan/intellij-community,wreckJ/intellij... | package com.intellij.coverage;
import com.intellij.openapi.fileTypes.StdFileTypes;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.module.ModuleManager;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.roots.*;
import com.intellij.openapi.util.Computable;
import com.intel... | plugins/coverage/src/com/intellij/coverage/PackageAnnotator.java | package com.intellij.coverage;
import com.intellij.openapi.fileTypes.StdFileTypes;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.module.ModuleManager;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.roots.*;
import com.intellij.openapi.util.Computable;
import com.intel... | coverage: do not perform magic with classes fqns
| plugins/coverage/src/com/intellij/coverage/PackageAnnotator.java | coverage: do not perform magic with classes fqns | <ide><path>lugins/coverage/src/com/intellij/coverage/PackageAnnotator.java
<ide> final String toplevelClassSrcFQName) {
<ide> final ClassCoverageInfo toplevelClassCoverageInfo = new ClassCoverageInfo();
<ide>
<del> final ClassData classData = projectInfo.getClassDa... | |
Java | mit | 1fe62a2ba2ca33d3b76fed2edfa8b828c205e356 | 0 | cs2103aug2014-t09-4j/main | //@author A0116538A
package bakatxt.test;
import static java.awt.event.KeyEvent.*;
import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.InputEvent;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import bakatxt.core.BakaProcessor;
import ... | src/bakatxt/test/BakaBot.java | //@author A0116538A
package bakatxt.test;
import static java.awt.event.KeyEvent.*;
import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.InputEvent;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import bakatxt.core.BakaProcessor;
import ... | Bug Fix: Excessive instances of BakaTxt
| src/bakatxt/test/BakaBot.java | Bug Fix: Excessive instances of BakaTxt | <ide><path>rc/bakatxt/test/BakaBot.java
<ide> public static void botOneTimeSetUp() throws IOException {
<ide> saveOldFile();
<ide> initializeTestFile();
<add> BakaUI.startGui(new BakaProcessor());
<ide> }
<ide>
<ide> /** |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.