--
You received this message because you are subscribed to the Google Groups "mutability-detector" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mutability-dete...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Ah. I must have been looking at this https://github.com/grommitz/MutabilityDetector, but of course that's my cloned version not the master. I just did "git pull" on the command line, I thought that would do it but maybe not. You think it's better to use the web ui to issue a pull request?
To unsubscribe from this group and stop receiving emails from it, send an email to mutability-detector+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mutability-detector+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mutability-dete...@googlegroups.com.
Brilliant!Just to set expectations about what I'm looking for in pull requests, I would like:
- comprehensive tests (I will check coverage with code review and also the Emma coverage tool)
- a fluent + documented API around the classes a user would use to configure analysis. Once you get into code that end users aren't expecting to see I expect to see next to no JavaDoc. This is because I believe in combining self-documenting code and also tests as living documentation. I draw parallels between whitebox/blackbox testing when it comes to JavaDoc.
- inversion of control/dependency injection where it makes sense. You already mentioned the downsides of a static list, I see dependency injection as the way to avoid that. Note I mean manual dependency injection, not e.g. Guice. Should be plenty of examples in the codebase.
- objects being immutable unless there's a very good reason not to (as you may expect)
To unsubscribe from this group and stop receiving emails from it, send an email to mutability-detector+unsubscribe...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mutability-dete...@googlegroups.com.
So I've committed something to my fork which works. But it's not yet done "properly". It reaches inside CollectionTypeWrappedInUnmodifiableIdiomChecker and adds the allowed copy methods to a new list in there. The list is static so it remains Not being able to find the timefor later runs which we wouldn't want, so now I have to work out how to thread the information through from Configuration into where it is required.
Sorry its been a hectic week my wife hurt her back about 10 days so I've been on double kids duties, so haven't had the time or energy for programming!
is there a way to see all the changes I've made compared to the master repo either on my local copy or in my fork?
To unsubscribe from this group and stop receiving emails from it, send an email to mutability-dete...@googlegroups.com.
Hi Martin,Sorry its been a hectic week my wife hurt her back about 10 days so I've been on double kids duties, so haven't had the time or energy for programming!If you haven't been able to find the time, you should definitely not feel that you have to explain yourself, and certainly not feel the need to apologise. We all lives to live :) Hope your wife gets better soon.
is there a way to see all the changes I've made compared to the master repo either on my local copy or in my fork?I believe what you want to do is diff your entire branch against another. What happens when you run 'git diff' is that you're comparing your local changes to your local up to date branch. The only difference is you don't want to compare against "origin/master" (which is your fork) but compare against "main_mutability_dectector_repository/master". You have to configure git to tell it where to find "main_mutability_detector_repo". I think this stack overflow question might help:
I believe when you issue a pull request, it contains _all_ the commits from your repository, combined into a single pull request.
martin
To unsubscribe from this group and stop receiving emails from it, send an email to mutability-detector+unsubscribe...@googlegroups.com.